This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:iot:examples:setup [2021/03/04 20:57] – [Driver for CH340] heiko.pikner | en:iot:examples:setup [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Setup ====== | ====== Setup ====== | ||
- | Here you can find information about how to set up your IoT Homelab kits. Once the setup is complete you can use MQTTbox (or any other MQTT software) to check if everything | + | Here you can find information about how to set up your IoT Homelab kits. Once the setup is complete, you can use MQTTbox (or any other MQTT software) to check if everything |
====IDE for programming==== | ====IDE for programming==== | ||
- | An environment for writing the code, a compiler for the corresponding language and software for uploading written programs to the controller are needed in order to program the IoT modules. A PC with Atom text editor | + | In order to program the IoT modules, a PC with IDE. There are two options where Visual Studio Code text editor |
+ | * [[en: | ||
* [[en: | * [[en: | ||
+ | |||
====Driver for CH340==== | ====Driver for CH340==== | ||
+ | When an IoT MCU Module is connected to the Windows computer, the Device Manager should show that USB-SERIAL CH340 is present. | ||
{{: | {{: | ||
+ | |||
+ | If not, then the instructions for installing the CH340 driver should be followed. Applies to MacOS, Windows and Linux: | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
====MQTT broker==== | ====MQTT broker==== | ||
Line 15: | Line 21: | ||
* Set up your own MQTT broker ( [[en: | * Set up your own MQTT broker ( [[en: | ||
- | ====The configuration of IoT MCU modules ==== | + | ====Using IoT MCU modules |
- | The IoT modules have a default configuration for connecting to the classroom WIFI. The settings can be overwritten for home or other use as follows: | + | The IoT modules have a default configuration for connecting to the classroom WIFI. The settings can be overwritten for home or other use cases as follows: |
<code c> | <code c> | ||
iot.setConfig(" | iot.setConfig(" | ||
Line 23: | Line 29: | ||
More information [[en: | More information [[en: | ||
- | If an IoT module configuration needs to be changed, the device should put on a setup mode. In setup mode, the IoT module starts a WiFi base station with the name IoT- < | + | ====Configuration of IoT MCU modules ==== |
+ | If an IoT module configuration needs to be changed, the device should | ||
The option to switch to a setup mode can be integrated into the software, or the following example code can be used: | The option to switch to a setup mode can be integrated into the software, or the following example code can be used: | ||
* [[en: | * [[en: | ||
+ | {{: | ||
- | Then if the button shield is connected and the switch is pushed, | + | Then if the button shield is connected and the switch is pushed, the IoT module should enter configuration mode, and Advanced REST Client (ARC) should be used: |
* [[en: | * [[en: | ||