![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Any chance of some advice? I need to design an LED dimming circuit to be used as a speedo backlight. I will need to have two inputs corresponding to "Dimmer" and "Brighter" and use a PWM output to the LEDs. At university, I did a similar project using a 16F84 and the output derived from a simple count up or down. I am considering using the same for this project, but I am sure that there will be a more suitable PIC for this application. I've checked the Microchip website but the sheer number of types available is a bit daunting! | |
| |
| | (permalink) |
| PIC16F877A. >>> PWM max. resolution is 10 bit with 8 KB flash memory 40 pins | |
| |
| | (permalink) |
| Pick one with internal PWM - the 16F628 (the 'modern' replacement for the antique 16F84) has a single PWM channel, and also an internal 4MHz oscillator. There are many others which would do the job, but that one should be familiar to you. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Thanks for your help, I'll give it a try | |
| |
| | (permalink) |
| 12F683 with one pwm channel, internall 8mhz osc and only 8 pins.
__________________ If you don't have a planet, what good are gold bars? want to contact me directly? gmail gordonthree check out my project website: http://projects.dimension-x.net Favorite numbers: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 | |
| |
| | (permalink) | |
| Quote:
You can get them for about $1 in quantities of 25 from Mouser. | ||
| |