SlideShare a Scribd company logo
Automatizing your house with open source hardware and Java
Our team... Vinicius Senger – team leader and architect Benedicto Franco Junior – Senior engineer Paulo Carlos dos Santos – Electronic engineer Jose Luiz Sanchez Lorenzo – Electronic engineer Neto Marin – Mobile & Wireless engineer
This talk... Is not a product, solution or standard It ´s about  putting accessible technologies together literally inside your house; It’s about community and open source experiences
Agenda Introduction Open source hardware Hands-on automation circuits Integration with Java & JavaFX Complete architecture demo
Introduction Electricity and electronics in our houses: Past I: making electricity accessible and cheap Past II: making it smaller and faster Past III: digitalizing and integrating everything Past IV: saving energy and improving intelligence NOW: making it simple and open source! Future: making automation accessible and cheap (all around the world)
Introduction Computers Vs. People*: Past I: one computer for many people Past II: one computer per person Today: many computers per person (rich person) Tomorrow: many computersa per person (including poor people) *from @alegomes
Your house tomorrow... (or Today) Advanced memory Semantic illumination Bluetooth and wifi communication Futuristic and gesture control Imagine recognition  Interactive wall Open source technologies (HW + SW) D.I.Y
What do you need to automate your house? Main Board Controller  Relay circuit Dimmer circuit Wired and wireless communication LED illumination Sensors: presence, temperature, light, reed, etc.
How much it cost? Main Board Controller  Each wall socket Dimmer Communication LED illumination
Automated house architecture…
Agenda Introduction Open source hardware Hands-on automation circuits Integration with Java & JavaFX Complete architecture demo
Open source hardware You can take, distribute, modify and make money Taking back the control about what is happening in our computer D.I.Y consumers New and exciting market! Very big community
Rep Rap
Monome
Segway
OSHW Controllers Normally uses microcontroller: single integrated circuit with CPU, memory and I/O. Low power consumption  Normally bare metal Many options: Atmega / Arduino, BasicStamp, ARM, Netduino.. Some of then support Java, but most cases you need to write some C code;
Sun Spot Nice and expansive: U$ 750,00  Include 2 Spots and 1 PC station board Suppose to have different sensor boards Squawk virtual machine Small community
Sun Spot – mainboard (podemos tirar) The main board includes: ARM based (AtmelAT91RM9200) 4 megabytes flash memory Wireless 2.4GH JVM embedded 3.7V 720maH rechargeable battery
Sun Spot – sensor board  (podemos tirar) The default sensor board includes: Accelerometer Leds Switch Light Sensor Temperature Sensor High current driver (small DC motor) 3 X Octal Register/Driver (led matrix)
Arduino Famous open source hardware project created by Maximo Banzi, Ivrea University “ Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software.  It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.  “
Arduino Simple board based on Atmega328 MCU Cheap: U$ 30 – BIG community Limited resources: 16 mhz 32k flash 2k RAM 6 analolg ports 14 digital ports (6 PWM) Default language is C / C++ using GCC AVR
Arduino
So simple that you can do your own PCB You can take out many components  for production Very easy to draw and DIY Arduino = simple
Arduino Arduino can run Java? NO, not the legal Java. But YES,  www.kaffe.org  – not officially Java.
Program-ME Brazilian development board based on Arduino Arduino + inboard resources: LEDs 4 high current transistors Light sensor Servo and analog simplified inputs
Beagle Board Very nice board for U$ 149,00, good candidate to be the central controller
Which one? Price Good for Not good for Sun Spot 750,00 prototyping with wireless and Java production Arduino 30,00 smaller dedicated controller Medium / high process, like video Beagle Board 149,00 medium / high process smaller controllers Raw Atmega < U$ 10,00 production for small dedicated controller prototyping
Agenda Introduction Open source hardware Hands-on automation circuits Integration with Java & JavaFX Complete architecture demo
Controlling Relay Very simple and useful with different applications: Wall socket Electronic Lock Electronic garage door Basic circuit components: Resistor, transistor, diode, connectors Just use 1 digital port for each relay
Relay PCB
void setup() { pinMode(2, OUTPUT); pinMode(3, OUTPUT); } void loop() { digitalWrite(3, LOW); digitalWrite(2, HIGH); delay(1000); digitalWrite(2, LOW); digitalWrite(3, HIGH); delay(1000); } Arduino Code
Demo #1 Introduce the central board controller Introduce JavaFX central console Show relay usage using Bluetooth
Digital Dimmer A/C light More advanced circuit using optical isolator and TRIAC (solid state relay) Can control A/C power for:  Incandescent light Shower Fan
Demo #2 Digital dimmer in action with bluetooth and JavaFX Futuristic dimmer
RGB Illumination High power and low consumption; Can be RGB or one color; Very simple to drive: Uses three transistor PWM digital ports
Going beyond...
Wireless in you house Price Resume 433 mhz U$ 15 Simple but can be hard for many transceivers in the same environment. Good to have into house components. Bluetooth U$ 60 Very trustable, good for cell phone control Wifi U$ 100 Large distance, is expansive to have into house components, but perfect for central controller xBee U$ 30 The best choice, good price and many working mode X10 >U$ 200 Best choice for AC control
Best Wireless Architecture
JavaFX Our choice because: It’s simple and rich Simple to integrate with wireless communication Simple to integrate with Sun Spot, Arduino or any other else; Java RXTX; DEMO JavaFX code with Arduino
Conclusion Many choices to automate your house by yourself Open-source hardware and software make it easy and acessible Do it yourself is a reality! Cheap & fun!
More... www.eletronlivre.com.br www.globalcode.com.br www.arduino.cc www.sunspotworld.com
More... Twitter:  Vinicius Senger - @vsenger Jose Luiz Lorenzo - @jllorenzo Neto Marin - @netomarin Benedicto Franco - @benefrancojr [email_address]

More Related Content

PDF
Arduino Basics
PPTX
Intro to Arduino.ppt
PPTX
Arduino slides
PPT
Arduino
PPTX
Arduino Workshop
PPTX
Introduction to Arduino with ArduBlock & SparkFun LilyPad
PPTX
Introduction to Arduino
PPTX
Arduino
Arduino Basics
Intro to Arduino.ppt
Arduino slides
Arduino
Arduino Workshop
Introduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino
Arduino

What's hot (20)

PDF
NSTA 2013 Denver - ArduBlock and Arduino
PDF
30120140506004
PPT
Introduction To Arduino
PPT
Intro to Arduino
PPTX
Different Arduino Boards
PPTX
Arduino Programming Software Development
PPTX
Arduino and c programming
PPTX
Arduino
PPTX
Basics of arduino uno
PPT
Embedded system programming using Arduino microcontroller
PPTX
Arduino Model's
PPS
Arduino Uno Pin Description
PDF
Arduino presentation
PPTX
Lesson sample introduction to arduino
PPTX
Arduino Uno Board - Robomart
PDF
Arduino Introduction Presentation
PDF
Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009
PPTX
An Hour of Arduino and Ardublock
PPTX
What are the different types of arduino boards
PDF
Show & Tell.- Introduction
NSTA 2013 Denver - ArduBlock and Arduino
30120140506004
Introduction To Arduino
Intro to Arduino
Different Arduino Boards
Arduino Programming Software Development
Arduino and c programming
Arduino
Basics of arduino uno
Embedded system programming using Arduino microcontroller
Arduino Model's
Arduino Uno Pin Description
Arduino presentation
Lesson sample introduction to arduino
Arduino Uno Board - Robomart
Arduino Introduction Presentation
Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009
An Hour of Arduino and Ardublock
What are the different types of arduino boards
Show & Tell.- Introduction
Ad

Similar to JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hardware/ Vinicius Senger e Neto Marin (20)

PDF
Internet of Things
PDF
Oop 2014 embedded systems with open source hardware v2
PPTX
A brief introduction to making your own (Internet of Things) Thing
PPTX
WEB BASED REALTIME CONTROL AND HOME AUTOMATION SYSTEM
PDF
Hardware Hacking
DOCX
Smart home automation system
PPT
Building IoT with Arduino Day One
PPTX
Title: Arduino Projects Presentation----
PPTX
Title: Arduino Projects Presentation----
PPTX
Iot based home automation
PDF
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
PDF
IRJET- IoT based Solar Street Light Intensity Control System
PPTX
Open source hardware
PPTX
Home automation system
PDF
Homeautomation 101 - smart
PDF
Download full ebook of Arduino In Easy Steps Stuart Yarnold instant download pdf
PDF
Programming Your Home Automate with Arduino, Android, and Your Computer.pdf
PDF
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
PDF
Introducing... Arduino
PDF
Arduino bộ vi điều khiển cho tất cả chúng ta part 1
Internet of Things
Oop 2014 embedded systems with open source hardware v2
A brief introduction to making your own (Internet of Things) Thing
WEB BASED REALTIME CONTROL AND HOME AUTOMATION SYSTEM
Hardware Hacking
Smart home automation system
Building IoT with Arduino Day One
Title: Arduino Projects Presentation----
Title: Arduino Projects Presentation----
Iot based home automation
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
IRJET- IoT based Solar Street Light Intensity Control System
Open source hardware
Home automation system
Homeautomation 101 - smart
Download full ebook of Arduino In Easy Steps Stuart Yarnold instant download pdf
Programming Your Home Automate with Arduino, Android, and Your Computer.pdf
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
Introducing... Arduino
Arduino bộ vi điều khiển cho tất cả chúng ta part 1
Ad

Recently uploaded (20)

PDF
Zenith AI: Advanced Artificial Intelligence
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Hybrid model detection and classification of lung cancer
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
project resource management chapter-09.pdf
PPTX
A Presentation on Touch Screen Technology
PDF
Approach and Philosophy of On baking technology
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
A Presentation on Artificial Intelligence
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
August Patch Tuesday
Zenith AI: Advanced Artificial Intelligence
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Hybrid model detection and classification of lung cancer
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Programs and apps: productivity, graphics, security and other tools
Heart disease approach using modified random forest and particle swarm optimi...
Hindi spoken digit analysis for native and non-native speakers
OMC Textile Division Presentation 2021.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
project resource management chapter-09.pdf
A Presentation on Touch Screen Technology
Approach and Philosophy of On baking technology
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
A Presentation on Artificial Intelligence
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
August Patch Tuesday

JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hardware/ Vinicius Senger e Neto Marin

  • 1. Automatizing your house with open source hardware and Java
  • 2. Our team... Vinicius Senger – team leader and architect Benedicto Franco Junior – Senior engineer Paulo Carlos dos Santos – Electronic engineer Jose Luiz Sanchez Lorenzo – Electronic engineer Neto Marin – Mobile & Wireless engineer
  • 3. This talk... Is not a product, solution or standard It ´s about putting accessible technologies together literally inside your house; It’s about community and open source experiences
  • 4. Agenda Introduction Open source hardware Hands-on automation circuits Integration with Java & JavaFX Complete architecture demo
  • 5. Introduction Electricity and electronics in our houses: Past I: making electricity accessible and cheap Past II: making it smaller and faster Past III: digitalizing and integrating everything Past IV: saving energy and improving intelligence NOW: making it simple and open source! Future: making automation accessible and cheap (all around the world)
  • 6. Introduction Computers Vs. People*: Past I: one computer for many people Past II: one computer per person Today: many computers per person (rich person) Tomorrow: many computersa per person (including poor people) *from @alegomes
  • 7. Your house tomorrow... (or Today) Advanced memory Semantic illumination Bluetooth and wifi communication Futuristic and gesture control Imagine recognition Interactive wall Open source technologies (HW + SW) D.I.Y
  • 8. What do you need to automate your house? Main Board Controller Relay circuit Dimmer circuit Wired and wireless communication LED illumination Sensors: presence, temperature, light, reed, etc.
  • 9. How much it cost? Main Board Controller Each wall socket Dimmer Communication LED illumination
  • 11. Agenda Introduction Open source hardware Hands-on automation circuits Integration with Java & JavaFX Complete architecture demo
  • 12. Open source hardware You can take, distribute, modify and make money Taking back the control about what is happening in our computer D.I.Y consumers New and exciting market! Very big community
  • 16. OSHW Controllers Normally uses microcontroller: single integrated circuit with CPU, memory and I/O. Low power consumption Normally bare metal Many options: Atmega / Arduino, BasicStamp, ARM, Netduino.. Some of then support Java, but most cases you need to write some C code;
  • 17. Sun Spot Nice and expansive: U$ 750,00 Include 2 Spots and 1 PC station board Suppose to have different sensor boards Squawk virtual machine Small community
  • 18. Sun Spot – mainboard (podemos tirar) The main board includes: ARM based (AtmelAT91RM9200) 4 megabytes flash memory Wireless 2.4GH JVM embedded 3.7V 720maH rechargeable battery
  • 19. Sun Spot – sensor board (podemos tirar) The default sensor board includes: Accelerometer Leds Switch Light Sensor Temperature Sensor High current driver (small DC motor) 3 X Octal Register/Driver (led matrix)
  • 20. Arduino Famous open source hardware project created by Maximo Banzi, Ivrea University “ Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. “
  • 21. Arduino Simple board based on Atmega328 MCU Cheap: U$ 30 – BIG community Limited resources: 16 mhz 32k flash 2k RAM 6 analolg ports 14 digital ports (6 PWM) Default language is C / C++ using GCC AVR
  • 23. So simple that you can do your own PCB You can take out many components for production Very easy to draw and DIY Arduino = simple
  • 24. Arduino Arduino can run Java? NO, not the legal Java. But YES, www.kaffe.org – not officially Java.
  • 25. Program-ME Brazilian development board based on Arduino Arduino + inboard resources: LEDs 4 high current transistors Light sensor Servo and analog simplified inputs
  • 26. Beagle Board Very nice board for U$ 149,00, good candidate to be the central controller
  • 27. Which one? Price Good for Not good for Sun Spot 750,00 prototyping with wireless and Java production Arduino 30,00 smaller dedicated controller Medium / high process, like video Beagle Board 149,00 medium / high process smaller controllers Raw Atmega < U$ 10,00 production for small dedicated controller prototyping
  • 28. Agenda Introduction Open source hardware Hands-on automation circuits Integration with Java & JavaFX Complete architecture demo
  • 29. Controlling Relay Very simple and useful with different applications: Wall socket Electronic Lock Electronic garage door Basic circuit components: Resistor, transistor, diode, connectors Just use 1 digital port for each relay
  • 31. void setup() { pinMode(2, OUTPUT); pinMode(3, OUTPUT); } void loop() { digitalWrite(3, LOW); digitalWrite(2, HIGH); delay(1000); digitalWrite(2, LOW); digitalWrite(3, HIGH); delay(1000); } Arduino Code
  • 32. Demo #1 Introduce the central board controller Introduce JavaFX central console Show relay usage using Bluetooth
  • 33. Digital Dimmer A/C light More advanced circuit using optical isolator and TRIAC (solid state relay) Can control A/C power for: Incandescent light Shower Fan
  • 34. Demo #2 Digital dimmer in action with bluetooth and JavaFX Futuristic dimmer
  • 35. RGB Illumination High power and low consumption; Can be RGB or one color; Very simple to drive: Uses three transistor PWM digital ports
  • 37. Wireless in you house Price Resume 433 mhz U$ 15 Simple but can be hard for many transceivers in the same environment. Good to have into house components. Bluetooth U$ 60 Very trustable, good for cell phone control Wifi U$ 100 Large distance, is expansive to have into house components, but perfect for central controller xBee U$ 30 The best choice, good price and many working mode X10 >U$ 200 Best choice for AC control
  • 39. JavaFX Our choice because: It’s simple and rich Simple to integrate with wireless communication Simple to integrate with Sun Spot, Arduino or any other else; Java RXTX; DEMO JavaFX code with Arduino
  • 40. Conclusion Many choices to automate your house by yourself Open-source hardware and software make it easy and acessible Do it yourself is a reality! Cheap & fun!
  • 41. More... www.eletronlivre.com.br www.globalcode.com.br www.arduino.cc www.sunspotworld.com
  • 42. More... Twitter: Vinicius Senger - @vsenger Jose Luiz Lorenzo - @jllorenzo Neto Marin - @netomarin Benedicto Franco - @benefrancojr [email_address]