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
https://www.wakegarage.com/forums/topic/610-arduino-controlled-diy-surf-system-with-bt-app/
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 |
0 | ||||
1 | ||||
2 | TXD | |||
3 | RXD | |||
4 | L1/white | |||
5 | L2black | |||
6 | in1 | |||
7 | in2 | |||
8 | in3 | |||
9 | in4 | |||
10 | ||||
11 | ||||
12 | ||||
13 | ||||
5V | VCC | +5V | ||
GND | GND | B2 | B1 | |
Motor Driver Board
|
||||
GND | Battery GND | |||
out1 | Right Lenco - White | white | ||
out2 | Right Lenco - Black | black | ||
out3 | Left Lenco - White | green | ||
out4 | Left Lenco - Black | red | ||
POWER | Battery +12VDC | |||
Relay | ||||
87 | Blue |
12vDC from battery
|
||
87a | yellow | Ground | ||
86 | white |
Motor driver board
|
||
85 | black | Ground | ||
30 | red | To lenco |
Qty | Item | Price | |
1 | GPS Antenna | $12.95 | |
1 | Antenna Pigtail | $3.95 | |
1 | Enclosure | $32.00 | |
1 | 9VDC Power Supply | $11.85 | |
1 | Arduino | $12.99 | |
1 | GPS Module | $20.99 | |
1 | Screw Shield | $9.98 | |
1 | Jumper Wires | $6.98 | |
1 | Motor Driver | $6.98 | |
1 | Rotary Switch | $15.86 | |
2 | Lenco Fast Actuators | $169.97 | |
1 | Relays | $24.99 |
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
- 6
- 4
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now