Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Pythonでハードウェア操作 どのライブラリがいいの? ?
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
MATSUOKA Takashi
July 14, 2022
Technology
1.6k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pythonでハードウェア操作 どのライブラリがいいの? ?
2022/7/14 みんなのPython勉強会#83
https://startpython.connpass.com/event/248064/
MATSUOKA Takashi
July 14, 2022
Transcript
8 slides
Pythonでハードウェア操作 どのライブラリがいいの? ? Takashi Matsuoka @matsujirushi12 - 2022/7/14 みんなのPython勉強会#83 -
Takashi Matsuoka @matsujirushi12 2017~ MVP for Windows Development 2020~ for
Microsoft Azure 「e」3つ “初心者の次”へ行くのに身に付けるべきスキルをとりまとめた書籍 ↑
温湿度センサー サーボモーター 小型ディスプレイ ハードウェア操作 3大要素 ラズパイ 40ピンヘッダ GPIO, PWM, I2C,
SPI, UART #1 部品選定 #2 結線 #3 操作
RPi.GPIO https://sourceforge.net/projects/raspberry-gpio-python/ gpiozero https://github.com/gpiozero/gpiozero WiringPi for Python https://github.com/WiringPi/WiringPi-Python/ pigpio https://github.com/joan2937/pigpio
ハードウェア操作で使うPythonパッケージ
reComputer Jetson ODYSSEY x86 Coral Dev Board ODYSSEY STM33MP157C ラズパイじゃないやつ
機械学習 機械学習 Linux + RTOS Intel
Adafruit Blinka https://github.com/adafruit/Adafruit_Blinka ✓ GPIO, PWM, I2C, SPI, UART ✓
対応ボード 80種以上(MPU+MCU) https://circuitpython.org/blinka ✓ ソースコードがPython × Python古いとインストールできない × 未対応ボードだと使えない!?
Eclipse MRAA https://github.com/eclipse/mraa ✓ GPIO, PWM, I2C, SPI, UART ✓
対応ボード 20種以上(MPU) ✓ 未対応ボードでも動く!? × ソースコードがC言語 SWIGで各種言語のラッパーを生成
Eclipse MRAA on Raspberry Pi 4 - Python デジタル 入力
デジタル 出力 PWM 出力 I2C SPI UART https://qiita.com/matsujirushi/items/c6842f3c517c4898e28d 具体的なPythonコードはこちら ↓
More Decks by MATSUOKA Takashi
See All by MATSUOKA Takashi
ぼっち開発から始めるGit
matsujirushi
1
450
「XIAOGYAN」への想い
matsujirushi
0
1k
マイコンで動く .NET 技術談義! イントロダクション
matsujirushi
0
440
マイコンで動く .NET 技術談義! nanoFramework
matsujirushi
1
940
待ったなし!いますぐAzure IoTのルート証明書を確認せよ!
matsujirushi
0
1.1k
電子証明書でデバイス認証を強化せよ
matsujirushi
0
460
Seeed、ヒーローズ・リーグ2022のテクニカルサポーターやります
matsujirushi
0
350
去年のSeeed、今年のSeeed
matsujirushi
0
880
『ラズパイ自由自在 電子工作パーツ制御完全攻略本』の裏側
matsujirushi
0
870
Other Decks in Technology
See All in Technology
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
910
リリースしたで終わらない。 観測できるフロントエンド開発
yamakenji24
4
2.1k
ポケモンバトルのAIエージェント
koji_kawamura
0
330
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
200
SBOM 生成ツールで 2026 Minimum Elements はどこまで満たせるのか
gokken
0
180
Taking back control of your AI development
inesmontani
PRO
0
320
gradle-best-practices 使ってみた
mikanichinose
0
240
20261119_AgentCore
takuyay0ne
2
360
品質を積み上げられるようにする
goyoki
6
2.8k
最近のMySQL事情について
yoku0825
2
1.3k
OWASP AI Agentic Top10に準拠するクラウドネイティブなガードレールの実践(CNDW 2026)
keitah
1
460
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2.3k
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
A better future with KSS
kneath
240
18k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.6k
Mobile First: as difficult as doing things right
swwweet
225
10k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
540
Building the Perfect Custom Keyboard
takai
2
980
New Earth Scene 8
popppiees
5
2.9k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
650
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k