![Page 1: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/1.jpg)
Globalcode – Open4education
Building Home Automation with Arduino, Raspberry Pi and Concept Board
![Page 2: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/2.jpg)
Globalcode – Open4education
Home Automation
![Page 3: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/3.jpg)
Globalcode – Open4education
Internet of Things (IoT)
![Page 4: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/4.jpg)
Globalcode – Open4education
Home Automation
● Control Thingsa. Gates, lamps, shades, music..
● Monitor Thingsa. temperature, humidity, presence
● We need controllers...
![Page 5: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/5.jpg)
Globalcode – Open4education
Home Automation
● Small Computer = Microcomputer○ Low energy consumption○ Limited Resources○ Do somethings at the same time
● Very small computer = Microcontroller○ Very low energy consumption○ Very Limited Resources○ Do a few things at the same time
![Page 6: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/6.jpg)
Globalcode – Open4education
Today
● Control home any appliance using:
○ Arduino: very small computer
○ Concept Board: small computer + cell phone
○ Raspberry Pi: medium size computer
![Page 7: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/7.jpg)
Globalcode – Open4education
Basic Control: on / off
● Turn on / off home appliance is a nice start!
● We can use a relay to turn on / off energy;
● We need to control this relay!
![Page 8: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/8.jpg)
Globalcode – Open4education
Relay Board
Computer
ArduinoRaspberryConcept
Home Appliance
Wall SocketSwitch Plug
![Page 9: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/9.jpg)
Globalcode – Open4education
1. Arduino
● Very small computer: 2KB memory, 16mhz clock● Very low energy consumption● Large do it yourself (D.I.Y.) community● Can control things and monitor sensors● One program per time● Wiring language based on C / C++ Language
![Page 10: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/10.jpg)
Globalcode – Open4education
1. Arduino
![Page 11: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/11.jpg)
Globalcode – Open4education
1. Arduino code
void setup() {pinMode(13, OUTPUT);
}
void loop() {digitalWrite(13, HIGH);delay(1000);
digitalWrite(13, LOW);delay(1000);
}
![Page 12: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/12.jpg)
Globalcode – Open4education
Raspberry Pi
● Credit card size computer
![Page 13: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/13.jpg)
Globalcode – Open4education
Raspberry Pi
● Runs Linux
● Educational proposal
● Medium size computer (700mhz, 512MB RAM)
● GPIO: allows you to plug sensors and control things
● Uses SD Card as hard-disk
![Page 14: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/14.jpg)
Globalcode – Open4education
Raspberry Pi
![Page 15: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/15.jpg)
Globalcode – Open4education
Gemalto Concept Board
● Between Arduino and Raspberry Pi
● 3G Support
● Compatible with Arduino
![Page 16: Raspberry Pi and Concept Board Building Home Automation ...files.meetup.com/11434242/Home Automation.pdf · Building Home Automation with Arduino, Raspberry Pi and Concept Board](https://reader034.vdocument.in/reader034/viewer/2022042221/5ec7653f7821140b1667ae0c/html5/thumbnails/16.jpg)
Globalcode – Open4education
Gemalto Lab: call4fun
● Plug your relay following instructions
● Insert your phone SIM card
● Call your board!