sphero-sdk-raspberrypi-python icon indicating copy to clipboard operation
sphero-sdk-raspberrypi-python copied to clipboard

Raspberry Pi 4 8GB + Sphero Modal RV01 [RV-507E] Not working

Open gildardoperez opened this issue 1 year ago • 2 comments

I'm unable to run any of the getting_started examples on my Modal RV01.

I have tried:

1. Different RX and TX serial cables:

  • 6 Ground
  • 8 GPIO 14 (TXD)
  • 10 GPIO 15 (RXD)
image

2. Both using ttyAMA0 and ttyS0 (By default, the RVR SDK uses the UART on /dev/ttys0 to communicate with RVR.)

sudo vim /boot/config.txt add: ... #dtoverlay=pi3-disable-bt core_freq_min=500 enable_uart=1

3. Updating to Current firmware version

Current firmware version: 9.1.462, 9.2.482 MAC Address: 00-00-00-00-00-00 Manufacturing Date: 2019/9/14 Hardware Revision: 5

4. Install Sphero SDK GitHub repository for Raspberry Pi

git clone https://github.com/sphero-inc/sphero-sdk-raspberrypi-python.git cd sphero-sdk-raspberrypi-python ./first-time-setup.sh

5. Used the "use-tty-symlinks" branch sphero-sdk-raspberrypi-python/sphero_sdk/observer/client/dal/serial_observer_dal.py ... def init(self, port_id='/dev/serial0', baud=115200):

...and still not able to run any of the examples, I only get the "Checking RVR firmware versions..."

/sphero-sdk-raspberrypi-python/getting_started/observer/driving/drive_target_slewing.py

Checking RVR firmware versions... Getting default drive target slew parameters... None Driving to (0,0) at 0 degrees

Any other suggestions will be greatly appreciated. Thank you!

gildardoperez avatar Aug 21 '24 02:08 gildardoperez

Howdy! I also had this issue and found a fix for it; You need to access the Raspberry-PI via a GUI (e.g VNC/HDMI); from there you have to open the "Raspberry Pi configuration" ref1 and enable "Serial Port" and disable "Serial Console" con png

What I'm referring about, this image isn't mine but this is the place you need to look at and change the settings at.

Then simply give it a reboot and it should work now! Please let me know if it does!

OakAtsume avatar Sep 23 '24 14:09 OakAtsume

Thank you @OakAtsume

I did managed to fix this, not sure if it was the cables but while installing the "Waveshare WM8960" speakers on the Raspberry Pi 4 8GB. Waveshare had a pre-configured image OS that I used and this solved my issue when attempting to connect to the Sphero Modal RV01 [RV-507E].

You can download and unzip the Bullseye OS image, wm8960_bullseye_pi2w.zip, from the Waveshare User Guide here, and use the Raspberry Pi Imager to write the operating system image to a microSD card.

Raspberry Pi 4 8GB + Sphero Modal RV01 [RV-507E] + Waveshare WM8960 + EPLZON HC-SR04 Ultrasonic Module Distance Sensor + Google Coral TPU for Autonomous self-driving

Raspberry Pi 4 8GB Sphero Modal RV01 [RV-507E] Waveshare WM8960 Google Coral TPU EPLZON HC-SR04 Ultrasonic Module Distance Sensor EMEET 1080P Webcam with Microphone, C960 Web Camera

gildardoperez avatar Jul 12 '25 20:07 gildardoperez