ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
http://robo4j.io
Robo4J
@robo4j
Plug Hardware and Play Java
with Robo4J
Miroslav Wengner, M.A.N. Truck & Bus AG
http://robo4j.io
Robo4J
@robo4j
Software Engineer
- SUN Microsystem
- Freelancer, Engineer ( telco, finance etc.)
- M.A.N. Truck & Bus AG
- Co-author and contributor to Robo4J
? With Marcus Hirt
http://robo4j.io
Robo4J
@robo4j
Agenda
? IoT: Java and Hardware
? Introduction to Robo4J framework
? Robo4J at M.A.N.
? Demos
? Final Though and Q & A
http://robo4j.io
Robo4J
@robo4j
IoT Java and Hardware : nature of processes
? Commons scenario:
? Analog signal,
? Hardware (Sensors)
? Event-Buses,
? Cloud
? Micro-services (Agents, Brokers, End-Point etc.)
? What about parallelism and concurrency ?
http://robo4j.io
Robo4J
@robo4j
Robo4J Framework
? Non-blocking distributed message passing framework
? low memory footprint
? Modularized, Plain Java
? Java 8 and above*
? Platform¡¯s: RaspberryPi, Lego ¡­
? Duke¡¯s Choice Award 2017
http://robo4j.io
Robo4J
@robo4j
Motivation: Coff-E2 from Bayern (Germany)
? with Marcus Hirt (designer of Coff-E robots family)
http://robo4j.io
Robo4J
@robo4j
Robo4J Modularization
Socket-Http module
? HTTP/UDP
? Client
? Server
? JSON native support
? Micro-service
http://robo4j.io
Robo4J
@robo4j
Robo4J Hardware Modules
? Simple to use Java abstractions for hardware
? Can be used stand alone, does not depend on anything
? Useful examples inside
robo4j-hw-*
http://robo4j.io
Robo4J
@robo4j
Robo4J Threading model
framework manages everything
2
2
10
Schedulers
Worker
Blocking
http://robo4j.io
Robo4J
@robo4j
How to start building your IoT solution
Simplicity is the key
? Choose the RoboUnits for your hardware and configure them
? Create your own RoboUnits to control their behavior
? Use the RoboBuilder and create RoboContext
? Start the RobotContext
? They communicate through RoboReferences
http://robo4j.io
Robo4J
@robo4j
Robo4J at M.A.N Bus & Truck
Models and simulations
http://robo4j.io
Robo4J
@robo4j
Demos: The Show Time
? LCD demo no hardware
? Image streaming
? LCD demo with hardware
? Robotic Arm
? Button-Activator
http://robo4j.io
Robo4J
@robo4j
Demo: Lcd without a Hardware
Full JavaFX app similar to the hardware (same messages)
http://robo4j.io
Robo4J
@robo4j
Demo: Image Streaming
http://robo4j.io
Robo4J
@robo4j
Demo: LCD with the Hardware
http://robo4j.io
Robo4J
@robo4j
Demo: Robotic Arm
http://robo4j.io
Robo4J
@robo4j
Demo: Button Activator (designed by Marcus)
http://robo4j.io
Robo4J
@robo4j
Summary
? IoT Devices connected through Java is real fun
? Java and Robo4J lets you build them quickly
? We just started ¡­ but you can contribute ¡­
? Please give me a feedback! ?
Also build a robot. You will not regret it! :)
http://robo4j.io
Robo4J
@robo4j
Thank You Very Much!
Q&A
http://robo4j.io
Robo4J
@robo4j
Robo4J Homepage: http://www.robo4j.io
Robo4J on Twitter: @robo4j, @hirt, @miragemiko
GiT Hub: http://github.com/Robo4j
repositories {
***
maven { url
"https://oss.sonatype.org/content/repositories/snapshots/"
}
}
version: alpha-0.3.10-SNAPSHOT

More Related Content

Plug Hardware and Play Java