Skip to content

Ethernet to PWM speaker part 1

Use TCP to send sound commands to the device to generate PWM to sound to the speaker.

WIZnet

Published December 29, 2022

Original author: Wen-Liang Lin · TaiwanOriginal source (new tab)

Ethernet to PWM speaker part 1

Components

Hardware components

Project description

Story I want to complete a ethernet speaker project, but it seems to be very big, so I divide it into several parts to complete. This is part 1. 1. Download and install Thonny https://thonny.org/ 2. Follow https://github.com/Wiznet/RP2040-HAT-CircuitPython install circuitPython and setup W5100S-EVB-Pico 3. Run examples/Network/W5x00_Echo_Demo_TCP.py test your network 4. generate different PWM tone follow https://docs.circuitpython.org/en/latest/shared-bindings/audiopwmio/index.html 5. connect W5100S-EVB-Pico and class D amp and speaker. 6. run python app and use TCP client tool connect to…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.