Two triacs and two EL Panels turning off when only one should turn off

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Dawn
 
Posts: 9
Joined: Sun Dec 05, 2010 1:50 am

Two triacs and two EL Panels turning off when only one should turn off

Post by Dawn »

I ordered two el panels and an inverter from adafruit. The inverter that I received with the el panels has two separate connectors, one for each el panel. My set up it, I have two optoisolators, one is connected to pin 7 and one is connected in pin 6 on my arduino uno. Each optoisolator is connected to a triac. I also have a pushbutton. I have it set up so that when the pushbutton is high one panel is high and the other is low. However, what is happening that that they are both turning off. I am not sure how that inverter is set up but it seems like since there are two seperate wire then, each should be independent of each other. However, since they are both turning off I assume that they are in series.

Does anyone have anyway to wire it so that only one turned off instead of both?

Thank you,

Dawn

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by Franklin97355 »

You don't say which inverter but I suspect the two leads are tied together and are for convenience only. If you connect them so they would be open when off it should work. Show us how you have things connected and perhaps we can give you other options.

Dawn
 
Posts: 9
Joined: Sun Dec 05, 2010 1:50 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by Dawn »

I have attached a picture of the inverter that I am using to power my EL panels with since I could not find a picture of that I received on the website. I also drew a quick schematic and took a picture of the set up. However the difference of the actual set up is that in the schematic and picture, I have one more el panel. I just removed the other el panel for testing purposes.

The components that I am using to control the el panels are;
Triac MAC-97A4
NTE3044 Optoisolator Darlington Pair

I hope that it is clear and if there is any confusion or if it would be to clarify anything let me know.

Thanks for you help,

Dawn
Attachments
Schematic
Schematic
001.jpg (115.64 KiB) Viewed 888 times
picture of actual components
picture of actual components
breadboard.jpg (364.49 KiB) Viewed 888 times
Inverter arrived with EL Panals from Adafruit
Inverter arrived with EL Panals from Adafruit
inverter.jpg (276.41 KiB) Viewed 888 times

User avatar
zener
 
Posts: 4567
Joined: Sat Feb 21, 2009 2:38 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by zener »

If I understand correctly, when you push a remote transmitter,that will cause pins 6 and 7 on the processor to toggle, and that will turn triacs on and off, alternately. Is that right?

If so, are pins 6 and 7 transitioning as you expect?

Dawn
 
Posts: 9
Joined: Sun Dec 05, 2010 1:50 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by Dawn »

I have it set up is when I push the push button once the transmitter sends a -1. Which will turn the el panel on my right on and the el panel on my left off. When I press the push button twice, the transmitter sends -2. This is meant to turn the el panel on my left on and the right off.
I got this to work fine with just one panel, but when I try with both, they both are on instead of one off and one on.

I am thinking it has something to do with the inverter and a common ground but just can't seem to set up up right?

User avatar
zener
 
Posts: 4567
Joined: Sat Feb 21, 2009 2:38 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by zener »

Zener wrote:are pins 6 and 7 transitioning as you expect?

Dawn
 
Posts: 9
Joined: Sun Dec 05, 2010 1:50 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by Dawn »

No.

User avatar
zener
 
Posts: 4567
Joined: Sat Feb 21, 2009 2:38 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by zener »

You need to test each subsystem independently. First make sure the receiver is outputting anything. Then make sure the CPU is receiving that. Then make sure the pins 6 and 7 are acting correctly. Then test the triacs seperately and make sure they can control the EL. Once all that is working then you can put it all together.

Right now I am guessing you have a software issue in receiving and interpreting the radio message. That is assuming the radio receiver is working. You need to test that first.

Dawn
 
Posts: 9
Joined: Sun Dec 05, 2010 1:50 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by Dawn »

I did try them independently. It works fine with one or the other but not with both of them. The receiver is getting the right signal for the right number of click, I am double checked the received input with serial.print. If I push the button once I get -1 twice I get -2.

User avatar
zener
 
Posts: 4567
Joined: Sat Feb 21, 2009 2:38 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by zener »

But if pin 6 and 7 don't act correctly then that is a software problem not an inverter problem. Yes?

Dawn
 
Posts: 9
Joined: Sun Dec 05, 2010 1:50 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by Dawn »

But why does it all work fine when there is one panel and does not work fine when I add two?

User avatar
zener
 
Posts: 4567
Joined: Sat Feb 21, 2009 2:38 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by zener »

So, pins 6 and 7 act correctly when 1 inverter is attached?

Dawn
 
Posts: 9
Joined: Sun Dec 05, 2010 1:50 am

Re: Two triacs and two EL Panels turning off when only one should turn off

Post by Dawn »

Phew, finally solved the issue. The wiring from the triac to the el panel was incorrect.

Thanks,

Dawn.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”