I just finished my prototype of Energy counter. It’s based on an Arduino nano and ACS712 current sensor. I use seven-segment display with 4 digits in multiplex mode to show the energy used by the model. There is a button on the device that can be attached to the model’s start button with 2-pin, 2.54mm connector.
The button switches two independent circuits so the model’s electric control system is not connected to the Energy counter. It is important to don’t damage the model since it can have various type of start signal. When the start button is connected the engine can be started by the button on the Energy counter.
On the video I didn’t connect the start button so I just released the two buttons at the same time.
The calibration can be done with
- stable DC power source
- Stable load (I use a light bulb)
- connect the light bulb and connect the power source,
- press the button
- release the button and start the stopper at the same time
- read the power from the wattmeter (it must be constans for the whole time of measuring)
- after 10 seconds turn of the power source and stop the stopper
- read the energy [Ws] from the Energy counter
- calculate the energy with the wattmeter and stopper [Ws]
- Devide the energy from the Energy counter by the calculated energy
- Open the arduino code and search “Joule” in line 167 and multiply it with the calculated difference