RPIZCT4V3T1: Difference between revisions

From lechacal
Jump to navigation Jump to search
No edit summary
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:




[[File:IMG_1305_small.png | right]]
[[File:IMG_1305_small.png | right | 500px]]


=Overview=
The RPIZCT4V3T1 is a great all round and self contained unit. It can be configured to read both single phase and 3 phase systems.
Several temperature sensors can be interfaces. It is made to host a user provided Raspberrypi zero.
Future enhancement will feature mezzanine stack for additional sensor capacity.
An enclosure solution is proposed using aluminium extruded case.
=Specifications=
==cpu==
* Hosts RaspberryPi Zero
* Hosts RaspberryPi Zero
* ATmega328 mcu (Arduino UNO)
==Sensors==
* 4 CT sensors
* 4 CT sensors
* 3 AC Voltage
* 3 AC Voltage
* 1 DS18B20 port (temperature)
* 1 DS18B20 port (temperature)
* ATmega328 mcu (Arduino UNO)
==Power==
* Powered from Raspberrypi (microusb)
==Other==
* Fits in Aluminium Enclosure from Evatron
* Fits in Aluminium Enclosure from Evatron
* Option to stack mezzanine board for additional sensors.
* 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


==Files==
=Temperature Sensor=


[http://lechacal.com/RPICT/7CT1V/RPICT7V1_v2_6.ino Default Sketch V2.6.]<br>
The temperature port supports mutiple sensor on the same Onewire line.  


<small>(note boards are sold already flashed with latest firmware).</small>
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.


==Software Configuration==
Multiple probes should connected as shown below.


Using a serial line terminal program one can configure the following:
[[File:Ds18b20_daisychain.png | 400px]]
- Polling interval
 
- Output format (csv or emoncms)
 
- Calibration values (Voltage and Current)
 
- Voltage/current combinations for real power computation.
=Software Configuration=
- Output channels


The documentation for serial configuration can be found on this page. <br>
The documentation for serial configuration can be found on this page. <br>
[[Over Serial Configuration - Sketch 2.6]]<br>
[[Over Serial Configuration - Sketch 2.8 | Over Serial Configuration - Sketch 1.1]]<br>
[[Over_Serial_Configuration_-_Sketch_3.0 | Over Serial Configuration - Sketch 2.0]]<br>
 
The default configuration can be obtained using the command<br>
 
<small>version 1.1:</small>
wget lechacal.com/RPICT/config/C1/rpizct4v3t1.conf
 
<small>version 2.0:</small>
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.
 
[[File:Online_config_01.png | 300px| link=http://lechacal.com/RPICT/config/generator/v3.0/]][http://lechacal.com/RPICT/config/generator/v3.0/ 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 [http://lechacalshop.com/gb/internetofthing/40-enclosure-kit-for-rpizct4v3t1.html the shop].
 
[[File:IMG_1306_small.png | right | 400px]]
 
=Files=
 
==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].
Version 2.0 uses [http://lechacal.com/RPICT/RPICTlib/RPICTlib_v1.0.1.zip RPICTlib 1.0.1].
 
==Programming==
 
The RPIZ_CT4V3T1 can be programmed using the [[NanoProg_v1 | NanoProg]].


[[File:Online_config_01.png | 300px| link=http://lechacal.com/RPICT/config/generator/]] Starting from sketch 2.4 the board can be configured with the [http://lechacal.com/RPICT/config/generator/ online configurator].
'''IMPORTANT'''. Make sure the Raspberrypi Zero is removed before connecting the NanoProg.


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


[[Configure RPICT for EmonCMS]]
[[File:IMG_1888_small.png | 300px]]


=Related Pages=


[[Use Emonhub with RPICT]]


[[Howto_setup_Raspbian_for_serial_read]]


[[File:IMG_1306_small.png]]
[[How to calibrate the Voltage Port]]

Revision as of 18:44, 15 March 2019



Overview

The RPIZCT4V3T1 is a great all round and self contained unit. It can be configured to read both single phase and 3 phase systems.

Several temperature sensors can be interfaces. It is made to host a user provided Raspberrypi zero.

Future enhancement will feature mezzanine stack for additional sensor capacity.

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)

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

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.


Software Configuration

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

The default configuration can be obtained using the command

version 1.1:

wget lechacal.com/RPICT/config/C1/rpizct4v3t1.conf

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 RPICTZ Sketch V1.1.0.

Default RPIZ_CT4V3T1 Sketch V2.0.0. Version 2.0 uses RPICTlib 1.0.1.

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