Skip to content

A remote control for Denon receivers using an Adafruit Reverse TFT ESP32-S2 and CircuitPython embedded in a speaker stand

License

Notifications You must be signed in to change notification settings

prcutler/circuitpython-denon-remote-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

circuitpython-denon-remote-control

A remote control for Denon receivers using an Adafruit Reverse TFT ESP32-S2 and CircuitPython

Adafruit ESP32-S2 Reverse TFT

Overview

This program uses CircuitPython to remotely control a Denon audio-video receiver using a combination of serial and XML commands over the network. This is a companion project to my Audioreactive Speaker Stand Lights.

I have programmed the 3 Reverse-TFT buttons on the left to change Zone 2 sources:

  • CD (AUX1)
  • TUNER
  • Vinyl (CD)

You will need to update the IP address on line 26 with your receiver's IP address. Note I have customized the names of my sources, with my name first and the receiver's version of the source second. These are the three most used sources for me, but you could customize them to your favorite sources or even a list of sources and cycle through the list using one or two of the buttons.

The rotary encoder on the right controls the volume and pushing the button mutes or unmutes the receiver.

Similar to my Audioreactive Speaker Stand Lights project, the Feather is meant to be mounted in a speaker stand. Design is TBD and is a work in progress and will be included here when complete.

Issues and Bugs

  • The XML request for current volume is much faster than the XML request for the current source input. It will query the receiver for the source when it first boots up only. The source text is hard coded into the input source change function.

Hardware Needed

Credits

  • This project couldn't have been completed without the denonavr Python library. Everything I needed was well documented for the XML queries. Denon's serial control protocol is well documented, though there are far fewer Zone2 commands.
  • BlitzcityDIY for her Octoprint enclosure which also featured a square faceplate for the ESP32-S2 Reverse TFT Feather.
  • Neradoc for porting ElementTree to CircuitPython for parsing XML.

About

A remote control for Denon receivers using an Adafruit Reverse TFT ESP32-S2 and CircuitPython embedded in a speaker stand

Topics

Resources

License

Stars

Watchers

Forks

Languages