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 Design for A Cause 2021 - Health Monitoring in Home Utilizing IoT - IoT System with Thinger.io Platform, Part 2 – Blog #12
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: guillengap
  • Date Created: 26 May 2021 5:11 PM Date Created
  • Views 698 views
  • Likes 3 likes
  • Comments 0 comments
  • arduino_nano_33_iot
  • iot system
  • thinger.io
  • design_for_a_cause_2021
Related
Recommended

Design for A Cause 2021 - Health Monitoring in Home Utilizing IoT - IoT System with Thinger.io Platform, Part 2 – Blog #12

guillengap
guillengap
26 May 2021

IOT SYSTEM WITH Thinger.io PLATFORM, PART 2

 

IOT SYSTEM

 

Now is the time to create a complete system, where our doctor can both monitor the readings of a temperature sensor and also activate a switch on a ventilator or can control the amount of oxygen with a slidebar. All this via remote in some patient who doesn't have much mobility due to his/her illness or his/her disability and in this way the doctor can help us.

 

ADDING DEVICES

 

We open the main console and in the Devices section we click on the Add Device button.

image

As in the case of our post 11, we fill out our form as shown below:

image

We use the same data in our source code that we will upload to our Arduino NANO 33 IoT board: iot_system.ino

 

#define _DISABLE_TLS_

// other includes goes here

#include <ThingerWiFiNINA.h>

#define USERNAME "guillengap"

#define DEVICE_ID "IOT_SYSTEM_NANO_33_IOT"

#define DEVICE_CREDENTIAL "8kk1GqqbqsMJnsvV"

#define SSID "*********"

#define SSID_PASSWORD "************"

ThingerWiFiNINA thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

void setup() {

  // configure wifi network

  thing.add_wifi(SSID, SSID_PASSWORD);

  pinMode(13, OUTPUT); 

    thing["led"] << digitalPin(13);   

    thing["led2"] << analogPin(12);   

    thing["temp"] >> outputValue(analogRead(A0));

   

}

void loop() {

  thing.handle();

}

 

NOTES:

  • You can download the code here:  iot_system.rar

  • Don't forget to include our SSID and our SSID PASSWORD.

 

The electrical diagram is shown below.

image

HOW DOES IT WORKS?

  • The LED diode connected to pin 13 is controlled remotely by means of a switch and using the Thinger.io platform.

  • The LED diode connected to PIN 12 is controlled remotely by means of a slider and using the Thinger.io platform.

  • The TMP36 temperature sensor is sampled and its readings are sent every 5 seconds to the remote iot Thinger.io server.

 

In the image below we believe that our system is working very well.

image

In the main menu, we also verify in the Devices section that our device "IOT_SYSTEM_NANO_33_IOT" is connected.

image

 

ADDING DASHBOARDS

 

Now we go to the Dashboards section and click on the Add Dashboard button and fill in the form as shown below.

 

image

We click on the Add Dashboard button and the image below is shown to us with a warning that we go into edit mode to add widgets.

image

The next step is to create three widgets: a switch for the first LED, a slide bar for the second LED, and a gauge for monitoring the TMP36 temperature sensor. In order to make this project more didactic, I will describe this topic in the next post since several points have to be clarified: Blog #13

________________________________________

  • Click here for the main menu

  • Click here for the next post

  • Click here for the previous post

  • 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