I finally got the IR code working in V1.4!! I now have the ability to control the amplifiers essential features from a distance. With the remote you can control the following features:
- Power
- Volume
- Mute
- Treble/Mid Range/Bass levels
- Inputs
The volume control will also increase if the button is held, something that took more head scratching, curse words and childish temper-tantrums then I would like to admit... Essentially the problem was that every time I tried to implement the auto repeat so the volume would increase as the button is held would result in it increasing by an extra one step on release, including if you only tapped the button.
Finally I found a way to stop the behaviour and it works as expected. There is a half second delay after pressing the button so that it doesn't repeat if you just tap on the button. The timer is reset every time you press the button so you can tap the button to increase or decrease the volume one step at a time.
I also printed off a remote control using my universal remote design, which I will include the code and case design files for as well. As I have the ability to do multi-filament I coloured the power and input four buttons the same as the amplifier.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.