This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
robot [2014/02/07 22:09] aphelp6 |
robot [2014/03/06 18:06] (current) aphelp6 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tamiya Bot ====== | + | ======= Tamiya Bot ======= |
Line 7: | 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 14: | 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|}} | ||
Line 22: | Line 22: | ||
{{:test_1_rpi.jpg?200|}} | {{:test_1_rpi.jpg?200|}} | ||
- | Test 2: SoftwareSerial to ttyAMA0. Here is the [[code]]. | + | =====Test 2:===== |
+ | **SoftwareSerial to ttyAMA0. Here is the** [[code]]. | ||
* Raspberry Pi | * Raspberry Pi | ||
{{:rpi_test_2.jpg?200|}} | {{:rpi_test_2.jpg?200|}} | ||
Line 28: | Line 29: | ||
{{:2014-01-31_18.22.57.jpg?200|}} | {{:2014-01-31_18.22.57.jpg?200|}} | ||
- | links: | + | =====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 | ||
Line 38: | Line 41: | ||
[[http://www.irobot.com/hrd_right_rail/create_rr/create_fam/createFam_rr_manuals.html]] | [[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]] | ||