-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
If you wish to use the bootable flash drive image you can skip to hardware setup.
- python2
- blender >= 2.5
- Qt Development libraries
- PyQt
- git (not necessary, but simplifies updating)
git clone https://github.com/WartburgComputerClub/tractor-drive.git
# find latest version from following command
git tag
# checkout the last version (if the latest version was v0.1.0)
git checkout v0.1.0
If you do not have git, you can download the latest version as a zip file (this will not be compatible with the update program, so you will have to repeat these steps after each release).
Go to https://github.com/WartburgComputerClub/tractor-drive.
Switch to latest version by selecting the latest tag:
Click on the zip download icon:
Download and install the Arduino IDE: http://arduino.cc/en/main/software
- Open the sketch tractor-drive/arduino/tractor_drive/tractor_drive.pde with the Arduino IDE.
- Compile the sketch (ctrl-r or the verify/compile button).
- Upload the sketch (ctrl-u or the upload button).
Once the Arduino is programmed, it can be connected to the steering wheel and the computer that will run the project.
The steering wheel has a potentiometer which will have three small wires coming from it. One of the outside wires should be connected to Ground (gnd) and the other to 5v on the Arduino. The center wire should be connected to Analog pin 0.
If you are not using the bootable flash drive to run the system, you will need to copy tractor-drive/arduino/udev/90-tractor-wheel.rules to /etc/udev/rules.d.