How to Flash firmware to convert your board into CavyIoT-DevBoard
Step by step guide on how to flash firmware over the internet
CavyIoT firmware converts your hardware (NodeMCU, ESP8266 and WeMos D1 R1) to CavyIoT-DevBoard
Flashing firmware in NodeMCU
- In the Arduino IDE, navigate to File > Examples > CavyIoTdevelopmentBoard-master > ESP8266-httpupdate and open this example sketch.

Then select board and COM port properly. (NodeMCU is selected in this example)

- Before uploading ESP8266-httpupdate.ino sketch you need to replace Wi-Fi SSID and Password with your own. After Done Uploading open serial monitor
(Baudrate:9600,Both NL & CR) and Reset the NodeMCU
and wait for 2 minutes to complete flashing. You will see output on serial monitor as shown below:

Congratulations! Your CavyIoT-DevBoard is ready to use.
Testing Demo
- To test Dev-Board and to see how it works with remote control panel, connect four LED to NodeMCU(CavyIoT-DevBoard) as below.

- Open serial monitor and try typing the following commands, into the top area of the Serial Monitor that is level with the 'Send' button.
<ShowDemo(WiFiSSID, WiFiPassword, CavyIoT-username,CavyIoT-password, Device-name)>
Replace Wi-FiSSID, Wi-Fi Password, CavyIoT username, Password and Device Name with your own credentials.

- After sending command with correct credentials CavyIoT-DevBoard will try to connect to your wifi and will start sending random values for dummy sensors to cavyIoT server.
And start receiving Control Signals from Control Panel with default Button Lables as shown below:

Now You can control this Dev-Board from anywhere,anytime! Log in to your account and operate .
and try to..
Turn ON/OFF LED with the help of buttons.
Change the mode of operation (ie from 'AUTO' to 'MANUAL') and a lot.
You will see the output on serial monitor changes, the state of LED connected changes, and live charts and gauges for sensor data!
- for more command reference for Dev-Board.
- to know more about control panel.
Learn more about CavyIoT-DevBoard
to download CavyIoT-DevBoard PDF file.
Troubleshooting
- If you have troubles in flashing firmware check your wifi connectivity or internet connection.
- Check your Wi-Fi SSID and Password is correct.
- Make sure you selected board and COM port properly.