SlideShare a Scribd company logo
1 of 18
La casa aperta: domotica Open Source
dal'hardware al software
Francesco Guidieri e Sandro Salari

francesco.guidieri@rcp-vision.com - RCP Vision
sandro.salari@gmail.com – RCP Vision




                                                             Francesco Guidieri e Sandro Salari
                                                 francesco.guidieri@rcp-vision.com - RCP Vision
                                                         sandro.salari@gmail.com - RCP Vision
Presentiamoci

Guidieri Francesco(@fraguid)
Francesco is co-founder of RCP-Vision, an Italian Eclipse-based
company. He has working with RCP Development in several customer
assignments. His main areas of expertise cover also modeling, testing,
headless builds and continuous integration.

                Salari Sandro (@CodeStudio_SS)
Sandro is an independent consultant software architect. He derives
broad expert knowledge from about 10 years of software development.
His expertise areas covers the development of Eclipse RCP, enterprise
web, and embedded firmware applications.



     Works together at
                                                          Francesco Guidieri e Sandro Salari
                                              francesco.guidieri@rcp-vision.com - RCP Vision
                                                      sandro.salari@gmail.com - RCP Vision
Perchè DIY (Do It Yourself)




                 Obiettivi:
Ottenere un sistema economico e flessibile



                Soluzioni:

           Hardware : Arduino
           Software: OpenHab
Open Source Electronics

Physical computing                   Prototyping platform
       Sensori                                    Documentata
    Elaborazione                                   Economica
      Attuatori                                     Flessibile
   Comunicazione                                  Open source




                                                Francesco Guidieri e Sandro Salari
                                    francesco.guidieri@rcp-vision.com - RCP Vision
                                            sandro.salari@gmail.com - RCP Vision
Arduino Platform : hardware

●
  Microcontrollore ATmega328
●
  Tensione di lavoro 5V
●
  14 pin I/O digitali
●
  6 pin analogici
●
  32 KB di memoria Flash
●
  Interfaccia USB, I2C, SPI
●
  Shields (ethernet, motor...~288)
●
  Prezzo board Uno : 20€




                                                        Francesco Guidieri e Sandro Salari
                                            francesco.guidieri@rcp-vision.com - RCP Vision
                                                    sandro.salari@gmail.com - RCP Vision
Arduino Platform : software

●
    Linguaggio di programmazione (Wiring)
●
    Ambiente di sviluppo (Processing)
●
    Librerie(EEPROM,Ethernet,LiquidCrystal,
    ,SD,Servo,SPI,SoftwareSerial,WiFi, Wire)




                                                           Francesco Guidieri e Sandro Salari
                                               francesco.guidieri@rcp-vision.com - RCP Vision
                                                       sandro.salari@gmail.com - RCP Vision
Arduino Platform : software

 //TMP36 Pin Variable
int sensorPin = 0;                           //the analog pin the TMP36's Vout (sense) pin is connected to
                                             //the resolution is 10 mV / degree centigrade with a
                                             //500 mV offset to allow for negative temperatures

/*
* setup() - this function runs once when you turn your Arduino on
* We initialize the serial connection with the computer
*/
void setup()
{
       Serial.begin(9600);          //Start the serial connection with the computer
                                             //to view the result open the serial monitor
}

void loop()                                  // run over and over again
{
     int reading = analogRead(sensorPin);
     float voltage = reading * 5.0;
     voltage /= 1024.0;
     // print out the voltage
     Serial.print(voltage);
     Serial.println(" volts");
     // now print out the temperature
     float temperatureC = (voltage - 0.5) * 100 ;      //converting from 10 mv per degree wit 500 mV offset
                                                                           //to degrees ((volatge - 500mV) times 100)

      Serial.print(temperatureC); Serial.println(" degrees C");
      delay(1000); //waiting a second
}

                                                                                                                             Francesco Guidieri e Sandro Salari
                                                                                                                 francesco.guidieri@rcp-vision.com - RCP Vision
                                                                                                                         sandro.salari@gmail.com - RCP Vision
Atmel Chips

    ATtiny85 8-Bit Processor               Arduino Mega 2560 R3
●
 8 pin (~2€)                       ●
                                        ATmega2560 microcontroller
●
 Programmabile con Uno             ●
                                        Input voltage - 7-12V
●
 8K Program space                  ●
                                        54 Digital I/O Pins
●
 6 I/O lines                       ●
                                        16 Analog Inputs
●
 4-channel 10 bit ADC              ●
                                        16Mhz Clock Speed




                                                    Francesco Guidieri e Sandro Salari
                                        francesco.guidieri@rcp-vision.com - RCP Vision
                                                sandro.salari@gmail.com - RCP Vision
Go remote with XBee

●
  2.4GHz XBee from Digi (~ 20€)
●
  802.15.4 stack (Zigbee basis)
●
  Point to point and multi-point networks (mesh: leaf,
coordinator, router)
●
  Remote serial port; API mode (local and remote); AT
command
●
  Low power (3.3V @ 50mA) and sleep mode (sleep
sync/async ~ 10uA)
●
  Range (whip antenna): Out(pro)/In(pro): 250m
(1300m) / 25m (108m)
●
  6 / 10-bit ADC input pins ; 8 digital IO pins
●
  X-CTU GUI, JAVA API (http://code.google.com/p/xbee-
java-api/)




                                                                 Francesco Guidieri e Sandro Salari
                                                     francesco.guidieri@rcp-vision.com - RCP Vision
                                                             sandro.salari@gmail.com - RCP Vision
Open Source Home Automation

        Cosa cercavamo                        Cosa abbiamo trovato
  Un sistema di Home Automation             Tecnologie open source altamente
 open, customizzabile e facilmente        integrate con un ambiente di sviluppo
            estendibile
                                              Lo standard OSGI permette di
Elaborazione e rappresentazione dei       pluggare il sistema con diversi moduli
dati non vincolata ad una tecnologia         di interfaccia, al momento Web,
          di visualizzazione                     native Mobile o ... (REST)

Capacità di interazione con dispositivi     Diversi tipo di comunicazione con
 hardware eterogenei e supporto a            l'hardware supportati tramite un
    diversi tipi di comunicazione                  Event Bus applicativo




                                                         Francesco Guidieri e Sandro Salari
                                             francesco.guidieri@rcp-vision.com - RCP Vision
                                                     sandro.salari@gmail.com - RCP Vision
OpenHAB

●
  GPL, un progetto ospitato a Google Code
●
  OSGI-based Runtime
●
  Eclipse RCP Condiguration Tool


    Event Admin
                                                                     Eclipse Modeling

    Jetty
                                                                                                Xtext

    Declarative
                                                                             Jboss Drools
    Services

                                                           Francesco Guidieri e Sandro Salari
                                               francesco.guidieri@rcp-vision.com - RCP Vision
                                                       sandro.salari@gmail.com - RCP Vision
OpenHAB Event Bus




                         Francesco Guidieri e Sandro Salari
             francesco.guidieri@rcp-vision.com - RCP Vision
                     sandro.salari@gmail.com - RCP Vision
OpenHAB features

User Interfaces:                           Bindings hardware:
●
  Smartphone UI                             ●
                                              KNX
●
  Console via XMPP                          ●
                                              One-Wire
●
  Google Calendar Events                    ●
                                              RS-232
●
  REST-API                                  ●
                                              Bluetooth
  Rule Actions                              ●
                                              HTTP In/Out
●
  Mails via SMTP                            ●
                                              Exec (Command line)
●
  XMPP / Jabber Notifications               ●
                                              NTP (Network Time Player)
●
  Prowl Notifications                      Persistence:
●
  Text-to-Speech                            ●
                                              DB4O
●
  Soundfile / Stream Player                 ●
                                              RDD4j
●
  Volume Control                            ●
                                              Open.Sen.Se




                                                          Francesco Guidieri e Sandro Salari
                                              francesco.guidieri@rcp-vision.com - RCP Vision
                                                      sandro.salari@gmail.com - RCP Vision
OpenHAB UI features




                           Francesco Guidieri e Sandro Salari
               francesco.guidieri@rcp-vision.com - RCP Vision
                       sandro.salari@gmail.com - RCP Vision
DEMO: controllo carichi




Status
Updates
                   Commands


                                 Francesco Guidieri e Sandro Salari
                     francesco.guidieri@rcp-vision.com - RCP Vision
                             sandro.salari@gmail.com - RCP Vision
Demo : Rilevazione intrusioni




                                 Francesco Guidieri e Sandro Salari
                     francesco.guidieri@rcp-vision.com - RCP Vision
                             sandro.salari@gmail.com - RCP Vision
Demo : Rilevazione intrusioni




                                 Francesco Guidieri e Sandro Salari
                     francesco.guidieri@rcp-vision.com - RCP Vision
                             sandro.salari@gmail.com - RCP Vision
Impianto reale




                         Francesco Guidieri e Sandro Salari
             francesco.guidieri@rcp-vision.com - RCP Vision
                     sandro.salari@gmail.com - RCP Vision

More Related Content

What's hot

Innovation with pcDuino
Innovation with pcDuinoInnovation with pcDuino
Innovation with pcDuinoJingfeng Liu
 
Livecoding with impromptu
Livecoding with impromptuLivecoding with impromptu
Livecoding with impromptuMichele Pasin
 
OWF12/PAUG Conf Days Android tools for developpeurs, paul marois, design and ...
OWF12/PAUG Conf Days Android tools for developpeurs, paul marois, design and ...OWF12/PAUG Conf Days Android tools for developpeurs, paul marois, design and ...
OWF12/PAUG Conf Days Android tools for developpeurs, paul marois, design and ...Paris Open Source Summit
 
Plasmaquick Workshop - FISL 13
Plasmaquick Workshop - FISL 13Plasmaquick Workshop - FISL 13
Plasmaquick Workshop - FISL 13Daker Fernandes
 
Introduction to IPython & Jupyter Notebooks
Introduction to IPython & Jupyter NotebooksIntroduction to IPython & Jupyter Notebooks
Introduction to IPython & Jupyter NotebooksEueung Mulyana
 

What's hot (7)

Innovation with pcDuino
Innovation with pcDuinoInnovation with pcDuino
Innovation with pcDuino
 
Livecoding with impromptu
Livecoding with impromptuLivecoding with impromptu
Livecoding with impromptu
 
Maker Movement
Maker MovementMaker Movement
Maker Movement
 
OWF12/PAUG Conf Days Android tools for developpeurs, paul marois, design and ...
OWF12/PAUG Conf Days Android tools for developpeurs, paul marois, design and ...OWF12/PAUG Conf Days Android tools for developpeurs, paul marois, design and ...
OWF12/PAUG Conf Days Android tools for developpeurs, paul marois, design and ...
 
Plasmaquick Workshop - FISL 13
Plasmaquick Workshop - FISL 13Plasmaquick Workshop - FISL 13
Plasmaquick Workshop - FISL 13
 
Introduction to IPython & Jupyter Notebooks
Introduction to IPython & Jupyter NotebooksIntroduction to IPython & Jupyter Notebooks
Introduction to IPython & Jupyter Notebooks
 
Framework for IoT Interoperability
Framework for IoT InteroperabilityFramework for IoT Interoperability
Framework for IoT Interoperability
 

Viewers also liked

openHAB @ Devoxx 2012
openHAB @ Devoxx 2012openHAB @ Devoxx 2012
openHAB @ Devoxx 2012Kai Kreuzer
 
The End of the world as we know it - AKA your last NullPointerException $1B b...
The End of the world as we know it - AKA your last NullPointerException $1B b...The End of the world as we know it - AKA your last NullPointerException $1B b...
The End of the world as we know it - AKA your last NullPointerException $1B b...Michael Vorburger
 
Meet the Eclipse SmartHome powered Mars Rover
Meet the Eclipse SmartHome powered Mars RoverMeet the Eclipse SmartHome powered Mars Rover
Meet the Eclipse SmartHome powered Mars RoverMichael Vorburger
 
openHAB @ ECE2011
openHAB @ ECE2011openHAB @ ECE2011
openHAB @ ECE2011Kai Kreuzer
 

Viewers also liked (6)

openHAB @ Devoxx 2012
openHAB @ Devoxx 2012openHAB @ Devoxx 2012
openHAB @ Devoxx 2012
 
The End of the world as we know it - AKA your last NullPointerException $1B b...
The End of the world as we know it - AKA your last NullPointerException $1B b...The End of the world as we know it - AKA your last NullPointerException $1B b...
The End of the world as we know it - AKA your last NullPointerException $1B b...
 
openHAB @ JUG Stuttgart
openHAB @ JUG StuttgartopenHAB @ JUG Stuttgart
openHAB @ JUG Stuttgart
 
Meet the Eclipse SmartHome powered Mars Rover
Meet the Eclipse SmartHome powered Mars RoverMeet the Eclipse SmartHome powered Mars Rover
Meet the Eclipse SmartHome powered Mars Rover
 
openHAB @ rheinJUG Düsseldorf
openHAB @ rheinJUG DüsseldorfopenHAB @ rheinJUG Düsseldorf
openHAB @ rheinJUG Düsseldorf
 
openHAB @ ECE2011
openHAB @ ECE2011openHAB @ ECE2011
openHAB @ ECE2011
 

Similar to #Make01

Arduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro MateseArduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro MateseAlfonso Crisci
 
Mindstorms Arduino En Phidgets
Mindstorms Arduino En PhidgetsMindstorms Arduino En Phidgets
Mindstorms Arduino En Phidgetssiertwijnia
 
Mindstorms Arduino En Phidgets
Mindstorms Arduino En PhidgetsMindstorms Arduino En Phidgets
Mindstorms Arduino En Phidgetsprotospace
 
Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Somnath Sharma
 
Raspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application DevelopmentRaspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application DevelopmentCorley S.r.l.
 
Arduino اردوينو
Arduino اردوينوArduino اردوينو
Arduino اردوينوsalih mahmod
 
Zigbee enabled hotel menu ordering system
Zigbee enabled hotel menu ordering systemZigbee enabled hotel menu ordering system
Zigbee enabled hotel menu ordering systemSidharth Mohapatra
 
Cassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshopCassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshoptomtobback
 
IOTC08 The Arduino Platform
IOTC08 The Arduino PlatformIOTC08 The Arduino Platform
IOTC08 The Arduino PlatformEoin Brazil
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2srknec
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things HardwareIntroduction to Internet of Things Hardware
Introduction to Internet of Things HardwareDaniel Eichhorn
 
ScilabTEC 2015 - Embedded Solutions
ScilabTEC 2015 - Embedded SolutionsScilabTEC 2015 - Embedded Solutions
ScilabTEC 2015 - Embedded SolutionsScilab
 
Internet of Things & Open Hardware (LeanCamp Madrid 2012)
Internet of Things & Open Hardware (LeanCamp Madrid 2012)Internet of Things & Open Hardware (LeanCamp Madrid 2012)
Internet of Things & Open Hardware (LeanCamp Madrid 2012)iotmadrid
 
Project_report_on_Attendance_system
 Project_report_on_Attendance_system Project_report_on_Attendance_system
Project_report_on_Attendance_systemAmi Goswami
 
Physical Computing with the Arduino platform and Ruby
Physical Computing with the Arduino platform and RubyPhysical Computing with the Arduino platform and Ruby
Physical Computing with the Arduino platform and Rubymdweezer
 

Similar to #Make01 (20)

Arduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro MateseArduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro Matese
 
Wireless Security
Wireless SecurityWireless Security
Wireless Security
 
Mindstorms Arduino En Phidgets
Mindstorms Arduino En PhidgetsMindstorms Arduino En Phidgets
Mindstorms Arduino En Phidgets
 
Mindstorms Arduino En Phidgets
Mindstorms Arduino En PhidgetsMindstorms Arduino En Phidgets
Mindstorms Arduino En Phidgets
 
Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Arduino camera interfacing OV7670
Arduino camera interfacing OV7670
 
Raspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application DevelopmentRaspberry Pi - HW/SW Application Development
Raspberry Pi - HW/SW Application Development
 
Arduino اردوينو
Arduino اردوينوArduino اردوينو
Arduino اردوينو
 
Arduino
ArduinoArduino
Arduino
 
Zigbee enabled hotel menu ordering system
Zigbee enabled hotel menu ordering systemZigbee enabled hotel menu ordering system
Zigbee enabled hotel menu ordering system
 
Cassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshopCassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshop
 
Resume
ResumeResume
Resume
 
IOTC08 The Arduino Platform
IOTC08 The Arduino PlatformIOTC08 The Arduino Platform
IOTC08 The Arduino Platform
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things HardwareIntroduction to Internet of Things Hardware
Introduction to Internet of Things Hardware
 
ScilabTEC 2015 - Embedded Solutions
ScilabTEC 2015 - Embedded SolutionsScilabTEC 2015 - Embedded Solutions
ScilabTEC 2015 - Embedded Solutions
 
Internet of Things & Open Hardware (LeanCamp Madrid 2012)
Internet of Things & Open Hardware (LeanCamp Madrid 2012)Internet of Things & Open Hardware (LeanCamp Madrid 2012)
Internet of Things & Open Hardware (LeanCamp Madrid 2012)
 
Project_report_on_Attendance_system
 Project_report_on_Attendance_system Project_report_on_Attendance_system
Project_report_on_Attendance_system
 
Physical Computing with the Arduino platform and Ruby
Physical Computing with the Arduino platform and RubyPhysical Computing with the Arduino platform and Ruby
Physical Computing with the Arduino platform and Ruby
 
How to use an Arduino
How to use an ArduinoHow to use an Arduino
How to use an Arduino
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
 

Recently uploaded

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Recently uploaded (20)

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

#Make01

  • 1. La casa aperta: domotica Open Source dal'hardware al software Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com – RCP Vision Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 2. Presentiamoci Guidieri Francesco(@fraguid) Francesco is co-founder of RCP-Vision, an Italian Eclipse-based company. He has working with RCP Development in several customer assignments. His main areas of expertise cover also modeling, testing, headless builds and continuous integration. Salari Sandro (@CodeStudio_SS) Sandro is an independent consultant software architect. He derives broad expert knowledge from about 10 years of software development. His expertise areas covers the development of Eclipse RCP, enterprise web, and embedded firmware applications. Works together at Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 3. Perchè DIY (Do It Yourself) Obiettivi: Ottenere un sistema economico e flessibile Soluzioni: Hardware : Arduino Software: OpenHab
  • 4. Open Source Electronics Physical computing Prototyping platform Sensori Documentata Elaborazione Economica Attuatori Flessibile Comunicazione Open source Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 5. Arduino Platform : hardware ● Microcontrollore ATmega328 ● Tensione di lavoro 5V ● 14 pin I/O digitali ● 6 pin analogici ● 32 KB di memoria Flash ● Interfaccia USB, I2C, SPI ● Shields (ethernet, motor...~288) ● Prezzo board Uno : 20€ Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 6. Arduino Platform : software ● Linguaggio di programmazione (Wiring) ● Ambiente di sviluppo (Processing) ● Librerie(EEPROM,Ethernet,LiquidCrystal, ,SD,Servo,SPI,SoftwareSerial,WiFi, Wire) Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 7. Arduino Platform : software //TMP36 Pin Variable int sensorPin = 0; //the analog pin the TMP36's Vout (sense) pin is connected to //the resolution is 10 mV / degree centigrade with a //500 mV offset to allow for negative temperatures /* * setup() - this function runs once when you turn your Arduino on * We initialize the serial connection with the computer */ void setup() { Serial.begin(9600); //Start the serial connection with the computer //to view the result open the serial monitor } void loop() // run over and over again { int reading = analogRead(sensorPin); float voltage = reading * 5.0; voltage /= 1024.0; // print out the voltage Serial.print(voltage); Serial.println(" volts"); // now print out the temperature float temperatureC = (voltage - 0.5) * 100 ; //converting from 10 mv per degree wit 500 mV offset //to degrees ((volatge - 500mV) times 100) Serial.print(temperatureC); Serial.println(" degrees C"); delay(1000); //waiting a second } Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 8. Atmel Chips ATtiny85 8-Bit Processor Arduino Mega 2560 R3 ● 8 pin (~2€) ● ATmega2560 microcontroller ● Programmabile con Uno ● Input voltage - 7-12V ● 8K Program space ● 54 Digital I/O Pins ● 6 I/O lines ● 16 Analog Inputs ● 4-channel 10 bit ADC ● 16Mhz Clock Speed Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 9. Go remote with XBee ● 2.4GHz XBee from Digi (~ 20€) ● 802.15.4 stack (Zigbee basis) ● Point to point and multi-point networks (mesh: leaf, coordinator, router) ● Remote serial port; API mode (local and remote); AT command ● Low power (3.3V @ 50mA) and sleep mode (sleep sync/async ~ 10uA) ● Range (whip antenna): Out(pro)/In(pro): 250m (1300m) / 25m (108m) ● 6 / 10-bit ADC input pins ; 8 digital IO pins ● X-CTU GUI, JAVA API (http://code.google.com/p/xbee- java-api/) Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 10. Open Source Home Automation Cosa cercavamo Cosa abbiamo trovato Un sistema di Home Automation Tecnologie open source altamente open, customizzabile e facilmente integrate con un ambiente di sviluppo estendibile Lo standard OSGI permette di Elaborazione e rappresentazione dei pluggare il sistema con diversi moduli dati non vincolata ad una tecnologia di interfaccia, al momento Web, di visualizzazione native Mobile o ... (REST) Capacità di interazione con dispositivi Diversi tipo di comunicazione con hardware eterogenei e supporto a l'hardware supportati tramite un diversi tipi di comunicazione Event Bus applicativo Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 11. OpenHAB ● GPL, un progetto ospitato a Google Code ● OSGI-based Runtime ● Eclipse RCP Condiguration Tool Event Admin Eclipse Modeling Jetty Xtext Declarative Jboss Drools Services Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 12. OpenHAB Event Bus Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 13. OpenHAB features User Interfaces: Bindings hardware: ● Smartphone UI ● KNX ● Console via XMPP ● One-Wire ● Google Calendar Events ● RS-232 ● REST-API ● Bluetooth Rule Actions ● HTTP In/Out ● Mails via SMTP ● Exec (Command line) ● XMPP / Jabber Notifications ● NTP (Network Time Player) ● Prowl Notifications Persistence: ● Text-to-Speech ● DB4O ● Soundfile / Stream Player ● RDD4j ● Volume Control ● Open.Sen.Se Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 14. OpenHAB UI features Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 15. DEMO: controllo carichi Status Updates Commands Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 16. Demo : Rilevazione intrusioni Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 17. Demo : Rilevazione intrusioni Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision
  • 18. Impianto reale Francesco Guidieri e Sandro Salari francesco.guidieri@rcp-vision.com - RCP Vision sandro.salari@gmail.com - RCP Vision