BrickPi Tank - how to get started programming

We just bought a BrickPi set and we built the tank with lego mindstorms parts and motors. Are there any tutorials or guides available to help us with programming?
Do we have to install Raspbian? Any help or pointers to resources would be appreciated as we are completely lost.

Here’s a good start.

1 Like

As @rolly mentioned, your best approach is to start with Raspbian for Robots. On this card, not only is the BrickPi fully configured already but you will find examples of code for each sensor.
Are you trying to code with Python or Scratch ?


Thanks for responding. We are trying to code with Python.
I may have missed the response from @rolly

So just to be clear, Raspbian is installed on BrickPi ?

On the BrickPi itself, no OS is installed. The OS is on the Raspberry Pi on a little microSD card. If you bought the card from Dexter Industries, it would be Raspbian For Robots. Otherwise, it’s most likely to be Raspbian.
Raspbian, and Raspbian for Robots are two different products. Raspbian is the official OS from the Raspberry Pi Foundation. Raspbian for Robots is the same OS but preconfigured for all of Dexter’s robots.

This page talks about the SD card. It mentions the GoPiGo but the card is the same for all robots

Thanks again for responding! We bought the micro SD card from Dexter so it should have Raspbian for Robots.
Now we built the Tank using Lego mindstorms but the link from your website to the code does not work. Is there a link you could point me to to get more help on getting started with the code so we could make the tank do something.

We also bought GoPiGo and the bundle of sensors but it has been frustrating to get started as there has been a lack of information. We were used to Lego mindstorms detailed step by step instructions. Thanks to your help, we’ll get there eventually.

Sorry about that broken link. I’m not familiar with that particular build, but I do think you can use this code:

The link you sent me is not active.
Can you point me to a working link please.
Thanks in advance!

Sorry about that, we just reorganized the folders, just days ago
Try this one?

Thanks for the quick response!
Do you have 5 minutes for a quick call?

D you know if there is example code for this project:

The 4th bullet has a broken link.

We were trying to do this project:

and got stuck at this stage - we were not able to install : python

we get a message - file does not exist.
Thoughts or suggestions?

Hi @clydesouza,

Thanks for pointing out the broken link, its fixed. You can refer to this simplebot code for Rigraptor tank, it will work with tank too. Also BrickPi_Python repository has been moved and hence you can find the here.

Please let us know if this helps,