-
1BUILD
Transmitter Circuit
Rover Circuit
-
2Program
- Extract the contents of the files.
- Copy the nRF905 library file to the Arduino library location.
- Open the project file for Rover using Arduino IDE. This contains the code for the Arduino Uno in the rover car.
- You can check and modify the transceiver address of the rover’s radio module.
- You can check and modify the codes for the rover movement routines here
- Open the project file Controller using Arduino IDE. This contains the codes for the Arduino Uno in the handheld controller.
- You can also check and modify the codes for the data receiving and timeout on the controller side.
- You can also check and modify the codes for assembling the data to be sent to the display here.
- You can check and modify the codes for the joystick commands here.
- Open the Controller Display file using Workshop 4. This project uses the Visi Environment. This contains the code for the display on the handheld controller.
- You can modify the properties of each widget.
- You can check and modify codes for receiving serial commands from the Arduino controller and the odometer routine here.
- You can check and modify the speedometer function shown in the snippet below.
- You can check and modify the codes for showing the data results on the display.
- You can check and modify the codes for converting encoder data to speed and distance measurements in English and metric units.
-
3Upload and Compile
- Click on the “Compile” button.
Note: This step could be skipped. However, compiling is essential for debugging purposes.
- Connect the display to the PC. Make sure that you are connected to the right port. Red Button indicates that the device is not connected, Blue Button indicates that the device is connected to the right port.
- Go back to “Home” tab. This time, click on the “Comp’nLoad” button.
- Workshop 4 IDE will prompt you to select a drive to copy the image files to a uSD Card. After selecting the correct drive, click OK.
- The module will prompt you to insert the uSD card.
- Unmount the uSD Card properly from the PC and insert it to the uSD Card slot of the display module.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.