General stacking information is described in the RPICT stacking page.
General stacking information is described in the RPICT stacking page.
[[RPICT_Stacking]]
[[RPICT_Stacking]]
5 boards can be stacked together to offer up to 35 SCT sensors capacity on one Raspberrypi.
In the stacked configuration only one board has a Microcontroller which is the Master board. For the slave board the microcontroller should be removed.
2 Steps to configure a single board or master board as slave:<br>
1 - Remove the 28 pin microcontroller.<br>
2 - Setup the jumper as shown below.<br>
<br>
Always place the Master board at the bottom of the stack. The order of other boards above the master can be any.
===Software Configuration===
The master board can be configured over serial.
Using a serial line terminal program one can configure the following:
- Polling interval
- Output format (csv or emoncms)
- Calibration values (Voltage and Current)
- Voltage/current combinations for real power computation.
- Output channels
The documentation for serial configuration can be found on this page. <br>
[[Over Serial Configuration - Sketch 2.1]]<br>
[[Over Serial Configuration - Sketch 2.2]]<br>
[[Over Serial Configuration - Sketch 2.3]]<br>
[[Over Serial Configuration - Sketch 2.4]]<br>
[[File:Online_config_01.png | 300px]] Starting from sketch 2.4 the board can be configured with the [http://lechacal.com/RPICT/config/generator/ online configurator].
===Jumpers===
There are four jumpers to configure the board as Master or Slave. The 5 possible configurations are:
This is the new version of the RPICT7V1. It now features the same microcontroller as an Arduino UNO.
The best of all is the possibility to stack up to 5 boards together to increase the sensor capacity onto one single raspberrypi.
One can program the board using the Nanoprog programmer with a 6pin SPI connector.
In Arduino IDE select board as Arduino Uno. Upload sketch using File | Upload Using Programmer.
Using an ArduinoUNO
An Arduino UNO board can be used to program the chip. The micontroller should be removed from the RPICT7V1 board and fitted on the Uno to allow programming.