PIC16F628 4 RGB LED PWM Controller


Posted on Feb 5, 2014

Here is the full schematic for the driver. I chose to use a PIC16F628 as the microcontroller because it is cheap, has a internal oscillator (4 MHz) and an internal USART. NOTE: There is an error in this schematic and a pull-up resistor on RA5 (pin 4 in the schematic) is necessary. See the bottom of the post for an updated schematic and board. I de


PIC16F628 4 RGB LED PWM Controller
Click here to download the full size of the above Circuit.

cided I would try getting a PCB printed for the first time, so I got boards created at BatchPCB. com for $5 each. The total for 4 boards shipped was $32. 36 (4 x $5 for the boards and $12. 36 for shipping and handling). They took a long time to arrive, but the quality was well worth the wait. NOTE: There is an error on the first revision of the board and a pull-up resistor on RA5 (pin 4 in the schematic above) is necessary. You can see how I compensated for the mistake in the second picture below (look on the back of the upper-left board). This will be corrected in future revisions. See the bottom of the post for an updated schematic and board. The current firmware has 8 commands (the 9th, self-test was removed to save space). See the source code for the firmware for how the commands are implemented, but here is some example usage:




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    disco lighting
    Phase-shift oscillator
    Voltage-monitor
    Digital Clock
    Automatic Water Tank FillerCircuit Circuit
    making an rf car
    Buick LeSabre



    Top