Editing Odroid XU4 Weeding Spraying Robot

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
All my projects are located here: https://opencircuits.com/index.php?title=User:Definitionofis
 
 
=== [[Odroid XU4 Weeding Spraying Robot]] ===
 
The [https://vimeo.com/spinningwindmillfredhi project video] shows the completed [[robot]] spraying weeds. I proved the prototype works, although it is impracticably slow.
 
 
I have not posted any details about the software nor construction here, yet.
 
 
---- some technical details about one issue:
 
 
GPIO via Odroid XU4 Shifter Shield
 
GPIO via Odroid XU4 Shifter Shield
  
 
I used all the GPIO IN/OUT pins between 1 and 40 of the first connector. I needed one more. There is only one more on the 12 pin connector but it is 1.8v not 5v logic.
 
I used all the GPIO IN/OUT pins between 1 and 40 of the first connector. I needed one more. There is only one more on the 12 pin connector but it is 1.8v not 5v logic.
  
Here I describe how to access pin 5 of CONN11, which is a 12 pin connector which was inaccessible using wiringPi library.  
+
How to access pin 5 of CONN11, which is a 12 pin connector which was inaccessible using wiringPi library.  
  
 
First, here is the wiring diagram from pin 5 to a mosfet to control the solenoid valve which turns the spray OFF/ON. I mounted and soldered the parts onto the spare area of the shifter shield.
 
First, here is the wiring diagram from pin 5 to a mosfet to control the solenoid valve which turns the spray OFF/ON. I mounted and soldered the parts onto the spare area of the shifter shield.
 
[[File:odroid-xu4-pin5-mosfet-switch.png]]
 
[[File:odroid-xu4-pin5-mosfet-switch.png]]
  
I solved how to use that undocumented pin.
+
I figured out how to use that undocumented pin because I needed one more gpio wire!
* https://github.com/hardkernel/wiringPi
+
https://github.com/hardkernel/wiringPi
* https://ameridroid.com/products/odroid-xu4
+
https://ameridroid.com/products/odroid-xu4
* https://wiki.odroid.com/odroid-xu4/odroid-xu4
+
https://wiki.odroid.com/odroid-xu4/odroid-xu4
* https://wiki.odroid.com/odroid-xu4/software/gpio_register_map#gpio_port_register_map
+
https://wiki.odroid.com/odroid-xu4/software/gpio_register_map#gpio_port_register_map
* [[Wiki Odroid plus USB troubleshooting and GPIO upgrade notes]]
 
* [[HOW TO ACCESS pin 5 of CONNECTOR 11 GPIO]]
 
  
 
You can modify the C language file odroidxu3.c which has a placeholder filled with several -1 items as an error return code. The XU3 and XU4 both have 1 to 40 pins accessible from the Shifter Shield. I used all the GPIO (GPX) IN/OUT pins with success. That is the 40 pin connector. https://wiki.odroid.com/accessory/add-on_boards/xu4_shift_shield
 
You can modify the C language file odroidxu3.c which has a placeholder filled with several -1 items as an error return code. The XU3 and XU4 both have 1 to 40 pins accessible from the Shifter Shield. I used all the GPIO (GPX) IN/OUT pins with success. That is the 40 pin connector. https://wiki.odroid.com/accessory/add-on_boards/xu4_shift_shield

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)