THANKS TO THE AWESOMENESS OF THIS COMMUNITY THIS IS NO LONGER THE BEST SOLUTION FOR AN ARDUINO BASED CONTROLLER THANKS @SONICJK
FOLLOW THE LINK BELOW TO A MUCH BETTER BUILD
The following is a low-cost automated controller based on the Arduino, which can be used for many things — including controlling surf devices. Per Arduino's website: "Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects.” Arduino board are able to read inputs - such as a switch or sensor, and turn it into an output - such as activating a motor. You can tell your board what to do by sending a set of instructions to the microcontroller on the board.
If you find this helpful consider making a donation to Wake the World - KC venmo @WTWKC PayPal - Donation Link
If you'd like to purchase a pre programmed arduino i have a classified for that HERE
So the Arduino beast has been conquered.
Parts list and Pin out can be found HERE (or below)
|Arduino Pin||GPS Pin||Motor Driver Pin||Surf Left Switch||Surf Right Switch|
Motor Driver Board
|out1||Right Lenco - White||white|
|out2||Right Lenco - Black||black|
|out3||Left Lenco - White||green|
|out4||Left Lenco - Black||red|
12vDC from battery
Motor driver board
|1||9VDC Power Supply||$11.85|
|2||Lenco Fast Actuators||$169.97|
Logic for the NEWLY TESTED transfer capable surf devices can be found HERE
Libraries needed - Serial Library - GPS Library - you'll need to add these to your online or offline arduino editor library for the code to work properly.
Video of the test with just the switch can be found HERE
The gate is set to deploy between 7 and 15 MPH you can edit the logic to change those speeds -
the gate is set to deploy for ~2 seconds and retract for ~3 seconds you can change that time in the logic
next step will be using some type of pot device to vary the deploy time.
Attached are some pictures of the bench test wiring setup - i'll get the final boxed version uploaded sometime in the next week hopefully if my parts show up