Colonization of Mars
Meet the Eclipse SmartHome powered Mars Rover
Kai Kreuzer & Michael Vorburger
Cats
The internet was made for cat
videos. Every presentation
starts with a cat video.
AGENDA
1. Introduction
2. Rover, RPi, Driver & Eclipse SmartHome Binding
3. What’s new in Eclipse SmartHome?
EclipseCon France
1. won Rover - tx Gaël!
EclipseCon France
1. won Rover kit - tx Gaël!
2. had to do something with it… ;-)
3. was looking for RPi brico. excuse
Hardware VS Soft.
We do know bugs as (Java)
software developers - but
we’re used to assuming that
our underlying HW “just
works” reliably.
When bricolage: “To explore
strange new worlds, to seek
out new …”
The FUN with real hardware!
First RPi from EC was broken (but only partially, so extra fun)
WiFi on RPv3 is NOK, interference from motor shield (but only if no monitor!)
GPIO PINs for motor & sound overlap (by default; soldering req. to remap)
SD cards get corrupted after unzip & power halt (generously sync)
Power!
Networking - Rover’s WiFi AP (=> “offline” ) Conf+
sudo apt-get -y install hostapd
/etc/hostapd/hostapd.conf
/etc/network/interfaces
sudo apt-get -y install dnsmasq
/etc/dnsmasq.conf
Pi4j
Java library to talk to GPIO
pins on the Raspberry Pi
Control Motors, LEDs,
Buttons, etc.
Driver
Java library with “Turtle” like
APIs to control Rover’s motors:
Forward, Backward, speed
Turn left/right, in degrees
Offers 3 modes: Sync VS
Async (BG Thread) VS
Queueing
Test Drive
under rough conditions -
Rover had to withstand
blazing sunshine, three kids
and a dog.
Binding
Pretty easy to write a new
Eclipse SmartHome Binding for
a new (robot) “device” …
http://docs.openhab.org/devel
opers/development/bindings.h
tml
https://www.eclipse.org/smart
home/documentation/develop
ment/bindings/how-to.html
Remote
Collaboration
On Embedded &
Offline Hardware
is a Challenge!
Internet of Things?
IoT =
Intranet of Things
AUDIO & VOICE SUPPORT
AUDIO & VOICE SUPPORT
AUDIO & VOICE
IMPLEMENTATIONS
★ TTS: MacOS, MaryTTS, VoiceRSS, …
★ STT: PocketSphinx, Kaldi, …
★ HLI: Basic HA control, Rover-specific
AUDIO SINKS
DEMO SETUP
Remote
Controls
A. HTML page
B. Site Map, usable:
1. On Web
2. Android App
○ Voice input!
Thanks for your
interest in our
work!
We’re happy if this inspired
you to go home and hack
something FUN yourself!
Meet the Eclipse SmartHome powered Mars Rover

Meet the Eclipse SmartHome powered Mars Rover