SlideShare ist ein Scribd-Unternehmen logo
1 von 16
IoT Parking Lot Demo on
Toradex Modules
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 2
CHAIRMAN
Introduction
In this blog post, I am going to talk about our IoT parking lot demo
and the technology behind it. I will try to explain how to use Azure IoT
Hub to send messages between Azure services and devices to achieve
the same level of communication we had in our demo. I will also quickly try to explain all
the different modules we used in our demo, but my samples will focus on Azure IoT Hub
and how to easily send and receive messages. If you are interested in knowing more
about Azure IoT Hub, you can check the details here.
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH
In our demo, we have used multiple devices, namely:
• Parking Lot 1 (called Stretnor in our demo)
• Parking Lot 2 (called Theater Parkhouse in our demo)
• Public Display (Parking Lot independent device)
Every parking lot consists of more than one of the following devices:
• Gate Controller (Colibri T30 running Win10 IoT)
• Parking Controller (Colibri VF50 running Windows Embedded Compact 2013)
• Payment Terminal (Apalis iMX6 running Linux and Qt)
• Public Display (Colibri iMX6 running Windows Embedded Compact 2013)
6/20/2016 3
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH 6/20/2016 4
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 5
CHAIRMAN
As you can see in the above image, all the communication messages go
through the Azure IoT Hub to the application service that processes these
messages. You can also see that we have a web page and database running in
Azure but this blog post focuses only on the part about Azure IoT Hub.
Message flow in IoT Parking demo
There are two basic events that trigger the flow of information between
devices and IoT Hub.
The first event is when a car arrives at the gate (refer the diagram below):
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 6
CHAIRMAN
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 7
CHAIRMAN
When a car arrives to the gate, the gate controller will scan the license plate and send a
message to IoT Hub (1). After the application service verifies the data, it will send the
message back to Gate Controller to open the gate (2). At the same time, a message is
sent to the Parking Controller with the number of assigned parking spaces (3). The
Parking Controller will start blinking the Red light indicating that the parking space is
going to be occupied soon. The message is sent also to the Payment Terminal. This
message includes the license plate number and time of arrival (4). At the same time,
the Public Display receives the information about all the parking spaces in the area (5).
When the car is parked at the parking space, the Parking Controller stops blinking the
Red light and sends a message to the IoT Hub indicating that car is parked (6). At the
same time, the Gate Controller is informed to close the gate (7).
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 8
CHAIRMAN
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 9
CHAIRMAN
When a car leaves the parking lot, the driver has to pay the parking charges first. On
the Payment Terminal, a person can select the appropriate license plate of their car
and select pay. A message is then sent to the IoT Hub initiating a request of payment
(1). Application service calculates the price and sends it back to the Payment
Terminal (2). When the Payment Terminal receives the payment credit, it sends the
information to the IoT Hub that the payment was successful (3). Application service
will than send a message to the Parking Controller that the car is about to be
removed from the parking lot (4). The Parking Controller starts blinking the Green
light. After the car is removed from the parking space, a message is sent to the IoT
Hub indicating the removal of car (5). The Parking Controller also opens the gate to
exit. After a timeout value, the gate is closed again and a message is sent to the IoT
Hub that the parking space is now free. After this, the Public Display again shows
the updated information on all the parking lots (6).
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 10
CHAIRMAN
Sample application
In the following sample application, I will try and show to you how to
communicate with the Azure IoT Hub easily. To understand this sample you need
a basic understanding of C#. If you want to build the application, you will need
Visual Studio 2015.
To run the example, you will also need an Azure account. You will need to create
a free Azure IoT Hub and create a device on your Azure IoT Hub. You can use the
device explorer to do this. Device explorer documentation can be found here.
Here I am going to show you a small example of a server-side application that
takes messages from the IoT Hub and processes them. This code is really simple
and is not meant for the production environment.
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 11
It is only to show you how easy it is to communicate with the Azure IoT Hub. In this
example, we only receive the message from the device and send new messages back
to the same device.
You will have to modify the server-side code with your connection string.
As you can see in my sample, I have only called the method connect of the class
TDXServerEmulator
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 12
CHAIRMAN
This will take care of receiving and responding to messages.
To use the clients, you need to replace the URL to Azure IoT Hub with your URL.
Device.cs.
Inside your client you need to create a new Device object and register the
OnMessageReceived event. This will allow you to get all the messages sent from the
Azure IoT Hub to your device.
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 13
CHAIRMAN
After this, you will be able to run the demo project. After you’ve executed the
project, two console applications will appear. You have to wait for the server
application to be ready for connection
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 14
CHAIRMAN
After the server is ready, you can select “Send Hi” from the client application.
In the image above, you can see the client sending “Hi”. After the server received the
message from client, it responds with the following message, “Hi from IoT Hub”.
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 15
CHAIRMAN
As you can see in my sample, it is really easy to communicate with the Azure IoT
Hub and send simple messages. For more complex applications, there are many
things that can be improved but that also makes the sample application more
complex.
With this sample and explanation, you should be able to develop simple
applications using Azure IoT Hub. Also all Toradex modules support Azure IoT
Hub. You can read more about the type of support offered by the Toradex modules
here. You can also download SDKs for WinCE and Linux.
|www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 16
Thank
you!

Weitere ähnliche Inhalte

Was ist angesagt?

Smart parking System
Smart parking SystemSmart parking System
Smart parking Systemnavrajneupane
 
iPARK: Intelligent Parking System based on IoT & AI
iPARK: Intelligent Parking System based on IoT & AIiPARK: Intelligent Parking System based on IoT & AI
iPARK: Intelligent Parking System based on IoT & AIMithileysh Sathiyanarayanan
 
SMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSaipandu143
 
GSMA IoT Final project: smart car parking
GSMA IoT Final project: smart car parkingGSMA IoT Final project: smart car parking
GSMA IoT Final project: smart car parkingWeena J.
 
JGT Auto Park Presentation (by Wong) (1)
JGT Auto Park Presentation (by Wong) (1)JGT Auto Park Presentation (by Wong) (1)
JGT Auto Park Presentation (by Wong) (1)Vin Lee
 
ADVANCE CAR PARKING SYSTEM
ADVANCE CAR PARKING SYSTEMADVANCE CAR PARKING SYSTEM
ADVANCE CAR PARKING SYSTEMPrashant Gautam
 
Automated parking systems
Automated parking systemsAutomated parking systems
Automated parking systemssowmya Sowmya
 
automatic car parking system
automatic car parking systemautomatic car parking system
automatic car parking systemsowmya Sowmya
 
Automatic car parking system with and without password report
Automatic car parking system with and without password reportAutomatic car parking system with and without password report
Automatic car parking system with and without password reportSOHIL PATEL
 
IOT Based Smart Parking and Damage Detection Using RFID
IOT Based Smart Parking and Damage Detection Using RFIDIOT Based Smart Parking and Damage Detection Using RFID
IOT Based Smart Parking and Damage Detection Using RFIDMaheshMoses
 
PLC Based multilevel automatic car parking
PLC Based multilevel automatic car parkingPLC Based multilevel automatic car parking
PLC Based multilevel automatic car parkingAyush Srivastava
 
IEEE PROJECTS ABSTRACT-MULTI LEVEL CARPARKING/VERTICAL CAR PARKING SYSTEMS PR...
IEEE PROJECTS ABSTRACT-MULTI LEVEL CARPARKING/VERTICAL CAR PARKING SYSTEMS PR...IEEE PROJECTS ABSTRACT-MULTI LEVEL CARPARKING/VERTICAL CAR PARKING SYSTEMS PR...
IEEE PROJECTS ABSTRACT-MULTI LEVEL CARPARKING/VERTICAL CAR PARKING SYSTEMS PR...ASHOKKUMAR RAMAR
 
Parking Management System
Parking Management SystemParking Management System
Parking Management SystemIJMER
 

Was ist angesagt? (20)

State fair project
State fair projectState fair project
State fair project
 
Smart parking System
Smart parking SystemSmart parking System
Smart parking System
 
Arduino Based Parking Lot System
Arduino Based Parking Lot SystemArduino Based Parking Lot System
Arduino Based Parking Lot System
 
Smart Parking
Smart Parking Smart Parking
Smart Parking
 
iPARK: Intelligent Parking System based on IoT & AI
iPARK: Intelligent Parking System based on IoT & AIiPARK: Intelligent Parking System based on IoT & AI
iPARK: Intelligent Parking System based on IoT & AI
 
SMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOT
 
Smart parking - Happiestminds !
Smart parking - Happiestminds !Smart parking - Happiestminds !
Smart parking - Happiestminds !
 
Kmp14a
Kmp14aKmp14a
Kmp14a
 
GSMA IoT Final project: smart car parking
GSMA IoT Final project: smart car parkingGSMA IoT Final project: smart car parking
GSMA IoT Final project: smart car parking
 
JGT Auto Park Presentation (by Wong) (1)
JGT Auto Park Presentation (by Wong) (1)JGT Auto Park Presentation (by Wong) (1)
JGT Auto Park Presentation (by Wong) (1)
 
ADVANCE CAR PARKING SYSTEM
ADVANCE CAR PARKING SYSTEMADVANCE CAR PARKING SYSTEM
ADVANCE CAR PARKING SYSTEM
 
Automated parking systems
Automated parking systemsAutomated parking systems
Automated parking systems
 
automatic car parking system
automatic car parking systemautomatic car parking system
automatic car parking system
 
Automatic car parking system with and without password report
Automatic car parking system with and without password reportAutomatic car parking system with and without password report
Automatic car parking system with and without password report
 
IOT Based Smart Parking and Damage Detection Using RFID
IOT Based Smart Parking and Damage Detection Using RFIDIOT Based Smart Parking and Damage Detection Using RFID
IOT Based Smart Parking and Damage Detection Using RFID
 
PLC Based multilevel automatic car parking
PLC Based multilevel automatic car parkingPLC Based multilevel automatic car parking
PLC Based multilevel automatic car parking
 
IEEE PROJECTS ABSTRACT-MULTI LEVEL CARPARKING/VERTICAL CAR PARKING SYSTEMS PR...
IEEE PROJECTS ABSTRACT-MULTI LEVEL CARPARKING/VERTICAL CAR PARKING SYSTEMS PR...IEEE PROJECTS ABSTRACT-MULTI LEVEL CARPARKING/VERTICAL CAR PARKING SYSTEMS PR...
IEEE PROJECTS ABSTRACT-MULTI LEVEL CARPARKING/VERTICAL CAR PARKING SYSTEMS PR...
 
Parking Management System
Parking Management SystemParking Management System
Parking Management System
 
Arduino Automated Parking Lot System
Arduino Automated Parking Lot SystemArduino Automated Parking Lot System
Arduino Automated Parking Lot System
 
Smart parking
Smart parkingSmart parking
Smart parking
 

Ähnlich wie IoT Parking Lot Demo on Toradex Modules

Azure IoT Hub on a Toradex Colibri VF61 – Part 1 - Sending data to the cloud
Azure IoT Hub on a Toradex Colibri VF61 – Part 1 - Sending data to the cloudAzure IoT Hub on a Toradex Colibri VF61 – Part 1 - Sending data to the cloud
Azure IoT Hub on a Toradex Colibri VF61 – Part 1 - Sending data to the cloudToradex
 
Simplifying IoT App Development - A Whitepaper by RapidValue
Simplifying IoT App Development - A Whitepaper by RapidValueSimplifying IoT App Development - A Whitepaper by RapidValue
Simplifying IoT App Development - A Whitepaper by RapidValueRapidValue
 
Smart Car Parking System Based on IoT Concept
Smart Car Parking System Based on IoT ConceptSmart Car Parking System Based on IoT Concept
Smart Car Parking System Based on IoT Conceptinventionjournals
 
IBM Bluemix Nice Meetup #1 - CEEI NCA - 20160630 -
IBM Bluemix Nice Meetup #1 - CEEI NCA - 20160630 - IBM Bluemix Nice Meetup #1 - CEEI NCA - 20160630 -
IBM Bluemix Nice Meetup #1 - CEEI NCA - 20160630 - IBM France Lab
 
IRJET- Smart Parking System using IoT
IRJET- Smart Parking System using IoTIRJET- Smart Parking System using IoT
IRJET- Smart Parking System using IoTIRJET Journal
 
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy 4...
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy 4...Internet of Things (IoT) Business & Technology & Patent Integrated Strategy 4...
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy 4...Alex G. Lee, Ph.D. Esq. CLP
 
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated StrategyInternet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated StrategyAlex G. Lee, Ph.D. Esq. CLP
 
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated StrategyInternet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated StrategyAlex G. Lee, Ph.D. Esq. CLP
 
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated StrategyInternet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated StrategyAlex G. Lee, Ph.D. Esq. CLP
 
Automatski - The Internet of Things - Overview
Automatski   - The Internet of Things - OverviewAutomatski   - The Internet of Things - Overview
Automatski - The Internet of Things - Overviewautomatskicorporation
 
Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen
Rapid IoT Application Development with IBM Bluemix - Mikko PoutanenRapid IoT Application Development with IBM Bluemix - Mikko Poutanen
Rapid IoT Application Development with IBM Bluemix - Mikko PoutanenWithTheBest
 
Iot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloudIot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloudPeterNiblett
 
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...Codemotion Tel Aviv
 
Accelerating your application development with IBM BlueMix (Your dream devel...
Accelerating your application development with IBM BlueMix (Your dream devel...Accelerating your application development with IBM BlueMix (Your dream devel...
Accelerating your application development with IBM BlueMix (Your dream devel...Supal Chowdhury
 
Learn how to make your IoT pilot projects and POCs successful
Learn how to make your IoT pilot projects and POCs successfulLearn how to make your IoT pilot projects and POCs successful
Learn how to make your IoT pilot projects and POCs successfulKellton Tech Solutions Ltd
 
Turn your smartphone into a sensor.pptx
Turn your smartphone into a sensor.pptxTurn your smartphone into a sensor.pptx
Turn your smartphone into a sensor.pptxvishal choudhary
 
Cloud computing in iot seminar report
Cloud computing in iot seminar reportCloud computing in iot seminar report
Cloud computing in iot seminar reportSKS
 
Consider the above diagram. FIGURE, of the car park The object of thi.pdf
Consider the above diagram. FIGURE, of the car park The object of thi.pdfConsider the above diagram. FIGURE, of the car park The object of thi.pdf
Consider the above diagram. FIGURE, of the car park The object of thi.pdfexcellentmobilesabc
 
IAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-REDIAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-REDPeterNiblett
 
Azure IoT Hub on a Toradex Colibri VF61 – Part 2 - Interfacing sensors and th...
Azure IoT Hub on a Toradex Colibri VF61 – Part 2 - Interfacing sensors and th...Azure IoT Hub on a Toradex Colibri VF61 – Part 2 - Interfacing sensors and th...
Azure IoT Hub on a Toradex Colibri VF61 – Part 2 - Interfacing sensors and th...Toradex
 

Ähnlich wie IoT Parking Lot Demo on Toradex Modules (20)

Azure IoT Hub on a Toradex Colibri VF61 – Part 1 - Sending data to the cloud
Azure IoT Hub on a Toradex Colibri VF61 – Part 1 - Sending data to the cloudAzure IoT Hub on a Toradex Colibri VF61 – Part 1 - Sending data to the cloud
Azure IoT Hub on a Toradex Colibri VF61 – Part 1 - Sending data to the cloud
 
Simplifying IoT App Development - A Whitepaper by RapidValue
Simplifying IoT App Development - A Whitepaper by RapidValueSimplifying IoT App Development - A Whitepaper by RapidValue
Simplifying IoT App Development - A Whitepaper by RapidValue
 
Smart Car Parking System Based on IoT Concept
Smart Car Parking System Based on IoT ConceptSmart Car Parking System Based on IoT Concept
Smart Car Parking System Based on IoT Concept
 
IBM Bluemix Nice Meetup #1 - CEEI NCA - 20160630 -
IBM Bluemix Nice Meetup #1 - CEEI NCA - 20160630 - IBM Bluemix Nice Meetup #1 - CEEI NCA - 20160630 -
IBM Bluemix Nice Meetup #1 - CEEI NCA - 20160630 -
 
IRJET- Smart Parking System using IoT
IRJET- Smart Parking System using IoTIRJET- Smart Parking System using IoT
IRJET- Smart Parking System using IoT
 
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy 4...
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy 4...Internet of Things (IoT) Business & Technology & Patent Integrated Strategy 4...
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy 4...
 
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated StrategyInternet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy
 
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated StrategyInternet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy
 
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated StrategyInternet of Things (IoT) Business & Technology & Patent Integrated Strategy
Internet of Things (IoT) Business & Technology & Patent Integrated Strategy
 
Automatski - The Internet of Things - Overview
Automatski   - The Internet of Things - OverviewAutomatski   - The Internet of Things - Overview
Automatski - The Internet of Things - Overview
 
Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen
Rapid IoT Application Development with IBM Bluemix - Mikko PoutanenRapid IoT Application Development with IBM Bluemix - Mikko Poutanen
Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen
 
Iot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloudIot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloud
 
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
 
Accelerating your application development with IBM BlueMix (Your dream devel...
Accelerating your application development with IBM BlueMix (Your dream devel...Accelerating your application development with IBM BlueMix (Your dream devel...
Accelerating your application development with IBM BlueMix (Your dream devel...
 
Learn how to make your IoT pilot projects and POCs successful
Learn how to make your IoT pilot projects and POCs successfulLearn how to make your IoT pilot projects and POCs successful
Learn how to make your IoT pilot projects and POCs successful
 
Turn your smartphone into a sensor.pptx
Turn your smartphone into a sensor.pptxTurn your smartphone into a sensor.pptx
Turn your smartphone into a sensor.pptx
 
Cloud computing in iot seminar report
Cloud computing in iot seminar reportCloud computing in iot seminar report
Cloud computing in iot seminar report
 
Consider the above diagram. FIGURE, of the car park The object of thi.pdf
Consider the above diagram. FIGURE, of the car park The object of thi.pdfConsider the above diagram. FIGURE, of the car park The object of thi.pdf
Consider the above diagram. FIGURE, of the car park The object of thi.pdf
 
IAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-REDIAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-RED
 
Azure IoT Hub on a Toradex Colibri VF61 – Part 2 - Interfacing sensors and th...
Azure IoT Hub on a Toradex Colibri VF61 – Part 2 - Interfacing sensors and th...Azure IoT Hub on a Toradex Colibri VF61 – Part 2 - Interfacing sensors and th...
Azure IoT Hub on a Toradex Colibri VF61 – Part 2 - Interfacing sensors and th...
 

Mehr von Toradex

Toradex Strengthens Custom Solutions Offering with Acquisition of Linear Comp...
Toradex Strengthens Custom Solutions Offering with Acquisition of Linear Comp...Toradex Strengthens Custom Solutions Offering with Acquisition of Linear Comp...
Toradex Strengthens Custom Solutions Offering with Acquisition of Linear Comp...Toradex
 
プレスリリース:ToradexがJapan IT Week【春】2024年に出展
プレスリリース:ToradexがJapan IT Week【春】2024年に出展プレスリリース:ToradexがJapan IT Week【春】2024年に出展
プレスリリース:ToradexがJapan IT Week【春】2024年に出展Toradex
 
Introducing Aquila: The Next Generation Toradex SoM Family
Introducing Aquila: The Next Generation Toradex SoM FamilyIntroducing Aquila: The Next Generation Toradex SoM Family
Introducing Aquila: The Next Generation Toradex SoM FamilyToradex
 
Join Toradex at Japan IT Week Spring 2024
Join Toradex at Japan IT Week Spring 2024Join Toradex at Japan IT Week Spring 2024
Join Toradex at Japan IT Week Spring 2024Toradex
 
Toradex announces Titan Eval Kit w/ NXP's i.MX 95 - Early Access Program
Toradex announces Titan Eval Kit w/ NXP's i.MX 95 - Early Access ProgramToradex announces Titan Eval Kit w/ NXP's i.MX 95 - Early Access Program
Toradex announces Titan Eval Kit w/ NXP's i.MX 95 - Early Access ProgramToradex
 
ToradexがJapan IT Week【春】2023年に出展
ToradexがJapan IT Week【春】2023年に出展ToradexがJapan IT Week【春】2023年に出展
ToradexがJapan IT Week【春】2023年に出展Toradex
 
NXP Semiconductors elevates Toradex to Platinum Partner status
NXP Semiconductors elevates Toradex to Platinum Partner statusNXP Semiconductors elevates Toradex to Platinum Partner status
NXP Semiconductors elevates Toradex to Platinum Partner statusToradex
 
Webinar: Secure Offline and Online Updates for Linux Devices
Webinar: Secure Offline and Online Updates for Linux DevicesWebinar: Secure Offline and Online Updates for Linux Devices
Webinar: Secure Offline and Online Updates for Linux DevicesToradex
 
Toradex opens office in Tokyo, reaffirming its growth strategy in the Asia-Pa...
Toradex opens office in Tokyo, reaffirming its growth strategy in the Asia-Pa...Toradex opens office in Tokyo, reaffirming its growth strategy in the Asia-Pa...
Toradex opens office in Tokyo, reaffirming its growth strategy in the Asia-Pa...Toradex
 
Toradex launches Verdin featuring NXP i.MX 8M Mini/Nano SoMs
Toradex launches Verdin featuring NXP i.MX 8M Mini/Nano SoMsToradex launches Verdin featuring NXP i.MX 8M Mini/Nano SoMs
Toradex launches Verdin featuring NXP i.MX 8M Mini/Nano SoMsToradex
 
Ethernet Compliance Testing at Toradex
Ethernet Compliance Testing at ToradexEthernet Compliance Testing at Toradex
Ethernet Compliance Testing at ToradexToradex
 
Webinar On-demand: Introducing the new Colibri SoM based on the NXP i.MX 6ULL...
Webinar On-demand: Introducing the new Colibri SoM based on the NXP i.MX 6ULL...Webinar On-demand: Introducing the new Colibri SoM based on the NXP i.MX 6ULL...
Webinar On-demand: Introducing the new Colibri SoM based on the NXP i.MX 6ULL...Toradex
 
Starting with OpenCV on i.MX 6 Processors
Starting with OpenCV on i.MX 6 ProcessorsStarting with OpenCV on i.MX 6 Processors
Starting with OpenCV on i.MX 6 ProcessorsToradex
 
Cloud-Aided Yocto Build Speedup
Cloud-Aided Yocto Build SpeedupCloud-Aided Yocto Build Speedup
Cloud-Aided Yocto Build SpeedupToradex
 
Toradex Global Video Montage
Toradex Global Video MontageToradex Global Video Montage
Toradex Global Video MontageToradex
 
Considerations on usage of Computer on Modules for Applications inside Emerge...
Considerations on usage of Computer on Modules for Applications inside Emerge...Considerations on usage of Computer on Modules for Applications inside Emerge...
Considerations on usage of Computer on Modules for Applications inside Emerge...Toradex
 
Customizable Embedded 3D Surround View Turn-Key Solution on Apalis iMX6 SoM
Customizable Embedded 3D Surround View Turn-Key Solution on Apalis iMX6 SoMCustomizable Embedded 3D Surround View Turn-Key Solution on Apalis iMX6 SoM
Customizable Embedded 3D Surround View Turn-Key Solution on Apalis iMX6 SoMToradex
 
288 Core ARM® and 13’824 CUDA Core Microserver Cluster with Toradex Apalis Sy...
288 Core ARM® and 13’824 CUDA Core Microserver Cluster with Toradex Apalis Sy...288 Core ARM® and 13’824 CUDA Core Microserver Cluster with Toradex Apalis Sy...
288 Core ARM® and 13’824 CUDA Core Microserver Cluster with Toradex Apalis Sy...Toradex
 
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...Toradex
 
Developing Real-Time Systems on Application Processors
Developing Real-Time Systems on Application ProcessorsDeveloping Real-Time Systems on Application Processors
Developing Real-Time Systems on Application ProcessorsToradex
 

Mehr von Toradex (20)

Toradex Strengthens Custom Solutions Offering with Acquisition of Linear Comp...
Toradex Strengthens Custom Solutions Offering with Acquisition of Linear Comp...Toradex Strengthens Custom Solutions Offering with Acquisition of Linear Comp...
Toradex Strengthens Custom Solutions Offering with Acquisition of Linear Comp...
 
プレスリリース:ToradexがJapan IT Week【春】2024年に出展
プレスリリース:ToradexがJapan IT Week【春】2024年に出展プレスリリース:ToradexがJapan IT Week【春】2024年に出展
プレスリリース:ToradexがJapan IT Week【春】2024年に出展
 
Introducing Aquila: The Next Generation Toradex SoM Family
Introducing Aquila: The Next Generation Toradex SoM FamilyIntroducing Aquila: The Next Generation Toradex SoM Family
Introducing Aquila: The Next Generation Toradex SoM Family
 
Join Toradex at Japan IT Week Spring 2024
Join Toradex at Japan IT Week Spring 2024Join Toradex at Japan IT Week Spring 2024
Join Toradex at Japan IT Week Spring 2024
 
Toradex announces Titan Eval Kit w/ NXP's i.MX 95 - Early Access Program
Toradex announces Titan Eval Kit w/ NXP's i.MX 95 - Early Access ProgramToradex announces Titan Eval Kit w/ NXP's i.MX 95 - Early Access Program
Toradex announces Titan Eval Kit w/ NXP's i.MX 95 - Early Access Program
 
ToradexがJapan IT Week【春】2023年に出展
ToradexがJapan IT Week【春】2023年に出展ToradexがJapan IT Week【春】2023年に出展
ToradexがJapan IT Week【春】2023年に出展
 
NXP Semiconductors elevates Toradex to Platinum Partner status
NXP Semiconductors elevates Toradex to Platinum Partner statusNXP Semiconductors elevates Toradex to Platinum Partner status
NXP Semiconductors elevates Toradex to Platinum Partner status
 
Webinar: Secure Offline and Online Updates for Linux Devices
Webinar: Secure Offline and Online Updates for Linux DevicesWebinar: Secure Offline and Online Updates for Linux Devices
Webinar: Secure Offline and Online Updates for Linux Devices
 
Toradex opens office in Tokyo, reaffirming its growth strategy in the Asia-Pa...
Toradex opens office in Tokyo, reaffirming its growth strategy in the Asia-Pa...Toradex opens office in Tokyo, reaffirming its growth strategy in the Asia-Pa...
Toradex opens office in Tokyo, reaffirming its growth strategy in the Asia-Pa...
 
Toradex launches Verdin featuring NXP i.MX 8M Mini/Nano SoMs
Toradex launches Verdin featuring NXP i.MX 8M Mini/Nano SoMsToradex launches Verdin featuring NXP i.MX 8M Mini/Nano SoMs
Toradex launches Verdin featuring NXP i.MX 8M Mini/Nano SoMs
 
Ethernet Compliance Testing at Toradex
Ethernet Compliance Testing at ToradexEthernet Compliance Testing at Toradex
Ethernet Compliance Testing at Toradex
 
Webinar On-demand: Introducing the new Colibri SoM based on the NXP i.MX 6ULL...
Webinar On-demand: Introducing the new Colibri SoM based on the NXP i.MX 6ULL...Webinar On-demand: Introducing the new Colibri SoM based on the NXP i.MX 6ULL...
Webinar On-demand: Introducing the new Colibri SoM based on the NXP i.MX 6ULL...
 
Starting with OpenCV on i.MX 6 Processors
Starting with OpenCV on i.MX 6 ProcessorsStarting with OpenCV on i.MX 6 Processors
Starting with OpenCV on i.MX 6 Processors
 
Cloud-Aided Yocto Build Speedup
Cloud-Aided Yocto Build SpeedupCloud-Aided Yocto Build Speedup
Cloud-Aided Yocto Build Speedup
 
Toradex Global Video Montage
Toradex Global Video MontageToradex Global Video Montage
Toradex Global Video Montage
 
Considerations on usage of Computer on Modules for Applications inside Emerge...
Considerations on usage of Computer on Modules for Applications inside Emerge...Considerations on usage of Computer on Modules for Applications inside Emerge...
Considerations on usage of Computer on Modules for Applications inside Emerge...
 
Customizable Embedded 3D Surround View Turn-Key Solution on Apalis iMX6 SoM
Customizable Embedded 3D Surround View Turn-Key Solution on Apalis iMX6 SoMCustomizable Embedded 3D Surround View Turn-Key Solution on Apalis iMX6 SoM
Customizable Embedded 3D Surround View Turn-Key Solution on Apalis iMX6 SoM
 
288 Core ARM® and 13’824 CUDA Core Microserver Cluster with Toradex Apalis Sy...
288 Core ARM® and 13’824 CUDA Core Microserver Cluster with Toradex Apalis Sy...288 Core ARM® and 13’824 CUDA Core Microserver Cluster with Toradex Apalis Sy...
288 Core ARM® and 13’824 CUDA Core Microserver Cluster with Toradex Apalis Sy...
 
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
 
Developing Real-Time Systems on Application Processors
Developing Real-Time Systems on Application ProcessorsDeveloping Real-Time Systems on Application Processors
Developing Real-Time Systems on Application Processors
 

Kürzlich hochgeladen

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Kürzlich hochgeladen (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

IoT Parking Lot Demo on Toradex Modules

  • 1. IoT Parking Lot Demo on Toradex Modules
  • 2. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 2 CHAIRMAN Introduction In this blog post, I am going to talk about our IoT parking lot demo and the technology behind it. I will try to explain how to use Azure IoT Hub to send messages between Azure services and devices to achieve the same level of communication we had in our demo. I will also quickly try to explain all the different modules we used in our demo, but my samples will focus on Azure IoT Hub and how to easily send and receive messages. If you are interested in knowing more about Azure IoT Hub, you can check the details here.
  • 3. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH In our demo, we have used multiple devices, namely: • Parking Lot 1 (called Stretnor in our demo) • Parking Lot 2 (called Theater Parkhouse in our demo) • Public Display (Parking Lot independent device) Every parking lot consists of more than one of the following devices: • Gate Controller (Colibri T30 running Win10 IoT) • Parking Controller (Colibri VF50 running Windows Embedded Compact 2013) • Payment Terminal (Apalis iMX6 running Linux and Qt) • Public Display (Colibri iMX6 running Windows Embedded Compact 2013) 6/20/2016 3
  • 4. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH 6/20/2016 4
  • 5. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 5 CHAIRMAN As you can see in the above image, all the communication messages go through the Azure IoT Hub to the application service that processes these messages. You can also see that we have a web page and database running in Azure but this blog post focuses only on the part about Azure IoT Hub. Message flow in IoT Parking demo There are two basic events that trigger the flow of information between devices and IoT Hub. The first event is when a car arrives at the gate (refer the diagram below):
  • 6. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 6 CHAIRMAN
  • 7. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 7 CHAIRMAN When a car arrives to the gate, the gate controller will scan the license plate and send a message to IoT Hub (1). After the application service verifies the data, it will send the message back to Gate Controller to open the gate (2). At the same time, a message is sent to the Parking Controller with the number of assigned parking spaces (3). The Parking Controller will start blinking the Red light indicating that the parking space is going to be occupied soon. The message is sent also to the Payment Terminal. This message includes the license plate number and time of arrival (4). At the same time, the Public Display receives the information about all the parking spaces in the area (5). When the car is parked at the parking space, the Parking Controller stops blinking the Red light and sends a message to the IoT Hub indicating that car is parked (6). At the same time, the Gate Controller is informed to close the gate (7).
  • 8. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 8 CHAIRMAN
  • 9. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH June’16 9 CHAIRMAN When a car leaves the parking lot, the driver has to pay the parking charges first. On the Payment Terminal, a person can select the appropriate license plate of their car and select pay. A message is then sent to the IoT Hub initiating a request of payment (1). Application service calculates the price and sends it back to the Payment Terminal (2). When the Payment Terminal receives the payment credit, it sends the information to the IoT Hub that the payment was successful (3). Application service will than send a message to the Parking Controller that the car is about to be removed from the parking lot (4). The Parking Controller starts blinking the Green light. After the car is removed from the parking space, a message is sent to the IoT Hub indicating the removal of car (5). The Parking Controller also opens the gate to exit. After a timeout value, the gate is closed again and a message is sent to the IoT Hub that the parking space is now free. After this, the Public Display again shows the updated information on all the parking lots (6).
  • 10. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 10 CHAIRMAN Sample application In the following sample application, I will try and show to you how to communicate with the Azure IoT Hub easily. To understand this sample you need a basic understanding of C#. If you want to build the application, you will need Visual Studio 2015. To run the example, you will also need an Azure account. You will need to create a free Azure IoT Hub and create a device on your Azure IoT Hub. You can use the device explorer to do this. Device explorer documentation can be found here. Here I am going to show you a small example of a server-side application that takes messages from the IoT Hub and processes them. This code is really simple and is not meant for the production environment.
  • 11. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 11 It is only to show you how easy it is to communicate with the Azure IoT Hub. In this example, we only receive the message from the device and send new messages back to the same device. You will have to modify the server-side code with your connection string. As you can see in my sample, I have only called the method connect of the class TDXServerEmulator
  • 12. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 12 CHAIRMAN This will take care of receiving and responding to messages. To use the clients, you need to replace the URL to Azure IoT Hub with your URL. Device.cs. Inside your client you need to create a new Device object and register the OnMessageReceived event. This will allow you to get all the messages sent from the Azure IoT Hub to your device.
  • 13. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 13 CHAIRMAN After this, you will be able to run the demo project. After you’ve executed the project, two console applications will appear. You have to wait for the server application to be ready for connection
  • 14. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 14 CHAIRMAN After the server is ready, you can select “Send Hi” from the client application. In the image above, you can see the client sending “Hi”. After the server received the message from client, it responds with the following message, “Hi from IoT Hub”.
  • 15. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 15 CHAIRMAN As you can see in my sample, it is really easy to communicate with the Azure IoT Hub and send simple messages. For more complex applications, there are many things that can be improved but that also makes the sample application more complex. With this sample and explanation, you should be able to develop simple applications using Azure IoT Hub. Also all Toradex modules support Azure IoT Hub. You can read more about the type of support offered by the Toradex modules here. You can also download SDKs for WinCE and Linux.
  • 16. |www.toradex.com Toradex® is a registered trademark of Montadex GmbH May’16 16 Thank you!