Comments (5)
You said the board is recognized as a controller. Does that mean that the Switch shows it as a USB controller in the menu? You should see that and you can also try connecting it to the PC, when it has to appear as "HORIPAD S" or something like that.
If that is the case, it means you flashed the firmware correctly, so the issue is about communications. I didn't make any relevant change in respect of SwitchInputEmulator.
Does your FT232 adaptor has LEDs? In that case, you can check if the commands are being sent. You should see both RX and TX leds on, because the board responds with an ACK message after every corerctly received packet (or NACK).
If you use the Java program, the connection status is shown in the GUI. If the Arduino doesn't recognize packets correctly, you will see the message "Syncing..." very often, because the host will try to resync after some NACKs.
Finally, the error might be the baudrate. The baudrate is programmed in the firmware and my code has it set to 1Mbps. If you select a different baudrate in the Java program, it won't work.
Tell me if some of those things work!
from nintendo-switch-remote-control.
Thanks a lot for the feedback, that was a good place to start and appeared to in fact to be a part of the problem. I adjusted the baud rate to match on the serial/USB adapter and made sure the serial port initialization matched those values and did get it to recognize on a separate testing laptop.
I found that the order of connecting the USB Serial, Arduino and Switch was important. I had to disconnect all three parts, first plug in the Arduino USB to Switch, then plug in USB Serial adapter to PC and finally wire the adapter to the Arduino (TX->TX RX->RX GND->GND 5V->5V) led to consistent successful connectivity. After that I had to make sure the sync protocol ran (I used the one from SwitchInputEmulator which initialized at 19200 baud) and it worked as needed.
I hope this can maybe help anyone else struggling to connect and thanks for your help!
from nintendo-switch-remote-control.
Hi @SequentialBase9915, can you check if the order in this README works? It's:
- Arduino to adapter (your last step).
- Adapter to PC.
- Arduino to Switch (your first step).
This is the order I have always used and don't recall getting errors. If you can test it, I would really appreciate it. That means the steps in that README are correct. Otherwise, I will test your method and update the README if it works for me too.
Thanks in advance!
from nintendo-switch-remote-control.
Apologies I hadn’t had the time to test but I tried the steps you mentioned and those worked fine as well, thank you.
from nintendo-switch-remote-control.
Ok, so I will leave the readme as it is now. Thanks!
from nintendo-switch-remote-control.
Related Issues (10)
- How to build Java parts? HOT 2
- Couldn't sync with the AVR MCU
- xhr poll error
- Controller at index 0 is not connected! HOT 12
- Switch does not recognize Arduino Uno HOT 16
- Python code gets stuck in loops. HOT 7
- ... HOT 12
- Curious about cross-compatibility with my project HOT 2
- Arduino Pro Micro rapidly disconnects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nintendo-switch-remote-control.