Upgrading to sketch version 4 for RPICT v3

From lechacal
Jump to navigation Jump to search

RPICT unit version 3 do not have auto-reset feature and as a consequence it is not possible to upload the sketch directly from the Raspberry pi.

Nevertheless installing version 4 of the firmware is still possible.

One should acquire an Arduino UNO first. These are very cheap on most marketplace. Even clone ones can be used.

-1-

The first step is to remove the microcontroller on the RPICT board. For this use a flat screw driver and gently lift it up from its base. Then place the microcontroller on the arduino UNO.

-2-

Install the Arduino IDE on your computer. https://www.arduino.cc/en/software

-3-

Install the RPICTlib. Download it form the link below.
http://lechacal.com/RPICT/RPICTlib/RPICTlib_v1.5.0.zip

In the IDE got to Sketch -> Include Library -> Add .ZIP Library.
Then select the zip downloaded before.

-4-

Download the sketch from the link below.
http://lechacal.com/RPICT/sketch/RPICT_MCP3208_V3_v4.1.0.ino

Then open it with the IDE.

-5-

Connect the ArduinoUNO to the USB and upload the sketch with

Sketch -> Upload

-6-

Remove the microcontroller from ArduinoUNO and place it back on the RPICT unit.

-7-

You should now be able to use the web tool to configure the RPICT board.

Note that version 3 hardware missing the auto-reset feature you will have to press the reset button every time you upload the configuration from the web tool. Timeout will happen after 10 seconds.