6. Test it!
Let's Make Sure Everything is Working...
To make sure your Pi is set up correctly and connected to your robot's UART port, power on your RVR+/RVR using the power button and enter the following commands in your terminal:
cd ~/sphero-sdk-raspberrypi-python
python3 getting_started/observer/leds/set_multiple_leds.py
Did you see the front LEDs on your RVR+/RVR turn red and blue? Great, your system is working!
If you didn't see the front LEDs change to red and blue, check out our troubleshooting article.
tip
Once you are finished using your Raspberry Pi and RVR+/RVR, make sure to shut down your Pi properly to avoid SD card corruption:
sudo shutdown now
What's Next?
Now that you've set up your Pi and verified that it can communicate with your RVR+/RVR, here are some things to check out next:
- If you're new to Python and RVR+/RVR, following the basic tutorials in the First Programs section is a great idea. Start here.
- If you're more experienced, you can check out the example scripts in the
getting_started
directory of the SDK (default~/sphero-sdk-raspberrypi-python/getting_started
) to see how various RVR features can be used. - We also have some sample projects you can check out for inspiration.
Remember, if you want to discuss projects, ask for help, or trade tips with other RVR+/RVR users, check out our community forum. We'll see you there!