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 1 – Blog #11
  • 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 7:18 AM Date Created
  • Views 505 views
  • Likes 4 likes
  • Comments 0 comments
  • 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 1 – Blog #11

guillengap
guillengap
26 May 2021

IOT SYSTEM WITH Thinger.io PLATFORM, PART 1

 

In this final part of my project, I'm going to explore the design of an IoT system that can serve the doctor who attends his patients remotely, since he will not only measure his patient's medical parameters but can also activate switches. for example a fan or an oxygen tank remotely through the internet of things. We start from simple things to more complex things as we will see below.

 

SIMPLE IOT PROJECT

 

Thinger.io is an open source iot platform, here we will find many free resources as we will see below. The first step will be to open a free account on thinger.io

image

The console dashboard is shown below.

image

 

ADDING DEVICES

 

We go to the Devices section and click on Add Devices.

image

We click on the Add Devices button after filling in the "Device Id" and "Device Credentials" fields.

We type this data in our Arduino NANO 33 IoT board code as shown below: switch.ino

 

#define _DISABLE_TLS_

// other includes goes here

#include <ThingerWiFiNINA.h>

#define USERNAME "guillengap"

#define DEVICE_ID "SWITCH_ARDUINO_NANO_33_IOT"

#define DEVICE_CREDENTIAL "7%fV8d#44HvqaWsY"

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

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

ThingerWiFiNINA thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

void setup() {

  // configure wifi network

  thing.add_wifi(SSID, SSID_PASSWORD);

  pinMode(LED_BUILTIN, OUTPUT);

  // pin control example (i.e. turning on/off a light, a relay, etc)

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

  // resource output example (i.e. reading a sensor value, a variable, etc)

  thing["millis"] >> outputValue(millis());

  // more details at http://docs.thinger.io/arduino/

}

void loop() {

  thing.handle();

}

 

NOTES:

  • You can download the code here:  switch.rar

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

 

The electrical diagram is shown below.

image

 

The image below is shown to us after uploading the code on our Arduino NANO 33 IoT board:

image

In our Devices section, we also see the connection established with our board.

image

 

ADDING DASHBOARDS

 

Now we go to the Dashboards section, it is empty as we see below. Click Add Dashboard

image

As shown below, we fill in the following fields: Dashboard Id, Dashboard name, and Dashboard description.

image

Click on the Add Dashboard button and the message below appears:

image

Info: This dashboard is empty! Enter in edit mode from top right switch to add some widgets.

 

ADDING WIDGETS

 

To enter the widget editing mode, we click the right button on our screen as shown below:

image

We fill in the next information in the "Widget" tab

image

We fill in the next information in the "On/Off State" tab

image

We fill in the next information in the "Display Optins" tab

image

When we click on the Save button, we are shown the following image below with our button edited.

image

 

TEST

 

A test done with the PC is shown in the video below.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Finally we see in the video below a test made with the android application thinger.io

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

________________________________________

  • 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