RPIZCT4V3T1: Difference between revisions

From lechacal
Jump to navigation Jump to search
(23 intermediate revisions by the same user not shown)
Line 35: Line 35:
** UK: 77DB-06-09
** UK: 77DB-06-09
** EU: 77DE-06-09
** EU: 77DE-06-09
** US: STA-4190D
** US: 77DA-10-09
* Temperature: DS18B20  
* Temperature: DS18B20


=Temperature Sensor=
=Temperature Sensor=
Line 44: Line 44:
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.
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 are connected as shown below.
Multiple probes should connected as shown below.


[[File:Ds18b20_daisychain.png | 400px]]
[[File:Ds18b20_daisychain.png | 400px]]


=Files=


==Arduino Sketch==


[http://lechacal.com/RPICT/7CT1V/RPICT7V1_v2_6.ino Default Sketch V2.6.]. No support for multiple temperature.<br>
=Software Configuration=
 
The documentation for serial configuration can be found on this page. <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>


[http://lechacal.com/RPICT/ZCT4V3T1/RPICTZ_v1_0_0.ino Default RPICTZ Sketch V1.0.0]. Supports multiple temperature.<br>
<small>version 1.1:</small>
wget lechacal.com/RPICT/config/C1/rpizct4v3t1.conf


<small>(note boards are sold already flashed with latest firmware).</small>
<small>version 2.0:</small>
wget lechacal.com/RPICT/config/B4/rpiz_ct4v3t1.conf


=Software Configuration=


The documentation for serial configuration can be found on this page. <br>
The online configurator can be used with the RPIZ_CT4V3T1. Use a single board of RPICT4V3 when editing the configuration.
[[Over Serial Configuration - Sketch 2.6]]<br>
<!--
[[File:Online_config_01.png | 300px| link=http://lechacal.com/RPICT/config/generator/]] The board can be configured with the [http://lechacal.com/RPICT/config/generator/ online configurator]. Use RPICT4V3 as board type.
-->
There is no online configurator available for this product yet. Do not hesitate to notify your interest to us if you need it.


The default configuration can be obtained using the command
[[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].
wget lechacal.com/RPICT/config/C0/rpizct4v3t1.conf


=Enclosure=
=Enclosure=
Line 75: Line 74:
Enclosure kit is available in [http://lechacalshop.com/gb/internetofthing/40-enclosure-kit-for-rpizct4v3t1.html the shop].
Enclosure kit is available in [http://lechacalshop.com/gb/internetofthing/40-enclosure-kit-for-rpizct4v3t1.html the shop].


[[File:IMG_1306_small.png | 400px]]
[[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]].
 
'''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.
 
[[File:IMG_1888_small.png | 300px]]


=Related Pages=
=Related Pages=

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