SlideShare a Scribd company logo
1 of 12
Raspberry Pi 로 만드는 
홈 오토메이션
Pi Home 
Device Home 
Hmm…
Raspberry Pi 
• 2006년 초기 컨셉이 시작됨(Eben Upton) 
• 2012년 2월 말 판매 시작 
• 2012년 4월 부터 구매자에게 배송 시작 
• 2013년 초에 1,000,000 대 판매 
• 2013년 2월부터 Model A버전을 개발 판매 시작 
(라즈베리파이 B+)
Raspberry Pi
Raspberry Pi 
• 오픈소스 = 다양한 커뮤니티 
• 저전력 (A버전 = 2.5w, B버전 = 3.5w) 
• OS탑재 
• 다양한 언어 지원 
• 가성비 
(라즈베리파이 B+)
Pi Home 
Device Home
Groove - 
Relay 
멀티탭 
유선랜 
1.0mm 전선 
합판 
점퍼선, 리드선 
빵판 
전등 ON!!! 
더 나아가 
• 유선랜 -> 무선랜 
• SD -> Micro or B+구입 
• 빵판 -> 만능기판 납땜 
Pi Home Component
Raspberry Pi 
• Device Version : B (512MB) 
• OS : 라즈비안 
• Language : Python, html 
• Library : Webiopi
Webiopi 
http://라즈베리파이ip:8000 
User name : webiopi 
Password: raspberry
Index.html 
webiopi().ready(function() { 
var content, button; 
content = $("#content"); 
// Control Heating Pad for GPIO 18 
button = webiopi().createGPIOButton(18, "전등"); 
content.append(button); //append button to content div 
webiopi().refreshGPIO(true); 
button = webiopi().createGPIOButton(23, "장판”); 
content.append(button); 
webiopi().refreshGPIO(true); 
}); 
Script.py 
GPIO = webiopi.GPIO 
LAMP = 18 
HEATSIT = 23 
def setup(): 
webiopi.debug("Script with macros - Setup") 
# Setup GPIOs 
GPIO.setFunction(LAMP, GPIO.OUT) 
GPIO.setFunction(HEATSIT, GPIO.OUT) 
def loop(): 
webiopi.sleep(1) 
def destroy(): 
GPIO.digitalWrite(LAMP, GPIO.LOW) 
GPIO.digitalWrite(HEATSIT, GPIO.LOW)
In Future
Q&A

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

라즈베리파이 홈 오토메이션

  • 1. Raspberry Pi 로 만드는 홈 오토메이션
  • 2. Pi Home Device Home Hmm…
  • 3. Raspberry Pi • 2006년 초기 컨셉이 시작됨(Eben Upton) • 2012년 2월 말 판매 시작 • 2012년 4월 부터 구매자에게 배송 시작 • 2013년 초에 1,000,000 대 판매 • 2013년 2월부터 Model A버전을 개발 판매 시작 (라즈베리파이 B+)
  • 5. Raspberry Pi • 오픈소스 = 다양한 커뮤니티 • 저전력 (A버전 = 2.5w, B버전 = 3.5w) • OS탑재 • 다양한 언어 지원 • 가성비 (라즈베리파이 B+)
  • 7. Groove - Relay 멀티탭 유선랜 1.0mm 전선 합판 점퍼선, 리드선 빵판 전등 ON!!! 더 나아가 • 유선랜 -> 무선랜 • SD -> Micro or B+구입 • 빵판 -> 만능기판 납땜 Pi Home Component
  • 8. Raspberry Pi • Device Version : B (512MB) • OS : 라즈비안 • Language : Python, html • Library : Webiopi
  • 9. Webiopi http://라즈베리파이ip:8000 User name : webiopi Password: raspberry
  • 10. Index.html webiopi().ready(function() { var content, button; content = $("#content"); // Control Heating Pad for GPIO 18 button = webiopi().createGPIOButton(18, "전등"); content.append(button); //append button to content div webiopi().refreshGPIO(true); button = webiopi().createGPIOButton(23, "장판”); content.append(button); webiopi().refreshGPIO(true); }); Script.py GPIO = webiopi.GPIO LAMP = 18 HEATSIT = 23 def setup(): webiopi.debug("Script with macros - Setup") # Setup GPIOs GPIO.setFunction(LAMP, GPIO.OUT) GPIO.setFunction(HEATSIT, GPIO.OUT) def loop(): webiopi.sleep(1) def destroy(): GPIO.digitalWrite(LAMP, GPIO.LOW) GPIO.digitalWrite(HEATSIT, GPIO.LOW)
  • 12. Q&A