I have purchased a battery charger from Adafruit, to recharge the battery; and I would like to use it in my project. The item is this one: https://www.adafruit.com/products/1905
The idea would be to have the Teensy connected to this charger; so when the usb is connected the battery gets charged, and when I need to upload code, I hook up the USB to the Teensy and I do not need to remove the battery.
From what I understand, I can cut the trace to disconnect the power section coming in the USB cable, so it will just be used for data. But I am not sure how to wire the Teensy to that charger...I see the Vin, which accept up to 5V (and that charger has a 5V out, I believe, on the breakout pins, altho since it is coming from the battery, it will be about 4.3V); so the correct way to connect the Teensy would be to use the Vin pin and the GND on the opposite side ?
Then, if I use the 3.3V out on the Teensy, which GND should I use? The same one used to power the Teensy? the AGND? the GND on the pins on the other side of the usb connector (the one closed to Program and DAC pins).
I also see a 3.3V and a vBat pin, which I am not sure exactly what are they used for.
Could anyone guide me about what each of these ground and power pin does, so I use efficiently the Teensy and avoid to damage it? Thanks
The idea would be to have the Teensy connected to this charger; so when the usb is connected the battery gets charged, and when I need to upload code, I hook up the USB to the Teensy and I do not need to remove the battery.
From what I understand, I can cut the trace to disconnect the power section coming in the USB cable, so it will just be used for data. But I am not sure how to wire the Teensy to that charger...I see the Vin, which accept up to 5V (and that charger has a 5V out, I believe, on the breakout pins, altho since it is coming from the battery, it will be about 4.3V); so the correct way to connect the Teensy would be to use the Vin pin and the GND on the opposite side ?
Then, if I use the 3.3V out on the Teensy, which GND should I use? The same one used to power the Teensy? the AGND? the GND on the pins on the other side of the usb connector (the one closed to Program and DAC pins).
I also see a 3.3V and a vBat pin, which I am not sure exactly what are they used for.
Could anyone guide me about what each of these ground and power pin does, so I use efficiently the Teensy and avoid to damage it? Thanks