Komunikasi Serial Arduino
Komunikasi data serial digunakan untuk komunikasi antara board arduino dengan komputer atau perangkat lain. Semua board arduino mempunyai sedikitnya 1 buah port serial yang juga dikenal dengan nama UART atau USART. Komunikasi data serial menggunakan 2 buah pin yaitu pin RX untuk menerima data dan ppin TX untuk mengirimkan data. Serial communication on pins TX/RX uses TTL logic levels (5V or 3.3V depending on the board). Don’t connect these pins directly to an RS232 serial port; they operate at +/- 12V and can damage your Arduino board.
44 thoughts on “ Raspberry Pi and Arduino Connected Over Serial GPIO” • Siva Sankar Hello, I used the same wiring method and the data exchange is good. However it is not reliable, when i run a ping pong data exchange simultaneously for thousands and millions of time in a loop, and at the same time performing some motor controls from arduino (Motors are known to draw current up to 0.8 A), the data is getting corrupted. The data corruption happens when the setup demands more current (for controlling motors). Measures taken by me to solve this problem, > i have added shield to the wires Tx and Rx. > grounding is verified properly. Still i dont know how when the setup draws more current, the data on Tx and Rx is corrupted.
Any help will be appreciated. ↓ • roger Hello, I have a similar situation. I’d like to connect an Arduino Uno to a 3.3v sensor through RX/TX Now I understand Arduino-TX -> sensor-RX needs a voltage divider ( so the 5V of the arduino doesn’t break the sensor). Zapreschennie modi na world of warplanes. Now I’d expect the 3.3V from the sensor TX to Arduino-RX to be “safe”, however you mention in some situations the Arduino-RX can be at 5V, which would then go to the sensor and might break it So question ( assuming not using a level-divider) – why not have 2 voltage dividers?
( for both TX-RX and RX-TX connections) – could we put a schottky diode between the “Arduino-RX” to “sensor-TX”, to make sure there can only be a flow from the sensor to the Arduino, and and the diode blocks the other way around ( note: n00b here, so I might be completely misunderstanding it ). ↓ • Ralf S Hey Oscar!

I just found your (super) instructions, and wanted to go through it. Funny, I already fail on the very beginning. On my Raspi3 the /etc/inittab file doesn’t exist. It seems it’s gone nowadays, see raspberrypi.org/forums/viewtopic.php?f=66&t=123081 But also when I follow the steps in the linked doc to deactivate getty, I don’t get your tutorial to work. Hooking an oszilloscope to the Tx output of the raspi I don’t see anying coming there, so the minicom remains dead silent. Any hints on how to get this going with a new setup?