Im working on a project for a keypad controlled light dimmer. I done some extensive research on with particular microcontroller to sight, and I came across the **broken link removed** Since I am working on a project that using a keypad to controll a light dimmer how do I go about programming this chip or is it alright programmed since it is specificly for light dimmer. I am a newbie at this any help with coming up a a hex file or ideas will be greatly appreicated.
It's not specifically programmed, no PIC's are, it's also not specifically for a light dimmer, that's just one suggestion of the many things you could use it for.
The 12C508 is as a VERY old OTP device, there are many far more modern devices also in small 8 pin casings - the 12F675 would be a much better choice, and is reprogrammable.
I would disagree, the 12 bit series is more limited, and missing crucial commands that you have to work around, the 14 bit series has those extra few commands that make life a LOT easier.
I was referring specifically to the light dimmer application note from Microchip for the 12C508 to which the OP provided a link. Conversion of that code to the 12F508/509 would be less fraught with problems than using a chip with analog inputs for someone who was very new at it.
Ok, my goal is to program the pic chip to accept a 4 digit code. Once that 4 digit code is entered, then it would allow that person access to press 1 to illuminate the bulb and 0 to delluminate the bulb. Can anybody help me with accomplishing this task. Also Nigel the 8 pin chip you recommend; can it be written in C?
Ok, my goal is to program the pic chip to accept a 4 digit code. Once that 4 digit code is entered, then it would allow that person access to press 1 to illuminate the bulb and 0 to delluminate the bulb. Can anybody help me with accomplishing this task. Also Nigel the 8 pin chip you recommend; can it be written in C?