First Configuration RPICT

From lechacal
Jump to: navigation, search

The configuration of the RPICT unit is stored inside the eeprom of the Arduino chip. The configuration can be modified over serial using our utilities program lcl-rpi-config.py.

Configuration Utility

If not done already first install the utility with the commands below.

sudo apt-get install python-serial
wget lechacal.com/RPICT/tools/lcl-rpict-config.py.zip
unzip lcl-rpict-config.py.zip
sudo cp lcl-rpict-config.py /usr/local/bin

Run it once to copy the content of the epprom to a local file called /tmp/rpict.conf.

lcl-rpict-config.py -a

(You might have to reset the RPICT board manually with the white button for some older RPICT unit versions.)

This will create the /tmp/rpict.conf file inside which you can view the current configuration.

Edit the file using the nano text editor.

nano /tmp/rpict.conf

You might edit the file at this point. Refer to the dedicated page for your RPICT model to find out the meaning of each parameters.

Then you can update the config file inside the chip by entering

lcl-rpict-config.py -a -w /tmp/rpict.conf

On successful completion of this command the RPICT will be ready to operate with the new parameters.

Note - The /tmp/rpict.conf file will be deleted on reboot of the Raspberrypi.

EU/US main power type

All RPICT are sold configured for the UK main power type but they do also work for any other main power around the world.

For the US main type there are two parameters to change.
Change xpFreq from 50 to 60
Change Vest from 240 to 120

For the EU main type there is one parameter to change.
Change Vest from 240 to 230

Ac/ac voltage transformer

If you have acquired an ac/ac voltage transformer then you will need to change the calibration coefficient for the voltage port.

For RPICT3V1 and all version 3 RPICT. Change the 256.6 into
(EU) 77DE-06-09: 248.1
(US) 77DA-10-09: 124.0

For all version 4 RPICT. Change the 268.96 into
(EU) 77DE-06-09: 248.69
(US) 77DA-10-09: 130.00

For all version 5 RPICT. Change the 256.6 into
(EU) 77DE-06-09: 248.1
(US) 77DA-10-09: 124.0

ZMPT Module

RPICT units with ZMPT support are sold configured ready for the 280V module.

If you have acquired a ZMPT module for 140V then you will need to change the calibration coefficient for the voltage port.

For RPICT3V1 and all version 3 RPICT. Change the 249.34 into
ZMPT_140: 124.67

For all version 4 RPICT. Change the 181.82 into
ZMPT_140: 90.91

For all version 5 RPICT. Change the 200.43 into
ZMPT_140: 100.21

Advanced Configuration

Once the above setup configuration are good to run teh RPICT unit in good condition.

If you are looking to perform more advance configuration then refer to the links below.

  • For RPICT3V1 RPICT3T1 RPICT4T4v2.5

Attiny_Over_Serial_Configuration_A2

  • For all other boards.

Over_Serial_Configuration_-_Sketch_3.0