First post and I’m new to all this so bare with me.
I want to remote control 16 relays with the help of two buttons on an Apple remote. The 16 relays will open one winding each on an autoformer volume control. I want to use one button as volume up and another as volume down.
When I press volume up the next relay up (x+1) should open and the one that was opened (x) should close. If I press volume down the next relay down (x-1) should open. The same thing should happen on both boards at the same time (same volume on both channels).
I have a MEGA 2560 board and two 8 relay (12v) boards. I thought this would be a fairly simple first project but I need more basics first. I have come so far as I have used the remote library and the gotten the hex codes for all buttons.
I’ve also played around with some examples I found and made relays on the board toggle on and off. I’ve searched for a solution because I want to solve it myself but I need someone to point me in the right direction. What is the best method for doing something like this?