Yaacwk hw (#50)
* add hardware files for YAACWK Arduino Nano V3.0 based board
see http://i1cra.briata.org/yaacwk/ for more info
* enable define HARDWARE_YAACWK as default in this branch
* removed feature sleep
enable OPTION_CW_KEYBOARD_ITALIAN
* Add YAACWK KiCad Schematic Sources for Arduino Nano v3
* Add YAACWK KiCad Schematic Sources for AtMega 644p
* Yaacwk 644p variant with:
FEATURE_LCD_4BIT enabled
FEATURE_CW_DECODER enabled
* Updated YAACWK Kicad to allign with latest pin settings for AtMega 644p variant
moved ps2_keyboard_clock to pin2 (pin3 on AtMega 644p is not an interrupt capable pin!)
moved paddle_left to pin3
added cw decoder indicator LED on pin30
* Add HARDWARE_YAACWK and left not default in this branch"
This reverts commit 24624afdcea3bbb1dd9c1ebab9414a82ab379ebe.
* update yaacwk's settings to reflect the current k3ng keyer src code
* fix typo caused by 984f038e31a9259fce9d3a0e51497b580075d388
* Yaacwk - fix eechema, cw_decored reenabled and speed pot now is working
* HARDWARE_YAACWK left enabled by default in this branch
* fix yaawck eeschema for display, to reflect the current src code
* yaacwk, add winkey support
* yaacwk, eeschema cleanup, ps2 pinout fixed, uart ttl and new power input added
* Revert "HARDWARE_YAACWK left enabled by default in this branch"
This reverts commit 464ad47debdeedf728e058a34c0a7f8bbdb60f49.
* cleanup after merge
* yaacwk, settings refresh
* removed kicad stuff, now this is managed on separated repo: https://github.com/federicobriata/iz1glg_yaacw_keyer
* YAACWK v1.1, new pinout for make SPI and Serial1 available, eeschema: https://github.com/federicobriata/iz1glg_yaacw_keyer
* Yaacwk now have 8 analog buttons
* yaacwk, settings refresh
* disable HARDWARE_YAACWK by default in this branch
2018-08-21 21:13:21 +00:00
# ifndef keyer_pin_settings_h
# define keyer_pin_settings_h
# define paddle_left 21
# define paddle_right 22
# define tx_key_line_1 28 // (high = key down/tx on)
# define tx_key_line_2 31
# define tx_key_line_3 0
# define tx_key_line_4 0
# define tx_key_line_5 0
# define tx_key_line_6 0
# define sidetone_line 23 // connect a speaker for sidetone
# define potentiometer A0 // Speed potentiometer (0 to 5 V) Use pot from 1k to 10k
# define ptt_tx_1 0 // PTT ("push to talk") lines
# define ptt_tx_2 0 // Can be used for keying fox transmitter, T/R switch, or keying slow boatanchors
# define ptt_tx_3 0 // These are optional - set to 0 if unused
# define ptt_tx_4 0
# define ptt_tx_5 0
# define ptt_tx_6 0
# define tx_key_dit 0 // if defined, goes active for dit (any transmitter) - customized with tx_key_dit_and_dah_pins_active_state and tx_key_dit_and_dah_pins_inactive_state
# define tx_key_dah 0 // if defined, goes active for dah (any transmitter) - customized with tx_key_dit_and_dah_pins_active_state and tx_key_dit_and_dah_pins_inactive_state
2019-05-04 01:04:09 +00:00
# define potentiometer_enable_pin 0 // if defined, the potentiometer will be enabled only when this pin is held low; set to 0 to ignore this pin
2020-08-22 01:05:18 +00:00
# ifdef FEATURE_BUTTONS
Yaacwk hw (#50)
* add hardware files for YAACWK Arduino Nano V3.0 based board
see http://i1cra.briata.org/yaacwk/ for more info
* enable define HARDWARE_YAACWK as default in this branch
* removed feature sleep
enable OPTION_CW_KEYBOARD_ITALIAN
* Add YAACWK KiCad Schematic Sources for Arduino Nano v3
* Add YAACWK KiCad Schematic Sources for AtMega 644p
* Yaacwk 644p variant with:
FEATURE_LCD_4BIT enabled
FEATURE_CW_DECODER enabled
* Updated YAACWK Kicad to allign with latest pin settings for AtMega 644p variant
moved ps2_keyboard_clock to pin2 (pin3 on AtMega 644p is not an interrupt capable pin!)
moved paddle_left to pin3
added cw decoder indicator LED on pin30
* Add HARDWARE_YAACWK and left not default in this branch"
This reverts commit 24624afdcea3bbb1dd9c1ebab9414a82ab379ebe.
* update yaacwk's settings to reflect the current k3ng keyer src code
* fix typo caused by 984f038e31a9259fce9d3a0e51497b580075d388
* Yaacwk - fix eechema, cw_decored reenabled and speed pot now is working
* HARDWARE_YAACWK left enabled by default in this branch
* fix yaawck eeschema for display, to reflect the current src code
* yaacwk, add winkey support
* yaacwk, eeschema cleanup, ps2 pinout fixed, uart ttl and new power input added
* Revert "HARDWARE_YAACWK left enabled by default in this branch"
This reverts commit 464ad47debdeedf728e058a34c0a7f8bbdb60f49.
* cleanup after merge
* yaacwk, settings refresh
* removed kicad stuff, now this is managed on separated repo: https://github.com/federicobriata/iz1glg_yaacw_keyer
* YAACWK v1.1, new pinout for make SPI and Serial1 available, eeschema: https://github.com/federicobriata/iz1glg_yaacw_keyer
* Yaacwk now have 8 analog buttons
* yaacwk, settings refresh
* disable HARDWARE_YAACWK by default in this branch
2018-08-21 21:13:21 +00:00
# define analog_buttons_pin A1
# define command_mode_active_led 0
2020-08-22 01:05:18 +00:00
# endif //FEATURE_BUTTONS
Yaacwk hw (#50)
* add hardware files for YAACWK Arduino Nano V3.0 based board
see http://i1cra.briata.org/yaacwk/ for more info
* enable define HARDWARE_YAACWK as default in this branch
* removed feature sleep
enable OPTION_CW_KEYBOARD_ITALIAN
* Add YAACWK KiCad Schematic Sources for Arduino Nano v3
* Add YAACWK KiCad Schematic Sources for AtMega 644p
* Yaacwk 644p variant with:
FEATURE_LCD_4BIT enabled
FEATURE_CW_DECODER enabled
* Updated YAACWK Kicad to allign with latest pin settings for AtMega 644p variant
moved ps2_keyboard_clock to pin2 (pin3 on AtMega 644p is not an interrupt capable pin!)
moved paddle_left to pin3
added cw decoder indicator LED on pin30
* Add HARDWARE_YAACWK and left not default in this branch"
This reverts commit 24624afdcea3bbb1dd9c1ebab9414a82ab379ebe.
* update yaacwk's settings to reflect the current k3ng keyer src code
* fix typo caused by 984f038e31a9259fce9d3a0e51497b580075d388
* Yaacwk - fix eechema, cw_decored reenabled and speed pot now is working
* HARDWARE_YAACWK left enabled by default in this branch
* fix yaawck eeschema for display, to reflect the current src code
* yaacwk, add winkey support
* yaacwk, eeschema cleanup, ps2 pinout fixed, uart ttl and new power input added
* Revert "HARDWARE_YAACWK left enabled by default in this branch"
This reverts commit 464ad47debdeedf728e058a34c0a7f8bbdb60f49.
* cleanup after merge
* yaacwk, settings refresh
* removed kicad stuff, now this is managed on separated repo: https://github.com/federicobriata/iz1glg_yaacw_keyer
* YAACWK v1.1, new pinout for make SPI and Serial1 available, eeschema: https://github.com/federicobriata/iz1glg_yaacw_keyer
* Yaacwk now have 8 analog buttons
* yaacwk, settings refresh
* disable HARDWARE_YAACWK by default in this branch
2018-08-21 21:13:21 +00:00
/*
FEATURE_SIDETONE_SWITCH
Enabling this feature and an external toggle switch adds switch control for playing cw sidetone .
ST Switch status is displayed in the status command . This feature will override the software control of the sidetone ( \ o ) .
Arduino pin is assigned by SIDETONE_SWITCH
*/
# ifdef FEATURE_SIDETONE_SWITCH
# define SIDETONE_SWITCH 0
# endif //FEATURE_SIDETONE_SWITCH
//lcd pins
# ifdef FEATURE_LCD_4BIT
# define lcd_rs 26 // A2
# define lcd_enable 20
# define lcd_d4 12
# define lcd_d5 13
# define lcd_d6 14
# define lcd_d7 15
# endif //FEATURE_LCD_4BIT
//ps2 keyboard pins
# ifdef FEATURE_PS2_KEYBOARD
# define ps2_keyboard_data A3
# define ps2_keyboard_clock 2 // this must be on an interrupt capable pin!
# endif //FEATURE_PS2_KEYBOARD
// rotary encoder pins and options - rotary encoder code from Jim Balls M0CKE
# ifdef FEATURE_ROTARY_ENCODER
# define OPTION_ENCODER_HALF_STEP_MODE // Half-step mode?
# define rotary_pin1 0 // CW Encoder Pin
# define rotary_pin2 0 // CCW Encoder Pin
# define OPTION_ENCODER_ENABLE_PULLUPS // define to enable weak pullups.
# endif //FEATURE_ROTARY_ENCODER
# ifdef FEATURE_LED_RING
# define led_ring_sdi A10 //2 //Data
# define led_ring_clk A9 //3 //Clock
# define led_ring_le A8 //4 //Latch
# endif //FEATURE_LED_RING
2019-12-07 17:56:54 +00:00
# define correct_answer_led 0
# define wrong_answer_led 0
Yaacwk hw (#50)
* add hardware files for YAACWK Arduino Nano V3.0 based board
see http://i1cra.briata.org/yaacwk/ for more info
* enable define HARDWARE_YAACWK as default in this branch
* removed feature sleep
enable OPTION_CW_KEYBOARD_ITALIAN
* Add YAACWK KiCad Schematic Sources for Arduino Nano v3
* Add YAACWK KiCad Schematic Sources for AtMega 644p
* Yaacwk 644p variant with:
FEATURE_LCD_4BIT enabled
FEATURE_CW_DECODER enabled
* Updated YAACWK Kicad to allign with latest pin settings for AtMega 644p variant
moved ps2_keyboard_clock to pin2 (pin3 on AtMega 644p is not an interrupt capable pin!)
moved paddle_left to pin3
added cw decoder indicator LED on pin30
* Add HARDWARE_YAACWK and left not default in this branch"
This reverts commit 24624afdcea3bbb1dd9c1ebab9414a82ab379ebe.
* update yaacwk's settings to reflect the current k3ng keyer src code
* fix typo caused by 984f038e31a9259fce9d3a0e51497b580075d388
* Yaacwk - fix eechema, cw_decored reenabled and speed pot now is working
* HARDWARE_YAACWK left enabled by default in this branch
* fix yaawck eeschema for display, to reflect the current src code
* yaacwk, add winkey support
* yaacwk, eeschema cleanup, ps2 pinout fixed, uart ttl and new power input added
* Revert "HARDWARE_YAACWK left enabled by default in this branch"
This reverts commit 464ad47debdeedf728e058a34c0a7f8bbdb60f49.
* cleanup after merge
* yaacwk, settings refresh
* removed kicad stuff, now this is managed on separated repo: https://github.com/federicobriata/iz1glg_yaacw_keyer
* YAACWK v1.1, new pinout for make SPI and Serial1 available, eeschema: https://github.com/federicobriata/iz1glg_yaacw_keyer
* Yaacwk now have 8 analog buttons
* yaacwk, settings refresh
* disable HARDWARE_YAACWK by default in this branch
2018-08-21 21:13:21 +00:00
# ifdef FEATURE_PTT_INTERLOCK
# define ptt_interlock 0 // this pin disables PTT and TX KEY
# endif //FEATURE_PTT_INTERLOCK
# ifdef FEATURE_STRAIGHT_KEY
# define pin_straight_key 0
# endif //FEATURE_STRAIGHT_KEY
2020-08-25 00:59:17 +00:00
// FEATURE_CW_DECODER & OPTION_CW_DECODER_GOERTZEL_AUDIO_DETECTOR
// See https://github.com/k3ng/k3ng_cw_keyer/wiki/385-Feature:-CW-Decoder for details
# define cw_decoder_pin 0 // This is for use with external decoding hardware
# define cw_decoder_audio_input_pin 0 // This is for audio detection decoding using OPTION_CW_DECODER_GOERTZEL_AUDIO_DETECTOR; this must be an analog pin!
# define cw_decoder_indicator 0 // Output - goes HIGH when cw tone is detected by OPTION_CW_DECODER_GOERTZEL_AUDIO_DETECTOR
Yaacwk hw (#50)
* add hardware files for YAACWK Arduino Nano V3.0 based board
see http://i1cra.briata.org/yaacwk/ for more info
* enable define HARDWARE_YAACWK as default in this branch
* removed feature sleep
enable OPTION_CW_KEYBOARD_ITALIAN
* Add YAACWK KiCad Schematic Sources for Arduino Nano v3
* Add YAACWK KiCad Schematic Sources for AtMega 644p
* Yaacwk 644p variant with:
FEATURE_LCD_4BIT enabled
FEATURE_CW_DECODER enabled
* Updated YAACWK Kicad to allign with latest pin settings for AtMega 644p variant
moved ps2_keyboard_clock to pin2 (pin3 on AtMega 644p is not an interrupt capable pin!)
moved paddle_left to pin3
added cw decoder indicator LED on pin30
* Add HARDWARE_YAACWK and left not default in this branch"
This reverts commit 24624afdcea3bbb1dd9c1ebab9414a82ab379ebe.
* update yaacwk's settings to reflect the current k3ng keyer src code
* fix typo caused by 984f038e31a9259fce9d3a0e51497b580075d388
* Yaacwk - fix eechema, cw_decored reenabled and speed pot now is working
* HARDWARE_YAACWK left enabled by default in this branch
* fix yaawck eeschema for display, to reflect the current src code
* yaacwk, add winkey support
* yaacwk, eeschema cleanup, ps2 pinout fixed, uart ttl and new power input added
* Revert "HARDWARE_YAACWK left enabled by default in this branch"
This reverts commit 464ad47debdeedf728e058a34c0a7f8bbdb60f49.
* cleanup after merge
* yaacwk, settings refresh
* removed kicad stuff, now this is managed on separated repo: https://github.com/federicobriata/iz1glg_yaacw_keyer
* YAACWK v1.1, new pinout for make SPI and Serial1 available, eeschema: https://github.com/federicobriata/iz1glg_yaacw_keyer
* Yaacwk now have 8 analog buttons
* yaacwk, settings refresh
* disable HARDWARE_YAACWK by default in this branch
2018-08-21 21:13:21 +00:00
# if defined(FEATURE_COMPETITION_COMPRESSION_DETECTION)
# define compression_detection_pin 0
# endif //FEATURE_COMPETITION_COMPRESSION_DETECTION
# if defined(FEATURE_SLEEP)
# define keyer_awake 0 // Goes active when keyer is awake, inactive when in sleep mode; change active and inactive states in keyer_settings file
# endif
2021-03-20 00:28:35 +00:00
# if defined(FEATURE_LCD_BACKLIGHT_AUTO_DIM)
# define keyer_power_led 0 // must be a PWM-capable pin
# endif
Yaacwk hw (#50)
* add hardware files for YAACWK Arduino Nano V3.0 based board
see http://i1cra.briata.org/yaacwk/ for more info
* enable define HARDWARE_YAACWK as default in this branch
* removed feature sleep
enable OPTION_CW_KEYBOARD_ITALIAN
* Add YAACWK KiCad Schematic Sources for Arduino Nano v3
* Add YAACWK KiCad Schematic Sources for AtMega 644p
* Yaacwk 644p variant with:
FEATURE_LCD_4BIT enabled
FEATURE_CW_DECODER enabled
* Updated YAACWK Kicad to allign with latest pin settings for AtMega 644p variant
moved ps2_keyboard_clock to pin2 (pin3 on AtMega 644p is not an interrupt capable pin!)
moved paddle_left to pin3
added cw decoder indicator LED on pin30
* Add HARDWARE_YAACWK and left not default in this branch"
This reverts commit 24624afdcea3bbb1dd9c1ebab9414a82ab379ebe.
* update yaacwk's settings to reflect the current k3ng keyer src code
* fix typo caused by 984f038e31a9259fce9d3a0e51497b580075d388
* Yaacwk - fix eechema, cw_decored reenabled and speed pot now is working
* HARDWARE_YAACWK left enabled by default in this branch
* fix yaawck eeschema for display, to reflect the current src code
* yaacwk, add winkey support
* yaacwk, eeschema cleanup, ps2 pinout fixed, uart ttl and new power input added
* Revert "HARDWARE_YAACWK left enabled by default in this branch"
This reverts commit 464ad47debdeedf728e058a34c0a7f8bbdb60f49.
* cleanup after merge
* yaacwk, settings refresh
* removed kicad stuff, now this is managed on separated repo: https://github.com/federicobriata/iz1glg_yaacw_keyer
* YAACWK v1.1, new pinout for make SPI and Serial1 available, eeschema: https://github.com/federicobriata/iz1glg_yaacw_keyer
* Yaacwk now have 8 analog buttons
* yaacwk, settings refresh
* disable HARDWARE_YAACWK by default in this branch
2018-08-21 21:13:21 +00:00
# if defined(FEATURE_CAPACITIVE_PADDLE_PINS)
# define capactive_paddle_pin_inhibit_pin 0 // if this pin is defined and is set high, the capacitive paddle pins will switch to normal (non-capacitive) sensing mode
# endif
# ifdef FEATURE_4x4_KEYPAD
# define Row3 33
# define Row2 32
# define Row1 31
# define Row0 30
# define Col3 37
# define Col2 36
# define Col1 35
# define Col0 34
# endif
# ifdef FEATURE_3x4_KEYPAD
# define Row3 33
# define Row2 32
# define Row1 31
# define Row0 30
# define Col2 36
# define Col1 35
# define Col0 34
# endif
# ifdef FEATURE_SEQUENCER
# define sequencer_1_pin 0
# define sequencer_2_pin 0
# define sequencer_3_pin 0
# define sequencer_4_pin 0
# define sequencer_5_pin 0
# endif //FEATURE_SEQUENCER
# define ptt_input_pin 0
# define tx_inhibit_pin 0
# define tx_pause_pin 0
2021-07-17 19:58:21 +00:00
# define pin_sending_mode_automatic 0 // goes HIGH when keyer is sending code automatically
# define pin_sending_mode_manual 0 // goes HIGH when keyer is sending code manually (i.e. the paddle or straight key)
Yaacwk hw (#50)
* add hardware files for YAACWK Arduino Nano V3.0 based board
see http://i1cra.briata.org/yaacwk/ for more info
* enable define HARDWARE_YAACWK as default in this branch
* removed feature sleep
enable OPTION_CW_KEYBOARD_ITALIAN
* Add YAACWK KiCad Schematic Sources for Arduino Nano v3
* Add YAACWK KiCad Schematic Sources for AtMega 644p
* Yaacwk 644p variant with:
FEATURE_LCD_4BIT enabled
FEATURE_CW_DECODER enabled
* Updated YAACWK Kicad to allign with latest pin settings for AtMega 644p variant
moved ps2_keyboard_clock to pin2 (pin3 on AtMega 644p is not an interrupt capable pin!)
moved paddle_left to pin3
added cw decoder indicator LED on pin30
* Add HARDWARE_YAACWK and left not default in this branch"
This reverts commit 24624afdcea3bbb1dd9c1ebab9414a82ab379ebe.
* update yaacwk's settings to reflect the current k3ng keyer src code
* fix typo caused by 984f038e31a9259fce9d3a0e51497b580075d388
* Yaacwk - fix eechema, cw_decored reenabled and speed pot now is working
* HARDWARE_YAACWK left enabled by default in this branch
* fix yaawck eeschema for display, to reflect the current src code
* yaacwk, add winkey support
* yaacwk, eeschema cleanup, ps2 pinout fixed, uart ttl and new power input added
* Revert "HARDWARE_YAACWK left enabled by default in this branch"
This reverts commit 464ad47debdeedf728e058a34c0a7f8bbdb60f49.
* cleanup after merge
* yaacwk, settings refresh
* removed kicad stuff, now this is managed on separated repo: https://github.com/federicobriata/iz1glg_yaacw_keyer
* YAACWK v1.1, new pinout for make SPI and Serial1 available, eeschema: https://github.com/federicobriata/iz1glg_yaacw_keyer
* Yaacwk now have 8 analog buttons
* yaacwk, settings refresh
* disable HARDWARE_YAACWK by default in this branch
2018-08-21 21:13:21 +00:00
# else
# error "Multiple pin_settings.h files included somehow..."
# endif //keyer_pin_settings_h