Adding an ESP32, MQTT and more to the Arylic Amp

  Рет қаралды 6,993

ResinChem Tech

ResinChem Tech

Күн бұрын

As a follow up to my original Arylic Up2Stream Amp overview, this is a complete build out with a rotary volume knob, local push buttons an OLED display and an ESP32 for full MQTT control and integration into Home Assistant.
A full written guide to this project, with wiring diagrams can be found here: resinchemtech.blogspot.com/20...
The ESP32 code and related information can be found in this Github repo: github.com/Resinchem/Arylic-A...
Chapter Breaks:
==============
00:00 Intro
01:22 Project overview
02:34 Connection highlights
04:41 Wifi onboarding information
05:28 Building JST Connectors
06:24 Breadboard wiring and testing
09:51 Enclosure goals and design
11:09 Building the enclosure
13:36 Wiring the ElecroCookie board
14:51 Final wiring and connections
16:04 First time power up and issues
17:15 Making repairs, replacements or changes
18:17 Modular mix and match design options
19:08 MQTT and Home Assistant integrations
21:51 Cost and feature review
22:48 Wrap up
Parts Used:
==========
Not all parts are required if you don't need all features. But the following are the primary parts I used in my build as shown. See the related blog article for additional notes on these parts:
Arylic Up2Stream Amp v4: amzn.to/3YAinOF
24V 6A DC Power Supply: amzn.to/3BUb3n5
ESP32 Mini: amzn.to/3v9QcbD
Common anode RGB LED: amzn.to/3v9QcbD
Normally open push buttons: amzn.to/3Wj9uas
Rotary encoder module: amzn.to/3VhqNYl
JST 2.0mm connector kit: amzn.to/3WrxzM6
OLED 128x64 SSD1306 display: amzn.to/3WiqGNh
Various resistors: amzn.to/3hMXteE
100 nF ceramic capacitor: amzn.to/3WhWaTW
IR remote receiver TL1838: amzn.to/3FJ22OW
IR remote: amzn.to/3jnp4n8
Dupont jumper kit: amzn.to/3v9T8Fu
ElecroCookie solderable protoboard: amzn.to/3v9T8Fu
Breadboards / Dupont Jumpers: amzn.to/3v9T8Fu
5V fan: amzn.to/3GrtqCM
1000 uF electrolytic capacitor: amzn.to/3IabrSj
Some of the above links may be Amazon affiliate links. Use of these links will not affect your pricing, but this channel may earn a small commission if you make a purchase.
Other Links and related info:
============================
Original Amp Overview video: • A DIY approach to usin...
Written version of this project: resinchemtech.blogspot.com/20...
Github repository and wiki: github.com/Resinchem/Arylic-A...
You can help support the channel, or just say thanks, by buying me a cup of coffee at:
www.buymeacoffee.com/resinche...
#mqtt #amplifier #streamingdevice #esp32 #homeassistant

Пікірлер: 44
@rodneysmith1750
@rodneysmith1750 Жыл бұрын
A great addition to a previous project, yet again, something else to "catch" my eye, love the gadgets and the DIY! Great work on this project.
@ResinChemTech
@ResinChemTech Жыл бұрын
Thanks! I appreciate it.
@KLR-3
@KLR-3 6 ай бұрын
This video and it's prior companion have earned you my subscription. Excellent work. I seems you have left no stone unturned. I want to build my own diy whole house system and this is just what I needed to see.
@ResinChemTech
@ResinChemTech 6 ай бұрын
Glad you found these videos helpful... there is a third one, but it is really about adding a touch interface and creating a local SiriusXM streaming server. A few others have shared their builds based on these videos and I'm currently in the planning stages of building another one... call it v2.0... where I'm going to make some additional improvements and changes. Not sure when I'll actually get around to building it though. Thanks for watching.... and the sub. Welcome to the channel!
@BELSERVICEMAN
@BELSERVICEMAN Жыл бұрын
If you found ResinChem Tech’s presentation a bit of work then don’t get too concerned. I feel somewhat responsible for the ideas that lead to some of this work. What I feel needs mentioning is you can use this very same amp pretty much out of the box. Add PS and Speakers and if you have home assistant most NOOBS like me can get it up and running quickly. SO you can use the amp and then add all the cool stuff as shown here. All of our use cases will be different and yes I did use the phone app once but you don’t need it if you connect to Ethernet and discover IP/Mac, make a reservation in router and use the DNLA until you are ready to get down in to it like he has here. Another great production by ResinChem Tech!!!
@ResinChemTech
@ResinChemTech Жыл бұрын
What he fails to mention, is that not only was he the inspiration for this video, but was also kind enough to supply me with the amp (no Arylic did not sponsor nor supply anything for this video)! So, thanks to @BELSERVICEMAN for making the video possible. And he is correct, that it can be a fine amp "as-is" using the mobile app and/or the built-in web interface.... or just the default DLNA/Home Assistant media player controls. My take was to see "what else" the amp could do... and what could (or maybe could not) be done without the mobile app or any sort of cloud account... and to see if I could "enhance" the properties, including the Home Assistant integration. But he is correct that many of the amp's features, such as all the various input sources, can be used without any of the add-ons I show in this video if you just want a 'plug-and-play' amplifier.
@joecanning4004
@joecanning4004 Жыл бұрын
Another great project!!! Nice work!!
@ResinChemTech
@ResinChemTech Жыл бұрын
Thank you! This one probably has a little narrower audience focus, but maybe it will inspire other ideas for some. Thanks for watching!
@vpsrj
@vpsrj Жыл бұрын
Awesome project, thanks for your job sharing this to the whole community 🍻
@ResinChemTech
@ResinChemTech Жыл бұрын
You are welcome! This is one of those projects that I didn't know how much I'd actually use it after the build was done. But I love it and it gets used almost daily... especially after I added SiriusXM streaming to the amp (which I cover in an update video). Thank you for watching and taking the time to leave a comment. I greatly appreciate it!
@mr.bianchirider8126
@mr.bianchirider8126 Жыл бұрын
Great project. Those ElectroCookie boards are great !
@ResinChemTech
@ResinChemTech Жыл бұрын
Agreed! I use them for nearly all my projects in some form. Custom PCBs would be nice in some cases, but since many of my projects are "one-offs", a custom PCB seems like overkill for a single use. But the ElectroCookie boards (both full size and mini) are great for these single build projects. Thanks for watching and taking the time to comment!
@TheUnofficialMaker
@TheUnofficialMaker Жыл бұрын
You killed it! thanks, going to have to try this out.
@ResinChemTech
@ResinChemTech Жыл бұрын
As I think I mentioned in a different video, the amp was donated by one of my subscribers and I really didn't know what I was going to do with it. But once I dug into the features, it ended up being one of my all time favorite builds. And it sits right on my main desk and gets used almost daily. For me, adding a local SiriusXM streaming server (covered in a different video) was the cherry on top that really rounded out the amp for me and my use case. A couple of others have taken my version and added additional features such as an NFC tag reader to launch playlists. The amp definitely has a lot of features and option for the money.
@andymok7945
@andymok7945 Жыл бұрын
Thanks for sharing, very well done and useful. I might try this in the near future. I just finished hooking up a small speaker to the RaspiAudio MUSE Proto board running squeezelite. There is also ESPHome firmware available. So many options out there. I have had 2 piCorePlayers running for about 4 years now and all communicate with the LMS (LogitechMediaServer) all which is full open source. Just an amazing project.
@ResinChemTech
@ResinChemTech Жыл бұрын
Thanks! For me, the amp became really useful when I created my own SiriusXM streaming server which I can use to stream directly to the amp. This really rounded out the features for me. What started out as something I agreed to just "take a look at' on behalf of a subscriber has become a device I use nearly every day. Thanks for watching and taking the time to leave a comment!
@paulhyland3528
@paulhyland3528 Жыл бұрын
Love this, I've been wanting to refurb some old bakerlite radios eg "bush dac90" to something smart. this project would be perfect. for something like this. Great work and video.
@ResinChemTech
@ResinChemTech Жыл бұрын
Great! I figured this wouldn't be one of those projects that someone would try to exactly duplicate, but I hoped that it might inspire some ideas for related projects similar to yours. For me, it allowed me to dust off some old (yet good quality) speakers and provide much improved sound over the old PC/bluetooth speakers I used before. Thanks for watching. Let me know how your project turns out if you decide to pursue it.
@BELSERVICEMAN
@BELSERVICEMAN Жыл бұрын
I would be interested too! I looked up the Bush DAC90a and if the speaker is good or you can swap it out then you could easily fit an amp in there and have many modern capabilities. If you are going Mono then there might be a less expensive board than the one shown in the video. This board produces enough power I get concerned the neighbors might not like my music. Also I ran my amp for 6 months without any hardware extras at all. This means you can preserve the enclosure of the Bush. Good Luck!
@paulhyland3528
@paulhyland3528 Жыл бұрын
@@ResinChemTech i will do! sure like most of us we all have a back log of projects to do, I still need to implement the TOF sensors on my stairs like yours!
@paulhyland3528
@paulhyland3528 Жыл бұрын
@@BELSERVICEMAN thanks yea such a beautiful design, I want to try and keep the enclosure as original as possible. I was looking at dual voice coil celling speakers to use but its finding one small enough. Its a project i will defiantly do at some point.
@BELSERVICEMAN
@BELSERVICEMAN Жыл бұрын
@@paulhyland3528 Well so then you will be interested in how the status light or Mode LED could indicate perhaps through the AM/FM back light if there was one. Good luck with the stairs, love that project too but don’t have the correct stairs for it.
@MrSupersidewinder
@MrSupersidewinder Жыл бұрын
Great build, would have been nice to hear it...🤷‍♂️
@ResinChemTech
@ResinChemTech Жыл бұрын
Yeah... I agree. But as I mentioned in the first video, you can't use any "real" music without the fear of a copyright strike. And to be honest, I'm not sure my mic/recording equipment could have done it justice. I'm not a true audiophile with all the measuring equipment, but the sound quality seems exceptionally good to my untrained ear. But thanks for watching! It is much appreciated.
@cowfeet1
@cowfeet1 Жыл бұрын
Great stuff :-) I've just used the weekend to test a Arylic Up2Stream Pro V4 (without amp) with a Wemos ESP32-S2 mini (clone) with your set-up guide and code. Everything so far seems to work flawless - I just had to change the pins in the Settings and replace all "Serial2" with "Serial1" in the main code. So far OTA, mqtt, display, LED, rotary encoder and a little Home Assistant test works perfect :-) I'm no expert in this - I normally use ESPHome - but thanks for your great videos and easy to follow blogpost it went pretty smooth. My plan is to add 3-4 buttons for quick access to my favorite radio stations, and maybe replace the OLED display with a TFT display.. I have a few other Arylic products , this is going to replace my Up2Stream V3 (which don't have LAN or RX/TX pins exposed) on my desk. Thanks from Denmark :-)
@ResinChemTech
@ResinChemTech Жыл бұрын
You are welcome! As I mentioned, the amp was donated by a viewer and I honestly didn't think I'd have a use for it... but after building this, it gets used almost everyday and I love having it at my main work desk. Next, I'll be attempting to create a local HTTP streaming box for Sirius XM (they provide an API written for Python), then either repurposing on one of the buttons or maybe adding an NFC tag reader or maybe an TFT touch screen to allow me to select from my favorite Sirius channels and stream via my own local server instead of using bluetooth from my phone (or the browser on the PC). Glad you found the video and code helpful. I also use ESPHome a fair amount, but there are times when you just have to write your own code for some more advanced features... and the more I work with Arduino/C++ code, the more I'm starting to like it. Thanks for watching and taking time to share your project!
@cowfeet1
@cowfeet1 Жыл бұрын
​@@ResinChemTech Sounds great :-) I hope you will do a implementation of an RFID reader . I've over 100 RFID cards with album covers of some of my music. I've made my own 3D printed case with an OLED (Showing artist, album, track / radio station - Or a clock when player is idle), 2 buttons (next/prev - pause/play on long press), a D1 mini and a PN532 RFID module (ESPhome / Home Assistant).
@ResinChemTech
@ResinChemTech Жыл бұрын
Just a quick update... just as of today, I got the Sirius XM streaming box running.. and now I can stream directly to the amp. I've already added service calls in Home Assistant to play a given station. No phone, app or web browser needed! But now that I can make service calls in Home Assistant, adding an RFID reader would be very easy. Haven't decided on RFID or a touch interface with icons for my favorite Sirius stations.. kinda' like I have in the car. But either option would work independent of the amp... it doesn't need to interface directly... which is kind of nice.
@user-sz2gh6km9q
@user-sz2gh6km9q 10 ай бұрын
Hi I love this project. I already have an excellent amp, my question is can I use this with the arylic peamp only?
@ResinChemTech
@ResinChemTech 10 ай бұрын
I don't know a lot about the pre-amp board. But it looks like it also has an expansion port. If this port supports UART for commands and data, then it should be possible to adapt what I've done. I'm simply using the ESP32 as a "translator" between the UART on the amp and MQTT. This allows me to send commands via MQTT and the ESP32 will convert those to the proper command and send it over to the amp. Conversely, the amp provides data via UART that the ESP32 can then either take action on.. or publish MQTT commands for use outside the system. I'd say try to find the spec sheet on the preamp and see if any of the ports provide RX/TX UART capability. If so, then my code could probably be adapted... as I would suspect some of the UART commands would need to be changed for the pre-amp vs. my amp version.
@leonsvideokanaal36
@leonsvideokanaal36 11 ай бұрын
this is exactly where i was looking for. I was thinking to build a bluetooth speaker, but not only with bluetooth, but also with Wi-Fi and DAB+, all controller by 1 display showing what is actually going on, even showing title info from bluetooth, RDS info from DAB+ radio stations. i wonder if i can change that little display to something bigger, like a 3,5 or 5 inch screen ??
@leonsvideokanaal36
@leonsvideokanaal36 11 ай бұрын
i also want to use the rotary knob as a menu scroller, when using DAB+ or Wi-Fi internet Radio, to scroll trhough the stations / streams it has inside. i also want to add a 18650 batterypack for mobile use.
@ResinChemTech
@ResinChemTech 11 ай бұрын
Do note that this particular amp board does have wifi (and Ethernet) and I think it might be possible to add an FM receiver. As far as the display, I did add a larger (albeit external) touch display, along with adding SiriusXM streaming via my own local streaming server in a follow-up video: kzfaq.info/get/bejne/jLdjf7afqM3UlXk.html Another subscriber did take my base design and integrated a larger TFT touch screen into the base design. The basic amp board has a lot of flexibility and while I designed mine for my particular use case, there are many other ways to implement it. I'm not sure about battery power and how long a battery might hold up. I haven't tried to measure the watts used by the amp when it is powered up, but I do suspect it is drawing a fair amount. Good luck with your project!
@iulianbe
@iulianbe 9 ай бұрын
Thanks for the wonderful tutorial, i used it to build one for my self. One question though, do you know if it's possible to make the fan go off when the amp is in standby?
@ResinChemTech
@ResinChemTech 9 ай бұрын
Yeah... I kinda' wish the same thing with the fan. But the 5V pins on the amp stay hot as long as the amp is plugged in. You could power the fan via a 3.3v GPIO pin on the ESP32 and have the ability to shut it off via automation when the amp goes into standby... but the fan would run a bit slower. To be honest, I'm not really sure the fan is necessary. Initially I believed the amp was shutting itself down due to overheating, when the fact was that it was receiving rogue IR signals from my Harmony hub that actually included the standby signal so it would just randomly go into standby. Once I disabled the onboard IR receiver, that issue went away. I also had some situations during initial testing where the heat sink on the amp got really hot... almost too hot to touch. That ended up being the result of connecting the USB port to a powered hub from the computer... in effect feeding it voltage from both the normal power supply and from the 5V USB (luckily I didn't damage the amp). Once I switched to a non-powered hub, that issue was resolved as well. So, if you want the fan to shut off, you can power via an ESP32 GPIO pin (the fan is rated for 120mA, so I haven't done any calculations on that in terms of the total draw of the ESP) or you might actually be fine with just a ventilation opening over the heat sink and no fan at all. Congrats on building the amp... I love mine, and with the addition of the local SiriusXM streaming and separate touch screen (which I covered in a separate follow up video), mine gets used nearly every day when I'm working at my desk. Don't hesitate to reach out if you have any other questions.
@iulianbe
@iulianbe 3 ай бұрын
​@@ResinChemTech​ Hello, i have another question. I've noticed that when i wake the amp from standby, after a day or so, home assistant shows the the DNLA device as unavailable. It becomes available after i restart home assistant. Have you noticed this behavior and if so, do you know how can it be fixed without the restart ?
@ResinChemTech
@ResinChemTech 3 ай бұрын
I actually haven't seen that... but I rarely use the amp via DLNA as I primarily stream from my local Sirius XM server or occasionally via Bluetooth. I just checked it and mine was still showing as available in Home Assistant and I was able to play music from my DLNA server without problem. But that certainly doesn't mean that it doesn't drop off from time to time. I will keep an eye on it and if I see it happening, try to troubleshoot it. I could see Home Assistant marking it as unavailable when the amp has been in standby mode for a while, but it seems like it should become active and available again once the amp wakes up.
@greggotcher9336
@greggotcher9336 10 ай бұрын
I don't know if you are aware or not, but I am 99% sure you can use the Linkplay-based speakers and devices HACS integration to have multiroom sync and some more advanced tts.
@ResinChemTech
@ResinChemTech 10 ай бұрын
Thanks. For this particular video, the amp used was donated by one of my subscribers and my goal was to see how far I could get... and what all I could accomplish locally, without using the vendor's cloud service or setting up an account. So it wasn't necessarily meant to be the best possible system, but the best I could make out of the donated Arylic amp. The Arylic amps have multi-room sync capabilities as well, but since I just had the one, that wasn't something that I really investigated. But I appreciate the recommendation and that you took the time to post it. And it could be helpful to someone looking for multiroom sync.
@greggotcher9336
@greggotcher9336 10 ай бұрын
@@ResinChemTech I am not sure I articulated exactly what I was trying to say with my last post. The arylic boards are using the linkplay chips so you can use the arylic boards with the "Linkplay-based speakers and devices HACS integration" in Home assistant along with all of the cool things you did locally integrating it with MQTT and home assistant. You don't need the app to make the HACS integration work either. I absolutely love watching all of the projects that you do and the give me great ideas of things that I can do around my house.
@ResinChemTech
@ResinChemTech 10 ай бұрын
No... it was my misunderstanding. I hadn't heard of it before, but went out to HACS and took a look. Wow! I guess I could have saved myself a lot of work, but to be honest, this was one of my most enjoyable projects (in a later video I extended this to add a standalone touch interface and my own local SiriusXM streamer). The project for me was a lot of fun because I got to tinker with the electronics and also write some custom code for the ESP32. But I wasn't aware of the Linkplay A31 chip (which is a bit strange because I did a lot of research and digging on that board at the time). Thanks for passing that along. I've often thought about picking up a second board at some point and I think I'd definitely give the HACS component a shot... if for no other reason just to see how it compares. Thanks again for sharing the info. And again, I'm sorry I misunderstood your original post.
@ryanwwest
@ryanwwest Жыл бұрын
Is there a cheaper and/or simpler way than this ESP32 to get an open-source 50Wx2 stereo amp into home assistant for multi-zone control? Not that $7/each is that bad, but if I did 12 of these for 12 zones in the house instead of a 6-zone soundavo ws66i and another 6-zone soundavo extender, that's getting close to $100 with tax/ship for the ESP32s alone. I'm planning to leave all of them in the basement or another remote area with exclusive control via a home assistant app, no IR or buttons or screen necessary.
@ResinChemTech
@ResinChemTech Жыл бұрын
That's really going to depend on the amp and what sort of API it provides... and whether Home Assistant can 'speak' to the API. In my case, the amp did offer some basic control via HTTP that I could have used directly in Home Assistant, but that control was limited and only one-way... no feedback from the amp. Primary control and feedback from the amp was via a UART/serial connection... and that's where the ESP32 came into play... as a "translator" to send commands and receive data from the amp, then to send that over to Home Assistant via wifi/MQTT. If all you need is UART/MQTT (and as you mentioned, no buttons, screen, etc.) you could substitute a Wemos D1 Mini (ESP8266) for the ESP32, which would knock the cost down to around $1.80 apiece or less, depending on where and what quantity you buy. Naturally, the code would also have to be modified to work with the ESP8266 instead of the ESP32. Good luck... but your options are really determined by what the amp offers in terms of an API/interface.
@JustinKais
@JustinKais Жыл бұрын
Because you can, doesn't mean you should.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 549 М.
A DIY approach to using the Arylic Up2Stream Amp
28:00
ResinChem Tech
Рет қаралды 10 М.
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,8 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
Русалка
01:00
История одного вокалиста
Рет қаралды 3,5 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 47 МЛН
Arylic HD DAC. Всё исправили?
9:40
ussraudio001
Рет қаралды 9 М.
Add a Display to Your DIY Project (Beginner Friendly!)
41:28
ResinChem Tech
Рет қаралды 4 М.
First Look at 100W Mono Amplifier -Up2stream Amp Mono
6:39
Arylic Audio
Рет қаралды 3,6 М.
Making the most EQUIPPED DIY Security Camera with ESP32-CAM
26:36
Max Imagination
Рет қаралды 342 М.
WIFI Audio System for the Home.  DIY 2.1 amplifier, Arylic Up2Stream
12:10
An Improved Multi-sensor
29:40
ResinChem Tech
Рет қаралды 29 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 642 М.
How to Quickly Build Your First LED Controller
22:49
ResinChem Tech
Рет қаралды 62 М.
ESP32-S3 + Chip Antenna PCB - Design your own in 15 minutes!
14:19
Haase Industries
Рет қаралды 13 М.
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,8 МЛН
When you have 32GB RAM in your PC
0:12
Deadrig Gaming
Рет қаралды 2,5 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2 МЛН