Gemma M0 battery

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
julasera
 
Posts: 4
Joined: Mon Jul 18, 2022 4:58 pm

Gemma M0 battery

Post by julasera »

I am having trouble getting my Gemma M0 to run off the battery. I have a couple of different lipo batteries at 3.7V (one is 1200mAH the other is 120mAH) which should work to power the gemma but it's not working. The LED goes green - orange, flashes a few times then flashes blue and green instead of cycling through the colors. I have also tried a USB battery pack with the same result. It only seems to run when plugged into my computer over USB.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Gemma M0 battery

Post by adafruit_support_carter »

Were the batteries sourced from Adafruit? Unfortunately, there is variance in batteries from different suppliers. Not all of them have the same polarity, etc.

User avatar
julasera
 
Posts: 4
Joined: Mon Jul 18, 2022 4:58 pm

Re: Gemma M0 battery

Post by julasera »

Yes, they were sourced from Adafruit. The polarity looks correct, the red wire is on the terminal that shows the + on the jst connector.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Gemma M0 battery

Post by adafruit_support_carter »

OK, should be good then.

What code is running on the Gemma? Is it CircuitPython or Arduino?

User avatar
julasera
 
Posts: 4
Joined: Mon Jul 18, 2022 4:58 pm

Re: Gemma M0 battery

Post by julasera »

CircuitPython . It's running the default code it shipped with. I haven't made any modifications.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Gemma M0 battery

Post by adafruit_support_carter »

Try removing the battery for now. Then connect the Gemma to a PC with a known good USB cable. Then double press the reset button. See if you can get the GEMMABOOT folder to show up. Like shown here:
https://learn.adafruit.com/adafruit-gem ... rt-2979187

User avatar
julasera
 
Posts: 4
Joined: Mon Jul 18, 2022 4:58 pm

Re: Gemma M0 battery

Post by julasera »

That helped! Thank you

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Gemma M0 battery

Post by adafruit_support_carter »

Cool. There may have just been something happening with the running code. The pattern on the NeoPixel could have been this:
https://learn.adafruit.com/welcome-to-c ... ht-2978455

If it acts up weird again, can response back here and we'll take a look. But in general, it seems like the hardware is OK. Getting in weird states like this can happen from time to time, so it's good to know how to recover. As long as you can get the GEMMABOOT folder to show up, should be recoverable.

Locked
Please be positive and constructive with your questions and comments.

Return to “Trinket ATTiny, Trinket M0”