RPI LCT8

From lechacal
Jump to navigation Jump to search


Link to shop

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

The RPI LCT8 has been specifically designed for large CT of 400A and more. CT connector are screw terminal types as opposed to jack connectors.

  • 8 AC current sensor
  • 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.


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_LCT8 is not readily stackable.

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

RPI_LCT4V3 stack with RPI_LCT8 application example.

Python demo script

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/python2
 import serial
 ser = serial.Serial('/dev/ttyAMA0', 38400)
 
 try:
        while 1:
             # Read one line from the serial buffer
             line = ser.readline()
 
             # Remove the trailing carriage return line feed
             line = line[:-2]
 
             # Create an array of the data
             Z = line.split(' ')
 
             # Print it nicely
             print ("----------")
             for i in range(len(Z)):
                 if i==0:
                     print ("NodeID: %s" % Z[0])
                 else:
                     print ("Power %d: %s W" % (i, Z[i]))
                        
 except KeyboardInterrupt:
        ser.close()

Emoncms Config (Emonhub)

Make you read this first.

For default configuration.

 [[11]]
   nodename = RPICT8
   hardware = RPICT8
   [[[rx]]]
       names = Power1, Power2, Power3, Power4, Power5, Power6, Power7, Power8
       datacode = 0
       scales = 1,1,1,1,1,1,1,1
       units = W,W,W,W,W,W,W,W

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)