Gadget Restore

These instructions will guide you to restore the pre-installed web interface on Gadget. The steps were tested on a Windows machine but may also work on Mac or Linux as long as the files are placed in the corresponding folders.

Video Instructions:

We will use PictoBlox for this process. The Arduino IDE can also be used but requires more steps to configure.

We need to add a few library files to PictoBlox to work with the code. Download the GadgetLibraries.zip file here:

GadgetLibraries.zip

Open the GadgetLibraries.zip file and copy the folders to the PictoBlox folder (C:\Program Files\PictoBlox\resources\arduino-1.8.5\libraries)

LibraryFiles.png

 

Now download the code file for Gadget. The file is formatted as a text file to make it easier to open on any device.

Gadget.txt

 

Open the text file Gadget.txt and copy all of the code. Windows shortcut keys will help us here, ctrl+a to select all text and ctrl+c to copy to the clipboard.

CodeFile.png

 

Now open PictoBlox. If prompted, select Block Coding for your coding environment.

CodingEnvironment.png

 

Click on Board in the top menu and select ESP32.

menu.png

board.png

 

Change the Mode from Stage to Upload. Click the pencil icon to turn edit mode on (purple pencil).

EmptyCode.png

 

Highlight and delete the code on lines 1 through 13. Paste the code from Gadget.txt into the code area.

GadgetCode.png

 

Connect a USB cable from your computer to Gadget. In PictoBlox, click on Connect in the top menu and select the appropriate COM port. In this case, COM4 is indicated by the WCH.CN driver for the ESP32 board.

COMport.png

 

If you are unable to connect, press the power button on Gadget and click refresh. A new COM port should be listed. If you still cannot connect to Gadget, please get in touch with support@juniperrobotics.com.

Now click the Upload Code button to transfer the code to Gadget. If you run into any errors, please let me know, and I will help you get it resolved.