0

So i have to design a board around a dialog SOC (DA14681). The dialog part supports li-ion batteries, it has a charger and fuel gauge and USB detection (to power device in case both usb and dc voltage/li-ion connected at the same time). As part of the requirements, my board should be compatible with an arduino shield (so i need headers that are identical to arduino uno).

This then means i need to add the Vin pin present on an arduino. I will also need to generate the 3v3 and 5V rails. The dialog part generates a 3v3 rail but this is limited to 100mA so will have to generate the rails externally to the chip.

Could i boost the li-ion battery to 9V and treat it as the DC Jack voltage (connected to Vin through a diode?). Leave the rest of the circuitry as would be present on an arduino? Would this circuit work? My concern is that if li-ion is turned on, it will disconnect the USB voltage to the rails (the pfet) but the VBUS voltage will still be present. So the dialog part will be turned on by VBUS (USB) whilst the rails will be turned on by the li-ion.

Would i need protection circuitry for the li-ion (considering there is protection in the dialog part)?

Is there an easier way of doing this?

Sorry for the long question, i will be so grateful for the help or push in the right direction.

Having three voltage sources (li-ion, usb and Vin) complicates things here.enter image description here

Hasman404
  • 717
  • 6
  • 15
  • Why are you powering Vin? A normal arduino does not power Vin, it takes power from Vin (if theres a voltage source connected to it). – BeB00 Jul 05 '18 at 08:33
  • On a normal arduino, you can power the board up using Vin can't you? It can act as an input and an output(vout) i thought? – Hasman404 Jul 05 '18 at 08:35
  • 1
    It can act as an input, I haven't seen it act as an output. Why would you boost your battery to 9V? You're wasting loads of energy. Your board should be able to receive power from Vin, but shouldn't be putting any power out into vin. Also, Vin is certainly not guaranteed to be 9V. – BeB00 Jul 05 '18 at 08:39
  • I was trying to replicate an arduino circuit. The boost in my case helps me mimic the dc jack voltage which is around 9V. Doesn't the DC jack put power into Vin? (When you probe the Vin with DC jack powered on you can see the voltage minus a diode drop?) If i don't boost the battery, how else would i plug it into Vin? (Considering arduino shields would expect Vin to be 7-14V?) – Hasman404 Jul 05 '18 at 08:54
  • How else could i have a design which is powered from Vin/usb/li-ion. If i only have li-ion connected, it would need to somehow generate the 5V rail and 3V3 rail.. So some where i would need the boost to get atleast 5V – Hasman404 Jul 05 '18 at 08:57
  • 1
    Most shields don't use Vin, and those that do know it's not guaranteed to be 9V. As far as I'm aware, the only shields that do use it are high power ones like motor drivers. If you try to drive them from your boosted li-ion battery, youre probably going to run out of power very quickly, and might break your battery. You'll certainly need a very powerful regulator. Why not just boost to 6V through a diode into an LDO, and put Vin through another diode into the same 5V LDO? Obviously this will not be a very power efficient design, but it will work. – BeB00 Jul 05 '18 at 09:03
  • What is this for, anyway? Is your goal to make an arduino compatible DA14681 board that works with any shield and is also battery powered? Why do you need that? – BeB00 Jul 05 '18 at 09:04
  • I am trying to understand the DA14681 part a bit more. It has clever power management and bluetooth capabilities. Its sort of like making my own evaluation board using that part. Trying to maximise how much i can learn from the chip and then maybe use it more on specific applications. Do you mean connect the input of the LDO with both Vin and the boosted li-ion voltage? I understand it'll be misuse of design but wouldn't that be dangerous if someone plugs in both li-ion and Vin at the same time. This would mean 2 voltage sources at the same node (LDO input). – Hasman404 Jul 05 '18 at 09:20
  • Yes, I do mean that. I dont really think making an arduino compatible board is a great use of your time exploring the chip, but thats up to you. No, that wont be dangerous, because the diode protects the inputs from reverse voltage. – BeB00 Jul 05 '18 at 09:24
  • remotely related: [Question about multiple power buses in a USB device](https://electronics.stackexchange.com/a/57216/7036) – Nick Alexeev Jul 06 '18 at 22:35

0 Answers0