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,
As I understand, the traditional Arduino uses 5V logic signals (whereas the Arduino Due uses 3.3V I believe), and the RPI uses 3.3V levels. You could connect the UART pins together across the two boards, but only if they are using the same logic levels. Otherwise, you need some level converter, something like this, powered from 3.3V. (It is a quad NAND gate ic, you can tie the inputs together per gate, and tie the unused gate inputs to 0V). It is surface mount, but is the large SOIC package which is easy to solder.
EDIT: ugh, sorry, you need something like this, not NAND, which will invert your logic (unless you chain them). I'm just so used to using NAND gates for everything..
Hi Omar,
As I understand, the traditional Arduino uses 5V logic signals (whereas the Arduino Due uses 3.3V I believe), and the RPI uses 3.3V levels. You could connect the UART pins together across the two boards, but only if they are using the same logic levels. Otherwise, you need some level converter, something like this, powered from 3.3V. (It is a quad NAND gate ic, you can tie the inputs together per gate, and tie the unused gate inputs to 0V). It is surface mount, but is the large SOIC package which is easy to solder.
EDIT: ugh, sorry, you need something like this, not NAND, which will invert your logic (unless you chain them). I'm just so used to using NAND gates for everything..