Skip to content

Norse-IoT/lesson-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Norse IoT Club: MQTT Lesson

HOW TO USE THIS CODE:

If you want to work with this code, you can either:

  1. download the zip file
  2. run the command git clone https://github.com/Norse-IoT/lesson-mqtt.git
  3. clone this via GitHub desktop

Then, you can use Arduino IDE to open each .ino file.

Setup Required

For this project, you will need:

  • An ESP32, or equivalent
  • An MQTT network

Every lesson folder has a file called arduino-secrets.h which you'll need to update with the Wi-Fi password.

#pragma once

// WiFi
const char *ssid = "NORSEIOT5G";
const char *password = "YOUR_PASSWORD";  // Enter Wi-Fi password

// MQTT Broker
const char *mqtt_broker = "10.0.1.2";
const int mqtt_port = 1883;

Relevant links:

About

Lesson on MQTT networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published