Submit Search
Upload
Raspberry Pi 奮闘記1 Lチカさせるまで【修正版】
•
Download as PPTX, PDF
•
0 likes
•
104 views
M
Masashi Naito
Follow
Raspberry Piの紹介とLED点灯させるまでをまとめました.
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 16
Download now
Recommended
Raspberry Pi 奮闘記1 Lチカさせるまで
Raspberry Pi 奮闘記1 Lチカさせるまで
Masashi Naito
Raspberry Pi 奮闘記2 カメラ的な何か
Raspberry Pi 奮闘記2 カメラ的な何か
Masashi Naito
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
Recommended
Raspberry Pi 奮闘記1 Lチカさせるまで
Raspberry Pi 奮闘記1 Lチカさせるまで
Masashi Naito
Raspberry Pi 奮闘記2 カメラ的な何か
Raspberry Pi 奮闘記2 カメラ的な何か
Masashi Naito
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
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 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
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
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 Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
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...
Applitools
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
More Related Content
Featured
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
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 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
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
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 Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
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...
Applitools
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
Featured
(20)
PEPSICO 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)
How 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 Insights
Trends 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 summary
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
Google'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
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The 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...
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 Work
ChatGPT webinar slides
ChatGPT webinar slides
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Raspberry Pi 奮闘記1 Lチカさせるまで【修正版】
1.
Raspberry Pi 奮闘記1 Lチカさせるまで
2.
ラズパイを始めた理由 以前から興味はあったが,購入には至らず… 会社のビンゴ大会で偶然にもGET L(@^▽^@)」 ワーイ Let’s ラズパイライフ!!
3.
ラズベリー パイとは ラズベリー(仏:フランボワーズ) バラ科キイチゴ属の果実 パイ 小麦粉とバターなどから作った生地に果物や 肉を包んで焼いた料理,菓子 ※Wikipedia参照 https://ja.wikipedia.org/wiki/ラズベリー https://ja.wikipedia.org/wiki/パイ
4.
という冗談はさておき
5.
Raspberry Piとは シングルボードコンピュータ なんか色々できる優秀な子 本体が入ってた箱 ※Wikipedia参照 https://ja.wikipedia.org/wiki/Raspberry_Pi
6.
スペック Raspberry Pi 3
Model B CPU 1.2 GHz クアッドコア RAM 1 GB GPU 400 MHz (3D 300 MHz) USB USB 2.0 × 4 ネットワーク ・10/100 Mbps イーサネット ・IEEE 802.11 b/g/n 2.4 GHz ・Bluetooth 4.1 ストレージ microSDカード DPIO 40ピン 映像出力 ・HDMI ・MIPI DSI ・コンポジッ ト RCA 音声出力 ・3.5 mmジャック ・HDMI 映像入力 15ピンMIPI カメラインターフェース (MIPI CSI-2) 音声出力 I²S 電源 1.4A(7W) 最大2.5A(12.5A) 質量 45g サイズ 85.6 × 56.5 (mm) ※Wikipedia参照 https://ja.wikipedia.org/wiki/Raspberry_Pi
7.
OS Raspbian(公式OS) Debian Linuxベース GUI完備 Python,Scratch,Sonic Pi,Java,Mathematica などがデフォルトでインストール その他OS Raspbian
Lite(サーバ用最小構成版) Ubuntu MATE WINDOWS10 IOT CORE etc… ※Wikipedia参照https://ja.wikipedia.org/wiki/Raspbian https://www.raspberrypi.org/downloads/
8.
GUI画面 プレゼン資料作成などは少し辛い
9.
配置図
10.
ピン番号
11.
購入品 ケース(¥829 amazon) Kuki microSDXCカード 64GB
(¥3,680 amazon) Transcend 電源セット 5V 3.0A(¥1,580 amazon) Physical Computing Lab Raspberry Pi Starter Kit(¥2,980 amazon) OSOYOO 何も考えずに買うからお金がなくなるんですね…
12.
Raspberry Pi Starter
Kit
13.
ブレッドボードに繋げてみた ケース付けたままだとリボンケーブルが刺さらなかった… なのでケース側面を切り取りました(´・ω・`)
14.
入出力制御 Python3で実行 RPi.GPIOライブラリを利用 Raspbianにデフォルトインストール済み 非常にシンプルに入出力が制御可能
15.
Sampleコード # coding: utf-8 import
RPi.GPIO as GPIO # ライブラリインポート from time import sleep # GPIO.setmode(GPIO.BOARD) # ピン番号でピンを指定 GPIO.setmode(GPIO.BCM) # GPIO番号でピンを指定 GPIO.setup(17, GPIO.IN) # GPIO番号17のピンを出力用に初期化 GPIO.setup(5, GPIO.OUT) # GPIO番号5のピンを入力用に初期化 try: while True: if GPIO.input(17) == GPIO.HIGH: # タクトスイッチが押されている場合 GPIO.output(5, GPIO.HIGH) # LEDを点灯 else: # タクトスイッチが押されていない場合 GPIO.output(5, GPIO.LOW) # LEDを消灯 sleep(0.01) except KeyboardInterrupt: pass GPIO.cleanup() # ピンの終了処理 # GPIO.cleanup(17) # GPIO番号17のピンの終了処理 # GPIO.cleanup(5) # GPIO番号5のピンの終了処理
16.
終わりに OSインストールに一番時間が掛かったorz OS Xでやったためなのか,SDカードへのOS書き込みができなかっ た… NOOBS版での設定がオススメ!! (Raspbianインストール済みのSDカードが売っているらしい) 配線の仕方が分からない\(^o^)/誰か教えてプリーズ (抵抗(Ω)がいっぱいあって,どれを付ければいいのか分からぬ(´・ω・ `))
Editor's Notes
シングルコンピュータ むき出しの一枚(シングル)のプリント基板(ボード)の上に、必要なものに絞ったCPUと周辺部品、入出力インタフェースとコネクタを付けただけの極めて簡素なコンピュータ ワンボードマイコン むき出しの一枚(ワン)のプリント基板(ボード)の上に、電子部品と最低限の入出力装置を付けただけの極めて簡素なマイクロコンピュータ
Download now