Close
0%
0%

MQTT - Upload PM2.5 Data to LASS System

The LASS stands for “Location Aware Sensor System”. It is an open project and was started only in the interest of public welfare.

Similar projects worth following

The LASS stands for “Location Aware Sensor System”. It is an open project and was started only in the interest of public welfare. Find a detailed introduction here.

Practically, LASS is based on the MQTT protocol to collect all kinds of uploaded data, and those who need these data can subscribe top as well.

Find more LASS information at their official hackpad.

  • 1 × AmebaD [ AMB23 / AMB21 / AMB22 / BW16 ]
  • 1 × PlanTower PMS3003 or PMS5003

  • 1
    Introducion

    In this example, we use applications mentioned on our website, including:

    • MQTT: an MQTT-Broker to connect to LASS. The Client is “FT1_0XXXX”, the XXXX are the four last digits of Ameba’s Wi-Fi MAC, and the topic is “LASS/Test/Pm25Ameba/clientID“, where clientID is the actual Ameba’s MQTT client ID.
    • NTP: uploaded data must have time notation
    • PM2.5: uploaded data includes PM2.5 information
  • 2
    Open the example

    Open the example. “File” -> “Examples” -> “AmebaMQTTClient” -> “lass_basic”

    10-1

    This example requires an internet connection, so make sure you fill in SSID and PASS into AP information that you wish to connect.

  • 3
    LASS Requirments

    Also, LASS requires GPS information. There is no GPS sensor included in this example, so you must manually provide GPS information. Use Google Map to find the coordinates you plan to place your Ameba. You can see in this example that the latitude is 24.7814033, and the longitude is 120.9933676

    10-2

    Fill in GPS info at gps_lat and gps_lon.

    10-3

View all 6 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates