RPI LCT8: Difference between revisions

From lechacal
Jump to navigation Jump to search
(Created page with " File:IMG_1874_small.png")
 
No edit summary
Line 2: Line 2:


[[File:IMG_1874_small.png]]
[[File:IMG_1874_small.png]]
[http://lechacalshop.com/gb/internetofthing/60-rpilct4v3.html Link to shop]
This page is for board specific information. More information can be found on the [[Raspberrypi_Current_and_Temperature_Sensor_Adaptor | generic page for RPICT series]].
The RPI LCT4V3 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 4 holes mounting pattern.
* ATmega328 Mcu.
* Adapted for 400A CT.
==Compatibility==
{| class="wikitable" 
|+
|-
!Version
!Compatible?
|-
|Raspberrypi 1 A
|Yes
|-
|Raspberrypi 1 B+
|Yes
|-
|Raspberrypi 2 B
|Yes
|-
|Raspberrypi 3 B
|Yes
|-
|Raspberrypi 3 B+
|Yes
|-
|}
==Recommended sensors==
[[File:IMG_1828_small.png | 300px | right]]
===AC Current sensor===
Most current output CT sensor with 5A secondary can be used. In particular
* SCT-024/5A
Enquire with us for other CT.
===AC Voltage sensor===
* UK: 77DB-06-09
* EU: 77DE-06-09
* US: 77DA-10-09
==Configuration==
See general instructions for configuration below:
[[Over Serial Configuration - Sketch 2.8]]<br>
[[Over Serial Configuration - Sketch 3.0]]<br>
[[File:Online_config_01.png | 300px| link=http://lechacal.com/RPICT/config/generator/v3.0/]] The board can be configured with the [http://lechacal.com/RPICT/config/generator/v3.0/ online configurator].
==Stacking==
The RPI_LCT4V3 is not readily stackable.
See this page below for an adaptation to stack 2 units.
[[RPI_LCT4V3 stack with RPI_LCT8 application example]].
==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.
  <nowiki>[[11]]</nowiki>
    nodename = my_RPI_LCT4V3
    hardware = RPI_LCT4V3
    [[[rx]]]
      names = Vrms1, Vrms2, Vrms3, RP1, RP2, RP3, RP4
      datacode = 0
      scales = 1,1,1,1,1,1,1
      units = V,V,V,W,W,W,W
Using the default sketch the output will be <br>
NodeID Vrms1 Vrms2 Vrms3 RealPower1 RealPower2 RealPower3 RealPower4
* RealPower in Watts
* Vrms in Volts
[[File:Emoncms_channels.png]]
==Files==
===Default Sketch===
[http://lechacal.com/RPICT/7CT1V/RPICT7V1_v2_8_0.ino Default Sketch V2.8.0.]<br>
[http://lechacal.com/RPICT/7CT1V/RPICT_MCP3208_v3_0_0.ino Default Sketch V3.0.0.]<br>
[http://lechacal.com/RPICT/7CT1V/RPICT_MCP3208_v3.0.1.ino Default Sketch V3.0.1.]<br>
[http://lechacal.com/RPICT/7CT1V/RPICT_MCP3208_v3.0.2.ino Default Sketch V3.0.2.]<br>
[[File:IMG_1826_small.png | 300px | right]]
==Related Pages==
[[Frequently Asked]]
[[Calibration VCAL ICAL PHASECAL]]
[[Howto_setup_Raspbian_for_serial_read]]
[[Update RPICT firmware (CT7V1/CT4V3/CT8)]]

Revision as of 13:11, 8 April 2019


Link to shop

This page is for board specific information. More information can be found on the generic page for RPICT series.

The RPI LCT4V3 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 4 holes mounting pattern.
  • ATmega328 Mcu.
  • Adapted for 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

Most current output CT sensor with 5A secondary can be used. In particular

  • SCT-024/5A

Enquire with us for other CT.

AC Voltage sensor

  • UK: 77DB-06-09
  • EU: 77DE-06-09
  • US: 77DA-10-09

Configuration

See general instructions for configuration below:

Over Serial Configuration - Sketch 2.8

Over Serial Configuration - Sketch 3.0

The board can be configured with the online configurator.

Stacking

The RPI_LCT4V3 is not readily stackable.

See this page below for an adaptation to stack 2 units.

RPI_LCT4V3 stack with RPI_LCT8 application example.

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_RPI_LCT4V3
   hardware = RPI_LCT4V3
   [[[rx]]]
      names = Vrms1, Vrms2, Vrms3, RP1, RP2, RP3, RP4
      datacode = 0
      scales = 1,1,1,1,1,1,1
      units = V,V,V,W,W,W,W

Using the default sketch the output will be
NodeID Vrms1 Vrms2 Vrms3 RealPower1 RealPower2 RealPower3 RealPower4

  • RealPower in Watts
  • Vrms in Volts

Files

Default Sketch

Default Sketch V2.8.0.

Default Sketch V3.0.0.
Default Sketch V3.0.1.
Default Sketch V3.0.2.


Related Pages

Frequently Asked

Calibration VCAL ICAL PHASECAL

Howto_setup_Raspbian_for_serial_read

Update RPICT firmware (CT7V1/CT4V3/CT8)