Insert the SD-card in the card slot. Apply an external power source of 9 - 10 V to the BrickPi power connecter (do not use to the Raspberry Pi power connector). Be very careful with the correct polarity (+ at inner pinion). Activate the power switch.
After one or two minutes, the OLED display should light up and show some information messages, among them the IP address obtained from your WLAN router. (In order to keep the same address and if your router supports IP address binding, you may make a address reservation that binds the MAC address of the Raspberry Pi to a fixed IP address.)
Caution: Mostly the BrickPi3 kit is delivered with an outdated Dexter firmware. You must update it before you run any program. Proceed as follows:
- Open a Linux console (either with an attached HD monitor, an SSH connection (PuTTY) or VNC)
- In /home/pi/BrickPi3 you find the BrickPi3 distribution as copied from GitHub. Type
cd BrickPi3/Firmware
sudo bash brickpi3samd_flash_firmware.sh
There are two demonstration programs ready to be run. P1 turns both motors forward and then backward for 2 seconds. P2 continuously beeps the buzzer until you act the push button.
For first time users we recommend to install TigerJython as explained above and use it as remote development system. Do not forget to enable the robot operation under Preferences | Libraries by choosing "Raspberry Pi" and entering the correct IP address. Open one of the demonstration examples found in the BrickPiLib distribution and download/run it on the BrickPi system by clicking the black/red icon in the tool bar. Check the Tools menu for further operations.
Each time a new program is downloaded, the number of stored programs shown on the OLED display increases until it reaches 9. The current program is always P1.
|