Arduino – Rover
As you can see from the other posts, there are many rover versions you can make.
However, this is only one Rover you can make by using Arduino!
so now you're interested? 🙂
As you already know, we need both sender and receiver sides.
- Transmitter
- Receiver
Please note that if you buy the kit, you will get Arduino on which all the codes were already uploaded.
so you don't need to do anything. just connect and play.
However, if not or you want to follow steps and learn how software parts works,
please find the enclosed documents or instructions for further details.
- Sneak peek on software part
As this is remote version of controlling DC motors(Arduino Car), we need both sender and receiver.
- Sender
Step 1) Include necessary libraries
Step 2) Declare variables for Joystick position and pins we want to use with
Step 3) Implement setup function
Step 4) Implement loop function
Step 4-1) Read Analog values from Joystick
Step 4-2) Map the values into ones which can be used in Car(Motor) control
Step 4-3) Send resultant position values to receiver
- Receiver
Step 1) Include necessary libraries
Step 2) Declare variables for driver and motor control pins
Step 3) Implement setup function
Step 4) Implement loop function
Step 4-1) Check if we received data
Step 4-2) Retrieve joystick positions and calculate them into ones which can be used motor control
Step 4-3) Y-axis used for forward and backward control
Step 4-4) X-axis used for left and right control
Step 4-5) Defines forward , backward and stop functions for controlling motors
The full codes are available at the enclosed docs. (Arduino_Rover_HowWeDo_SW.txt)
Leave a Reply
Want to join the discussion?Feel free to contribute!