W55RP20 pi-pico C/C++ SDK를 이용한 네트웍 스피커 제작 및 테스트
W55RP20 pi-pico C/C++ SDK를 이용한 네트웍 스피커 제작 및 테스트
This is a demo video showing the actual operation of a project to build a network speaker using WIZnet's W55RP20 (a chip combining the RP2040 and W5500 into one, the W55RP20-EVB-Pico board).
Previously, we tested this using lwIP in an Arduino environment, but the low transmission rate made it difficult to reliably stream high-quality audio. Therefore, this time, we completely redeveloped the project using the official Raspberry Pi Pico C/C++ SDK.
Key Implementation Details
Hardware
W55RP20 (Ethernet + RP2040 integrated chip)
Audio output via I2S interface (using audio amplifiers such as TAS5825P)
Connection status indicator via LED
Software (C/C++ SDK)
TCP Server Implementation
Receives PCM audio data (16-bit stereo) sent from a PC and outputs it in real-time via I2S
Volume control function
Timeout handling (automatically stops playback if no data is received for a certain period)
Socket status management (connection, termination, reconnection, etc.)
PC-side test program (dashboard form)
Speaker IP selection
Real-time transmission of WAV files over the network
TTS function: Text input → converts to speech and outputs immediately
YouTube link support: Inserts a YouTube link to extract audio in real-time and play it through network speakers
====
핵심 내용
WIZnet의 W55RP20 (RP2040 + W5500이 하나로 합쳐진 칩, W55RP20-EVB-Pico 보드)을 사용해 네트워크 스피커를 만드는 프로젝트의 실제 동작 데모 영상입니다.
이전에는 Arduino 환경에서 lwIP를 사용해 테스트했는데, 전송률이 낮아서 고음질 오디오를 안정적으로 스트리밍하기 어려웠습니다. 그래서 이번에는 Raspberry Pi Pico 공식 C/C++ SDK로 완전히 새로 개발했습니다.
주요 구현 내용
하드웨어
- W55RP20 (이더넷 + RP2040 통합 칩)
- I2S 인터페이스로 오디오 출력 (TAS5825P 등의 오디오 앰프 사용)
- LED로 연결 상태 표시
소프트웨어 (C/C++ SDK)
- TCP 서버 구현
- PC에서 보내주는 PCM 오디오 데이터(16비트 스테레오)를 받아서 I2S로 실시간 출력
- 볼륨 조절 기능
- 타임아웃 처리 (일정 시간 데이터가 안 오면 자동으로 재생 중지)
- 소켓 상태 관리 (연결, 종료, 재연결 등)
PC 쪽 테스트 프로그램 (대시보드 형태)
- 스피커 IP 선택
- WAV 파일을 네트워크로 실시간 전송
- TTS 기능: 텍스트 입력 → 음성으로 변환해서 바로 송출
- YouTube 링크 지원: 유튜브 링크 넣으면 실시간으로 오디오를 추출해서 네트워크 스피커로 재생
2026년 6월 19일 현재 4월에 7개 5월 4개해서 총 11개의 w55rp20 관련 글을 올렸습니다.
W55rp20 메뉴에 글은 총 24개 입니다. 나머지 13개는 2024년 이전에 쓴 글입니다.
