Discotheque fog machine driver.

sedeap

Senior Member
This project was made for one local "Disco", they want one kind of timer to automatic drive the fog machines, with one override push button to make manual activation, the four devices must operate at same time in certain situations (Fog/smoke "cascade" in Happy hour)so, the gadget must be set between 2 to 60 second for ON state and between 1 to 30 min in StandBy state, then, restart the Loop.
The fog devices are 220v~ac 4Ah, so the switching part was made with optocouplers and Triacs (cheaper than SSR), the choosed ones was MOC3020 & bt137(8Ah).
One gadget per Fog device, switching the main power, the "on device" button bridged "on" and be controlled from the DJ's room.
All made with only one Small P08 per gadget.(only 40 programming lines availables)
So I need 2 ADC and the P08 only have one pin for that.(see the ADC duplicator post)
The code is simple
- Check the "ON" potentiometer (analogic) and store the result.
- check the "Stand-By" potentiometer (analogic) and store the result.
- Make some math to work with small numbers.
- Start the loop.
The program fits inside the p08, and work perfect!.
Circuit Diagram Here in PNG
Circuit Diagram Here in JPG
PCB Draw Here PNG
PCB Draw Here JPG
Code here in txt
Code here in ZIP
Board Pic here Low-res Hi-resolution
gadget pic0 here Low-res Hi-res
gadget pic1 here Low-res Hi-res
gadget pic2 here Low-res Hi-res

Here mounted on one small fog device for testing
pic1 low res
pic2 low res
pic3 low res

(I'm moving out the servers, so if the link not work, try later)
:eek:
 
Last edited:
Top