User Tools

Site Tools


lisboa-worklog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
lisboa-worklog [2014/09/02 20:20]
zoza
lisboa-worklog [2015/01/22 15:50]
zoza [controls (python)]
Line 10: Line 10:
  
 ssh into it <​code>​$ ssh root@BBB.IP.ADDRESS </​code>​ ssh into it <​code>​$ ssh root@BBB.IP.ADDRESS </​code>​
 +
 +===== udev rules =====
  
 IMPORTANT: write udev rules to address arduinos correctly [[http://​docs.brewpi.com/​advanced-setups/​multiple-arduinos-single-rpi.html]] IMPORTANT: write udev rules to address arduinos correctly [[http://​docs.brewpi.com/​advanced-setups/​multiple-arduinos-single-rpi.html]]
Line 16: Line 18:
  
 using ShiftPWW library modified by phil [[https://​github.com/​fleshgordo/​diskohedronled/​tree/​master/​software/​libraries/​ShiftPWM]] 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]] software on the board: [[serial-parse-led]]
  
 +pins: 
 +8 - LATCH (OE)
 +11 - DATA
 +13 - CLL
 +
 +GND-GND
 ====== arduino2: motors ====== ====== arduino2: motors ======
  
Line 29: Line 39:
 opens two serial ports, creates two serial objects opens two serial ports, creates two serial objects
  
-reads data from the server <code python>​datas = urllib2.urlopen("​http://​kucjica.kucjica.org/​androidtesting/​arduino-get.php"​)</​code>​+reads data from the server ​ 
 +<code python>​datas = urllib2.urlopen("​http://​kucjica.kucjica.org/​androidtesting/​arduino-get.php"​)</​code>​ 
 + 
 +uses servoclass.py class 
 + 
 +short code to [[lisboa-motors-test|test the motors]]
  
  
lisboa-worklog.txt · Last modified: 2015/01/22 15:52 by zoza