More Related Content Similar to OSGi IoT Demo & Contest 2015 (20) OSGi IoT Demo & Contest 20151. COPYRIGHT © 2008-2015 OSGi Alliance. All Rights Reserved
OSGi IoT Demo & Contest 2015
3 to 5 November
OSGi Community Event 2015 & EclipseCon Europe 2015
2. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved2
OSGi IoT Contest
Still Time To Enter
• Being judged on Weds Nov 4 @ 17.45
• Develop a Track or Train Manager bundle using
SDK
• Prizes:
• €200 Amazon Gift certificate for winner
• €50 Amazon Gift certificate each for two
runners up
• Get the SDK from
https://github.com/osgi/osgi.iot.contest.sdk
3. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved3
Objectives
• Demonstrate how OSGi was made for the Internet of
Things (IoT)
• Provide an OSGi based demo and Contest
• Build upon success of 2014 IoT Demo and Hackathon
• Show how multiple open source and vendor OSGi
products can be integrated to deliver an end-to-end
solution
• Provide a ‘visible’ demo thats fun, entertaining and
engaging
SDK
4. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved4
2015 IoT Demo
• Its all about trains…… LEGO® Trains and Track
SDK
5. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved5
Key Components
• OSGi
• Its everywhere
• Cloud
• Raspberry Pi’s
• OSGi enRoute
• Train Manager
• Track Manager
• SDK for the Contest
• Customized hardware
• Circuit Boards, RFID readers, Signals and Switches /
Track Points
SDK
6. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved6
OSGi enRoute
‘The Easy Way Towards Real Modularity’
• Objective:
To make OSGi as easy as possible for
developers to get started with OSGi without
compromising its core values
http://enroute.osgi.org
SDK
7. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved7
Customized
Hardware
8. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved8
Customized Hardware
• Circuit boards made for controlling signals, points and
train and RFID readers
• Fritzing (see http://fritzing.org/projects/raspberry-pi-rfidmotorled-driver)
• Red/Green LED’s provide signals
• IR LED emulates LEGO® Remote Control
What we did:
• RFID readers
detect train location
• Motors operate the
points
SDK
9. • Track Manager
• Runs in Cloud
• Controls the track
• Train Manager
• Controls speed of trains
November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved9
Software & SDK
• OSGi based role play
between a Track Manager
and a number of Train
Managers
• Created using OSGi enRoute
SDK
10. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved10
Emulator & GUI SDK
11. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved11
Track Manager
• Track Manager:
• controls the switches
(points)
• controls the signals
• receives the RFID
• dispatches events so that
the other participants
know what is going on
SDK
12. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved12
Track Manager
• Track Manager:
• controls the switches
(points)
• controls the signals
• receives the RFID
• dispatches events so that
the other participants
know what is going on
SDK
Track Manager
SDK
• Controls the switches
(points)
• Controls the signals
• Receives the RFID
• Dispatches events so
that the other
participants know what
is going on
13. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved13
Train Manager
• Train Manager
• Responsible for navigating the
train
• Assigned a position and the
software must then navigate
through the track to that
destination
• The Train Manager:
• Must obtain permission to use
segments of the track
• Must obey the signals
• Make sure the train does not
speed
SDK
14. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved14
SDK
Train Manager
• Responsible for navigating the
train
• Assigned a position and the
software must then navigate
through the track to that
destination
• Must obtain permission to use
segments of the trackMust obey
the signals
• Make sure the train does not speed
15. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved15
SDK Service Model
KEY
• Yellow triangle — Service. Triangle points to
the provider of the service. Listeners
connect to the side of the triangle and
clients of the service to the straight part.
• Orange rounded rectangle — Bundle
• Green Parallelogram — An IO device
SDK
16. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved16
Demo Architecture SDK
ProSyst
mPRM
MQTT
Track
Manager
Redis
Train
Manager
ProSyst mPRM Provisions OSGi Bundles ro Raspberry Pi's
Raspeberry Pi
Train Manager
Communicates
with Cloud Track
Manager using
Distributed OSGi
to update Train
positions
OSGi enRoute based SDK running
in Cloud and on Raspberry Pis
OSGi running everywhere
17. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved17
OSGi & IoT SDK
• OSGi was made for IoT
• OSGi roots from 1998 as a
specification for the Home
Gateway
• OSGi Residential Expert
Group (REG)
• OSGi IoT Expert Group
launched Sept 2015
• Held several free workshops
• Collecting RFP’s for new IoT
specifications
• Next meeting in Chicago Nov 19
18. • 2015 OSGi IoT Demo and Contest has been put together
by Peter Kriens from OSGi Alliance and team members
the following organizations:
November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved18
Thanks SDK
19. November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved19
SDK Service Model SDKGet Involved
Make Your Mark
Help us create and deliver the future
www.osgi.org/Join
Join the OSGi
Alliance and
the IoT Expert
Group
20. • Have some suggestions or ideas for next year?
• Want to get involved?
• Can you contribute people, time, resources?
• Talk to us today or email us osgice@osgi.org
November 2015OSGi IoT Demo & Contest 2015 © 2008-2015 OSGi Alliance. All Rights Reserved20
OSGi IoT Demo & Contest 2016 SDK