First Configuration RPICT: Difference between revisions
Line 37: | Line 37: | ||
==EU/US main power type== | ==EU/US main power type== | ||
What follows does not apply if you have a RPICT8 or RPICT3T1 or RPICT4T4. | |||
All RPICT are sold configured for the UK main power type but they do also work for any other main power around the world. | All RPICT are sold configured for the UK main power type but they do also work for any other main power around the world. |
Latest revision as of 13:31, 11 February 2023
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-package_latest.deb sudo dpkg -i lcl-rpict-package_latest.deb
Run it once to copy the content of the eeprom 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.
Web tool
These is also a web tool to help you making configuration interactively.
EU/US main power type
What follows does not apply if you have a RPICT8 or RPICT3T1 or RPICT4T4.
All RPICT are sold configured for the UK main power type but they do also work for any other main power around the world.
US power type:
For the US main type there are two parameters to change.
Change xpFreq from 50 to 60
Change Vest from 240 to 120
EU power type:
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 the 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.