This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
robot [2013/11/27 00:29] jgensler8 |
robot [2014/03/06 18:06] (current) aphelp6 |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======= Tamiya Bot ======= | ||
+ | |||
+ | |||
root@strawberry | root@strawberry | ||
Line 4: | Line 7: | ||
Initialize/Remove a gpio connection: | Initialize/Remove a gpio connection: | ||
- | * echo <pin number> into "/sys/class/gpio/export" to create a gpio connection with pin <pin numebr>. | + | * 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 | * echo <pin number> into "/sys/class/gpio/unexport" to remove an existing connection | ||
Line 11: | Line 14: | ||
* echo ("1"|"0") into "/sys/class/gpio/gpio<pin number>/value" to turn (on|off) a port | * echo ("1"|"0") into "/sys/class/gpio/gpio<pin number>/value" to turn (on|off) a port | ||
- | Test 1: | + | =====Test 1:===== |
- | * Raspberry pi + Arduino, GPIO test light blink | + | * Raspberry Pi + Arduino, GPIO test light blink |
{{:test_1_rpi_arduino.jpg?200|}} | {{:test_1_rpi_arduino.jpg?200|}} | ||
* arduino hookup | * arduino hookup | ||
Line 19: | Line 22: | ||
{{:test_1_rpi.jpg?200|}} | {{:test_1_rpi.jpg?200|}} | ||
- | links: | + | =====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 | * serial connection: http://elinux.org/RPi_Serial_Connection | ||
* RPi gpio chart: http://elinux.org/RPi_Low-level_peripherals#GPIO_hardware_hacking | * 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/ | * 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]] | ||
+ | [[https://github.com/mgobryan/pycreate]] | ||
+ | Working on this --> [[https://github.com/neofu50/python-irobot-create]] | ||