Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/21/06 23:33
Read: times


 
#120833 - AC Control Schematic here
Hi. I don't know how to close a thread. I'm starting this one.

To control AC devices I found this schematic:



I hope this image is showing....

OK... I built it in a breadboard and it's not working. I used a 15W lamp. The uC is sending 1,0,1,0 to Gate.

If I connect a LED it flashes with the signal sent to Gate but the lamp never turns on. What can be the problem? I'll post the code, but there's no problem with it as it is sending the signal to GATE.

I'm using a MOC3011 and a TRIAC MAC12M or a TRIAC MAC223.

How can I test the MOC 3011?
How can I test the triacs?


inicio:

	mov		P1, #84H
	mov		R1, #255
	acall		retardo

	mov		P1, #80h
	mov		R1, #140
	acall		retardo

	mov		P1, #84h
	mov		R1, #60
	acall		retardo

	mov		P1, #80h
	mov		R1, #60
	acall		retardo

	mov		P1, #84h
	mov		R1, #80
	acall		retardo
	sjmp		inicio

retardo:
	mov		R2, #10
decr:
	djnz		R1, decr
decr1:
	djnz		R0, decr
decr2:
	djnz		R2, decr
ret


List of 10 messages in thread
TopicAuthorDate
AC Control Schematic here            01/01/70 00:00      
   AC control            01/01/70 00:00      
   GREAT!! It's working            01/01/70 00:00      
      final schematic            01/01/70 00:00      
      I Missed that            01/01/70 00:00      
         Totally right!            01/01/70 00:00      
   Zero crossing ?..            01/01/70 00:00      
   there is a 'preview' button'            01/01/70 00:00      
   read all about it            01/01/70 00:00      
      Dangerously! Connected to mains!!            01/01/70 00:00      

Back to Subject List