I working on a keypad controlled light dimmer and need some assistance with the coding for it. Here's what I want to do
When power is first turned on press “*” and enter a four digit default code; such as, “0000”.
-The light will begin to function.
- To change the code press “#” input the old code followed with a new four digit code sequence.
- New code sequence is accepted and must be used to allow the light to
function.
- Increasing brightness of the light will be controlled by pressing “2”.
-Decreasing brightness of the light will be controlled by pressing “8”
- After 30 seconds the user can not change the brightness with the “2” or “8” key. The selected code sequence must be re-entered.
- At anytime in the future the selected four digit sequence can be re-programmed following step # 3
Thanks for atleast reading some folks don't. My knowledge of programming microcontrollers are little to none which is why im asking for some help atleast to get started a sample code or something. What additonal info do you need?
Do you realise the enormous task you are requesting.
No matter what language is used, this is a serious request that a large company would pay $5,000 for. It is actually whole controller application that a large company can sell 20,000 units for $150.00
Do you realise the enormous task you are requesting.
No matter what language is used, this is a serious request that a large company would pay $5,000 for. It is actually whole controller application that a large company can sell 20,000 units for $150.00
Oh wow I didn't know that.Im doing as a project of mine....I understand its a great task and know you are probably a busy person but will you be willing to guide me or help me in putting this program together?
I suspect it's more a matter of what do you need to know...
Start by reading the sticky at the beginning of this Forum. Then pick a microcontroller family (PIC, AVR, etc.). Find tutorials for that family and start reading and working through them.
I suspect it's more a matter of what do you need to know...
Start by reading the sticky at the beginning of this Forum. Then pick a microcontroller family (PIC, AVR, etc.). Find tutorials for that family and start reading and working through them.
I am not going to give you a $5,000 program for FREE. I have been in business for 40 years and don't you think people have been coming around all the time for things like this, with the hope of getting something for free and then on-selling it.
I can quote at least 5 instances where I got caught!
Never again.
You can only ask for small pieces of advice, where we can tell, you are really stuck.
Good start, though the 12C508 is probably not the best choice. You might look at the 8 pin 12F675 or 12F683 instead.
Now find a good tutorial and collect hardware and a programmer and install MPLAB.
I would recommend downloading and installing the free/lite version of Sourceboost BoostC which supports those 12F' parts when you're ready to start programming in C.
Ask for help when you get stuck or when you don't understand something you've read or when your hardware/software experiments don't work as expected.
I am not going to give you a $5,000 program for FREE. I have been in business for 40 years and don't you think people have been coming around all the time for things like this, with the hope of getting something for free and then on-selling it.
I can quote at least 5 instances where I got caught!
Never again.
You can only ask for small pieces of advice, where we can tell, you are really stuck.
I understand exactly where your coming from, but in my case Im not trying to mass produce and sell anything, I just saw this hobby project and wanted to changed it.
Good start, though the 12C508 is probably not the best choice. You might look at the 8 pin 12F675 or 12F683 instead.
Now find a good tutorial and collect hardware and a programmer and install MPLAB.
I would recommend downloading and installing the free/lite version of Sourceboost BoostC which supports those 12F' parts when you're ready to start programming in C.
Ask for help when you get stuck or when you don't understand something you've read or when your hardware/software experiments don't work as expected.