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
 
Ambit Brochure Embedded Robotics 2023.pdf
Ambit Brochure Embedded Robotics 2023.pdfAmbit Brochure Embedded Robotics 2023.pdf
Ambit Brochure Embedded Robotics 2023.pdfRintuKurian3
 
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
 
Ambit Brochure Embedded Robotics 2023.pdf
Ambit Brochure Embedded Robotics 2023.pdfAmbit Brochure Embedded Robotics 2023.pdf
Ambit Brochure Embedded Robotics 2023.pdf
 
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
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

#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