Karipain99
Newbie level 6
- Joined
- Jan 18, 2015
- Messages
- 14
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 107
Hello!
I would like to ask a question about connecting a digital output parallel to the positive of the power supply!
My application consist in keep the microcontroller turned on untill a certain message via CAN BUS is received even after turning off the switch.
so the idea was to put a digital output (with a diode in series) to high and connect it in parallel to the positive which energize the relay, thus when turning off the switch the digital output keeps the relay energized untill the specific data is received and then put the output pin to ground and auto disconnecting.
In attached a picture that maybe could help understand better what I've said!
my question :
Is it raccomanded to do like this?
P.Sigital output and battery have the same votlage 24V and the ground is common.
Thanks in advance!
I would like to ask a question about connecting a digital output parallel to the positive of the power supply!
My application consist in keep the microcontroller turned on untill a certain message via CAN BUS is received even after turning off the switch.
so the idea was to put a digital output (with a diode in series) to high and connect it in parallel to the positive which energize the relay, thus when turning off the switch the digital output keeps the relay energized untill the specific data is received and then put the output pin to ground and auto disconnecting.
In attached a picture that maybe could help understand better what I've said!
my question :
Is it raccomanded to do like this?
P.Sigital output and battery have the same votlage 24V and the ground is common.
Thanks in advance!