Hi, does anyone know if the UART tx and rx pins can be used to connect usb devices directli to the GPIO connection of the Rpi?
Or can it be used to connect the pin0 and pin1 of the arduino as a direct serial link to the arduino?.
Hi, does anyone know if the UART tx and rx pins can be used to connect usb devices directli to the GPIO connection of the Rpi?
Or can it be used to connect the pin0 and pin1 of the arduino as a direct serial link to the arduino?.
Hi Omar,
USB protocols are much more sophisticated than simple serial links. They have a hardware and a software component, and so you cannot connect the rx/tx lines directly to USB.
What people do instead is to use something like this : http://www.adafruit.com/products/954
As Shabaz said, you can only connect Arduino's directly to the Pi serial lines if the Arduino is running at 3.3v. This is possible, there's one on the Gertboard. However, you then can't run the Arduino at its full speed. For that reason, most off the shelf Arduinos are 5v based, which means you must use an interface chip. This one can do much more than interfacing to Arduinos: https://github.com/Guzunty/Pi/wiki. Disclosure: I curate this site.
HTH,
Derek
Hi Omar,
USB protocols are much more sophisticated than simple serial links. They have a hardware and a software component, and so you cannot connect the rx/tx lines directly to USB.
What people do instead is to use something like this : http://www.adafruit.com/products/954
As Shabaz said, you can only connect Arduino's directly to the Pi serial lines if the Arduino is running at 3.3v. This is possible, there's one on the Gertboard. However, you then can't run the Arduino at its full speed. For that reason, most off the shelf Arduinos are 5v based, which means you must use an interface chip. This one can do much more than interfacing to Arduinos: https://github.com/Guzunty/Pi/wiki. Disclosure: I curate this site.
HTH,
Derek
Yes: http://www.panu.it/raspand232/
Alberto
My Firefox Browser has informed me that the certificates of this site can not be trusted. I'll pass on that then, thanks.
I used the wrong protocol, post corrected!
TX.
Alberto