User Tools

Site Tools


robot

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
robot [2013/11/22 01:48]
jgensler8 created
robot [2014/02/08 23:52]
djacobs [Tamiya Bot]
Line 1: Line 1:
 +======= Tamiya Bot =======
 +
 +
 root@strawberry root@strawberry
  
 pins located at: /​sys/​class/​gpio pins located at: /​sys/​class/​gpio
-echo <pin number> into "/​sys/​class/​gpio/​export"​ to create a gpio connection with pin <pin numebr>. 
-echo <pin number> into "/​sys/​class/​gpio/​unexport"​ to remove an existing connection 
  
-echo ("​in"​|"​out"​) into "/​sys/​class/​gpio/​gpio<​pin number>/​direction"​ to specify the mode of writing or reading. +Initialize/​Remove a gpio connection:​ 
-echo ("​1"​|"​0"​) into "/​sys/​class/​gpio/​gpio<​pin number>/​value"​ to turn (on|off) a port+  * echo <pin number> into "/​sys/​class/​gpio/​export"​ to create a gpio connection with pin <pin number>​. 
 +  * echo <pin number> into "/​sys/​class/​gpio/​unexport"​ to remove an existing connection 
 + 
 +Using a gpio connection:​ 
 +  * echo ("​in"​|"​out"​) into "/​sys/​class/​gpio/​gpio<​pin number>/​direction"​ to specify the mode of writing or reading. 
 +  ​* ​echo ("​1"​|"​0"​) into "/​sys/​class/​gpio/​gpio<​pin number>/​value"​ to turn (on|off) a port 
 + 
 +=====Test 1:===== 
 +  * Raspberry Pi + Arduino, GPIO test light blink 
 +{{:​test_1_rpi_arduino.jpg?​200|}} 
 +  * arduino hookup 
 +{{:​test_1_arduino.jpg?​200|}} 
 +  * rasberry hookup 
 +{{:​test_1_rpi.jpg?​200|}} 
 + 
 +=====Test 2:===== 
 +**SoftwareSerial to ttyAMA0. Here is the** [[code]]. 
 +  * Raspberry Pi 
 +{{:​rpi_test_2.jpg?​200|}} 
 +  * Arduino 
 +{{:​2014-01-31_18.22.57.jpg?​200|}} 
 + 
 +=====Test 3:===== 
 +Code for the Servo and Sensor is [[robotservosensor|here.]] 
 +======links:​====== 
 +  * serial connection: http://​elinux.org/​RPi_Serial_Connection 
 +  * RPi gpio chart: http://​elinux.org/​RPi_Low-level_peripherals#​GPIO_hardware_hacking 
 +  * ICSP (+other digital charts for Leonardo):​http://​www.instructables.com/​id/​Step-by-Step-Guide-to-the-Arduino-Leonardo/​ 
 +  * SPI R/W from arduino (UNO, in depth) http://​www.gammon.com.au/​forum/?​id=10892 
 +  * ICSP (explanation,​ more general) http://​tronixstuff.com/​2011/​05/​13/​tutorial-arduino-and-the-spi-bus/​ 
 + 
 +====== iRobot ======
  
 +[[http://​www.irobot.com/​hrd_right_rail/​create_rr/​create_fam/​createFam_rr_manuals.html]]
  
robot.txt · Last modified: 2014/03/06 18:06 by aphelp6