June 8, 2019
Description
Arduino energy monitor, using SCT-013-030 current sensors
Project Links :
This is a full energy monitor project :
Needed parts :
Instructions :
Configuration parameters :
Configuration will be saved to eeprom.
Using serial console, you can communicate with the sensor.
For example, using minicom (? for show help) :
$ minicom -b 115200 -D /dev/ttyUSB0
__ __ ____
| \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___
| |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
| | | | |_| |___| | __/ | | \__ \ _ | | \__ \
|_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/
|___/ 2.3.1
Energy Sensor has powered up
Energy Sensor (can use up to 6 sensors)
F0: : Sample frequency in seconds (F0:5)
F1: : Send frequency in seconds (F0:60)
E#:[0|1] : Enable Sensor # (E0:1[;E1:1])
V<#:val> : Set Vrms (V0:230[;V1:230])
C<#:val> : Set ICal (I0:29.95[;I1:29.98])
O<#:val> : Set intensity offset (O0:0.05[;I1:0.07])
S[0|1] : Toggle Serial output
T[0|1] : Enable MySensors transmission
M<#> : Sensor mode (1: power, 2: current, 3: power+current)
all commands are case insentitive
F0:2;F1:60
E0:1:V0:230:C0:29.40:O0:0.01
E1:1:V1:230:C1:32.00:O1:0.05
S0;T1
M3
Latest lines show current configuration.
Warning :
If you are using SCT-013-000 instead of SCT-013-030, you have to add burden resistor.
NRF24L01 may have connection issues. You have to add 10µF capacitor between PWR and GND.
You'll be handling dangerous voltages.
I decline any responsibility in case of any incident or accident.
License:
Creative Commons - Attribution - Non-Commercial - Share Alike