How to run your first panel
The following step-by-step instructions will guide you through the creation of a simple panel containing a LED indicator.
Step 1 - Connect the WiFi module to your microcontroller UART as follow (see Module Oveview and its Serial Interface for details):
Step 2 - Configure the microcontroller UART to work asynchronously at 57600 baud, 8 data bit, 1 stop bit, parity none, flux control none.
Step 3 - Insert a delay of at least 3 s at start-up to let the WiFi module boot
Step 4 - Discharge any previous message by sending to the WiFi module a return carriage (\n or ascii code 10)
Step 5 - Define the panel by sending the following HCTML message to the WiFi module: $P:L1G:0:Test Led;
Step 6 - Turn the LED on by sending the following HCTML message to the WiFi module: #L11
Connect the APP to the module during any of the previous steps to see the result.
The following sections provide the details about the Panel Design and the supported Serial Commands.
You can also find the sketch of this example written for Arduino Uno in the Basic Example section