http://www.microchip.com/Download/Appnote/Category/rDesigns/40171a.pdf is an app note for a Lamp Dimmer for the PIC12C508

Fansler, David says:

  1. The schematic does not totally match the article
  2. The load would go between Hot Out and [Return].
  3. You would supply a Neutral (white wire) to Return.
  4. You would supply Hot (balck wirefrom power company) to Hot In
  5. Ground (green) is a good idea. It can be tied to Neutral (which is done in US breaker boxes).

    Dave Bell says (Paul B. Webster and Donald Budette aggree)
  6. Don't! This is done in US breaker boxes, *but that's the only legal place to do it*! The Green/Grounding conductor should go to case ground if there is a metal case, and not be tied to the circuit anywhere.
  7. Vcc is generated by the circuit above the PIC (RV1, R1,2, C1-3, D1-3)
  8. I would take JP1 to be an external input to allow control of the circuit by an outside source (another PIC, automation system, etc.)
  9. While simple, a fair warning is given in the article that this circuit has no isolation from the AC main and therefore can bite you!
  10. If used for lighting purposes, this circuit will produce filament hum at low light levels (larger filaments hum more) A large choke in line with the load will kill the hum.

Donald Burdette says:

Speaking of GFCI breakers, I would recommend that this circuit be plugged in through one. It will reduce some of the dangers mentioned above.

M. Admin Davis says:

...note that the triac should ALWAYS be considered to be on. If the only load is a neon bulb, for instance, it won't turn off since it draws so little current.

You might want to:

Questions:

Interested:

Comments:

See also: