??? 07/16/10 16:34 Read: times |
#177328 - Some hints to start the circuit working Responding to: ???'s previous message |
The OP has already made connections to mains using the Triac and the load at 230V AC as shown in these post
http://www.8052.com/forumchat/read/177304 http://www.8052.com/users/triac/SCHEMATIC-TRIAC.jpg Anyone who do work with mains high voltage 230V AC has to be very carefull. Some hints to the OP for this two transistor zero crossing detector to start working: 1. This is the correct place of the diode as shown in this picture. The zero cross detector has to be fed by regulated(by the bridge) unstabilized(by the capacitor) voltage. The diode used IN4007 is too much for this application, a diode like 1N4001 is enough. 2. The zero cross signal may be fed to trigger the INT0(P3.2) or INT1(P3.3) and set the code to setup the INT0 Interrupt Service Routine on falling edge accordingly or by polling use the INT Flags. The resistor of 1K at the collector of the transistor should be replaced by 4.7K to 10K. The resistor between the collector of the transistor and the MCU pin INT0 may be at 1K. 3. After the two above conditions are met then the next step is to utilize right the MOC3021 and the hot line of the Triac. |