On Thu, Nov 19, 2015 at 10:12:33PM -0800, Bryce Wilson wrote:
> Basically what I am doing is building a battery charger for project ARA battery
> modules.
That's going to be tricky if you want to charge it through the "main"
connector, but there might be ways to get it to work without having to
deal with emulating a whole "host" device, but it will take some work
and experimenting.
> you said "You don't have to "write" any new code, just use everything
> that is already provided (firmware / kernel) code for you, you
> shouldn't have to write any new code for something as simple as a
> battery."
Yes.
> I tried that and it is not that easy on the Arduino.
The Arduino is not a "real" system that any of the above mentioned code
could ever dream to run on.
> I understand how everything works with the unipro network and I have
> read the MDK.
Great, so you see how that will not work with an Arduino :)
> I am trying to bypass the unipro network so I can charge a battery
> module with only the cost of say a camera battery charger (or a bit
> more for the more complex module system). I guess I wrote it wrong I
> want to make a charger for the battery and to do that without breaking
> the battery I want to know how full it is so I can stop charging when
> it is full.
As I said above, there might be ways to do this by ignoring the Unipro
connection and just using the power lines, but I'm not an EE, so I can't
tell you how to do that at all, sorry, I just know a bit about the
software involved in the system.
Good luck!
greg k-h