1

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?

  • 1
    Have you heard about SSH? – tttapa Jan 21 '18 at 10:32
  • You probably can - but what are you trying to achieve? What's wrong with the normal methods which makes you want to do it this way? – Mark Smith Jan 21 '18 at 12:59
  • I have the Raspberry pi 0 without WiFi, so SSH is no option for me. I would like to communicate with it over serial line. Since I have an Arduino anyway, I thought that might work to program the pi. – Jennes De Schutter Jan 22 '18 at 11:07
1

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.

| improve this answer | |
  • 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. – 4ilo Jan 21 '18 at 14:05
  • The Arduino uses FTDI usb-to serial converter. ... that is not true for UNO – jsotola Jan 23 '18 at 3:16
  • They changed the FTDI with a compatible Atmel part between revisions, but the concept stays the same as with the FTDI. – 4ilo Jan 23 '18 at 7:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.