No description
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| beams.py | ||
| firlumberracers.json | ||
| README.md | ||
firLumberRally
Hardware
- Raspberry Pi 4
- 4 GB Ram
- External SSD Harddrive
- IR Break Sensors
- Servo
- For the starting gate
- WIRES & CABLES
- All of this is plugged into a CrowView Note "Lapdock"
- 14 inch All-in-One Portable Monitor, Keyboard & Trackpad
- Looks like a laptop but has no computation of it's own
- Track*
Software
- DietPi OS
- StartX GUI
- https://github.com/iwasironman/grand-prix-rpi by iwasironman
START!
Activate the virtual env (create) and run py files there.
-
Log into DietPi
Login: dietpi
Password:
-
Start the GUI
startx
-
Start the terminal in the GUI
Applications -> Systemm Tools -> MATE Terminal
-
Start the virtual env
. prix/bin/activate
- Change directories to the software dir
cd prix/grand-prix-rpi
- Start "Grand Prix"!
sudo python3 main.py
Other Notes
- You can pre-set the racers' list in a json file.
- There is a
config.tomlfor configurations.
Config.toml
- Pins mentioned are the GPIO pins
- NOT the physical pins of the Pi
Servo Wires
- brown = ground
- red = power
- yellow = signal/data
*The Track
- 30 feet long
- 8 sections of 45" each
- Two lanes
- Servo start gate
- IR break sensors at the end