Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Waveshare audio hardware #32

Open
znmeb opened this issue Feb 24, 2023 · 14 comments
Open

Test Waveshare audio hardware #32

znmeb opened this issue Feb 24, 2023 · 14 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@znmeb
Copy link
Member

znmeb commented Feb 24, 2023

Hardware ordered - it looks better suited to breadboarding than the Pimoroni unit because you can connect to the UART without an extra base

@znmeb znmeb added the enhancement New feature or request label Feb 24, 2023
@znmeb znmeb added this to the v0.2.5 milestone Feb 24, 2023
@znmeb znmeb self-assigned this Feb 24, 2023
@znmeb
Copy link
Member Author

znmeb commented Feb 24, 2023

waiting on hardware - will post ETA when I get one

@znmeb
Copy link
Member Author

znmeb commented Mar 5, 2023

Two Waveshare audio add-ons and two Waveshare overall eval boards are in hand. Overall board is running zeptoforth with a Pico H installed.

I'm debating whether to publicize the overall rig since Amazon is now out of stock and shipping from China is still painful. Still, it has a serial-to-USB (that works!), and audio jack (but no speakers) and an LCD touch screen. The documentation exists but is not great. I really don't want to "contribute" to a Chinese for-profit.

@znmeb
Copy link
Member Author

znmeb commented Mar 8, 2023

Moving all Waveshare hardware to the "future" project for now. I just don't have the spare hours to troubleshoot software that doesn't have an open source license or decent English language documentation.

@znmeb znmeb modified the milestones: v0.2.5, v0.5.0 Mar 8, 2023
@znmeb
Copy link
Member Author

znmeb commented Sep 24, 2023

Done - all that's required is knowing the DAC pin numbers

@znmeb znmeb closed this as completed Sep 24, 2023
@DoomHammer
Copy link

So, what was the pinout and where can we find the code?

@znmeb
Copy link
Member Author

znmeb commented Jan 14, 2024

So, what was the pinout and where can we find the code?

I'm not currently working with the Waveshare devices, but the next round of code will have the I2S pins as user-specified parameters. Meanwhile, if you've got one of them, the pinout is on this page from their website:

https://www.waveshare.com/pico-audio.htm

@znmeb znmeb reopened this Jan 14, 2024
@DoomHammer
Copy link

Yeah, I was trying to follow this pinout using Pico Arduino Core and CircuitPython but without luck so far :( That's why I asked about the code you've used.

@znmeb
Copy link
Member Author

znmeb commented Jan 14, 2024

I got this demo working on the Waveshare by changing the pin numbers https://learn.adafruit.com/mp3-playback-rp2040/pico-i2s-mp3

@DoomHammer
Copy link

@znmeb using the V1 board or V2.1? It seems V2.1 is a bit more problematic due to swapped LRCK and SCLK pins.

@znmeb
Copy link
Member Author

znmeb commented Jan 15, 2024

V2 - I also tested this board - https://www.waveshare.com/wiki/Pico-Eval-Board

@DoomHammer
Copy link

So the one with Master Clock? Which version of CircuitPython did you use?

@znmeb
Copy link
Member Author

znmeb commented Jan 15, 2024

So the one with Master Clock? Which version of CircuitPython did you use?

I'm not sure. Most likely it was the latest version as of mid-March 2023, which would be 8.0.4. I don't do much with CircuitPython or MicroPython, and the project was pretty much on hold from March through September, when I closed the issue.

The last I2S audio testing I did was with Pimoroni's version of MicroPython on the Pimoroni PicoVision - https://github.com/pimoroni/picovision/tree/main/modules/picosynth is the module I used. That pinout is at https://cdn.shopify.com/s/files/1/0174/1800/files/picovision_diagram.pdf?v=1696414342. My code is at https://github.com/AlgoCompSynth/CLAMS/blob/main/PicoVision-dev-setup/pimoroni-picovision-examples-v1.0.2/clambake.py

Sadly the PicoVision is out of stock, but Pimoroni do have a waitlist you can sign up for.

@DoomHammer
Copy link

PicoVision looks neat, will see if I can grab one :)

@znmeb
Copy link
Member Author

znmeb commented Jan 17, 2024

The Waveshare eval board is nice - has a decent size screen, a wired UART - USB connection and an audio output. But it's more expensive than the PicoVision and doesn't do HDMI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants