-
Notifications
You must be signed in to change notification settings - Fork 1
RRduino: Getting Initial Setup
manu-fwi edited this page Nov 27, 2020
·
3 revisions
The following assumes you are on a Linux PC or RasperryPi.
GIT clone https://github.com/manu-fwi/RR-duino project
git clone https://github.com/manu-fwi/RR-duino
NOTE: If you already downloaded it, you can run 'git pull' to make sure you have the latest.
Install serial module for python:
sudo pip3 install pyserial
Install picotui module for python.
sudo pip3 install picotui
This is needed to run pico_rr_duino_setup.py (this script can completely setup any node).
- Add jumper between pin 2 and GND on Arduino
- Plugin USB of Arduino to USB port on RPi
- Find /dev port plugged into. Run 'dmesg' and look for a line like the following.
It might look like this.
[ 4024.148464] usb 1-1.1.3: Product: USB2.0-Serial
[ 4024.149673] ch341 1-1.1.3:1.0: ch341-uart converter detected
[ 4024.152451] usb 1-1.1.3: ch341-uart converter now attached to ttyUSB0
Or might look like this.
[ 256.206460] usb 1-1.3: Manufacturer: Arduino (www.arduino.cc)
[ 256.206468] usb 1-1.3: SerialNumber: 95730333238351305182
[ 256.207580] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
Using the first examples, we'll assume it is on /dev/ttyUSB0