hi to everyone,
I have a relay being used to switch between two different DC sources because the point of this is to have a battery backup type of circuit. The circuit attached is what I have.
The relay is of a mechanical type (12V Spdt) where the NC is connected to the battery and the NO is connected to the open. So, when there is 12V available it will switch to that and continue with the process.
The problem I'm having is that the output of this relay, regardless whether it is 9V or 12V, is going to be fed to a 3.3V regulator to power up my microcontroller. When the switch occurs, during the laps of the switching there is a time in which power goes to 0V or something small and my uC loses power. I've attached a 1000uF capacitor on the output of relay thinking it would be enough to mantain some voltage and prevent microcontroller to reset.
It's come to my attention that there are solid state relays. Will I need to implement one of those instead, since they don't have mechanical parts that need to move? How are these connected? Are there SPDT relays of the solid state kind out there that I can use for this purpose? or what can I do to fix this problem?
Thank you very much
--in regards to the schematic, where it says "RelayOUT" on pin 3 this is the output pin to 3.3V regulator to power the microcontroller. Pin 4 is the 9V battery input, pin5 is 12V, and pins 1 and 2 are the coil ends.
I have a relay being used to switch between two different DC sources because the point of this is to have a battery backup type of circuit. The circuit attached is what I have.
The relay is of a mechanical type (12V Spdt) where the NC is connected to the battery and the NO is connected to the open. So, when there is 12V available it will switch to that and continue with the process.
The problem I'm having is that the output of this relay, regardless whether it is 9V or 12V, is going to be fed to a 3.3V regulator to power up my microcontroller. When the switch occurs, during the laps of the switching there is a time in which power goes to 0V or something small and my uC loses power. I've attached a 1000uF capacitor on the output of relay thinking it would be enough to mantain some voltage and prevent microcontroller to reset.
It's come to my attention that there are solid state relays. Will I need to implement one of those instead, since they don't have mechanical parts that need to move? How are these connected? Are there SPDT relays of the solid state kind out there that I can use for this purpose? or what can I do to fix this problem?
Thank you very much
--in regards to the schematic, where it says "RelayOUT" on pin 3 this is the output pin to 3.3V regulator to power the microcontroller. Pin 4 is the 9V battery input, pin5 is 12V, and pins 1 and 2 are the coil ends.
Attachments
-
29.5 KB Views: 110