No!Oh okay, thanks. I thought that since current sensor breakouts exist (like the ACS712), I could just build my own. I also thought that 18650s dropped voltage sharply after a while instead of a smooth decline like an alkaline. Guess not! I'll have to check out my voltmeter (it uses the R1/R2 dealio like you say) when I get home and play around a little bit.
You want to track the voltage under load.
Every chemistry has a particular curve. Buy your batteries, fully charge them, use an Arduino with A0 and a voltage divider. Write a sketch where millis() is used to track A0 from the R1/R2 divider (very high resistance) when your original knock-knock is connected. Read every 15 minutes and store or output serially the time interval + A0 voltage.
Your data should closely match the manufacturer's curve. Put your curve in EEPROM or PROGMEN. Project finished.
Che si intende per board/configurazione?scelta del tipo di scheda ad esempio arduino due, arduino nano, arduino 2009, mega ecc ecc
Sorry. I started this post so I am not suggesting code to others only asking for help. Second I thought asking for help is a very nice way to learn from some very cool people. By writing code it does give others a basic idea where my knowledge level is. I am sure you did not intend to come across so harsh. Also delay and goto can be used if you understand their limitations.My apologies. I didn't realize you were the thread starter.
Je n'ai pas compris ce que sous entend parhttps://fr.wikipedia.org/wiki/I2C
achInterrupt(0, magnet_detect, FALLING);//Inicia el interruptor (Pin de arduino 2) con FALLING:se ejecuta