OLED I2C display have a 4 pins: GRD, VCC, SCL, SDA. These pins connect to Arduino in the following way: OLED I2C Arduino Uno Arduino Nano Arduino Mega GND GND GND GND VСС 5V 5V 5V SDA A4 A4 20 SCL A5 A5 21 ...
Read More →I already wrote how to send the message from/to Arduino with help Python. Now I want tell you, how to send/receive the messages from/to Arduino in Linux-Terminal. As you know, all devices of serial ports are represented by device files in the /dev directory. It is through these files that Linux OS communicates with an external device on the s...
Read More →Example, how to send a message from Arduino to a Python-program Arduino code: void setup() { Serial.begin(9600); // opens serial port, sets data rate to 9600 bps } void loop() { Serial.println("Hello, it'a Ardunio!"); //send message delay(5000); } In Python we use pyserial library In the examples in this librar...
Read More →