Skip to content

Program used to test the Nintento Switch Joystick object on the Arduino Leonardo or Arduino Micro with a UART interface

License

Notifications You must be signed in to change notification settings

playAbilityTech/UART-to-Arduino-JoyCon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UART-to-Arduino-JoyCon

Program used to test the Nintento Switch Arduino Joystick with a UART interface.

Dependencies

Usage

Client

In the /client folder.

  1. npm install
  2. npm run dev or npm start
  3. open http://localhost:3000/
Options:
  • PLAYER: PLAYER=1 npm run dev will set PORT to 3000 + PLAYER ID. It will listen on MIDI channel of the same number to. Settings will be saved in its own config for each player id.
  • PORT: PORT=3031 PLAYER=1 npm run dev will run client with the specified port.

Arduino

Falsh the .ino file on a Arduino Leonardo, Arduino Micro or ATmega32U4 based microcontroller.

esp-link

Flash with esptool

Download the latest release.

esptool.py --port /dev/tty.wchusbserial14130 --baud 230400 write_flash -fs 32m -ff 80m \
    0x00000 boot_v1.7.bin 0x1000 user1.bin \
    0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin

for more infos see esp-link

Connect to arduino

  • RX: connect to TX of microcontroller
  • TX: connect to RX of microcontroller
  • GND: connect to GND of microcontroller

Thanks to

Todo

  • Input Protocol
    • UART
    • MIDI

About

Program used to test the Nintento Switch Joystick object on the Arduino Leonardo or Arduino Micro with a UART interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published