Hey guys, an update.
Ok, so from doing ALOT of reading over the last few days, usb enumeration is no simple task. For a standardised connector, it really isn't that standardised! So I decided to start from the basics again and wire up a simple usb circuit to see how much current I can actually pull from my computer without enumeration.
So from my mac mini, with a 13 ohm resister in series with the + wire from the USB, I can pull 320ma. It should be 385 but I guess the current drop is from a slightly smaller voltage than 5v. This is great, I don't need USB enumeration.
So from what I have read and learnt, most mains powered computers will deal with pulling 500ma no problem without USB enumeration. It would make this slightly less, say 450ma to ensure the USB port does not shut down.
The problem comes when you start to use a laptop USB port for charging as many of these are limited to 100ma due to shared USB buses. This is when enumeration comes in handy as you then communicate with the device and request 5 packets, or 500ma of power. This communication goes back and forth from the host to the device about 8 times (simplified) until the host resolves the device and allows it to withdraw the connected current. This involves coding a small IC to communicate, or I could maybe add the code lines to the main IC, problem is I am not experienced with C code, I use flowed and learning it is going to take too much time. If I try and withdraw 500ma from these devices using the same method as above, the USB port will shut down due to the 100ma cap before enumeration, which obviously isn't good enough for a product to be sold.
I think for the prototype I will just withdraw the 450ma straight off, and use a zener diode as a voltage regulator, stepping the 5V to 3.6V. Only me and my business partner are actually going to own a prototype so this is fine, I am thinking if I get the required funds from Kickstarter that I will just pay for someone to code and wire the charging aspects of the device before the final mass production design gets made. This to me seems sensible as I think experience is very important, something I lack of in the electronics field, especially charging circuits and battery management. I have got a lot of design work to get on with anyway. USB enumeration done by a professional would also open up the opportunity to do data handling etc, which would open up some new areas for the product which would be great.
Do you guys agree with this approach and what I have just said? I know I could learn it all and implement it, but running a business and designing the whole thing, time is of the essence.