Hi, I'm a beginner.
Can you direct me to a similar example that I need.
I have 8 relays that have 256 states predefined, LCD2x16 display and Rotary encoder 5pin.
Moving the encoder left or right would change the presets at State 1 to State 256.....
Sample:
State 1 - rel1 (ON )
State 2 - Rel2 (ON)
State 3 - Rel 1(ON) and Rel 2 (ON)
State 4 - Rel 3 (ON)
State 5 - Rel 1(ON) and Rel 3 (ON)
etc....
Is there any similar example on the forum? I'm still a beginner and I'm having a hard time getting started with code. What version of arduino do you recommend for the 8 relays?
This is a nice project to get started with an Arduino UNO or similar.
Keep it simple and stupid firstly.
Run some tutorials for the hardware selected.
If you are happy with the results of the tutorials you can merge these to your project.
Thank you very much. I have a great desire to learn as much as possible.
That's for the antenna tuner for ham radio. By combining relays I will get capacities 10,20,30,40,50,60,70,80 and so on up to 2560pF when all relays are on.
I have to start from the beginning, microcontroller programming is always necessary in building devices.Arduino seems like a great thing to me.
I tested the simulator with @paulpaulson code. It happens that it does not choose from 0, 10, 20, 30, 40, 50... etc
It already selects in increments of 0, 40, 80, 120, 160....
I've been trying to correct the code to dial in steps of 10pf but failed and it's still 40pf. Everything else is fine.