Program

Program

Command_Line_Raspberry_PiThis section has information to get you started programming the BrickPi.  We assume you’ve gotten your BrickPi setup, the case built, and you’re to the point where you want to dive and tell some motors and sensors what to do and you’re ready to Program the BrickPi.

Programming Options

Choose thy path below:

General Points About Programming the BrickPi

  • All of our examples and drivers are  in Github.  If you think you’re behind, update via Github.  If you think you’re ahead of us, please send us a pull request!
  • If you need help learning how to use Github, check out our tutorial on Github and the Raspberry Pi here.
  • BrickPi does not use USB.  We have some examples that control or use USB devices, but these are programmed and accessed through the Raspberry Pi.
  • Sensors and motors need to be initialized.  You can see how that’s done in our examples.

How the BrickPi Works

  • The Raspberry Pi (Where you’re writing and executing these programs) sends orders to the BrickPi.  The BrickPi processes these orders, and sends commands to the motors and sensors, and sends back information to the Raspberry Pi.  (See Diagram Below)

How the BrickPi and Raspberry Pi Work