element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Design For A Cause 2021
  • Challenges & Projects
  • Design Challenges
  • Design For A Cause 2021
  • More
  • Cancel
Design For A Cause 2021
Blog Smart Exhibit: Blog #5: Arduino IoT Cloud connection
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: alexandru.cohal
  • Date Created: 6 May 2021 9:47 PM Date Created
  • Views 1331 views
  • Likes 4 likes
  • Comments 0 comments
  • arduino iot cloud
  • smart exhibit
  • arduino cloud
  • dashboard
  • design for a cause
Related
Recommended

Smart Exhibit: Blog #5: Arduino IoT Cloud connection

alexandru.cohal
alexandru.cohal
6 May 2021

Hello!

 

Here is what I did in the last days:

  • I upgraded the Sanity Check program for the whole system (the Arduino board + all the components) developed before (and mentioned here Smart Exhibit: Blog #4: Electronic schematic, system building and sanity checks) in order to use multitasking. Separate tasks for each sensor with different periods were implemented. This solution is needed because not all the sensors have to be read with the same period (some physical phenomena have a slow dynamic). I used the TaskScheduler library for this. Below is a table with the reading periods for each sensor used.
SensorReading Period [sec]
Temperature1
Humidity1
Illuminance0.5
Motion

5 (because of the limitations of the sensor)

Sound0.1
IMU0.1
Button0.5
  • I implemented a Sanity Check for the WiFi connection of the Arduino Nano 33 IoT board.
  • I put together the previous 2 parts and I connected the whole system to the Arduino IoT Cloud. The sensors' values are sent periodically to the cloud, with different periods for each sensor using multitasking. For the IMU and for the microphone, because the actual values read are not that important for my use-case, I decided to not send them but to do a basic processing on the hardware level and to send only True-False values depending whether an important variation in values is detected.
  • I designed a Dashboard in the Arduino IoT Cloud for:
    • visualizing the received values from the hardware platform
    • chatting in a basic way with the hardware platform image If the "status" message is written from the  and if the hardware platform is functioning normally, the message "I Am Alive!" will be received. If any other message is sent, the response will be "Unknown command : ("
    • manually switching on an alarm from the hardware platform (a beeping using the speaker). For example, if a too high temperature value is seen on the Dashboard, the Museum staff can trigger the alarm because probably a fire appeared close to the exhibit and protection measures should be taken.
  • Here is how the Dashboard looks in action on a computer:

image

  • Here is how the Dashboard looks in action on a phone (partially, because some scrolling is needed image) using the Arduino IoT Cloud Remote Android app:

image

  • I pushed all the code to my repository (https://github.com/alexandru-cohal/SmartExhibit).

 

Some more fun will come in the next days with the connection to the Cloud! image

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube