Closed microplasticos closed 6 months ago
The code is waiting for the dreq pin to go high. Either the Pin
object was not instantiated correctly as an input, or the hardware is not asserting the signal, or the electrical state of the connection is tied to Gnd in some way. You could check the state of the pin with a voltmeter.
It was a bad connection, I'm closing this thread. Thanks!
Hello,
I'm trying to connect the following board to a Raspberry Pi Pico, and I'm encountering the following error when trying to create the player object with the VS1053 class:
When tracing the origin of the error, I arrive at this method in the VS1053 class in the vs1053.py file
When testing the shield on an Arduino Uno (using adafruit libraries) , it works fine. However, when attempting to integrate the board with the Pico, I get this error, which I believe is associated with the DREQ pin output. What could it be? I've checked the connections 3, 4, 5 times, so I don't think that's the issue. I understand that the signal of that pin is generated by the chip when it's ready, but I don't think the issue is hardware-related since it worked fine on Arduino.
I'm attaching a photo of the shield I'm using.
Btw, I've tried both asynchronous and synchronous modes, and in both cases, I get the same error; it fails to create the player object.
Can you guide me, please? Thank you.