Arduino Nano V3.0 ATmega328 CH340G playground on Ubuntu 15.10
lsmod | grep 'ch'
modinfo ch341
http://lxr.free-electrons.com/source/drivers/usb/serial/ch341.c
Arduino IDE here.
sudo ./arduino
Arduino IDE settings : Tools/Board Arduino Nano
Tools/Processor ATmega328
Tools/Programmer Arduino as ISP
Arduino Language Reference
modprobe usbmon
sudo wireshark
Official article, Arduino and Java
sudo apt-get install librxtx-java
sudo usermod -a -G dialout $USER
sudo adduser $USER dialout
sudo reboot
mvn exec:java
mvn exec:java -Dport.id=/dev/ttyUSB0
mvn clean install
java -jar target/arduino-0.0.1-SNAPSHOT.jar
java -jar -Dport.id=/dev/ttyUSB0 target/arduino-0.0.1-SNAPSHOT.jar
http://stackoverflow.com/a/35406863
http://stackoverflow.com/questions/3918032/bash-serial-i-o-and-arduino
echo "ON" > /dev/ttyUSB0
- ubuntu.terminal.echo.pcapng
using Arduino IDE serial monitor
- arduino.ide.serial.monitor.pcapng
stty -a < /dev/ttyUSB0
echo "ON" > /dev/ttyUSB0 wont work
echo "OFF" > /dev/ttyUSB0 wont work