read the tutorial
Blueprint is a pre-configured template on the Blynk IoT platform, that will help you create a fully functional project in a few minutes. It already includes mobile and web dashboard UI, working firmware, and a tutorial to help you connect your device to the Blynk IoT platform and control it from the app!

On this page you can review the blueprint to have an idea of the ready project you are going to get. Sign up for a free account on the Blynk IoT platform to try it out.

Introduction

This blueprint will guide you in launching your project with our MQTT Sample.

The sample project simulates a heater device:

  • The room heats up when the set temperature exceeds the current temperature.
  • The room cools down when the set temperature is lower than the current temperature or if the heater is off.
  • The device can also be controlled via the Terminal widget (type help for a list of commands).

How To Use This Blueprint

The MQTT Sample blueprint is compatible with various MQTT clients, developed in different programming languages.

Please follow the instructions in the readme file of the example that you like the most:

  • Python 3 - suitable for use on Single Board Computers (SBCs) like Raspberry Pi and some Industrial IoT gateways
  • MicroPython - a fun and easy way of creating the device firmware
  • Arduino / PlatformIO - a pre-configured project that supports over 15 connectivity-enabled boards, including the Espressif ESP32, Raspberry Pi Pico W, Nano 33 IoT, Nano RP2040 Connect, UNO R4 WiFi, Seeed Wio Terminal, etc.
  • Plain C with the Mosquitto library - tailored for advanced use cases needing high performance, compact size, or system-level integration
  • Lua - ready for deployment on OpenWrt-based routers and SBCs like Onion Omega2
  • HTML5 / JavaScript - thanks to the WebSocket technology, this example can be used directly from the browser

Next Steps

  • Explore the Blynk Web Console and Blynk IoT app, try controlling your device from both
  • Explore Blynk Documentation and learn how to work with Virtual Pins
  • Learn more about Automations
  • Learn how to Share Device with other users
  • Modify the code for your needs
  • Add more devices

Troubleshooting

  • Make sure you have the latest versions of the software you're using
  • Check that all used libraries are up to date
  • Check that all the dependencies and configurations are correct
  • Check your code for errors

Related Links

  • Blynk MQTT API documentation
  • Blynk Troubleshooting guide
  • Blynk Documentation

More pre-built IoT projects

Need an IoT solution for your business?

Contact us for a free consultation with our engineers and IoT business experts