Odd Problem with 120v Relay and B2 with BOE .?
Brann Fenix
Posts: 57
Let me start with the things I know and what I and the parts I am using.
1. My power is a 9v 300mA wall wart connected to the BOE.
2. I am using MPS2222A NPN Transistors.
3. The relay is a Gordos GBI 5600-601 240 vac 40 amp solid state relay that turns on with 3 to 30VDC.
4. I have everything hooked like the attached drawing posted by PJ Allen I found on another relay post.
5. I am trying to use the BOE and this little relay board I built to drive 4 of these 40amp relays and 2 Gordos 10amp relays.
6. I this is my first time working with relays and transistors…
Let me start off by saying that I’m sure there must be a ton of better/easier ways to do this if I ordered a few parts online. But, I have a Radio Shack 2 blocks from my house and I would rather work a little longer and harder to not have to sit and wait on the mail man. With that said here is my story…
I grabbed some transistors, resistors, screw terminals, and one of those little PCB boards. I then soldered a pin header to the PCB in order to connect to the BOE neatly and then hooked up my transistors like the drawing. Now, I connected my power to the Vss and Vdd sockets on the BOE and my transistor circuits are on pins 0 to 5. I pretty much have 6 transistors circuits living on that PCB between my BOE and the relays. I first tested my circuit with 6 LEDs before hooking it up to the relays. I planned on using the LEDs to show the status on the relays. The 6 LEDs all worked with my code and everything seemed great… until I noticed they seemed to flicker a little when I kept them on. I checked the outputs on my board that I build and all the solder points for shorts. I read pretty much 5v on all the screw terminals connect to the LEDs and found no shorts or wiring errors. They still flickered a little which was bugging me… I then hooked up my Solid State Relays and did some testing. I had the same stupid flicker, but this time it would be my 120v light bulb I was testing with rather than a little LED. I took out my meter and check all the relays on the BS2 side and everything was getting a steady 4.80v~5v DC which did not seem to be the problem… I then checked the current that the relays were drawing thinking maybe it was my power supply…. It was about 30mA per relay which puts me at like 180mA for all 6 relays.
I now officialy have no clue what could be causing this flicker and I humbly request to be whacked upside the head with the knowledge stick and get past this stupid problem heh… As always please let me know if I can provide anymore info or pictures… I’ll be near the computer messing with this most of the weekend…
Thanks in advance,
Brann
1. My power is a 9v 300mA wall wart connected to the BOE.
2. I am using MPS2222A NPN Transistors.
3. The relay is a Gordos GBI 5600-601 240 vac 40 amp solid state relay that turns on with 3 to 30VDC.
4. I have everything hooked like the attached drawing posted by PJ Allen I found on another relay post.
5. I am trying to use the BOE and this little relay board I built to drive 4 of these 40amp relays and 2 Gordos 10amp relays.
6. I this is my first time working with relays and transistors…
Let me start off by saying that I’m sure there must be a ton of better/easier ways to do this if I ordered a few parts online. But, I have a Radio Shack 2 blocks from my house and I would rather work a little longer and harder to not have to sit and wait on the mail man. With that said here is my story…
I grabbed some transistors, resistors, screw terminals, and one of those little PCB boards. I then soldered a pin header to the PCB in order to connect to the BOE neatly and then hooked up my transistors like the drawing. Now, I connected my power to the Vss and Vdd sockets on the BOE and my transistor circuits are on pins 0 to 5. I pretty much have 6 transistors circuits living on that PCB between my BOE and the relays. I first tested my circuit with 6 LEDs before hooking it up to the relays. I planned on using the LEDs to show the status on the relays. The 6 LEDs all worked with my code and everything seemed great… until I noticed they seemed to flicker a little when I kept them on. I checked the outputs on my board that I build and all the solder points for shorts. I read pretty much 5v on all the screw terminals connect to the LEDs and found no shorts or wiring errors. They still flickered a little which was bugging me… I then hooked up my Solid State Relays and did some testing. I had the same stupid flicker, but this time it would be my 120v light bulb I was testing with rather than a little LED. I took out my meter and check all the relays on the BS2 side and everything was getting a steady 4.80v~5v DC which did not seem to be the problem… I then checked the current that the relays were drawing thinking maybe it was my power supply…. It was about 30mA per relay which puts me at like 180mA for all 6 relays.
I now officialy have no clue what could be causing this flicker and I humbly request to be whacked upside the head with the knowledge stick and get past this stupid problem heh… As always please let me know if I can provide anymore info or pictures… I’ll be near the computer messing with this most of the weekend…
Thanks in advance,
Brann
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Learn somthing about everything, and Everthing about somthing-
Less likely it's the voltage available and more likely the current available. Check the loads of all these relays, vs. the ampacity of the paower supply you're using todrive them.
If this "flickering" is coming at or near the end of your program, that it another matter entirely.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
I was just testing if they powered up so I used this code:
Stupid me I should of learned something from working with my LCD a few months back... If I used the END command it would print this funky character on the screen every second or so... This was my flicker problem! If I ran my stupid little test in a loop... or my real code which uses loops the flicker goes away [noparse]:)[/noparse]
Thanks for kick starting my brain Bruce!