Zigbee controlled MP3 player using UART commands - Advice needed

Hello Experts,

I am working on a DIY project to control a small MP3 player board using a CC2530.

Essentially, I would like to send and recieve UART commands from HA using a CC2652P → over Zigbee wifi → to a CC2530 connected to a small MP3 player module → and have the CC2530 send back UART query responses from the MP3 player module over Zigbee wifi to the CC2652P to be read and displayed in HA.

These are the items I am intending to use (aside from power supplies).

Before I continue down the rabbit hole of attempting to compile my own z-stack firmware and application using IAR for 8051 (which I am completely new to). I would like confirm if what I want to do is actually possible.

I am not looking for someone code this up for me, however any useful opinions, comments, links would be greatly appreciated.

Kind regards to All!

Hi, welcome to the forum!

Your making it complicated: there are standard distributions for the RPi to make it a mediaplayer which are integrated to HA.

I’m using piCorePlayer with the Squeezebox (Logitech Media Server) integration for this.

Hi Nick, thanks for the welcome.

I was wanting the device to be low cost per node, low power consumption, solar powered and have a long RF transmission distance.
The purpose is to create remote bird/animal deterrent devices which can be controlled via HA (play different sounds/MP3’s from the SD Card and at whatever frequency desired, and on demand).

Regards Pat.

Owkay, that’s a different story…

Define “long”. If you mean “in the hundreds of meter”, you might look into something like lorawan rather than zigbee

Just saw this, incidentally. As you can program a RP2040 with ESPhome…

Hi Chris,

Thanks for the reply. I think the RP2040 with RFM95 LoRa Radio might be a little expensive for the task that I am trying to perform. Especially if I want to build around 10 of the devices.

I was hoping the Ebyte E18-2G4Z27SI ( E18-2G4Z27SI- ) which specifies 27dbm, 500mw signal and a test case of 2.5km distance (line of sight) using a 5dbi antenna would give me at least a few hundred meters of transmission when I put a 14dbi antenna on each device.

I also intend for each device to act as a zigbee router. They will be spread reasonably well across a 1km/sq landscape and have the CC2652P located within the mesh they create.

Kind regards,

Pat