Bolt IoT - All information about the IoT board
Related Videos: Bolt IoT kit | ESP8266 12e based IoT device | ESP8266 projects | IOT Projects (April 2024).
In this practical tip, you will learn how to set up and use the Bolt-IoT board and how you can use it to control LEDs remotely.
Bolt IoT - All information about the IoT board
The Bolt-IoT board is optionally available with a Wi-Fi or GSM chip. External electronic components can be connected via GPIO, UART, or ADC. Connections via I²C or SPI are also supported. The board has five GPIO pins, an analog pin, a TX and an RX pin, as well as the classic 5V, 3V and GND pins.
- You need the Bolt-IoT app to set up the developer board. If you have not already done so, you must create a new account here.
- Then click on "ADD DEVICE" in the lower center.
- Next, connect the board to an electrical outlet using a micro USB cable. Then click "READY".
- Select your board from the list. In the next step, click on your WLAN and enter your password.
- Finally, you will be asked to choose your country. We will show you all the steps again in the picture gallery at the end of the article.
Control Bolt IoT - LED
As an example, we would now like to control an LED, which is connected to GPIO 0 and the GND pin. Now go to the cloud.boltiot.com website. Your board should now be listed here.
- First click on the "Products" tab and then on "BUILD".
- Give the project a name here and choose whether you want to connect an "input device" (like a sensor) or an "output device" (like an LED) to the board. You can also choose whether you want to use GPIO or UART. When finished, click on "DONE".
- To set up the board, click the "Configure this product" icon in the top right corner. Choose a pin here and give it a name. In this example we choose GPIO 0 and the name "LED".
- Enter the program code in the "Code" tab. The programming works similar to the Arduino. However, first add the code "setKey ('{{ApiKey}}', '{{Name}}');". How to start a new HTML document and import the required commands.
- To start with the actual programming, use »« to create the HTML body in which all elements are aligned in the center. Here you can use the »ON« and »OFF« commands to add two buttons with which the LED should be controlled afterwards. In the end, do not forget to add the commands "".
- Give the code a name and choose the language. In this case it is "HTML".
- Finally click on the "Link device to this product" button and choose your Bolt-IoT board. Also click on the "Devices" tab on your board on "Deploy configuration". If you now click on "View this device", you will find an interface with which you can control the LED remotely from the Internet.
In the next article we will show you the practical development board "micro: bit" from BBC.