Hello folks,
Looking forward to getting my feet wet with Arduino!
My first goal this weekend should be fairly simple.
Use a potentiometer to display a number value between 0-1000
Light a blue LED between 1-500
Light a green LED between 501-800
Light a red LED between 801-1000
Using an atmega 2560 board.
It's all new and feels a bit overwhelming right now, but i just figured I'd put this out there, see if i could get any help on the sketch.
Dremmer:
Use a potentiometer to display a number value between 0-1000
Does it have to be 0-1000 (1001 values), or can it be 0-1023 (normal 10-bit 1024 values).
0-1000 is not a problem, but needs a bit more code.
Only one value (0) for "all off" ?
No fading up/down of the LEDs?
Thanks for the suggestion Leo, I'll make sure to check it out now.
It doesn't have to be exact figures right now.
I'm trying to keep it simple to help the learning curve, but still leaning towards my ultimate end goal.
At this point I just wanna see it work, haha.
My final project will use a board to keep a flywheel at a certain speed, and log different variables.
I figure I could use a pot. in place of an RPM sensor for now, an keep the project on the desk to try an work everything else out.