This is just a rough documentation for this project of mine.
Schematic:
Not found on the schematic and picture but the latest one has 100nF and 10uF on the 5v pin.
Board:
D16 – SW1 (Use internal pull-up)
D17 – SW2 (Use internal pull-up)
D21 – SW3 (Use internal pull-up)
D22 – SW4 (Use internal pull-up)
D23 – SW5 (Use internal pull-up)
D14/A0 – EMG Sensor
D18 – Wii Nunchuk SDA (There’s already a 4.7K ohm pull-up resistor soldered)
D19 – Wii Nunchuk SCL (There’s already a 4.7K ohm pull-up resistor soldered)
D12 – Blue LED (with 270 ohm series resistor)
*D13 – Built-in LED of the Teensy-LC
This is a Wii Nunchuk(seems to be spelled that way) but you can technically use a Wii Classic Controller, Wii Drum Controller, etc. as they use I2C.
This is the EMG sensor. This is sent to me by DFRobot for free.
Relevant Links:
Teensy-LC:
https://www.pjrc.com/store/teensylc.htmlhttps://www.pjrc.com/teensy/td_joystick.html(uses DirectInput)
https://github.com/dmadison/ArduinoXInput(uses XInput)
https://github.com/dmadison/ArduinoXInput_Teensy
Wii Nunchuk:
https://www.nintendo.com/store/products/nunchuk-black-77944/
https://github.com/madhephaestus/WiiChuck
EMG sensor:
https://www.dfrobot.com/product-1661.html
https://wiki.dfrobot.com/Analog_EMG_Sensor_by_OYMotion_SKU_SEN0240