ESP32 to Nano communication issues with Dualshock #9
-
Hi Collin, thank you for the great work! What is happening:
BUT the rig won't move/store positions in array when playing with the Dualshock joysticks/keys :'( Is that possible there is a problem with my ESP32 with Rx/Tx not working with the correct voltage level or has something changed in some libraries that needs to be fixed in ESP code? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Hi Slyd, Thanks for commenting. Sorry to hear you're having issues. That's a tough one to fix if, As you can see from the code, there is no magic. It's only sending the same text that you can type in. Ultimately it does sound like there's some issue sending data from the ESP32 to the Nano (part 3 above). It's a little tricky to test with the Nano as it only has 1 serial port. Maybe you could try sending serial between your 2 ESP32 boards using the 2nd serial port (UART1 rather that UART0 which is connected to the USB port). In a program like this:
That way, what ever you type in one, should appear on the other, and it's actually gone through the ESP32. I know it's fairly basic stuff, but as it all seems to be working other than the serial connected between the 2 boards, that's the bit that needs testing. I hope this helps in some way. It sounds like you've done most of the hard work! Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi Colin, thank you for answering me. So thanks for pointing me in that direction. I will give it a try/test and let you know. Slyd |
Beta Was this translation helpful? Give feedback.
-
Hi Slyd, Have you had any success? Thanks, |
Beta Was this translation helpful? Give feedback.
-
I guess you got this working then? Great! |
Beta Was this translation helpful? Give feedback.
-
Hi Colin, |
Beta Was this translation helpful? Give feedback.
I guess you got this working then?
Great!