Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
featherchorder [2025/02/14 17:49] – [FeatherChorder] priestdofeatherchorder [2025/05/28 20:17] (current) – [Code] priestdo
Line 1: Line 1:
 ====== FeatherChorder ====== ====== FeatherChorder ======
  
-As of late January 2016 I have been using an Adafruit Feather as the board powering the chorder I wear. [[https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/dfu-bluefruit-updates]])). The code was reworked for the feather with Charles Chen and is available on GitHub. (link below)  There were some issues with it when reconnecting to an Android device to which it already had been paired, these issues are now fixed. There were some code issues that have been corrected and it is important NOT to use the latest firmware for the nRF51822 chipset! Advancing beyond 0.7.7 seems to introduce an issue when reattaching to the host device (phone, computer, tablet, etc).  Using the 0.7.7 firmware the device will automatically connect with it's host device and be a functional keyboard. Going beyond that and you need to regularly forget the device and redo pairing. I am going to continue to look into this, but the keyboard is stable and solid with firmware 0.7.7. Definately up to being your primary keyboard.+In late January of 2016 I began using an Adafruit Feather as the board powering my on hand chorder. There was an almost total code rewrite, so at that time the USB [[spiffchorder:|SpiffChorder]] became the BLE FeatherChorder. The reworked code for the feather was written with Charles Chen and is available on GitHub. (link below) There were some code issues that came down to this: it is important NOT to use the latest firmware for the nRF51822 chipset! Advancing beyond 0.7.7 seems to introduce an issue when reattaching to the host device (phone, computer, tablet, etc).  Using the 0.7.7 firmware the device will automatically connect with it's host device and be a functional keyboard. Going beyond that and you need to regularly forget the device and redo pairing. I am going to continue to look into this, but the keyboard is stable and solid with firmware 0.7.7.
  
-Here is the FeatherChorder, a BLE (Bluetooth Low Energy) Chorder using the [[https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/overview|Adafruit Feather 32u4 Bluefruit LE]]+So, here is the FeatherChorder, a BLE (Bluetooth Low Energy) Chorder using the [[https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/overview|Adafruit Feather 32u4 Bluefruit LE]]
  
 {{::featherchorder.png}} {{::featherchorder.png}}
  
 +Please note, the connection to pin 5 is no longer needed. It was there to allow for a chord to trigger a hardware reset. This was a carry over from the pre-arduino days. The software reset on the arduinos and feathers has proven to be robust enough not to require this, so rather than the SPDT shown above connecting EN, pin 5, and GND, only SPST connecting EN to GND is now needed. 
 + 
 The advantage of using this board is that it has both the LiPo charger and the BLE transceiver built in, reducing the board count for the chorder from three to one. All that is required is to attach the keys and an on/off switch, plug in the battery, and then program it over a standard micro usb cable. The advantage of using this board is that it has both the LiPo charger and the BLE transceiver built in, reducing the board count for the chorder from three to one. All that is required is to attach the keys and an on/off switch, plug in the battery, and then program it over a standard micro usb cable.
  
Line 22: Line 23:
  
  
 +For the USB version of the Featherchorder, use the above code, but replace FeatherChorder.ino with FeatherChorder_TinyUSB.ino below. The tinyusb version has been tested on the adafruit KB2040 (not a feather) and the adafruit ESP32-S3 feathers((Note, the ESP32-S2(s) do not have native USB so the code will not work as is. You need an -S3 board.)) 
 +
 +<box 60% red round | **Download the Latest USB Build 2025-03-26**>
 +{{ ::featherchorder_tinyusb.ino |}}
 +</box|Thanks to Zach Lash for his work on this version! >
 +For a USB chorder you don't need the on/off switch unless you will have the keyboard connected at times you want to suppress chords from being sent.((When I wore a directly wired and then USB based chorder on my hand (1996-2012) having an off switch was important so I could suppress keypresses that would happen when putting on a jacket or doing non input hand tasks.))
  
 ===== Parts ===== ===== Parts =====
  
-  - an adafruit feather 32u4 bluefruit+  - an adafruit feather 32u4 bluefruit for BLE or an adafruit KB2040 for a USB chorder.
   - 7 keyswitches; I suggest Cherry Red MX switches((I still put in lighter springs, but the reds are the best switch with which to start.))   - 7 keyswitches; I suggest Cherry Red MX switches((I still put in lighter springs, but the reds are the best switch with which to start.))
-  - a small SPDT switch +  - BLE only: a small SPDT switch 
-  - a LiPo battery with 2-pin JST-PH connector; I like 350mA, 500mA is probably overkill.+  - BLE only: a LiPo battery with 2-pin JST-PH connector; I like 350mA, 500mA is probably overkill.
   - something to hold your keys, see other sections of this site for case ideas. It will work with the [[3d_printer_files|3D Printer Files for Chorders]].   - something to hold your keys, see other sections of this site for case ideas. It will work with the [[3d_printer_files|3D Printer Files for Chorders]].
  
featherchorder.1739555393.txt.gz · Last modified: by priestdo
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0