MicroTrac Controller v17.10: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Used to control the hydraulic system of MicroTrac.
Used to control the hydraulic system of MicroTrac.
See the [[/Code|arduino code]] that runs inside this controller box.


=Goals=
=Goals=


*Remotely control solenoid valves
*Remotely control solenoid valves
*Remotely control throttle
*Remotely shut down or start engine
*Transmit signals from remotely located control box to onboard control box
*Transmit signals from remotely located control box to onboard control box
*Broadcast GPS location and compass heading from MicroTrac
*Determine suitability of different wireless standards and hardware
*Determine suitability of different wireless standards and hardware
**Wifi Shield
**Wifi Shield
Line 14: Line 15:


*Arduino Mega
*Arduino Mega
*Arduino Wifi Shield
*xbee Long Range [http://www.mouser.com/ProductDetail/Digi-International/XBP9B-DPST-001/ mouser]
*xbee Long Range [http://www.mouser.com/ProductDetail/Digi-International/XBP9B-DPST-001/ mouser]
**Arduino wireless shield [http://www.mouser.com/ProductDetail/Arduino/A000065/ mouser] [https://store.arduino.cc/usa/arduino-wirelss-sd-shield arduino store]
**Arduino wireless shield [http://www.mouser.com/ProductDetail/Arduino/A000065/ mouser] [https://store.arduino.cc/usa/arduino-wirelss-sd-shield arduino store]
*Relay Module
**xbee programming board [https://www.sparkfun.com/products/11697 sparkfun]
*(2) 6P DPST toggle switch [https://www.grainger.com/product/HONEYWELL-Toggle-Switch-24D451 grainger]
*8 Channel [[Relay Module]]
*(4) 6P DPST toggle switch [https://www.grainger.com/product/HONEYWELL-Toggle-Switch-24D451 grainger]
*(5) 4-way Trailer Connector [https://www.grainger.com/product/REESE-Wiring-Kit-20PN32 Grainger]
*GPS Module [https://www.sparkfun.com/products/11058 Sparkfun]
**GPS Antenna [https://www.sparkfun.com/products/464 Sparkfun]
*Compass breakout board [https://www.sparkfun.com/products/12916 sparkfun]
**Logic Converter [https://www.sparkfun.com/products/12009 Sparkfun]
*(2) RP-SMA F-M Cable [https://www.digikey.com/product-detail/en/digi-international/DC-ANT-E-24DP/602-1066-ND/964225 digikey]
*900Mhz Antenna [https://www.sparkfun.com/products/9143 Sparkfun]
*portable battery charger [https://www.amazon.com/Anker-PowerCore-Ultra-Compact-High-speed-Technology/dp/B0194WDVHI/ Amazon]
 
=Wiring Diagram=
 
== Full Controller Box ==
 
:Includes parts for direct connection to trailer
 
<html><img src="https://docs.google.com/drawings/d/e/2PACX-1vQkyjnjPxgCFOBr3LJIov93DXoNr4ZW4UgV9XNkGRHSx9eg0nWgTb8hT4zZ1KymTw7ZVMa5xuwQL0ei/pub?w=400"></html>
 
[https://docs.google.com/drawings/d/1POR1bHsMuEda6C0qHnhXbYtUE8LTZ4fnyVOOIPjEDvI/edit gdrive]
 
 
===Wiring Harnesses===
 
<html><img src="https://docs.google.com/drawings/d/e/2PACX-1vS1bsyew6FrFeTIowGBREkFNyaHytuKrkaet02cOeShsXXErm0SreGNMChNe0LNOonROlaxdAIaOqiq/pub?w=600">
</html>
 
[https://docs.google.com/drawings/d/1gF79PS3_41_QYwmSCp6R0PnMSqNSXjToYMvHQ8mkbp4/edit gdrive]
 
 
== Remote Only Controller Box ==
 
<html><img src="https://docs.google.com/drawings/d/e/2PACX-1vQxKgus9H1Ei5klT6setcuZxsabnpzahh_7WOZAEatIIOA62xpUis6sOaZN3n8fILuHOKx-YM025qi0/pub?w=600"></html>
 
===BOM===
 
*switches
 
== Onboard Box ==
 
<html><img src="https://docs.google.com/drawings/d/e/2PACX-1vRN6i17zsGBSI_kTDtqwkh5-NGnRVfEmvZCkfrIPR1Q3c9qbEtdKuKCvxV6HSeXZxxUVK9TxUNsv6U_/pub?w=600">
</html>
 
[https://docs.google.com/drawings/d/1IHwVqvpGYt3wcil_wunRvYVX0QkG-6qgIz6IdO4Wvyo/edit gdrive]
 
 
===Wire Harnesses===
 
<html>
<img src="https://docs.google.com/drawings/d/e/2PACX-1vSFfLkgYRR_ydJDQlAD9iGnyKqZo6GspBnB-FfNTso7ltJpHN9GO6AYCtMfFW8fFZ36UCqr5oEJHI78/pub?w=600">
</html>
 
[https://docs.google.com/drawings/d/11G6lN_UvayLDRcjpAcJqac7PM-1csi2X7SKfj_lfOWg/edit gdrive]
 
=Code=
 
[[MicroTrac_Controller_v17.10/Code]]
 
=xbee setup=
 
#download [https://www.digi.com/products/xbee-rf-solutions/xctu-software/xctu#productsupport-utilities digi xctu] software.
#connect via usb [https://www.sparkfun.com/products/11697 sparkfun board]
#define a network number
#define destination radio serial number - printed on each xbee board
#lower broadcast strength
#tweak other settings
#repeat for second radio
 
=Future Work=
 
*Remotely control throttle
*Remotely shut down or start engine
*Integrate with GPS functionality
**[[Open Source Robotic Tractor]]
**https://www.sparkfun.com/pages/GPS_Guide
*Music [https://www.arduino.cc/en/Tutorial/ToneMelody?from=Tutorial.Tone arduino tones]
 
=Links=

Latest revision as of 03:00, 17 November 2017

Used to control the hydraulic system of MicroTrac.

See the arduino code that runs inside this controller box.

Goals

  • Remotely control solenoid valves
  • Transmit signals from remotely located control box to onboard control box
  • Broadcast GPS location and compass heading from MicroTrac
  • Determine suitability of different wireless standards and hardware
    • Wifi Shield
    • xbee long range

Tentative BOM

Wiring Diagram

Full Controller Box

Includes parts for direct connection to trailer

gdrive


Wiring Harnesses

gdrive


Remote Only Controller Box

BOM

  • switches

Onboard Box

gdrive


Wire Harnesses

gdrive

Code

MicroTrac_Controller_v17.10/Code

xbee setup

  1. download digi xctu software.
  2. connect via usb sparkfun board
  3. define a network number
  4. define destination radio serial number - printed on each xbee board
  5. lower broadcast strength
  6. tweak other settings
  7. repeat for second radio

Future Work

Links