Skip to content

recri/hasak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hasak cw keyer

Hasak is firmware for the CWKeyerShield described in https://github.com/softerhardware/CWKeyer.

With appropriate wiring, it also works on bare Teensy microprocessors, Teensy microprocessors with the Teensy Audio Adapter, and Teensy microprocessors on hardware specifically designed for hasak.

Hasak is designed to combine the Teensy hardware, the Teensy Audio library, and the Musical Instrument Device Interface (MIDI) to make a highly configurable cw keyer that allows sample accurate timing.

building

Obtain a Teensy 4.0 or 4.1 from https://www.pjrc.com/store/ or one of the suppliers listed there.

Teensy 3.x will work, but they’ve been discontinued as products, so don’t try to buy one new. And if you have a new one lying around, you might want to sell it on ebay.

Install the Teensyduino development environment according to the instructions at https://www.pjrc.com/teensy/td_download.html

If you are running on Linux, do not skip the instructions for Linux udev rules - Proper setup for USB devices on Linux systems.

Download the source for the project from https://github.com/recri/hasak

Open the project with the arduino-ide. In the tools menu you need to select the Board, the Port, and the USB Type.

In the Board submenu, pick your Teensy version from the Teensy submenu.

In the Port submenu, select your Teensy’s port. The list of possible ports will appear once you’ve connected your Teensy with a USB cable.

In the USB Type submenu, select “Serial+MIDI+Audio”.

wiring

gndgroundall
pin 0right paddle inall
pin 1left paddle inall
pin 2straight key inall
pin 3external PTT inall
pin 4key outall
pin 5PTT outall
pin 10MQSR audio out rightTeensy 4.X
pin 12MQSL audio out leftTeensy 4.X
headphone jackTeensy Audio Adapter
headphone jackCW Keyer Shield
pin 15A1 Volume PotCW Keyer Shield
pin 16A2 ST Vol PotCW Keyer Shield
pin 17A3 ST FreqCW Keyer Shield
pin 18A4 SpeedCW Keyer Shield
pin 40DAC A14 audio out monoTeensy 3.1, 3.2
pin 66DAC0 audio outTeensy 3.5, 3.6
pin 67DAC1 audio outTeensy 3.5, 3.6

control

Open https://hasak.elf.org on the machine connected to your Teensy by USB.

Grant permission to program MIDI devices when prompted.

The web page may need to be reloaded to display the user interface.

(This was intended to work on any device, but it isn’t working for me on my android phone, my android tablet, or my chromebook.)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published