RPI LCT4V3: Difference between revisions

From lechacal
Jump to navigation Jump to search
Line 41: Line 41:


==Recommended sensors==
==Recommended sensors==
[[File:IMG 1807 small.png | 300px | right]]
[[File:IMG_1828_small.png | 300px | right]]


* AC Current sensor: SCT-024
* AC Current sensor: SCT-024

Revision as of 17:26, 18 January 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

The RPI_LCT4V3 is not stackable.

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:

Over Serial Configuration - Sketch 2.8

Starting from sketch 2.4 the board can be configured with the online configurator.

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.

(note boards are sold already flashed with latest firmware).

noOSC Sketch

The Default sketch allows up to 28 computation nodes to be run. If more are needed for higher stacks then we recommend to use the noOSC sketch. This is the same as the default sketch but Over Serial Configuration (OSC) as been removed to allow up to 40 nodes to be computed. Configuration has to be edited in the sketch.

noOSC Sketch v1.0
noOSC Sketch v1.1


Related Pages

Frequently Asked

Calibration VCAL ICAL PHASECAL

Howto_setup_Raspbian_for_serial_read

Update RPICT firmware (CT7V1/CT4V3/CT8)