Skip to content
benliao1 edited this page Mar 25, 2021 · 8 revisions

Lowcar

Lowcar is the name given to all of the code in the repo that runs on the Arduinos which control the various devices that students use on their robots, such as servos, motors, and sensors. These devices are referred to in Runtime as "Lowcar devices". Since there is actually a pretty complex interaction between Runtime and Lowcar, the information in this wiki is split into two parts:

  • a page describing the "Lowcar protocol", which is the underlying message format for all messages between dev_handler and Lowcar devices
  • a page going that exhaustively talks about each Lowcar device specifically and the code for those devices

The following is a list of all devices that are currently supported by Runtime/Lowcar, and a short description of what each does:

Lowcar Device Purpose
BatteryBuzzer Connected to the Power Distribution Board; buzzes when the voltage gets too low (will be deprecated soon)
DummyDevice Used purely for testing Runtime, and can be flashed onto a bare Arduino
KoalaBear Used for controlling the newest generation of PiE motor controllers. Can handle two motors simultaneously
LimitSwitch Has three switches / lever button sensors attached
LineFollower Has an infrared intensity sensor attached; used for line following
PolarBear Used for controlling the second-newest generation of PiE motor controllers. Can only handle one motor
RFID (Untested) Used for scanning RFID tags
ServoControl Used for controlling two servos that can be attached to the board