User Tools

Site Tools


lisboa-worklog

beagle bone black

connect to laptop:

network manager > Edit Connections > Ethernet > Wired Connection 1 > IPv4 Settings > “Share to other computers”

find out your IP

$ sudo ifconfig

run nmap to find beagle-bone's IP

$ sudo nmap -A xx.xx.xx.*

ssh into it

$ ssh root@BBB.IP.ADDRESS 

udev rules

IMPORTANT: write udev rules to address arduinos correctly http://docs.brewpi.com/advanced-setups/multiple-arduinos-single-rpi.html

arduino1: led

using ShiftPWW library modified by phil https://github.com/fleshgordo/diskohedronled/tree/master/software/libraries/ShiftPWM

the code? shiftpwm-led-controls

software on the board: serial-parse-led

pins: 8 - LATCH (OE) 11 - DATA 13 - CLL

GND-GND

arduino2: motors

software on the board: Multiple-Serial-Servo-Control

controls (python)

running on the BBB

opens two serial ports, creates two serial objects

reads data from the server

datas = urllib2.urlopen("http://kucjica.kucjica.org/androidtesting/arduino-get.php")

full python code

uses servoclass.py class

short code to test the motors

lisboa-worklog.txt · Last modified: 2015/01/22 15:52 by zoza