sqfmi / badgy

Home of Badgy - IoT Badge
http://badgy.sqfmi.com
MIT License
310 stars 61 forks source link

Works with USB power, not with battery? #20

Open codepope opened 6 years ago

codepope commented 6 years ago

Set up badgy on USB power, things behave as expected. Board LED glows flickers blue. Board boots up.

Popped a LIR2450 in with no USB connection and... nothing. Won't wake up, won't reset for new sketches, no LEDs glowing.

Pop in USB with LIR2450 in place, board LED glows bright blue (charging?) and board functions.

Any suggestions as to trouble shooting this?

sqfmi commented 5 years ago

Sorry about the delay, we've had trouble finding a fab that could mass produce the CP2014 adapter boards for us. We're in discussion right now with a promising vendor at the moment. We'll keep everyone posted on any new updates and an ETA when it becomes available.

chunkysteveo commented 5 years ago

That's good, was worried that the project had been abandoned. Do you have the board files available (the add-on board) for anyone that would like to make the CP2104 themselves?

sqfmi commented 5 years ago

Added GERBER files for the board https://github.com/sqfmi/badgy/tree/master/hardware/CP2104_Adapter

chunkysteveo commented 5 years ago

Brilliant, i'm sure it will help a lot of guys out. I may even try and solder one up...!

chunkysteveo commented 5 years ago

Only just spotted your link to the original board project on Oshpark, I could have used that link, apologies!!

Just out of interest, does anyone know the difference between the CP2104-F03-QFN and the CP2104-QFN? Assume the F03 is a new version, as the "non" F03 chips are cheaper?

ibuildrockets commented 5 years ago

I've just ordered the PCB from OHS Park - What's the difference between CP2104-F03-GMR and CP2104-F03-GM - does it matter? Just wanting to get the IC on the way, too :)

sqfmi commented 5 years ago

They are the same part, the difference is just in packaging (R stands for reel)

jcaron23 commented 5 years ago

@sqfmi

Are the boards currently sold on Tindie still suffering from this issue, or have they been updated?

Thanks!

sqfmi commented 5 years ago

@jcaron23 all new boards will come with the CP2104 instead of the CH340C, which does not have the battery issue.

FYI we found a fab to create the adapter boards for us, we are now waiting for the CP2104s to arrive so we can begin testing it out. If they work ok, we will be offering them to those who were affected by the issue.

rescueboards

chunkysteveo commented 5 years ago

Awesome news!!

MarquisdeGeek commented 5 years ago

Is there any alternate fix for those of us with the old board, as shorting the reset pin didn't work for me?

chunkysteveo commented 5 years ago

What's the difference between the CP2104-F03-QFN and the CP2104-QFN?

@MarquisdeGeek - you can snip the VCC pin of the CH chip to disable it. You will lose the ability to program it via USB though.

MarquisdeGeek commented 5 years ago

@chunkysteveo - Thanks, but that's a bit drastic for me!

emanuelstanciu commented 5 years ago

@sqfmi Hi, I have one of the blue PCB models which was bought in July last year and I suffer from exactly the same behaviour as described on this post. Any idea what's happening? Works fine on USB power, but on Battery simply flashes the ESP blue LED and the nothing happens. Any pointers are greatly appreciated - if it helps: Tindie Order #115523

chunkysteveo commented 5 years ago

@emanuelstanciu - I would recommend starting a fresh issue with this problem. This issue is related to the USB to serial chip not allowing the ESP8266 to boot when on battery. The blue PCB version does not have any USB to serial chip, so whatever issue you are seeing, it isn't to do with this issue. I don't want your issue to be lost in this bigger post!

If the blue light flashes, that would indicate that it has booted and is powered. Something else is not working here?

Steve

pingywon commented 5 years ago

Any resolution here? I just got my badgy and was under the impression that the white REV B board did not suffer from this problem. I just got some fresh batteries and Badgy doesnt work at all on battery power.

Can someone please advise.

sqfmi commented 5 years ago

Hi @pingywon, are you using LIR2450 batteries?

pingywon commented 5 years ago

Not exactly. I have CR2450s

sqfmi commented 5 years ago

You must use the LIR2450. The CR2450 is not rechargeable, and is also not the right voltage (3.0V), Check out the README for more details.

pingywon commented 5 years ago

OK Great. So My original assumption that the issue has been resolved in my Badgy is correct?

chunkysteveo commented 5 years ago

Yeah, REV B does not suffer the power issue on battery when using a. LIR2450 rechargeable battery.

Carltk commented 5 years ago

What ever happened to the offer from March 1 about the CP2104 adaptor boards. Do we have to do anything to register our interest? I have 2 of the affected boards.

sqfmi commented 5 years ago

Hey @Carltk, send us a message with your Tindie order number and we'll ship the adapter boards to your mailing address. Thanks!

Springwald commented 4 years ago

I also have 2 badgys with this issue. Any chance to get the adapter boards? Thanks!

sqfmi commented 4 years ago

Hey @Springwald, send us a message with your Tindie order number and we'll ship the adapter boards to your mailing address. Thanks!

MarquisdeGeek commented 4 years ago

What is the preferred channel to send the message, since I also need an adapter board? Thanks.

sqfmi commented 4 years ago

Hey @MarquisdeGeek , reach out to us via Tindie with your order number, and we'll ship the adapter boards to your mailing address. Thanks!