Almost there (need to double check the polarity of my capacitors on the voltage regulator).
I've just been trying to get my head around the various power options which I think I now have. If you look at the attached, I've now got a few jumpers defined. The one next to the voltage regulator lets you bypass it, so if you do feed it in a constant 5v, you don't have to loose volts going through it.
The other set lets you define whether power should come from the Epsruino to the Arduino shield (E>A), or whether power to the Arduino Shield should flow to the Espruino (A>E).
E>A
VBAT > VIN Pin > Voltage Regulator (probably set to bypass) > 5v
So by always sending volts in to the vin pin, then to the regulator, you can always power the arduino shield directly from the vin pin aswell, and it will still get regulated.
Obviously, if you jumper both at the same time, or opt to bypass the regulator whilst supplying more then 5v, you run the risk of damage, but I guess this is just down to people being careful?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Almost there (need to double check the polarity of my capacitors on the voltage regulator).
I've just been trying to get my head around the various power options which I think I now have. If you look at the attached, I've now got a few jumpers defined. The one next to the voltage regulator lets you bypass it, so if you do feed it in a constant 5v, you don't have to loose volts going through it.
The other set lets you define whether power should come from the Epsruino to the Arduino shield (E>A), or whether power to the Arduino Shield should flow to the Espruino (A>E).
So, these are setup as follows:
A>E
V+ > VIN Pin > Voltage Regulator > 5v Pin > VBAT Espruino
E>A
VBAT > VIN Pin > Voltage Regulator (probably set to bypass) > 5v
So by always sending volts in to the vin pin, then to the regulator, you can always power the arduino shield directly from the vin pin aswell, and it will still get regulated.
Obviously, if you jumper both at the same time, or opt to bypass the regulator whilst supplying more then 5v, you run the risk of damage, but I guess this is just down to people being careful?
So, can anyone see any flaws in my logic?
Cheers
Matt
1 Attachment