rs232_serial_monitor
Table of Contents
If you want to send us your comments, please do so. Thanks
More on comments
RS232 Serial Interface
With this interface data from the Arduino / ATmega 328p and others with Rx/Tx connections can be send to and saved on a PC if the Arduino program is made to do so
We use Putty as the client
An simple alternative is screen. Use (adjust the baud rate to your needs)
screen /dev/ttyACM0 115200
RS232 interface from China
Black with cable, Blue with cable
Wire in the cable | Function |
---|---|
Red | +5V not to be connected |
Black | Ground |
Green | Rx on the Arduino side. Pen 2 of the ATmega328p |
White | Tx on the Arduino side. Pen 3 of the ATmega328p |
Works on default settings:
dev/ttyUSB0 9600 baud 8 data bits 1 stop bit No parity No Flow control
Debugging
Unable to open connection to devttyACM0 Unable to open serial port
Probably the serial monitor of the Arduino IDE is also open
Other connection issues
If Putty gives an connection error you can try
- stty -a -F /dev/ttyUSB0
- lsusb
- lsmod | less
- ls /dev/tty*
- dmesg | less
- If you use an USB hub connect the serial interface directly (via an extension cable) to an USB port on the motherboard
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.
rs232_serial_monitor.txt · Last modified: 18-05-2020 10:17 by wim