Can I use my Arduino Uno as a USB to serial converter to program my Raspberry pi 0 over serial communication?
My idea: Computer connects to Arduino via USB > Arduino connects with Raspberry pi 0 via GPIO pins.
How do I go about this?
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It only takes a minute to sign up.Sign up to join this community
If you load an empty program in your arduino, and make the folowing connections:
Pi --> Arduino
Pin 8 --> Pin 1
Pin 10 --> Pin 0
Gnd --> Gnd
than you should see your linux console in the arduino serial program is you set the baudrate to 115200.
This method will work for the raspberry pi models without wifi. On the wifi models the pins on the pi will be different.
The Arduino uses FTDI usb-to serial converter. This converters uart side is connected to the AVR-chip via pin 0 and 1. If you load an empty program in your arduino, it wil not use these lines. Now you can connect directly to the FTDI chip thru this pins. The converter does not care if it is communicating with the arduino or the pi over these lines.