Power Puck without battery holder? #4270
Replies: 1 comment
-
Posted at 2023-10-26 by @gfwilliams Yes, you can just power it from the 3v+GND pins. However, the maximum rated voltage of all the components is 3.6v so ideally you shouldn't exceed that. With a LiFePo4 battery it looks like you can get up to at least 3.65v when charging? The 'Absolute Maxiumum' voltage for the nRF52 chip is 3.9v (and the mag/acc/temp sensor are higher) so you probably could run the Puck just fine (especially if the max really was 3.65v), however it's not something I would recommend (and I wouldn't replace one if it broke doing that!). Posted at 2023-10-26 by DanDyse Perfect, thanks alot! Posted at 2024-02-05 by DanDyse Another question ... I'll put it here because it has similar subject. When using NRF.getBattery() the result differs everytime in such ranges that make it hard to consider them real. So I have tried checking multiple times and using the average like this (found it somewhere here in a post):
However, this results in values much to high most of the time. What would be the right calculation to get a decent value for LFP cells? Posted at 2024-02-06 by @gfwilliams I think
So what you need is The voltage there should correspond pretty well to what you get if you google "lifepo4 discharge curve" Posted at 2024-02-06 by DanDyse Thank you Gordon, when I use a single E.getAnalogVRef() it returns a much to high value (measured 332 with multimeter). But when I add multiple values and check average, it gets lower the more I use, e.g.:
How come? Shall I make a delay between? Posted at 2024-02-06 by @gfwilliams Are you really seeing the value
Posted at 2024-02-06 by DanDyse yeah it is 3.82 sorry Posted at 2024-02-06 by @gfwilliams Do you have definitely a direct connection between the battery and the Puck? It feels almost like the Puck is connected by a big resistor, so the more power it's drawing, the more the voltage drops? What happens if you turn a LED on on the puck, and then take a reading - what value do you get? Posted at 2024-02-06 by DanDyse Strange. I have tested different batteries now including the original CR2032, which shows correct values! The LFP batteries I use have over-& undervoltage protection AND they have a small circuit connected for charging. The circuit output is connected directly to the battery and therefor to the puck as well. This one is supposed to be "doing something" only when a charging cable is connected but seems to interfere nevertheless. Need to think how I can prevent it from doing so. Posted at 2024-02-08 by DanDyse Gordon, apart from the charging circuit ... how come the voltage is different (lower) the more often I run the function E.getAnalogVRef()? Does it "draw" as much power as possible, then measures, then "undraws" again? If so, better don't measure to often to keep consumption lower? Posted at 2024-02-08 by @gfwilliams I think it's just that when you've executing JS the chip is drawing more power and that's depleting the voltage in the capacitors, so the more times you read the more it's awake for and the lower the voltage. It's why I asked about turning the LED on as that draw about twice as much as executing JS, so it's a good way to see how much the voltage drops! Posted at 2024-02-08 by DanDyse Okay, will try to put the LED on and measure. This is the schematic of the charger (TP5000): Attachments: Posted at 2024-02-08 by DanDyse So, measured voltage with LED1 on and off ... same results. Posted at 2024-02-08 by @gfwilliams Well, that's very strange. All I can think is while you were messing around with different batteries is it possible you over-volted the Puck.js? I guess it's possible it broke something inside it? Posted at 2024-02-08 by DanDyse Although it seems to work okay, I may have indeed screwed something ... I surely once mixed +/- and I have fiddled around with the Puck quite a lot (bought it in 2021 I believe). I'll buy another one and try more. However, I have seen that taking the average of three measurements comes very close to what the battery actually has. Still need to check lower voltages though. Actually, I only need to know when battery is close to its lower limit to know when to charge. Someone I talked to about the measurements asked me "how do you use the ADC? Any voltage divider resistors, filter capacitors?" ... guess Puck does not? Posted at 2024-02-08 by @gfwilliams
The nRF52 chip has some kind of internal voltage divider for measuring the voltage on VCC - I can't remember exactly sure how it does it internally (you could look it up) but normally there's no problem at all measuring the voltage - there's no external circuitry needed
That won't have helped for sure! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-10-25 by DanDyse
Can I put power to 3v / GND to run it instead of the battery holder?
Does it take 3.6v without trouble (LFP battery)?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions