RPI LCT4V3
This page is for board specific information. More information can be found on the generic page for RPICT series.
The RPI LCT3V1 has been specifically designed for large CT of 400A and more. CT connector are screw terminal types as opposed to jack connectors.
- 4 AC current sensor
- 3 AC Voltage sensor.
- Compute real power.
- Fit on Raspberrypi 2 holes mounting pattern.
- Attiny84 Mcu
- Use with 400A CT
Compatibility
Version | Compatible? |
---|---|
Raspberrypi 1 A | Yes |
Raspberrypi 1 B+ | Yes |
Raspberrypi 2 B | Yes |
Raspberrypi 3 B | Yes |
Raspberrypi 3 B+ | Yes |
Recommended sensors
- AC Current sensor: SCT-024
- AC Voltage sensor:
- UK: 77DB-06-09
- EU: 77DE-06-09
- US: 77DA-10-09
Configuration
See general instructions for configuration below:
Configuration over serial for sketch version 1.2.
View the data with Python
Please note the configuration must have Emonhub format enabled (format=3). The example script below will be a good starting point.
First of all make sure you have python-serial package installed
$ sudo apt-get install python-serial
Then copy the following into an executable file and run it.
#!/usr/bin/python import serial ser = serial.Serial('/dev/ttyAMA0', 38400) try: while 1: response = ser.readline() z = response.split(" ") if len(z)>=7: print "Vrms 1: %s Volt" % z[1] print "Vrms 2: %s Volt" % z[2] print "Vrms 3: %s Volt" % z[3] print "RealP 1: %s Watt" % z[4] print "RealP 2: %s Watt" % z[5] print "RealP 3: %s Watt" % z[6] print "RealP 4: %s Watt" % z[7][:-2] except KeyboardInterrupt: ser.close()
Emoncms Config (Emonhub)
For default configuration.
[[11]] nodename = my_RPICT3V1 hardware = RPICT3V1 [[[rx]]] names = RP1, RP2, RP3, Irms1, Irms2, Irms3, Vrms datacode = 0 scales = 1,1,1,1,1,1,1 units =W,W,W,mA,mA,mA,V
Using the default sketch the output will be
NodeID Realpower1 Realpower2 Realpower3 Irms1 Irms2 Irms3 Vrms
- RealPower in Watts
- Irms in MilliAmps
- Vrms in Volts
Sketch
Units are sold flashed with sketch for use with Voltage sensor.
Usage with Voltage sensor
Version 1.0
Version 1.1
Version 1.2
Usage without Voltage sensor
If you wish to use the board without using the voltage sensor use the sketch below. Note power will be estimated power only using fixed voltage setup in configuration.
No Voltage Version 1.0
No Voltage Version 1.1
Once the sketch uploaded write the configuration as follow:
$ wget lechacal.com/RPICT/config/A0/rpict3t1.conf $ ./lcl-rpict-config.py -w rpict3t1.conf
* rpict3t1 above is not a tipo
Related Pages
How to calibrate the Voltage Port