Holiday Notice: Elecrow staff will be on holiday starting October 1st (GMT+8). PCB & PCBA orders will resume delivery from Oct. 4th, and Product orders from Oct. 7th. Orders can still be placed as usual. Enjoy the holidays!

Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
Elecrow community is a shared platform and we are not responsible for any design issues.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
closed
user-img

Arkadiusz Zacharzewski

Published: Aug 21,2024

HMI and DIY audio switch

Is there an easy way to freely connect several music sources and their multiple receivers at home? Yes! Even if entire environment should be integrated with a COAXIAL-SPDIF switch for the audiophile sound quality? Sure, recently I built the switch that can do that. But now it's time for the main question, is there the easiest and most intuitive way in the world to manage required connecions? To allow anyone seeing it for the first time to control it without any learning? Of course, now there is! All I needed to breathe a new life into my music center is the HMI panel from Elecrow.

ccc ccc
Copyright Info

Attribution-GPL License

Read More⇒
  200
  3
  0
cover-img
 
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
 

Hardware Components

  • CrowPanel 5.0"-HMI ESP32 Display 800x480 RGB TFT LCD Touch Scree

    Elecrow
    X 1 fenxiang

Tools, APP Software Used etc.

  • Arduino IDE

    Arduino IDE

    Arduino
  • Squareline Studio

    Squareline

Story

Here you can see how my device looks and works live: https://youtu.be/iKge7Efg3Uw

At home I use four sources of sound: CD player, Allo DigiOne Player on RP4 that hosts O!MPD and Logitech Media servers for flac and mp3 files, TV and PC. And I listen music using three receivers, i.e. an amplifier with speakers, I also transmit it with BT transmitter to a wireless headphones, or I listen music through DAC with an amp on a wired headphones. And I am not the only one music listener at home, because for example, during I'm watching TV with BT headphones, my wife plays her music from CD to speakers, etc., depending on what we feel like at the time.

For above purpose I built the SPDIF signal switch with 4 inputs and 3 outputs, it got a display, and ESP32 as the heart, and there is also a set of relays inside, that can be controled with 2 buttons on its front panel. First of them is to select a device field and to confirm a new choice, and the second one is to change device type in the selected field. It can be controled also via WiFi and the web browser by a cell the same method. The cherry on the cake is that this device supports two freely chosen and independend connection paths that work at the same time.
Although I was very pleased due the simplicity of use my device, but my wife did not like it at all, and she still remembered her old mini hi-fi system which could do less, but probably was easier to use due to many clearly described buttons...

The solution appeared when I spotted a smart touchscreen. To program it, I had to learn how to use the LVGL library and the Squarelie Studio wysiwyg editor. So I enhanced my switch with an ability to send full connection status and to receive direct commands via WiFi, and then I designed a very easy-to-use graphical interface, using real photos of my audio devices. I only needed an idea for the graphic design, and I came up with an idea to show both pairs of the currently connected devices as two shelves, on which the selected devices are placed or taken away by clicking on their photos. Finally my wife likes this new interface.

Code
  • Source code of both devices (audio switch and HMI panel)

    source_code_158304566066ccd0e5741ce.zip
    Download(1)
user-img

Arkadiusz Zacharzewski

+ Follow

Topic

View All
  • Comments( 0 )
  • Like( 3 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All