control your Nintendo Switch using an Arduino UNO R3
- Arduino Uno (R3)
- Tiny jumper cable (female female) to flash intermediate device chip
- USB cable
- Linux System like Ubuntu (Debian)
git clone --recursive [email protected]:dornbirndevelops/nintendo-switch-controller-arduino.git
- Arduino IDE (this should install avr-gcc)
- DFU Programmer (called FLIP on Windows):
sudo apt install arduino dfu-programmer
make
IMPORTANT FOR NOTEBOOK USERS: turn off autosuspend before flashing because dfu-programmer does not recognize your device otherwise. this change can be reverted afterwards.
-
connect the Arduino UNO via USB Cable to your computer
-
verify that the Arduino gets discovered
lsusb
# Bus 001 Device 004: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)
- connect RESET to GND like in the image below for about 1 second:
- verify that the Arduino is now in DFU mode
lsusb
# Bus 001 Device 005: ID 03eb:2fef Atmel Corp.
- decide, which .hex-file you want to flash onto your atmega16u2, few examples are below:
default firmware
sudo dfu-programmer atmega16u2 erase
sudo dfu-programmer atmega16u2 flash firmwares/Arduino-usbserial-atmega16u2-Uno-Rev3.hex
sudo dfu-programmer atmega16u2 reset
repeat-a (just press a all the time in game)
sudo dfu-programmer atmega16u2 erase
sudo dfu-programmer atmega16u2 flash repeat-a.hex
sudo dfu-programmer atmega16u2 reset
any other firmware
sudo dfu-programmer atmega16u2 erase
sudo dfu-programmer atmega16u2 flash path/to/firmware.hex
sudo dfu-programmer atmega16u2 reset
- disconnect arduino from computer
repeat-a just spams the A button. You can use it to farm Fossils at the Digging Duo and/or hunting Shiny Fossils at Route 6
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the Arduino UNO R3
- walk to a den and throw an Wishing Piece in it
- use the date spoofing exploit until the den glows red (don't go in yet!)
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the Arduino UNO R3
This uses the new VS date spamming exploit, look it up on youtube.
- Enable the VS date spam exploit
- go into a Pokécenter right in front of the computer
- make sure you can play the lottery today (do not play yet)
- set you switch clock settigns to manual mode
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the Arduino UNO R3
- open wildareabreeding.c in src folder
- change value at line 62
#define cycles
to correct amount and save
- fly to the daycare in the wild area
- your party needs to be full and in the first slot should be a Pokémon with the Flame Body ability
- selection in menu needs to hover the map button
- exit the menu
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the Arduino UNO R3
make sure you have plenty of fossils in your inventory
- place yourself in front of the fossil lady.
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the Arduino UNO R3
NOT WORKING YET DUE TO MEMORY LIMITS! WORK IN PROGRESS (Release a full box of Pokémon releasebox.hex
)
be careful using this
- open the box you want to release
- go into the Change Grip/Order window on your Switch Homescreen and press nothing
- plug in the Arduino UNO R3
Thanks to Shiny Quagsire for his Splatoon post printer and progmem for his original discovery. Also thanks to bertrandom for his snowball thrower and all the modifications.