RPICT4W3T1: Difference between revisions

From lechacal
Jump to navigation Jump to search
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:


THIS A PAGE FOR A PRODUCT UNDER ACTIVE DEVELOPMENT. SOME INFORMATION ARE STILL MISSING.


[[File:IMG_0625_small.png | 450px]]
[[File:IMG_0625_small.png | 450px]]
Line 10: Line 8:


==Overview==
==Overview==
[[File:Link_to_the_shop.png | link=http://lechacalshop.com/gb/internetofthing/94-rpict4v3version5.html ]]
* 4 AC current sensors.
* 4 AC current sensors.
* 3 AC Voltage sensors.
* 3 AC Voltage sensors.
Line 21: Line 22:


RPICT4W3T1 is the equivalent board to the RPICT4V3 with ZMPT voltage transformer integrated and the addition of a DS18B20 temperature sensor port.
RPICT4W3T1 is the equivalent board to the RPICT4V3 with ZMPT voltage transformer integrated and the addition of a DS18B20 temperature sensor port.
==Compatibility==
[[File:336.jpg | right | 300px]]
{| class="wikitable" 
|+
|-
!Version
!Compatible?
|-
|Raspberrypi 1 A
|No
|-
|Raspberrypi 1 B
|No mounting holes.
|-
|Raspberrypi 1 B+
|Yes
|-
|Raspberrypi 2 B
|Yes
|-
|Raspberrypi 3 B
|Yes
|-
|Raspberrypi 3 B+
|Yes
|-
|Raspberrypi 4 B
|Yes
|-
|Raspberrypi 5
|Yes
|-
|}


==Recommended sensors==
==Recommended sensors==
Line 28: Line 63:
** SCT-006
** SCT-006
* AC Voltage sensor:
* AC Voltage sensor:
** [[ZMPT101B_Module_1x_v1 | ZMPT101B Module]]
** ZMPT101B module is integrated.
** UK: 77DB-06-09
** EU: 77DE-06-09
** US: 77DA-10-09
* Temperature:
* Temperature:
** DS18B20
** DS18B20
Line 52: Line 84:
==Software Configuration==
==Software Configuration==


The documentation for serial configuration can be found on this page. <br>
For any units ordered before the 1st of February 2022 the firmware version is version 3. Follow this link below for configuration. If possible upgrade to firmware version 4.<br>
[[Over_Serial_Configuration_-_Sketch_3.0 | Over Serial Configuration - Sketch 3.0]]<br>
[[Before 1st Feb 22 RPICT4W3T1 Configuration]]<br>
[[Upgrading to sketch version 4]]


The default configuration can be obtained using the command<br>
First make sure the lcl-package is installed if not done already.
wget lechacal.com/RPICT/tools/lcl-rpict-package_latest.deb
sudo dpkg -i lcl-rpict-package_latest.deb


  wget lechacal.com/RPICT/config/B4/rpiz_ct4v3t2_acac.conf
Now starts a server instance on the Raspberrypi using.
  lcl-server.sh


or for zmpt101b boards
You can now access the Raspberrypi configuration server if you point your browser to the link below


  wget lechacal.com/RPICT/config/B4/rpiz_ct4v3t2_zmpt101b.conf
  http://raspberrypi:8000/


You can now edit the configuration.


The online configurator can be used with the RPIZ_CT4V3T2. Use a single board of RPICT4V3 when editing the configuration.
[[File:Screenshot_2021-11-01_20-22-56.png | 450px]]


[[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].
==Files==
===Firmware Sketch===


==Data Output==
This is the default firmware.


Using the manufacture firmware the data output is:
[http://lechacal.com/RPICT/sketch/RPICT_MCP3208_v4.2.0_TEMP04.ino.hex RPICT_MCP3208_v4.2.0_TEMP04.ino.hex]<br>
 
NodeID Vrms1 Vrms2 Vrms3 Vrms4 Realpower1 Realpower2 Realpower3 Realpower4 Irms1 Irms2 Irms3 Irms4 PF1 PF2 PF3 PF4 Temperature
 
Real Powers are computed using the following rules:
 
RealPower1 -> CT1 & V1<br>
RealPower2 -> CT2 & V2<br>
RealPower3 -> CT3 & V3<br>
RealPower4 -> CT4 & V3<br>
 
These rules can be modified in the configuration if needed.
 
Other output type can be streamed out. This should be configured in the unit.
 
All outputs type available are
* Vrms (V)
* Irms (mA)
* Real Power (W)
* Apparent Power (W)
* Power Factor
* Estimated Power
* Frequency
* Reactive Power
* Temperature


This sketch can be loaded directly from the Raspberrypi following [[Upload_Arduino_sketch_from_Raspberrypi_to_RPICT | this guide]] and executing the commands below.
wget lechacal.com/RPICT/sketch/RPICT_MCP3208_v4.2.0_TEMP04.ino.hex
lcl-upload-sketch.sh RPICT_MCP3208_v4.2.0_TEMP04.ino.hex


==Related Pages==
==Related Pages==


[[Howto_setup_Raspbian_for_serial_read]]
[[Howto_setup_Raspbian_for_serial_read]]
[[Gen5_Passive_Component_Setup]]


[[How to calibrate the Voltage Port]]
[[How to calibrate the Voltage Port]]


[[Update RPICT firmware (CT7V1/CT4V3/CT8)]]
[[Update RPICT firmware (CT7V1/CT4V3/CT8)]]

Latest revision as of 12:51, 11 November 2023


Overview

  • 4 AC current sensors.
  • 3 AC Voltage sensors.
  • 1 Temperature port
  • Compute real power.
  • Fit on Raspberrypi 4 holes mounting pattern.
  • AtMega328 Mcu (Arduino UNO)
  • MCP3208 12 bits ADC
  • Stackable with RPICT8_slave and RPI_T8.
  • Onboard voltage transformer

RPICT4W3T1 is the equivalent board to the RPICT4V3 with ZMPT voltage transformer integrated and the addition of a DS18B20 temperature sensor port.

Compatibility

Version Compatible?
Raspberrypi 1 A No
Raspberrypi 1 B No mounting holes.
Raspberrypi 1 B+ Yes
Raspberrypi 2 B Yes
Raspberrypi 3 B Yes
Raspberrypi 3 B+ Yes
Raspberrypi 4 B Yes
Raspberrypi 5 Yes

Recommended sensors

  • AC Current sensor:
    • SCT-013-000
    • SCT-019
    • SCT-006
  • AC Voltage sensor:
    • ZMPT101B module is integrated.
  • Temperature:
    • DS18B20

VOLTAGE OUTPUT CT SUCH AS SCT-013-030 and other SCT-013-0XX ARE NOT COMPATIBLE WITH THIS BOARD. Only use the SCT-013-000 which is a current output CT.

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.

Multiple probes should connected as shown below.


Software Configuration

For any units ordered before the 1st of February 2022 the firmware version is version 3. Follow this link below for configuration. If possible upgrade to firmware version 4.
Before 1st Feb 22 RPICT4W3T1 Configuration
Upgrading to sketch version 4

First make sure the lcl-package is installed if not done already.

wget lechacal.com/RPICT/tools/lcl-rpict-package_latest.deb
sudo dpkg -i lcl-rpict-package_latest.deb

Now starts a server instance on the Raspberrypi using.

lcl-server.sh

You can now access the Raspberrypi configuration server if you point your browser to the link below

http://raspberrypi:8000/

You can now edit the configuration.

Files

Firmware Sketch

This is the default firmware.

RPICT_MCP3208_v4.2.0_TEMP04.ino.hex

This sketch can be loaded directly from the Raspberrypi following this guide and executing the commands below.

wget lechacal.com/RPICT/sketch/RPICT_MCP3208_v4.2.0_TEMP04.ino.hex
lcl-upload-sketch.sh RPICT_MCP3208_v4.2.0_TEMP04.ino.hex

Related Pages

Howto_setup_Raspbian_for_serial_read

Gen5_Passive_Component_Setup

How to calibrate the Voltage Port

Update RPICT firmware (CT7V1/CT4V3/CT8)