Introduction: How to Reprogram MicroLights [EmazingLights Glove Sets]

Picture of How to Reprogram MicroLights [EmazingLights Glove Sets]

This Instructable explains how to reprogram your EmazingLight MicroLights [see wiki for glove set compatibility]

If you have any questions post them here.

Step 1: Components

Picture of Components

You will need a PICKit 3 debugger which you can get for around 30$ here and also an 8-pin SOIC clip. You can make one which will work, but takes some time, by following these instructions, or you can order this one which I recommend. Jumper wires you can get here.

Step 2: Connect to MicroLight

Picture of Connect to MicroLight

Remove the batteries

Step 3: Connect to Debugger

Picture of Connect to Debugger

Connect jumper wires from SOIC clip to debugger. Be careful to not mix up the connections.

Step 4: Download & Install MPLABX IDE

Picture of Download & Install MPLABX IDE

Download latest version of MPLABX here.

Step 5: Download & Install XC8 Compiler

Picture of Download & Install XC8 Compiler

Download latest version of XC8 here.

Step 6: Open MPLABX and Connect PICkit 3

Step 7: New Project

Picture of New Project

Step 8: Standalone Project

Picture of Standalone Project

Step 9: Select Microcontroller

Picture of Select Microcontroller

Step 10: Select Header: None

Picture of Select Header: None

Step 11: Select Debugger

Picture of Select Debugger

Step 12: Select Compiler XC8

Picture of Select Compiler XC8

Step 13: Project Name & Folder

Picture of Project Name & Folder

Step 14: Import Source Files Into Project

Picture of Import Source Files Into Project

Download source files from r/glovinghacks and paste them in the project folder in Finder. Then in MPLABX right click on Source Files and Add Existing Item (configuration_bits.c, Initialization_MicroLight.c, main.c). Right click on Header Files and Add Existing Item (Initialization_MicroLight.h).

At this point you can edit and modify the source files as you wish. It is recommended that you only change things in the main.c file, specifically only in the while(1) loop, more advanced programmers can modify the interrupt routine if they wish. Global variables can be created in the Initialization_MicroLight.h.

Step 15: Go to Customize Menu

Picture of Go to Customize Menu

Step 16: PICKit 3 Program & Power Options

Picture of PICKit 3 Program & Power Options

Select these settings and click Apply.

Step 17: Program MicroLight

Picture of Program MicroLight

Note: If you are trying to read hex file in this step, please consult r/glovinghacks, as some glove sets have their firmware code protected so you will not be able to read and revert to the original firmware. (Once you reprogram the microLight once, the original firmware is lost.)

Step 18: Downloading New Firmware Onto PICkit 3

Picture of Downloading New Firmware Onto PICkit 3

Note: If there is an error that has to do with voltage, go back to Step 16 and reduce voltage to 4.5V

Step 19: OK

Picture of OK

Step 20: Programming MicroLight / Programming Complete

Picture of Programming MicroLight / Programming Complete


Step 21: Reprogramming Original Hex

Picture of Reprogramming Original Hex

To reprogram the hex file you extracted in Step 17, create a new project but this time select Prebuilt (Hex, Loadable Image) Project. Then browse for hex file and create project. Follow from Step 17 on.


DIY Hacks and How Tos (author)2015-08-08

Cool light

About This Instructable




More by eTesla33:How to Reprogram MicroLights [EmazingLights Glove Sets]
Add instructable to: