Real battery switch turning off Real gear lights
-
- Posts: 581
- Joined: Mon Sep 07, 2020 8:49 am
Re: Real battery switch turning off Real gear lights
Let's pretend this is not even part of my sim and I want to just shut off the 15v side with any of the arduinos I have.
Re: Real battery switch turning off Real gear lights
If you have an external PSU for the arduino then let me know ?
Is it 5V or a 9V (ish) barrel plug type ?
Is it 5V or a 9V (ish) barrel plug type ?
Joe. CISSP, MSc.
Re: Real battery switch turning off Real gear lights
No , lets not .... it is best done with either a mechanical or solid state relay and both require power - and not from the meanwell.Kaellis991 wrote: ↑Sun Sep 25, 2022 1:44 pm Let's pretend this is not even part of my sim and I want to just shut off the 15v side with any of the arduinos I have.
Joe. CISSP, MSc.
Re: Real battery switch turning off Real gear lights
also, if you power the arduinos from USB then is it usb 2 or 3 ?
Joe. CISSP, MSc.
-
- Posts: 581
- Joined: Mon Sep 07, 2020 8:49 am
Re: Real battery switch turning off Real gear lights
The only arduinos I have with the barrel connector is a Mega 2560 and an UNO. I am not using the MEGA in the sim but I am using one UNO.
All the other arduinos I have are NANO, Micro, Leonardo, and NANO EVERY (not supported by AM)... which do not have the barrel connector.
I do have an extra UNO with the barrel connector that is not being used for anything.
-
- Posts: 581
- Joined: Mon Sep 07, 2020 8:49 am
-
- Posts: 581
- Joined: Mon Sep 07, 2020 8:49 am
Re: Real battery switch turning off Real gear lights
Yes, I understand that part...the arduino connects to the relay to activate the coil / magnet that then closes the higher voltage side...correct?jph wrote: ↑Sun Sep 25, 2022 1:47 pmNo , lets not .... it is best done with either a mechanical or solid state relay and both require power - and not from the meanwell.Kaellis991 wrote: ↑Sun Sep 25, 2022 1:44 pm Let's pretend this is not even part of my sim and I want to just shut off the 15v side with any of the arduinos I have.
Re: Real battery switch turning off Real gear lights
Correct, but the relay coil needs power. Sometimes up to 100 mA. That is pushing it on USB 2 - or a lot of USB 2 ports.
You could use a P Channel power mosfet and an output from the darlington array to switch it, that would work.... and it would take bugger all current.
A P channel mosfet, a 4.7K (ish) resistor and a spare port on the ULN - do you have a spare port on the ULN ?
You could use a P Channel power mosfet and an output from the darlington array to switch it, that would work.... and it would take bugger all current.
A P channel mosfet, a 4.7K (ish) resistor and a spare port on the ULN - do you have a spare port on the ULN ?
Joe. CISSP, MSc.
-
- Posts: 581
- Joined: Mon Sep 07, 2020 8:49 am
Re: Real battery switch turning off Real gear lights
Yes I am only using 6 ports on the ULN. (2) for the magents and (4) for the landing gear lights.jph wrote: ↑Sun Sep 25, 2022 2:03 pm Correct, but the relay coil needs power. Sometimes up to 100 mA. Tht is pushing it on USB 2 - or a lot of USB 2 ports.
You could use a P Channel power mosfet and an output from the darlington array to switch it, that would work.... and it would take bugger all current.
A P channel mosfet, a 4.7K (ish) resistor and a spare port on the ULN - do you have a spare port on the ULN ?
I think it would be a good educational project to make a mosfet board. I think I even have the mosfet.
Re: Real battery switch turning off Real gear lights
Oh goodie
It MUST be a P Channel... can you check what you have and give me the part number ?
Meanwhile I will draft a detailed schematic with my schematic editor....
It MUST be a P Channel... can you check what you have and give me the part number ?
Meanwhile I will draft a detailed schematic with my schematic editor....
Joe. CISSP, MSc.