Sphero Public SDK

Sphero Public SDK

  • Getting Started
  • How To
  • Documentation
  • Get the Code
  • Samples
  • Troubleshooting
  • FAQs

›Python SDK Setup

Starting with Raspberry Pi

  • Intro
  • Python SDK Setup

    • 1. Python SDK Setup (Quick Start)
    • 1.a. Python SDK Setup (Advanced)
    • 2. Setting Up Raspberry Pi OS
    • 3. Using the Terminal
    • 4. Using SSH
    • 5. Connecting to RVR+
    • 6. Test it!

    First Programs

    • Hello World - Starting Python
    • Hello RVR+ - LED Control
    • Go Driving

    Optional Steps

    • Choose Your Python Version
    • Using Pipenv

Additional Resources

  • Troubleshooting

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!

← 5. Connecting to RVR+Hello World - Starting Python →
  • Let's Make Sure Everything is Working...
  • What's Next?
Sphero Public SDK

Wanna stay informed about Public SDK efforts and releases?

Sphero
Public SDK LicenseAbout Sphero Public SDKSphero.comSphero EDU
Community
Sphero CommunityThingiverseTwitterInstagramFacebook
More
RedditLinkedInGitHubStar
Copyright © 2022 Sphero