Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • iLabs Platform
      • Raspberry Pi Platform (MCU)
      • Seeed Platform
      • Silicon Labs Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Raspberry Pi Platform (SBC)
      • UDOO Platform
    • Peripherals >
      • Shields
      • Grove System
      • Sensors
      • Actuators
    • Displays >
      • E-Paper Displays
      • Reflective Displays
      • TFT Displays
      • LCD Displays
    • Legacy Platforms >
      • chipKIT Plaform
      • 4D Systems Platform
      • Intel Platform
      • LaunchPad Plaform
      • BoosterPacks for LaunchPads
      • LightBlue Bean
      • Maple Plaform
      • Mediatek Platform
      • Microsoft Azure IoT DevKit
      • Particle Platform
  • Software
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
    • Going Python?
  • IoT
    • IoT Platforms: Which Hardware? >
      • Matter with Silicon Labs MG24
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions
      • Platform-Specific IoT Solutions
      • Other IoT Solutions
      • Not tested IoT Solutions
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • Boards Pins Maps
      • Ruler
      • Boards and Plugs
      • I²C Logic Level Converter
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDE >
      • The Battle of IDEs
      • More Options
      • Assessing the Next Generation of IDEs
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
      • Nordic Power Profiler Kit II
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView Library Suite
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Remote E-Paper Weather and Message Board
      • Typie-Walkie with LoRa and E-Paper Screen
      • Typie-Walkie with E-Paper Screen
      • Remote e-Paper Pictures Panel
      • Remote e-Paper Messages Panel
      • Industrial IoT Project
      • Remote Contactless Temperature Monitor
      • Using Node-RED for IIoT
      • Low Power Home Network Weather Monitoring
      • Updated Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • AI Projects >
      • Colour Recognition with Neural Network
    • Other Projects >
      • Air Quality Monitoring
      • Driving a Large E-Paper Display with a Compact Xiao RP2040
      • Low-Power E-Paper Weather Station
      • Portable Particulate​ Matter Monitor
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

IoT with Atmosphere IoT

One major challenge when developing IoT projects is to ensure the consistency between the embedded system, the smartphone app and the cloud dashboard. The Atmosphere IoT solution provides an interesting answer.
​
This was prompted by the Smart Home Kit for Digi-Key IoT Studio - Feather ESP32 + Parts kit sold by Adafruit. The kit comes with a large assortment of home appliances: main MCU board based on the ESP32, relay, weather sensor (BME680: Temperature, Humidity, Pressure and VOC), 3-axis accelerometer, LEDs, motor and fan, magnetic contact switch, buzzer, cables, and a house!

The most interesting part of the kit is software, with an online IDE Digi-Key IoT Studio, actually a Digi-Key-branded version on the Atmosphere IoT tool. I didn't bough the kit but explored the Atmosphere IoT solution.
Picture
Picture
Picture
Picture

Software

The software includes three components:
  • The online IDE Atmosphere IoT, available through a browser.
  • A background app Atmosphere Client Agent running on Windows, Linux or macOS to upload the program to the MCU board.
  • An smartphone app Atmosphere IoT Platform for Android or iOS.

​The online IDE targets the three components of the solution:
  • the executable on the embedded system,
  • the app on the Android or iOS smartphone,
  • the dashboard on the could.
​
Picture
Picture
Picture
From left to right: The background, Android and iOS applications
​To each part of the solution corresponds a dedicated view on the IDE:
  • The code running on the MCU board, including the BLE services and characteristics, called device view, 
  • The code running on the Android or iOS smartphone, including the BLE connection, called application view,
  • The dashboard hosted on the cloud (not tested yet), called cloud view.​​​
Picture
Picture
Picture
From left to right: The device, application and cloud views

A Real Case

Atmosphere IoT comes with a wide range of examples. I picked the BME680 Demo Project designed for the RSL10 Sensor Development Kit and adapted it to the Adafruit Huzzah32.

The device view is about the code running on the MCU. Development relies on blocks, to be taken from the right pane of the screen.

Many boards and MCUs are supported, including Arduino, Adafruit and Raspberry Pi, Atmel AVR and PIC32, Espressif, Nordic, STMicroelectronics, Cypress, ON Semiconductor.



Picture
Services and characteristics are defined automatically for the BLE block.
​
Picture
The generated source can be displayed and downloaded.

​Launch the Atmosphere Client Agent first 
to upload the executable to the board. Unfortunately, the Atmosphere IoT Agent was detected neither on macOS 10.15.3 Catalina nor on Windows 10. Rebooting the computer solved the issue, but only once.
​
Picture
The application view focuses on the smartphone interface. The BLE services and characteristics are populated automatically.
​
Picture
​Here, a toggle switch sends commands to the BLE block.


​
Picture
It took me multiple attempts to obtain the Father ESP32 listed among the devices on the smartphone app. 

Similarly, the app doesn't seem to manage the screen size properly, hiding the close or return buttons on the very bottom.

​
Picture
Picture
Finally, the cloud view designs the dashboard on the cloud.

​I haven't tested this part.



​
Picture
However, when I tried to adapt the BME680 Demo Project designed for the RSL10 Sensor Development Kit to the Adafruit Huzzah32, I didn't manage to get it work.  

Conclusion

Atmosphere IoT is still a young product, with annoying bugs and interface issues. Improving stability is urgent to deliver all the potential of its promises. 

Similarly, I am not a big fan of internet-only solution, as connection to internet raises many issues of both reliability and security, as per DNS DDoS, IDE and IoT and The Requirements for IoT, An Update. I would appreciate to run the system on a local server.

In the meantime, ​Blynk offers a much better experience, although without the cloud part.
Picture

Pros

  • Consistency across node, smartphone and cloud
  • Excellent documentation and reference

Cons

  • Online only, no option for local server
  • Some parameters for some nodes are not clear

Wrap-Up

  • Consistency across node, smartphone and cloud
  • Online only, no option for local server
  • Too many bugs and interface issues

Links

  • Smart Home Kit for Digi-Key IoT Studio - Feather ESP32 + Parts from Adafruit
  • Atmosphere website
  • Atmosphere Developer Hub
Picture
Posted: 10 Feb 2020
Updated:
Powered by Create your own unique website with customizable templates.