Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Community Manager
1,481 Views

Battery charging through USB-OTG, DC-DC step up main supply

Dear all,

Please review the connection diagram which I made to meet the following requirement;

1) 3.7 V LiPo battery as power supply

2) Should be able to connect USB mouse

3) Should be able to charge battery through USB

I'm using Intel Edison mini breakout board. As the USB mouse require more than 7V to be supplied to connector J21 of the edison, I'm planning to use DC-DC step up converter with the 3.7V LiPo battery. For charging the battery, I will simply plug-in a 5V charger adapter with USB-OTG connector at J16. On the other end of a second USB-OTG connector which goes to the same J16, I'm planning to connect the USB mouse.

Is there any potential issues with this approach? Please find the connection diagram.

Thanks&Regards

Ajish

0 Kudos
11 Replies
Highlighted
Community Manager
19 Views

I would be really great if anybody review the above connection diagram, or please suggest me where should I post this query to get a definite reply.

0 Kudos
Highlighted
Community Manager
19 Views

Hello Ajish,

 

 

Thank you for interest in the Intel® Edison Breakout Board.

 

 

In order to make sure that your setup is capable of performing the tasks that you pointed out, I'll recommend you to read the following document http://download.intel.com/support/edison/sb/edisonbreakout_hg_331190006.pdf. In it you can see some practical recommendations, such as using a lithium battery with a built-in thermistor. It also explains that when using the Edison as a host you most supply external power via J21.

 

 

There is a thread that you may find useful, in https://communities.intel.com/thread/55825 https://communities.intel.com/thread/55825, community members David_J_Hunt and toadaze comment on using a DC-DC converter and a 3.7 V LiPo.

 

 

Also, I found a project by David_J_Hunt, with a setup similar to yours (Edison mini breakout board + DC-DC converter + LiPo battery + USB OTG), you can check it here http://www.davidhunt.ie/first-intel-edison-project-dslr-camera-controller/.

 

 

Reply to this thread in case you think you need further assistance or if you'll like to share your experience, we will really appreciate that.

 

 

Regards,

 

Andres
0 Kudos
Highlighted
Community Manager
19 Views

Hi Andres,

Thanks you very much for your reply.

The reference projects that you've shared doesn't mention charging the LiPo battery using Edison board, through USB port, when the edison is running with DC-DC converter. Anyway I'm going to try this out and will share the result in couple of days.

Thanks & Regards

Ajish

0 Kudos
Highlighted
Community Manager
19 Views

Hello Ajish,

 

 

We really appreciate any results that you can share with the community.

 

 

If you check the Intel® Edison Breakout Board hardware manual ( http://download.intel.com/support/edison/sb/edisonbreakout_hg_331190006.pdf), page 7, you can see the following paragraph:

 

 

When you attach a rechargeable lithium-ion battery, the breakout board will recharge the battery whenever power is applied via J21 or J22, or via J3 (when the board is attached to a USB host).

 

 

You'll need to analyze the DC-DC converter you have available in order to be sure that it does not alter the aforementioned behavior.

 

Reply to this thread in case you think you need further assistance.

 

 

Regards,

 

Andres
0 Kudos
Highlighted
Community Manager
19 Views

Hi Andres,

As you've mentioned in your last response, I've tried to charge the LiPo battery through J3, unfortunately that is not happening. As per my observation battery charging happens through J16, not through J3.

From hardware guide also its given that you can use J3 for battery charging, but not mentioned about J16.

"When you attach a rechargeable lithium-ion battery,

the breakout board will recharge the battery whenever power is applied via J21 or J22, or via J3 (when the

board is attached to a USB host)"

So is there anything that I'm missing or is it just a typo in the document?

Please confirm.

Thanks & Regards

Ajish

0 Kudos
Highlighted
Community Manager
19 Views

Hello Ajish,

 

 

You are right, there is a typo in the document, and it has even been discussed in a previous thread: https://communities.intel.com/message/367020# 367020 https://communities.intel.com/message/367020# 367020.

 

 

It should be J16 instead of J3, thank you for pointing that out.

 

 

I hope that we hear more about your project through this community.

 

 

Regards,

 

Andres
0 Kudos
Highlighted
Community Manager
19 Views

Hi all,

To meet the requirements which I've initially posted, I end up doing the following circuit. This circuit runs the intel edison and optical mouse with 3.7v battery, and 9v adapter can be used to charge the battery.

0 Kudos
Highlighted
Community Manager
19 Views

Still I've an issue with this,

Suppose when the battery drains completely and the edison got switched off, next time when I connect the 9v adapter the edison is not booting-up, it remains in charging mode (i guess) till i press the reset switch.

But in my case due to certain reasons, i don't want anyone to press the reset switch. I want the edison to bootup directly from any conditions whenever i turn on the 9v adapter.

Please guide me how to do that. Do i need to disable something during the bootup sequence of Linux, or do i need to modify the bootloader itself, or is there any easy solution?

0 Kudos
Highlighted
Community Manager
19 Views

Hello Ajish,

 

 

Thank you for sharing the new circuit of your project.

 

 

After reading your post, I think that you should check this link https://communities.intel.com/docs/DOC-111103 https://communities.intel.com/docs/DOC-111103, it describes how to create a system service. A system service is a method to start automatically a script, package or program on boot. You can test the blink example provided to see if it suits your needs, and then apply the knowledge to your program.

 

 

Regards,

 

Andres
Highlighted
Community Manager
19 Views

Thanks Andres for sharing this information.

I think there is some script which is runs and keeps the device in charging only mode, preventing it from booting until the user presses the reset switch. In Android OS, some people claim to have bypassed this during start up of a mobile phone by deleting a binary file 'system/bin/charge_only_mode'. Any similar solution possible in Intel Edison ?

0 Kudos
Highlighted
Community Manager
19 Views

Hello Ajish,

I couldn't find any similar solution in the Intel Edison. I'll suggest you to try the system service alternative.

Regards,

 

Andres
0 Kudos