Using Arduino UNO as USB-UART for STM32 Microcontroller (blue pill)

Using Arduino UNO as USB-UART for STM32 Microcontroller (blue pill)

Arduino boards with a USB port (some boards do not have a USB port) already have a USB-UART converter based on the CH340 or FTDI chip, or ATmega, etc. The USB bus of these chips is connected to the USB port, and the UART bus is connected to TX and RX outputs board Arduino. All you need to do to operate the Arduino board as a USB-UART converte...

Read More →

Communication with Arduino from Linux-Terminal

Communication with Arduino from Linux-Terminal

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 →

How to connect Arduino and Python

How to connect Arduino and Python

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 →

Search
Popular Posts
Subscribe
{{post}}