This document provides an overview of an introduction to practical Internet of Things (IoT) course at Aalto University. The course aims to teach students to build simple IoT devices, covering all aspects from hardware, power, software, and communication. Students will work in teams with different roles to build a basic Bluetooth Low Energy device and integrate it with an external gateway system. The document outlines the course content which includes introductions to IoT system architecture, embedded devices, user interfaces, cloud computing, and communication protocols.
The internet of things (IoT) is the internetworking of physical devices, vehicles, buildings and other items—embedded with electronics, software, sensors, actuators, and network connectivity that enable these objects to collect and exchange data.
IoT how it works, IoT Perspectives, IoT technologies, IoT architecture, IoT protocols, IoT applications, sensor as service model, IoT data flow, IoT functional view, IoT analogy, IoT taxanomy of research
IoT design considerations
Congresso Sociedade Brasileira de Computação CSBC2016 Porto Alegre (Brazil)
Workshop on Cloud Networks & Cloudscape Brazil
Sergio Takeo Kofuji, Assistant Professor at the University of São Paulo, Coordinator to FI WARE LAB in University of São Paulo, Brazil
The European Commission, in a recent communication (April 19th), has identified 5G and Internet of Things (IoT) amongst the ICT standardisation priorities for the Digital Single Market (DSM). This session will discuss the emergence of the mobile edge computing paradigm to reduce the latency for processing near the source large quantities of data and the need of the emerging 5G technology to satisfy the requirements of different verticals. Mobile Edge Clouds have the potential to provide an enormous amount of resources, but it raises several research challenges related to the resilience, security, data portability and usage due to the presence of multiple trusted domains, as well as energy consumption of battery powered devices. Large and centralized clouds have been deployed and have shown how this paradigm can greatly improve performance and flexibility while reducing costs. However, there are many issues requiring solutions that are user and context aware, dynamic, and with the capability to handle heterogeneous demands and systems. This is a challenge triggered by the Internet of Things (IoT) scenario, which strongly requires cloud-based solutions that can be dynamically located and managed, on demand and with self-organization capabilities to serve the purposes of different verticals.
The purpose of this project is to control robot with an interface board of the Raspberry Pi, sensors and software to full fill real time requirement.
Controlling DC motors, different sensors, camera interfacing with raspberry Pi using GPIO pin.
Live streaming, Command the robot easily, sends data of different sensors which works automatically or control from anywhere at any time.
Design of the website and control page of robot is done using Java tools and HTML. This system works on IOT concept.
This will enable Raspberry Pi to be used for more robotic applications and cut down the cost for building an IOT Robot.
IoT Tutorial for Beginners | Internet of Things (IoT) | IoT Training | IoT Te...Edureka!
This "IoT Tutorial For Beginners" by Edureka will help you grasp the basic concepts of Internet of Things & explains, how IoT is trying to revolutionize the world. This IoT tutorial helps you learn following topics:
1. What is Internet of Things
2. Why do we need Internet of Things
3. Benefits of Internet of Things
4. IoT features
5. IoT Demo - Weather Station application using Raspberry Pi and Sense Hat
Subscribe to our Edureka channel to get video updates. Hit the subscribe button above.
#Whatisiot #iot #iottutorial #internetofthings #iotonlinetraining #iotforbeginners
For more information, please write back to us at sales@edureka.co
Call us at US: 1800 275 9730(toll free) or India: +91 88808 62004
Website: https://www.edureka.co
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Internet of Things(IoT) - Introduction and Research Areas for ThesisWriteMyThesis
Internet of Things(IoT) is the latest technology making its presence felt in the world. There are various research areas for IoT thesis for M.Tech and Ph.D. Find out the latest topics for thesis and research here.
The internet of things (IoT) is the internetworking of physical devices, vehicles, buildings and other items—embedded with electronics, software, sensors, actuators, and network connectivity that enable these objects to collect and exchange data.
IoT how it works, IoT Perspectives, IoT technologies, IoT architecture, IoT protocols, IoT applications, sensor as service model, IoT data flow, IoT functional view, IoT analogy, IoT taxanomy of research
IoT design considerations
Congresso Sociedade Brasileira de Computação CSBC2016 Porto Alegre (Brazil)
Workshop on Cloud Networks & Cloudscape Brazil
Sergio Takeo Kofuji, Assistant Professor at the University of São Paulo, Coordinator to FI WARE LAB in University of São Paulo, Brazil
The European Commission, in a recent communication (April 19th), has identified 5G and Internet of Things (IoT) amongst the ICT standardisation priorities for the Digital Single Market (DSM). This session will discuss the emergence of the mobile edge computing paradigm to reduce the latency for processing near the source large quantities of data and the need of the emerging 5G technology to satisfy the requirements of different verticals. Mobile Edge Clouds have the potential to provide an enormous amount of resources, but it raises several research challenges related to the resilience, security, data portability and usage due to the presence of multiple trusted domains, as well as energy consumption of battery powered devices. Large and centralized clouds have been deployed and have shown how this paradigm can greatly improve performance and flexibility while reducing costs. However, there are many issues requiring solutions that are user and context aware, dynamic, and with the capability to handle heterogeneous demands and systems. This is a challenge triggered by the Internet of Things (IoT) scenario, which strongly requires cloud-based solutions that can be dynamically located and managed, on demand and with self-organization capabilities to serve the purposes of different verticals.
The purpose of this project is to control robot with an interface board of the Raspberry Pi, sensors and software to full fill real time requirement.
Controlling DC motors, different sensors, camera interfacing with raspberry Pi using GPIO pin.
Live streaming, Command the robot easily, sends data of different sensors which works automatically or control from anywhere at any time.
Design of the website and control page of robot is done using Java tools and HTML. This system works on IOT concept.
This will enable Raspberry Pi to be used for more robotic applications and cut down the cost for building an IOT Robot.
IoT Tutorial for Beginners | Internet of Things (IoT) | IoT Training | IoT Te...Edureka!
This "IoT Tutorial For Beginners" by Edureka will help you grasp the basic concepts of Internet of Things & explains, how IoT is trying to revolutionize the world. This IoT tutorial helps you learn following topics:
1. What is Internet of Things
2. Why do we need Internet of Things
3. Benefits of Internet of Things
4. IoT features
5. IoT Demo - Weather Station application using Raspberry Pi and Sense Hat
Subscribe to our Edureka channel to get video updates. Hit the subscribe button above.
#Whatisiot #iot #iottutorial #internetofthings #iotonlinetraining #iotforbeginners
For more information, please write back to us at sales@edureka.co
Call us at US: 1800 275 9730(toll free) or India: +91 88808 62004
Website: https://www.edureka.co
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Internet of Things(IoT) - Introduction and Research Areas for ThesisWriteMyThesis
Internet of Things(IoT) is the latest technology making its presence felt in the world. There are various research areas for IoT thesis for M.Tech and Ph.D. Find out the latest topics for thesis and research here.
IOT is connecting every physical object in the world using wireless technologies to track and control them from every where in the world...Every object is uniquely identified using ip addresses(IPv6)
This is a slide containing the IoT theory and integration with arduino as an IoT device. There is also various IoT service providers like ThingSpeak and other cloud services are discussed.
Internet of Things (IoT) - We Are at the Tip of An IcebergDr. Mazlan Abbas
You are likely benefitting from The Internet of Things (IoT) today, whether or not you’re familiar with the term. If your phone automatically connects to your car radio, or if you have a smartwatch counting your steps, congratulations! You have adopted one small piece of a very large IoT pie, even if you haven't adopted the name yet.
IoT may sound like a business buzzword, but in reality, it’s a real technological revolution that will impact everything we do. It's the next IT Tsunami of new possibility that is destined to change the face of technology, as we know it. IoT is the interconnectivity between things using wireless communication technology (each with their own unique identifiers) to connect objects, locations, animals, or people to the Internet, thus allowing for the direct transmission of and seamless sharing of data.
IoT represents a massive wave of technical innovation. Highly valuable companies will be built and new ecosystems will emerge from bridging the offline world with the online into one gigantic new network. Our limited understanding of the possibilities hinders our ability to see future applications for any new technology. Mainstream adoption of desktop computers and the Internet didn’t take hold until they became affordable and usable. When that occurred, fantastic and creative new innovation ensued. We are on the cusp of that tipping point with the Internet of Things.
IoT matters because it will create new industries, new companies, new jobs, and new economic growth. It will transform existing segments of our economy: retail, farming, industrial, logistics, cities, and the environment. It will turn your smartphone into the command center for the both digital and physical objects in your life. You will live and work smarter, not harder – and what we are seeing now is only the tip of the iceberg.
As new technologies are emerging, It is giving rise to immersive and seamless interactions between devices and systems. This in turn giving rise to different use cases which has brought about many disruptions and innovations in last couple of years. Internet of things (IOT) has given a new outlook in which systems are getting developed, integrated and delivered.
www.facebook.com/iotians
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...Slide Marvels
This is a small video done with Microsoft PowerPoint by the designers of Slide Marvels on the topic 'Internet of Things (IoT).
Slide Marvels (www.slidemarvels.com) is a leading Presentation Design Company having experience of many years. We are a professional team of presentation designers who have already worked in major consulting firms like McKinsey & Co., Boston Consulting Group and Deloitte to mentioned some of them.
Our passion is to build and design any type of PowerPoint presentations from pitch decks, team meeting, training documents up to webinar documents and more. We always design World Class presentation that you will be proud of.
www.slidemarvels.com
IOT is connecting every physical object in the world using wireless technologies to track and control them from every where in the world...Every object is uniquely identified using ip addresses(IPv6)
This is a slide containing the IoT theory and integration with arduino as an IoT device. There is also various IoT service providers like ThingSpeak and other cloud services are discussed.
Internet of Things (IoT) - We Are at the Tip of An IcebergDr. Mazlan Abbas
You are likely benefitting from The Internet of Things (IoT) today, whether or not you’re familiar with the term. If your phone automatically connects to your car radio, or if you have a smartwatch counting your steps, congratulations! You have adopted one small piece of a very large IoT pie, even if you haven't adopted the name yet.
IoT may sound like a business buzzword, but in reality, it’s a real technological revolution that will impact everything we do. It's the next IT Tsunami of new possibility that is destined to change the face of technology, as we know it. IoT is the interconnectivity between things using wireless communication technology (each with their own unique identifiers) to connect objects, locations, animals, or people to the Internet, thus allowing for the direct transmission of and seamless sharing of data.
IoT represents a massive wave of technical innovation. Highly valuable companies will be built and new ecosystems will emerge from bridging the offline world with the online into one gigantic new network. Our limited understanding of the possibilities hinders our ability to see future applications for any new technology. Mainstream adoption of desktop computers and the Internet didn’t take hold until they became affordable and usable. When that occurred, fantastic and creative new innovation ensued. We are on the cusp of that tipping point with the Internet of Things.
IoT matters because it will create new industries, new companies, new jobs, and new economic growth. It will transform existing segments of our economy: retail, farming, industrial, logistics, cities, and the environment. It will turn your smartphone into the command center for the both digital and physical objects in your life. You will live and work smarter, not harder – and what we are seeing now is only the tip of the iceberg.
As new technologies are emerging, It is giving rise to immersive and seamless interactions between devices and systems. This in turn giving rise to different use cases which has brought about many disruptions and innovations in last couple of years. Internet of things (IOT) has given a new outlook in which systems are getting developed, integrated and delivered.
www.facebook.com/iotians
Internet of Things (IoT) - Slide Marvels, Top PowerPoint presentation design ...Slide Marvels
This is a small video done with Microsoft PowerPoint by the designers of Slide Marvels on the topic 'Internet of Things (IoT).
Slide Marvels (www.slidemarvels.com) is a leading Presentation Design Company having experience of many years. We are a professional team of presentation designers who have already worked in major consulting firms like McKinsey & Co., Boston Consulting Group and Deloitte to mentioned some of them.
Our passion is to build and design any type of PowerPoint presentations from pitch decks, team meeting, training documents up to webinar documents and more. We always design World Class presentation that you will be proud of.
www.slidemarvels.com
Internet of things is one of the hottest areas nowadays. It has been predicted that about 50B devices would be connected to each other by 2020. Internet of things or you can say internet of everything, i.e. connecting everything together.
You can visit http://www.youtube.com/kgptalkie for full video tutorials
A webinar discussing the costs associated with building an internet of things solution with various LPWAN technologies: LTE-M, NB-IOT, Ingenu, Sigfox, and more. Bluetooth Low Energy (BLE) solutions are also considered.
An Introduction to Internet of Things (IoT) Course was conducted at the International conference on Smart Technologies for Smart Nation 2017, REVA University, Bangalore, India.
DIY Home Weather Station (Devoxx Poland 2023)Ryan Cuprak
Weather is a fascinating and important aspect of our lives, and with the rise of smart home technology, it has become easier than ever to track and monitor weather conditions in your own backyard. In this presentation, I will explore the process of building a home weather station.
I will discuss the hardware components needed to build a weather station, including sensors for temperature, humidity, pressure, and precipitation, as well as the embedded board itself. I will also cover the programming aspect of the project, including how to read data from the sensors and transmit it wirelessly to the cloud.
By the end of this presentation, you will have a solid understanding of how to build and program a home weather station using Arduino, and how to customize and expand the project to fit your specific needs.
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
2. Today’s outline
• Introduction to Internet of Things (60 slides, 90 min)
• NEPPI IoT (20 slides, 30 min)
• NEPPI Tech Tools (10 slides, 15 min)
• NEPPI Tech Roles (discussion)
3. NEPPI Tech Course
• NEPPI Tech is a new IoT course at Aalto university
• Goal: learn to make simple IoT devices
• All aspects: HW, powering, SW, communication
• Teamwork, with different roles
• Practical goal: Make a simple BLE device and integrate
with an external “gateway” system
• https://neppi.aalto.fi/about/
• https://github.com/AaltoNEPPI
5. Outline
• Overall IoT system architecture
• What a “real” IoT system architecture would be
• The simplified architecture used at NEPPI
• Embedded or “thing” devices
• User interfaces options and the NEPPI approach
• Understanding the cloud and communications
• Future directions
9. Outline
• Overall IoT system architecture
• Embedded or “thing” devices
• Estimating the total cost & feasibility
• Hardware & Software
• User interfaces options and the NEPPI approach
• Understanding the cloud and communications
• Future directions
11. Estimating the total cost
• Development costs
• Hardware design: PCB, assembly, testing
• Software design: Design, coding, testing
• Casing and mechanical design
• Manufacturing costs
• BOM: Bill of Materials: electronics & mechanics
• Manufacturing costs: assembly, testing, packaging
• COGS: Cost of Goods Sold
12. Thing HW considerations
• Real life interfaces: sensors, actuators
• Computation needs: logic, protocols, security
• Communication: wireline, wireless
• Power: wireline, battery, charging
• Total cost: Development, BOM, COGS
• BOM: Cost of parts, assembly
• COGS: Manufacturing, defect products, support
13. Estimating hardware cost
Cheapest Wearable BLE RasPi Wifi
MCU
Comms
PSU
Battery
PCB + misc
Total ? ? ?
+ sensors
Note! Numbers will be educated guesses!
Focus
14. Estimating power
Battery
Electrical
capacity
?? mAh
Max current
?? mA
Power
supply
MCU
Radio
Others
Voltage
regulation
Peak and average
power consumption
? mA
? V
? mA
? mA
? V
Battery life = battery capacity / average consumption
15. Where to get the numbers?
• Different channels for sourcing components
• Digikey for single components and prototypes
• Farnell, Mouser etc. for larger numbers
• Adafruit and Sparkfun for prototyping boards
• Component costs vs. volume: a rule of thumb
• Increasing volume 10x lowers the unit price 20%
• Experience teaches you to guess
16. Three Cs
• Connect
• Connect locally with the real world
• Compute
• Perform (relatively) complex operations
• Communicate
• Communicate through the Internet
17. A typical “thing”
MCU
CPU SRAM
Flash memory
Comms
I2C SPI GPIO …
Sensor
Actuator
Sensor
Power
supply
Antenna -or-
cable driver
(PHY)
Connect Compute Communicate
18. Compute
• Local application logic
• Pre-process data, local control loop, …
• Communications
• Upper protocol layers, energy saving features
• Security
• Certificates, crypto keys + algorithms, protocols
19. Compute alternatives
• MCU: Micro Controller Unit
• A tiny computer: CPU, SRAM memory, Flash
• FPGA: Field Programmable Gate Array
• Programmable logic gates
• ASIC: Application Specific Integrated Circuit
• Custom designed chip
20. MCU / FPGA / ASIC
MCU FPGA ASIC
Availability COTS COTS Custom
Development Easy Harder Hardest
Performance Slow Faster Fastest
Power Highest Depends Lowest
Size Large Large Small
Upfront cost Low: 1k+ Medium: 10k+ High: 500k+
Unit cost Medium: 0.50–50 High: 5–200 Low: 0.01–5
21. Example low end chips
STM 32F030 nRF52832 ICE40LP8 ECP3-17
CPU Cortex-M0 Cortex-M4F FPGA FPGA
SRAM 4 kb 32 kb 16 kb 90 kb
Flash 16 kb 256 kb 7680 LUT 17 kLUT
Performance 43 MIPS 80 MIPS ~10 ns ~5 ns
Powering 3.3V 1.8–3.3V 1.2V 1.2V
Consumption 20 mA 10–50 mA < 20 mA > 100 mA
Cost @1 $1 $4 $7 $25
Since 2015 2016 2013 2012
22. Connect:
Sensing and actuating
• Sensing the environment
• Hundreds of possibilities: temperature, light,
noise, humidity, orientation, movement, …
• Usually implemented with a separate chip
• Actuating
• Lighting, voice, vibration, movement, …
• Usually need a separate driver chip or circuit
24. Communicate
• Talk with the rest of the system
• Basic alternatives: wireline or wireless
• Wireline allows integrating power delivery
• Wireless is sometimes cheaper but less reliable
• Wireless the only choice for mobile devices
25. Wireline alternatives
USB
(Type C)
Ethernet
802.3
PoE
802.3at
PoDL
802.3bu
PLC
(Homeplug)
Max bps 10 Gb 1 Gb 1 Gb
typ. 10 Mb
(802.3cg)
500 Mb
Latency Low Low Low Lowish High
Max
length
< 5 m 100 m 100 m
200 m or
1 km
~50 m
Cable
USB
specific
4 pairs
UTP
4 pairs
UTP
1 pair
UTP
AC power
Max
Power
100 W – 50–90 W 65 W > 1 kW
Cost ~$10 $2–10 ~$10 < $1 ? ~$40
Since 2016 1980s 2009 2018 2010
26. Some wireless alternatives
WiFi 802.15.4 BLE NB-IoT
Typical
speed
150 Mbps 250 kbps 1 kbps 20 kbps
Latency 2 ms varies 1 s 2–10 s
Distance 100 m 10 m 10 m 10 km
Freq
ISM 2400 or
5000
ISM 900 or
2400
ISM 2400 4G licensed
Power 1W 100 mW 10 mW 500 mW
Cost @1 $5 Builtin Builtin $10
Since 1990s 2006 2010 2018
27. A typical “thing”
MCU
CPU SRAM
Flash memory
Comms
I2C SPI GPIO …
Sensor
Actuator
Sensor
Power
supply
Antenna -or-
cable driver
(PHY)
LiPo
battery
28. Estimating power
Current
Cheapest
PoDL
Wearable BLE RasPi Wifi
MCU 20 mA 20 mA 500 mA
Comms 50 mA 30 mA 300 mA
Max current 70 mA 50 mA 800 mA
Battery capacity – 500 mAh 4000 mAh
Sleeping time 90 % 96 % 90 %
Battery life — 75 h 50 h
32. Outline
• Overall IoT system architecture
• Embedded or “thing” devices
• Estimating the total cost & feasibility
• Hardware & Software
• User interfaces options and the NEPPI approach
• Understanding the cloud and communications
• Future directions
34. Thing SW considerations
• Remember: really small memory
• Flash: 16 kb — 1024 kb
• SRAM: 4 kb — 256 kb
• Memory is a major cost factor for the MCU
• Not even a remote possibility to run Linux
• Choices: Bare metal or RTOS
35. Bare metal
• Program directly on the top of hardware
• Maybe a “HAL” (hardware abstraction layer)
• No dynamic memory management
• No multitasking: no processes, no threads, nothing
• Choices: Polling, interrupts, custom scheduler
• Must tackle the parallelism present in hardware
• Many I/O functions work autonomously
36. Real Time OS
• Dozens of different ones available
• Complexity and features vary a lot
• Complexity also affects memory cost
• Most popular ones today open source
• Pay attention to community, licence, ownership
• FreeRTOS, RIOT-OS, Contiki, mbed, Brillo
• At NEPPI we use RIOT-OS by default
37. IoT RTOS comparison
Contiki RIOT-OS FreeRTOS TinyOS
Owner Community Community Amazon* Community
License BSD LGPL MIT BSD
Min SRAM 10 kb 1.5 kb 500 b 400 b
Typ. SRAM 30 kb 5 kb 2 kb 1 kb
Min Flash 30 kb 5 kb 10 kb 1 kb
“Forks” 2200 1000 160 400
Status Active Active Active Waning out
Since 2003 2013 2003 2000
* Amazon bought FreeRTOS in 2017
39. Software challenges
• Power consumption
• Device should sleep most of the time
• Both HW and SW should be considered
• Concurrency
• Sensors and actuators work independently
• Testing and debugging
• Stability
41. SW development costs
• Typically agile methods used
• Hard to estimate exact final cost beforehand
• Typical MCU apps: 6–36 man months
• Software architecture matters
• Try to keep it as simple as possible (KISS)
• Study open source, search for good examples
• Latent and late obscure bugs cost most
• Swat bugs early, aim for zero bug toleration
42. Outline
• Overall IoT system architecture
• Embedded or “thing” devices
• User interfaces
• Typical IoT user interfaces
• Approach at NEPPI
• Understanding the cloud and communications
• Future directions
44. Main UI options
• Embedded, part of a building or environment
• E.g. light switch, burglar alarm control, etc.
• Mobile
• Smartphone app or a separate device
• Web enabled, served from the cloud
• Web UI, usable from PC and smartphone
• Not much focus on NEPPI, more a sideline
45. Embedded
• Traditionally custom-designed
• Nowadays more and more one of the following:
• Raspberry Pi with a small (touch) display
• Android tablet in a custom casing
• One of the emerging embedded platforms:
Arduino, mbed, Android Things, …
• Fixed installation power consumption not an issue
• The price of the PSU and cabling still matters
46. Embedded UI @ NEPPI
• You are on your own
• No support from the course
• Recommended:
• Arduino
• RasPi + Linux + Display
• Either with USB power
• Mind the cable lengths
47. Mobile UI
• Smartphone app
• Harder to develop & install
• Works without Internet connectivity
• Can use all sensors and e.g. Bluetooth
• Web-based mobile UI
• Easier to develop, no installation
• Requires Internet (or local server)
• Restrictions on using Smartphone functionality
48. Mobile UI @ NEPPI
• Web-based mobile UI
• Recommended: Framework 7
• Served from a local server
• Server runs inside Unity3D
• Connectivity:
• 3G/4G cellular Internet
• Local high speed WiFi
49. Cloud web UI
• Web UI served from a cloud server
• Often both mobile and tablet/PC adaptions
• Often shows near real time data from sensors
• Evolving area, no clear market leaders yet
• Most popular prototyping framework:
• Node RED
• Not considered at NEPPI
50. Outline
• Overall IoT system architecture
• Embedded or “thing” devices
• User interfaces
• Understanding the cloud and communications
• Cloud only very briefly
• Comms: Options, protocols, Bluetooth LoW Energy
• Future directions
52. IoT cloud
• Storage and computation taking place in the cloud
• Emerging field, no clear market leaders
• Heavyweights rushing in: IBM, Amazon, Google, …
• No clear open source platform leaders yet
• EU pushes FIWARE, but it is not very good
• At NEPPI we use a local Linux instead of a cloud
53. Communications
• Local vs. Internet communications
• Local: Between the “thing” and the gateway
• Internet: All the rest
• Wireline vs. wireless communications
• Covered briefly already earlier
• Protocol stacks: Internet, BLE, others
54. Local communication
• Thing to gateway
• Wireline: Ethernet, USB, PoE, others; legacy
• Remember power and its cost!
• Wireless: BLE, ZigBee (802.15.4), WiFi, others
• Remember power and battery lifetime
55. Protocol stacks
• TCP/IP
• Used everywhere in the Internet; often also locally
• Assumed to be known to everybody
• USB: Own, complex protocol stack
• Many subprotocols, including “serial emulation”
• Also Ethernet over USB (several variations), supporting TCP/IP
• BLE: Own, complex protocol stack
• Main protocol: GATT (Generic ATTribute Profile)
• Also TCP/IP over BLE (RFC 7668)
58. Outline
• Overall IoT system architecture
• Embedded or “thing” devices
• User interfaces
• Understanding the cloud and communications
• Future directions
60. IoT future directions
• Things:
• All things using electricity connecting to the Internet
• PSU cost probably a major limiting factor
• Target cost: < $3 with the PSU and casing
• Gateways:
• Hopefully standardisation and consolidation
• RasPi as the de facto platform
• RasPi 3 has built-in BLE and WiFi
• Target cost: < $15 with the PSU and casing
61. IoT future directions
• Cloud:
• Edge and Fog computing
• Network Function Virtualisation (NFV)
• Computation at the network closer to the 4G/5G devices
• Hopefully standardised IoT interfaces at some point
• E.g. W3C Web of Things (WoT)
• Artificial Integration and Big Data integration
• Communication
• Ethernet (for PHY) and TCP/IP as the de facto standards
• USB, BLE, IoT-NB, etc as specialised local / last mile
• Security more and more importan
62. IoT future directions
• User interfaces
• Smartphone increases, consolidation in embedded platforms
• Security and privacy
• Increasingly important
• Major factor for R&D costs
• Integration with blockchains aka Distributed Ledger Technologies
• Data markets
• Rise of Digital Twins
• Possibly Open Digital Business Platforms with DLT
63. Summary
• Overall IoT system architecture
• Embedded or “thing” devices ⇐ focus here
• User interfaces
• Cloud and communications
• Future directions
67. NEPPI approach
• NEPPI provides a partial, simplified IoT platform
• Development boards for HW
• Skeleton code for SW
• Other tools may be freely used
• No support from the course personnel
• Recommended that you specialise!
• E.g. embedded HW, SW, UI, communication, …
72. NEPPI components
• Things: nRF52 Development Kit + RIOT-OS
• User interfaces: Unity3D, Mobile Web app
• Communication: BLE GATT, TCP/IP HTTP
• Gateway + cloud: PC + Linux + Unity3D
74. Nordic Semi nRF52
• Very popular Bluetooth
capable wireless MCU
• 32-bit ARM Cortex-M4F CPU
• Up to 512kB Flash
• Up to 64kB SRAM
• Embedded 2.4GHz radio
• Internal power supply unit
• Designer friendly
• List price USD 1.50 – 6.00
76. RIOT-OS
• Popular open source RTOS
• Many developers at Freie Universität Berlin
• Supports programming in C (and partially C++)
• Can be debugged inside a Linux process (“native”)
• nRF52 BLE support experimental
• Alternative: 6LoWPAN IPv6 (needs further study)
78. Unity 3D
• Cross-platform game engine
• Runs under Windows, Linux, and Mac OS X
• Generates directly the 3D graphics from Linux
• Supports “scripting” in C# (and Unity JavaScript)
• Able to run “background tasks” — both WIP
• Web server for a Mobile Web UI
• BLE communication for nRF52 “things”
79. Mobile Web App
• Served from the local Web server in Unity3D
• Accessible over local WLAN (later also Internet)
• Recommended UI framework: Framework 7
• Also other frameworks will be used
• Only a secondary learning goal at NEPPI
• Standard HTML5, supposed to be known
• Support from the course somewhat lower
81. BlueTooth Low Energy
• Most commonly used low power protocol stack
• Designed to work for years with CR3032 battery
• Supported in all smartphones, most tablets & PCs
• Most commonly used wireless in wearable devices
• Requires a new GATT Profile to be defined
• Programming both in Unity3D and nRF52
• Defining and implementing a major task
82. HTTP and HTML5
• Communication over local WiFi
• Between Linux and Mobile Web app
• Standard HTTP and HTML5
• Assumed to be known, e.g. from
• CS-C3170 Web Software Development
• CS-E4400 Design of WWW Services
• CS-E4460 WWW-applications
83. “Cloud + gateway”
Smartphone Linux
nRF52
embedded
(Arduino)
HTTP BlueTooth Low Energy
USB / serial
(Framework7)
Unity3D
84. Linux PC
• Standard Linux PC running Ubuntu
• Use a Virtual Machine if you run Windows
• Ask for instructions from the course assistants
• (Mac OS X maybe supported by the course)
• Used for
• Unity3D development
• Compiling for and flashing nRF52
88. NEPPI tools
• Source code management tools
• Programming languages and their purposes
• Embedded HW development tools
• Embedded SW development tools
• BlueTooth development tools
• Mobile Web app development tools
• Locally developed tools
89. Source code management
• The tool: git
• Most popular source code
management tool today
• The cloud: Github
• Most popular open source
management platform
• Tutorial on Monday June 4th
• Given by
Santeri Paavolainen
90. Programming languages
• C (or limited C++)
• ELEC-A7100 C programming basics
• Used for nRF52 embedded coding
• C#
• Object oriented language, similar to Java
• Used for Unity3D programming
• JavaScript
• Kind-of object oriented language, with its own twist
• Used for Mobile Web app programming
91. Embedded HW tools
• Nordic semi nRF52 DK
• Breakout boards for sensors…
• Dataloggers, oscilloscopes
• Available at Sähköpaja
• USB cable for powering,
programming and debugging
• KiCAD PCB design tool
• Tutorial on June 5–6
92. Embedded SW tools
• nRF52 SDK
• RIOT-OS
• Flashing tools
• Linux command line
• Makefiles (make)
• Gnu C Compiler (gcc)
• Gnu Debugger (gdb)
93. BLE tools
• nRF Connect
https://www.nordicsemi.com/
eng/Products/Nordic-mobile-
Apps/nRF-Connect-for-Mobile
• Downloaded app
• Ubertooth
https://
greatscottgadgets.com/
ubertoothone/
• Physical device, may be
borrowed from Salu
94. Web app tools
• Framework 7 http://framework7.io
• New also to us; we are learning
• Suitable Web debugger, e.g.
• Safari: https://developer.apple.com/safari/tools/
• Chrome: https://developer.chrome.com/home/
devtools-pillar
• TCP/IP protocol analyser (if really needed)
• Wireshark: https://www.wireshark.org/
95. Locally developed tools
• Unity3D Web server
• https://github.com/AaltoNEPPI/uniwebserver
• Unity3D Bluetooth interface
• Not yet ready for release, coming
• Unity3D skeleton app
• https://github.com/AaltoNEPPI/Unity_NEPPI_Skeleton
• All work in progress!