That is curious. Obviously the original idea was that it was OK and they provided a way to upload like that.
Presumably someone has spotted problem could occur.
I have had no problem using USB and battery, so far.
pigraham wrote:That is curious. Obviously the original idea was that it was OK and they provided a way to upload like that.
Presumably someone has spotted problem could occur.
I have had no problem using USB and battery, so far.
Except for the dodgy USB cable after you removed the battery...
I don't have my own codebugs yet (still waiting, Grrr) so I can't comment but I guess I'll get some thin strips of rigid plastic to act as an impromptu off switch for the battery.
pigraham wrote:That is curious. Obviously the original idea was that it was OK and they provided a way to upload like that.
Presumably someone has spotted problem could occur.
I have had no problem using USB and battery, so far.
Except for the dodgy USB cable after you removed the battery...
I don't think that is related. That lead seems to have an intermittent fault and it's replacement has worked OK with or without the battery.
mikerr wrote:I think the flexibility of powering from many sources (USB / Vcc header / PWR legs) has caused a bit of a dangerous situation
if you're not careful
Presumably the same applies for a battery connected codebug ?
I saw that one, I would guess that the codebug power lines from the microUSB, tether connector and battery are all connected internally.
When the USB is connected you put 5V onto the battery (Bad) or Pi 3V3 (Bad) connections. If the Pi was connected at the same time as a battery you would be putting 3V3 onto the battery, which isn't going to do it any favours (but may not cause instant death).
When the USB is connected you put 5V onto the battery (Bad) or Pi 3V3 (Bad) connections. If the Pi was connected at the same time as a battery you would be putting 3V3 onto the battery, which isn't going to do it any favours (but may not cause instant death).
Not according to the schematic. Both the USB power line and the battery line contain diodes to separate them from each other. Connections to the Pi should not involve the CodeBug's power line at all.
mikerr wrote:Leave the battery in while connecting to usb or not ?
I'm a bit confused as to whether it's "safe" to leave the battery in while connected via USB or not.
I have the same confusion. Whilst diode protection sounds like the panacea to problems of different voltages, I wonder why the official warning...There is presumably some concern. Perhaps the diodes don't protect it fully?
I find the battery difficult to remove from its slot, and would appreciate not having to remove it every time I want to plug in the USB! Is there some official guidance that we could see from the designer?
richardcw wrote: Perhaps the diodes don't protect it fully?
This is probably true - primary (non-rechargeable) coin cells cannot handle any reverse current, at all. Even a few microamps back through a diode can be bad. They can catch fire, with very toxic smoke/fumes and residues if they do.