DC or AC? Shure, with DC, a MOSFET does the job, but it ties the mc power circuitry to the bulb circuitry. Using an opto driven driver triac and a load triac lets you use AC and you do not have to worry about cooling the rectifier etc... see this Arduino forum link: https://forum.arduino.cc/index.php?topicĀ=460187.0 and also the attached datasheet for the MOC302X series of opto driven (driver) triacs.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
DC or AC? Shure, with DC, a MOSFET does the job, but it ties the mc power circuitry to the bulb circuitry. Using an opto driven driver triac and a load triac lets you use AC and you do not have to worry about cooling the rectifier etc... see this Arduino forum link: https://forum.arduino.cc/index.php?topicĀ=460187.0 and also the attached datasheet for the MOC302X series of opto driven (driver) triacs.
2 Attachments