03/21/2021 at 16:00 •
05/15/2020 at 02:49 •
433Mhz radios communicate better than expected in fresh water, and can even break the surface barrier. Still have to test the results with 915Mhz, and 2.4Ghz, and test everything in salt water.
05/15/2020 at 02:06 •
http://m-embedded.blogspot.com/2015/03/embedded-serial-over-usb-on-beaglebone.html (this is old, but simpler now)
sudo modprobe g_serial stty -F /dev/ttyGS0 raw stty -F /dev/ttyGS0 -echo cat /dev/ttyGS0
Then connect to available com port:
Not perfect, but it will do.
import serial comm = serial.Serial("/dev/ttyGS0", 9600) while True: data = comm.read_until(b'\r\n') print(data) comm.write(data)
import serial comm = serial.Serial("COM21", 9600) while True: comm.write(b"This is a test.\r\n") data = comm.read_until(b'\r\n') print(data)