Another QuickStart external power question (or two).
abecedarian
Posts: 312
Background:
With my EFI project, the ECU gets 12v-15v from the motorcycle. The MC33814 chip being used on the board has a built in regulator that provides two 5v supplies- one only regulated, intended to power the MCU, and the other regulated and protected against shorts, et cetera, used for external sensors. For prototyping, I'm using a QuickStart board.
The ECU will have a 12v connection and the electronics are switched on or off by the key switch. So, always-on 12v, part time 5v.
What I'd like to accomplish is have the QS board be able to use USB to PC in 3 different scenarios: ECU on the bike but key off, ECU on the bike with key on and ECU disconnected from the bike. The first and last situations would require the QS to receive power from USB while the second precludes power from USB.
I'm thinking that if the /USB_POWER_ENABLE pin can be tied to the 12v supply somehow, this would be the simple solution as that would inhibit USB power any time the ECU is connected to the bike, running or not, and allow USB power if the ECU is off the bike / 12v source.
If this is feasible, would a pull-up resistor of 10K (or ???) ohm between /USB_POWER_ENABLE and 12v suffice?
I'm also open to suggestions.
Thanks.
With my EFI project, the ECU gets 12v-15v from the motorcycle. The MC33814 chip being used on the board has a built in regulator that provides two 5v supplies- one only regulated, intended to power the MCU, and the other regulated and protected against shorts, et cetera, used for external sensors. For prototyping, I'm using a QuickStart board.
The ECU will have a 12v connection and the electronics are switched on or off by the key switch. So, always-on 12v, part time 5v.
What I'd like to accomplish is have the QS board be able to use USB to PC in 3 different scenarios: ECU on the bike but key off, ECU on the bike with key on and ECU disconnected from the bike. The first and last situations would require the QS to receive power from USB while the second precludes power from USB.
I'm thinking that if the /USB_POWER_ENABLE pin can be tied to the 12v supply somehow, this would be the simple solution as that would inhibit USB power any time the ECU is connected to the bike, running or not, and allow USB power if the ECU is off the bike / 12v source.
If this is feasible, would a pull-up resistor of 10K (or ???) ohm between /USB_POWER_ENABLE and 12v suffice?
I'm also open to suggestions.
Thanks.
Comments
— David Carrier
Parallax Inc.
I generally (actually always) disconnect power whenever I plug a USB cable into the QuickStart. It would be nice if there were an easy way to leave the power connected.
— David Carrier
Parallax Inc.
Well that's a bummer though; I have a Rev A. Any suggestions that may help accomplish what I'm looking at?