Gravity: WiFi IoT Module

SKU: TEL0126

This WiFi IoT module could be an excellent choice for IoT teaching and smart home projects. It supports for multiple programming platforms, such as MakeCode, Mind+ and Arduino IDE, and can also be used on various popular IoT platforms like Easy IoT, IFFTTT, ThingSpeak, ONENET, SIoT, BeeBotte. Besides that, the module is designed with easy-to-use Gravity interface and employs UART and I2C communication protocols. You can use it to build IoT applications with other mainboards like micro:bit, Arduino, STM32, etc.

Front of Gravity WiFi IoT module for micro:bit with microcontroller and ICs.-DFRobot product sku:TEL0126 image.
  • Docs
  • Tech Specs
  • Projects
  • 1. Getting Started-MakeCode

    This tutorial introduces how to use the MakeCode programming platform for micro:bit.

    2. Example Code for MakeCode-Upload Data-UART

    This tutorial demonstrates how to send data from a micro:bit to the Easy IoT platform via a WiFi IoT module. Pressing Button A sends the message “Hi, DFRobot.”

    3. Example Code for MakeCode-Upload Data-I2C

    Realize data transmission between the micro:bit and the WiFi IoT module via I2C communication, and send the message "Hi, DFRobot" to the Easy IoT platform.

    4. Example Code for MakeCode-Temperature and Brightness Remote Monitor(Based on Easy IoT)

    Use the micro:bit onboard temperature and light sensors to monitor environment. The WiFi IoT Module, micro:bit and Easy IoT server will be used for data exchange to realize remote monitoring of temperature and brightness based on IoT.

    5. Example Code for MakeCode-Sending Email (Based on IFTTT)

    This project demonstrates how to connect the WiFi IoT module to the IFTTT platform. When Button A on the micro:bit is pressed, the current temperature and light intensity values are sent to IFTTT, which then triggers an email notification. This allows real-time sharing of environmental data with others.

    6. Example Code for MakeCode-Sending Twitter (Based on IFTTT)

    This project demonstrates how to send a text message to twitter by pressing the button on micro:bit. You can extend this to other application scenarios according to this project, for instance, sending current water quality, air quality and other data to twitter.

    7. Example Code for MakeCode- Ambient Noise Analysis (based ThingSpeak)

    This project reads the data changes of the sound sensor, uploads them to thingspeak, and generates graphs for analyzing noise situation in the current environment, and then we can find the period with the most serious noise in a day.

    8. Example Code for MakeCode-Alcohol concentration detector(Based on BeeBotte)

    In this tutorial, we will simulate a smart alcohol monitoring system. An alcohol concentration sensor installed in a vehicle uploads real-time data to the Beebotte platform. By monitoring the uploaded values, users can identify vehicles with alcohol levels exceeding a predefined threshold (for example, 800 as an assumed drunk-driving limit). This demonstrates how IoT technology can be used to remotely monitor data and improve efficiency in real-world applications.

    9. Example Code for Arduino-Ambient Light Analysis -UART (Based on ThingSpeak)

    Upload the detected light intensity values to ThingSpeak via UART communication using the WiFi IoT module, and generate a line chart to analyze daily light variations. This allows you to identify the periods with the most and least daylight during the day.

    10. Example Code for Arduino-Ambient Noise Analysis (Based on ThingSpeak)

    This tutorial demonstrates how to read data from a sound sensor, upload it to ThingSpeak, and generate graphs to analyze environmental noise levels. By monitoring the data, you can identify the periods with the highest noise levels during the day.

    11. Example Code for Arduino-Temperature Sending (Based on IFTTT)

    This tutorial guides you through setting up the Arduino UNO, WiFi IoT module, and LM35 sensor to send real-time temperature alerts via email using IFTTT.

    12. Example Code for Arduino-Smart Watering System (Based on Easy IoT)

    This project implements a smart watering system using Arduino, a soil moisture sensor, and a WiFi IoT module connected to Easy IoT. The system monitors soil moisture levels and provides feedback when watering is needed. Remote monitoring and control enable users to manage plant care anytime, anywhere.

    13. Example Code for Arduino-People Counting (Based on BeeBotte)

    This project uses an ultrasonic sensor installed at a mall entrance to count people and transmit periodic foot traffic statistics to BeeBotte.

    14. Example Code for STM32

    This article describes how to use the WiFi IoT module with the STM32 development board, including sample code and library file addresses. It covers the configuration methods for MQTT, IFTTT, and ThingSpeak, providing practical references for developers looking to integrate wireless communication functions into STM32 applications.

    Reference

    This document covers the MakeCode platform, required program libraries, and block function descriptions.

    Specification

    Parameter Value
    Power Supply 3.3~5.0V
    Operating Current <240mA
    Connector Gravity-4P I2C/UART
    Data Transmission Rate 9600
    Wireless Mode IEEE802.11b/g/n
    Encryption Type WPA WPA2/WPA2–PSK
    WiFi Frequency 2.4GHz
    Dimension 35mm×32mm /1.38inch×1.26inch
    Built-in Protocol TCP/IP Protocol Stack
    Supported IoT Platform Easy IoT, IFFTTT, ThingSpeak, ONENET, SIoT, BeeBotte
    Supported Programming Platforms Arduino IDE, MakeCode, Mind+

    Pinout

    No. Name Function
    1 D/R Data Line(I2C)/Receiver(UART)
    2 C/T Clock Line(I2C)/Transmitter(UART)
    3 GND -
    4 VCC +

    Was this article helpful?

    TOP