DA16200
Wi-Fi MQTT Client Simple Demo
Rev.1.00
Page 3 of 13
Mar, 2022
2. Features
•
Supply power to the kit by micro-USB cable
•
Set the necessary modules of RA6M4 to establish connection between EK and DA16200 PMOD
•
Use Mosquitto software, a message broker implementing the MQTT protocol on PC, to make a laptop a MQTT
Server
•
Initialize and control Wi-Fi module (DA16200) by AT command to act as a MQTT client
•
The topic of button with message is published to MQTT Server when the button (S1) on EK board is pressed
•
Make a smartphone a MQTT client subscribing button topic, getting the status of button from MQTT Server.
3. Set Up the Demo
3.1
Prerequisite
Step 1. Connect your PC (set as a MQTT Server later) to a Wi-Fi Router.
Open Windows Settings, click Network & Internet, go to WLAN. Set it to ON, click “show available networks” and
select “Renesas Test Router” as an example. Here a password of “12345678” is assigned to this router.
Step 2. Confirm the IP address of PC which is distributed by Wi-Fi Router.