RPIZCT4V3T2: Difference between revisions

From lechacal
Jump to navigation Jump to search
Line 83: Line 83:
==Arduino Sketch==
==Arduino Sketch==


[http://lechacal.com/RPICT/ZCT4V3T1/RPICTZ_v1_1_0.ino Default RPICTZ Sketch V1.1.0].


[http://lechacal.com/RPICT/ZCT4V3T1/RPIZ_CT4V3T1_v2.0.ino Default RPIZ_CT4V3T1 Sketch V2.0.0].
[http://lechacal.com/RPICT/ZCT4V3T1/RPIZ_CT4V3T2_v2.1.ino Default RPIZ_CT4V3T2 Sketch V2.1.0].
Version 2.0 uses [http://lechacal.com/RPICT/RPICTlib/RPICTlib_v1.0.1.zip RPICTlib 1.0.1].


==Programming==
==Programming==

Revision as of 16:22, 13 May 2020

Link to shop


Overview

The RPIZCT4V3T2 can be configured to read both single phase and 3 phase systems.

Several temperature sensors can be interfaces. It has support for both DS18B20 temperature sensor and RTD thermocouples.

It is designed to host a user provided Raspberrypi zero.

This is stackable with 1

An enclosure solution is proposed using aluminium extruded case.

Specifications

cpu

  • Hosts RaspberryPi Zero
  • ATmega328 mcu (Arduino UNO)

Sensors

  • 4 CT sensors
  • 3 AC Voltage
  • 1 DS18B20 port (temperature)
  • 1 RTD Thermocouple port

Power

  • Powered from Raspberrypi (microusb)

Other

  • Fits in Aluminium Enclosure from Evatron
  • Option to stack mezzanine board for additional sensors.

Recommended sensors

  • AC Current sensor: SCT-013-000
  • AC Voltage sensor:
    • UK: 77DB-06-09
    • EU: 77DE-06-09
    • US: 77DA-10-09
  • Temperature: DS18B20

Temperature Sensor

DS18B20

The temperature port supports mutiple sensor on the same Onewire line.

The sketch is programmed to search for all connected probe at bootup and output all their values when polled. If a new probe is connected the arduino mcu should be restarted for the new probe to be registered.

Multiple probes should connected as shown below.

RTD Thermocouple

Software Configuration

The documentation for serial configuration can be found on this page.
Over Serial Configuration - Sketch 2.0

The default configuration can be obtained using the command

version 2.0:

wget lechacal.com/RPICT/config/B4/rpiz_ct4v3t1.conf


The online configurator can be used with the RPIZ_CT4V3T1. Use a single board of RPICT4V3 when editing the configuration.

Online configurator.

Enclosure

The board has been designed to fit inside an aluminium extruded enclosure. 3D printed end plates are provided. Enclosure kit is available in the shop.

Files

Arduino Sketch

Default RPIZ_CT4V3T2 Sketch V2.1.0.

Programming

The RPIZ_CT4V3T1 can be programmed using the NanoProg.

IMPORTANT. Make sure the Raspberrypi Zero is removed before connecting the NanoProg.

Once the Arduino firmware flashed the default config must be loaded using the lcl-rpict-config.py tool.

Related Pages

Use Emonhub with RPICT

Howto_setup_Raspbian_for_serial_read

How to calibrate the Voltage Port