This is a very simple mains isolated dimmer with a triac output (phase control). It uses timer0 to do the timing.
There is no user interface, the value of the triac ignition delay after a zero crossing is defined by setting the reload value of timer0 (Tmr0) in the software directly. This value can e.g. be derived from a user interface or sensor or some algorithm. In the example it is stepped trough a number of values sequentially.
230V AC dimmer, mains isolated, using PIC12F629 – [Link]
RELATED POSTS
Mike is the founder and editor of Electronics-Lab.com, an electronics engineering community/news and project sharing platform. He studied Electronics and Physics and enjoys everything that has moving electrons and fun. His interests lying on solar cells, microcontrollers and switchmode power supplies. Feel free to reach him for feedback, random tips or just to say hello :-)
view all posts by admin- AI (224)
- Arduino (828)
- Audio (77)
- Basic Electronics (91)
- Books (18)
- Control (81)
- DIY (61)
- Ebay (1)
- Electronics-Lab (16)
- FPGA (108)
- GPS (68)
- Hardware (58)
- High Voltage (33)
- IC (712)
- Interface (76)
- IoT (586)
- Laser (40)
- LCD/OLED/ePaper (203)
- Led (195)
- Light (19)
- Mcu (575)
- Miscellaneous (77)
- Motor (145)
- Parts (238)
- PCB (112)
- Photovoltaic (73)
- Power (163)
- Power supply (171)
- Products (398)
- Raspberry Pi (349)
- RF (118)
- Robots (57)
- SBC-SiP-SoC-CoM (893)
- Science (132)
- Sensor (589)
- Software (165)
- Soldering (31)
- Technology (227)
- Test Equipment (195)
- Test/Measurements (231)
- Timer (42)
- Tools (84)
- Top Stories (403)
- Uncategorized (60)
- USB (154)
- Websites (66)
- Youtube (99)
- /r/askelectronics
- /r/electronics
- 1-click BOM
- 3D ContentCentral
- Adafruit
- Adafruit Eagle Library
- Aisler
- All About Circuits
- Altium Circuit Maker
- Altium Designer
- Autodesk EAGLE
- AutoDesk Library.io
- AVRDUDE
- AVRDUDESS – A GUI for AVRDUDE
- CADENCE ALLEGRO
- CADSTAR
- Caneda
- Circuit JS
- Circuit Sandbox
- CircuitLab
- CircuitMaker
- CircuitPeople
- CometCAD
- Contextual Electronics' Getting to Blinky Tutorial
- Contextual Electronics' Shine on You Crazy KiCad
- Crowd Supply
- Design Spark PCB
- DipTrace
- DIPTRACE
- Dirty PCBs
- Eagle
- Eagle – List of ULPs everyone should know
- EasyEDA
- EasyEDA Gerber Viewer
- EASYPC
- EEVblog
- EEVBlog forum
- Electrical Engineering – Khan Academy
- Electronic Circuits and Projects
- Electronics Stack Exchange
- Electronics-Talk.com
- ElectronicsTutorials
- ElektorLabs
- Elliott Sound Products
- Embedded Lab
- Every Circuit
- EXPRESSPCB
- Eyrie.io
- Findchips
- FreeVideoLectures/Electronics
- Fritzing
- GC-Prevue
- gEDA
- Gerblook
- Gerbv
- GrabCAD
- GreatScott!
- Hackaday.io
- Hackster
- iCircuit
- Indiegogo
- Instructables
- JLCPCB
- Kerry D. Wong
- KiCAD
- KiCad Cheatsheet
- KiCad Footprint Collection
- KiCAD Gerbview
- KiCad Third-Party Tools
- KiCAD.info Forums
- Kickstarter
- KiKit – Automation for KiCAD
- Kitspace.org
- LCSC
- LibrePCB
- LTSpice
- Maker.io
- Maker.pro
- Mayhew Labs 3dpcb
- MENTOR
- Multisim
- Ngspice
- Octopart
- OemSecrets
- OrCAD
- OSH Park
- Pad2Pad
- PADS
- Part-DB
- Partkeepr
- Parts.io
- Partsbox.io
- PartSim
- PCB Shopper
- PCB123
- PCBWeb
- Pentalogix ViewMate
- Pololu
- PULSONIX
- PwnKitteh/InsanelyCheapElectronics
- Qucs
- SamacSys
- SnapEDA.com
- Sparkfun
- SparkFun Electronics Eagle Libraries
- Technoblogy
- The Signal Path
- Tindie
- traceParts
- Tracespace Viewer
- Ultra Librarian
- Upverter
- Viewplot
- Voltlog
- WIN SOURCE
- WinAVR
- Xesscorp's list of KiCAD 3rd party tools
- ZenitPCB
- ZofZPCB
Join 97,426 other subscribers