Hello all, quick question. I have a nano running an accelerometer and printing out a compass heading over 115000 baud serial. I can plug the usb cable in the computer and then to the micro usb on the nano and everything is working.
My question is on the nano end, can i use the serial pins as opposed to the micro-usb slot without changing anything in the code?
If your question is "can I read the same content as I do on USB by connecting another USB-to-serial converter to the serial pins?", the answer is yes. Given you use a Nano (not one of the more modern variants who's name also start with "Nano" but has some extension).
I was mobile when i innitially made the post, so forgive the shortness of the post!
To add more details, i have a turret that can rotate 360 degrees, with an appropriate 20+ pin rotating collar.
I wanted to have the arduino send the angle through the rotating collar and into a Pi that controls the entire cadence.
I made my life easier by cutting the USB cable in half, soldering pins onto the spliced cables, and connecting the newly cut usb halves into the rotating collar. One side goes to the arduino nano micro usb, then it goes through the collar, and the other half of the usb cable plugs into the USB0 slot of the Pi.
Problem solved and no need to use the serial pins or any TTL UART converter.
I'm sure my initial question will be asked again, so thanks for the replies as they would have been the answer i was looking for.