I charged my 18650 and installed it then plugged it into the Feather, I tried pressing the mode button but nothing, I checked J3 pin 4 GND to J2 pin 1 VBAT and I have voltage but the Feather will not turn on. If I plug the USB in I get power and green LED, unplug USB green LED goes off.
How to get Version 2 Feather working with a battery?
K2AAE I’m not sure where your configuration is at but P0.31 must be held high in your firmware. This is the default for the bootloader. Also if you intend on using this functionality the PS_EN pin next to TX must be left floating/unconnected.
jaredwolff I’m just compiling samples so this should apply: “This mains power supply operation with battery even if you’ve removed USB. There’s nothing extra you need to do to make this work. It’s built directly into every example built with the circuitdojo_feather_nrf9160ns board definition!”
I flashed v2-010421-1502-merged.hex it appears to be a program that test everything, when I press SW2 it tells me i pressed it, the blue LED is blinking all the time, it is reading the accel and on reset it checks flash and sets up the RTC then measures the battery.
I tried to look at what powers the green LED, it appears it is missing in the SCH-0015 REV 2 schematic
With the battery not installed the program shows 2434 mv
With the battery plugged in 4200mv
The green LED is on and the blue is flashing with v2-010421-1502 with USB and Battery, now the green LED is off, as I typed this.
With USB disconnected, battery plugged in the blue is still flashing.
I can hit reset and that stops the program, if I hold SW2 for a second and release the blue LED sometimes lights and stays blue, other times it starts flashing.
I thought solid blue was boot loader mode? Why would the boot loader appear on just pressing SW2?
I just checked, putting the feather into DFU is explained but not what the LED does, solid or blinks and which color.
K2AAE I tried to look at what powers the green LED, it appears it is missing in the SCH-0015 REV 2 schematic
The LED is connected to the charger IC.
K2AAE With USB disconnected, battery plugged in the blue is still flashing.
I can hit reset and that stops the program, if I hold SW2 for a second and release the blue LED sometimes lights and stays blue, other times it starts flashing.
I thought solid blue was boot loader mode? Why would the boot loader appear on just pressing SW2?
This is expected. If you hold the button for longer than 500ms it will go into bootloader mode. Less than 500ms it will start the main firmware program. The v1 bootloader did not have this delay so whenever you’d “wake” the device up it would go directly into bootloader mode.
Hope that makes sense!
jaredwolff It does now. I left v2-010421-1502-merged.hex that came from 1612877102-515080-v2-010421-1502-mergedhex.zip running on the battery, voltage at 4.203 volts (2/13), today (2/17 12:57) it is 3.983 volts. Now if there was a means to get it to send packets every 30 minutes …
Current battery: Panasonic NCR18650B 3400mAh
Est: 27.8 days at 2.8V shutdown, 15.8 days at 3.4V shutdown
Avg 0.05033 24Hrs.
Env: 15.5°C
Feather at 3.3V VDD&GPIO nRF9160
The nRF9160-DK operates at VDD 5V, GPIO @ 1.8V (Default)
K2AAE while I can get the sparkfun/version 2 to power on without usb attached, the orange led near the USBC connector comes on dimly and is burning power. Why? how do I prevent this?
David
@davidahoward1 that’s happening without the USB connector attached? This is for the Sparkfun version?