Join Date: Mar 2010
Location: Somewhere in the cold, frozen north
...Also thanks to Chris, I found that there is an issue with the analog to digital calculations which I did not noticed on V1, but which is an issue on V2 (in particular the Nano V3 board) when connected to USB power. When using the LM2940 5V voltage regulator, i.e. on the motorcycle, this is a non-issue.
It has to do with the internal voltage (VCC) on the board. IT seems on Nano V3 the VCC is much less than 5V, causing voltage calculations to skew considerably...
Doesn't the Arduino have an internal voltage regulator? Shouldn't it be providing a stable Vcc regardless of the power source?
Is the Arduino expecting USB voltage to already be regulated, and therefore Vin from the power jack goes through the regulator, but not the Vin from the USB port? That's kinda a poor design for the reasons you mention above if that's the case, but I'm only an interested neophyte in the EE world, so maybe there's something I'm missing that explains why it's working that way.
DL650 K9:[LIST][*]SW-Motech crash bars, skidplate, side carriers, 12V power outlet,[*]Pelican 1430 cases,[*]Tech-Mount PDA holder,[*]Oxfords Sport heated grips,[*]Axio tail bag[*]Shinko 705 front and rear (Conti Trail Attacks currently fitted for a long road trip)[*]Richland Rick fork brace[*]Loobman chain oiler[*]Aftermarket DRZ400 footpegs[/LIST]
[URL="http://ak-vstrom.blogspot.com/search/label/XS750%20project"]1977 Yamaha XS750 -- project bike[/URL]