Programm Stopping Analog Read

Hello I am trying to run the tutorial, but the program doesn’t go past the sensor_value = grovepi.analogRead(sound_sensor). We have put a print statement before and after this line, but it constantly stops at the sensor_value line.

Our setup:
We are using the grovepi+ with the raspberry pi
The sound sensor is connected to A0 and the led is connected to d5. The LED works, but not sure whats happening with the sound sensor.

Hello @player1

This sounds like a potential mismatch between the driver and the firmware.
Did you install the grovepi library recently (within the last 2 months, or so)?

I suspect it’s not running the latest firmware. Are you using Raspbian for Robots? Or plain Raspbian?