ino file #5
Replies: 2 comments 7 replies
-
Well, there really isn't much to remove that isn't related to the ESP32 and its connection to the amp. The only physical components are really in the main loop where it watches for button presses and updates the LED display. Everything else is pretty much the process for remotely sending commands to the ESP32 via MQTT and having the ESP32 "translate" those codes into UART commands that the amp can understand and sending those commands over serial to the amp. I'm happy to try to help you out, but might need a little more info. I'd have to look into the code a little bit more, but I believe it could be used "as-is" without modification even if you aren't connecting physical controls. The only questionable one might be the SSD1306 display. But first, will the code compile 'as-is' without modification? If you are getting errors when trying to compile the existing .ino file, we need to look at that first, before we start making any changes. If you do get error(s) with the code as it is currently written, let me know what those errors are and we can start there. |
Beta Was this translation helpful? Give feedback.
-
Hello good sir! I just got another Arylic Amp, this one will be used for the living room needs. I built it up with this "double decker" design this time around, where the Wemos D1 sits on the breakout board so it's easy to attach the wires into screw terminals and it looks good too. On the software front I replaced all "deskamp" entries with "arylicamp" for the new one in the Arduino IDE sketch, hoping that MQTT will pick it up nicely. I wanted to ask about the HA code for the configuration.yaml though. I don't want to make a mess so how do I proceed here, do I just copy and paste all the code I have so far and also replace "deskamp" with "arylicamp" and that's it? Thanks very much for your input! |
Beta Was this translation helpful? Give feedback.
-
Hello,
First of all thank you for the wonderful work you are doing with this, I appreciate it a lot! Say, would you be able to publish the INO file for the sketch, with only the elements that relate to the ESP32 board itself? It is the only thing I want to connect to the amp and I'm having trouble editing the existing file and having it validated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions