Such a FET already exists in the IOIO-OTG, however, this will also cause the USB connection to get dropped, which is I assume not what is desired in this case. On Feb 7, 2014 9:06 AM, "Nishant Sood" <[email protected]> wrote:
> Fabrio, > > If you want to control charging of the android programmatically (in the > hardware it cuts off only when full charge automatically) then I would > suggest controlling the power going to the android controlled using a power > mosfet switched programmatically when you sense the system has gone to > battery backup > > > On Fri, Feb 7, 2014 at 10:28 PM, Ytai Ben-Tsvi <[email protected]> wrote: > >> I don't know if there's a programmatic way to disable charging on the >> Android. >> What you *can* do, however, is detect the power fault condition and put >> the phone to sleep. It should take very little current at this mode, >> assuming the battery was previously fully charged. >> >> >> On Fri, Feb 7, 2014 at 7:49 AM, fabrio pellegrinetti <[email protected]>wrote: >> >>> >>> hello to all. >>> during the development of my home automation project, I came across the >>> problem of the power supply of Android and ioio which must be separated. >>> my board provide power supply of 14V 2A with a transformer 220V to 14V >>> and one backup battery of 1200mAh and 12V recharged from the transformer. >>> When the the power line is off, the battery must supply power at the >>> ioio, but he mustn't to the android. >>> For now I use Y split cable power supply double USB A and one usb micro. >>> >>> Micro usb connected to the android, first usb to ioio and second usb to >>> another standard android power supply. the poteziometer Vbus is set to >>> minimum in accord to the usb debug survey. >>> Problem is when the system goes on battery the an amount of mA goes to >>> the standard android power supply and this reduce backup battery charge >>> What I would like is to be able to check the current Vbus, from java >>> code from a ioio embedded digital potenziometer. >>> >>> so when detect power failure, I can dinamically reduce Vbus current. >>> >>> thanks >>> best regards >>> >>> fabrio >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "ioio-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/ioio-users. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "ioio-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/ioio-users/s_NY9im_SVY/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/ioio-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > *Thanks & Regards,* > > *Nishant Sood* > *--* > *CEO and Founder* > > *Winacro Innovation's Inc.* > *----------------------------------------* > *www.winacro.com <http://www.winacro.com>* > *----------------------------------------* > *Contact's:* > *Mobile: +91-8447476798 <%2B91-8447476798>* > *Phone: 0129-4176798* > *Email: [email protected] <[email protected]>* > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/groups/opt_out.
