Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pythonでハードウェア操作 どのライブラリがいいの? ?
Search
MATSUOKA Takashi
July 14, 2022
Technology
1.5k
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
More Decks by MATSUOKA Takashi
See All by MATSUOKA Takashi
ぼっち開発から始めるGit
matsujirushi
1
430
「XIAOGYAN」への想い
matsujirushi
0
970
マイコンで動く .NET 技術談義! イントロダクション
matsujirushi
0
420
マイコンで動く .NET 技術談義! nanoFramework
matsujirushi
1
900
待ったなし!いますぐAzure IoTのルート証明書を確認せよ!
matsujirushi
0
1k
電子証明書でデバイス認証を強化せよ
matsujirushi
0
450
Seeed、ヒーローズ・リーグ2022のテクニカルサポーターやります
matsujirushi
0
310
去年のSeeed、今年のSeeed
matsujirushi
0
870
『ラズパイ自由自在 電子工作パーツ制御完全攻略本』の裏側
matsujirushi
0
860
Other Decks in Technology
See All in Technology
AIで実装は速くなった。なのにプロダクトは速くならない。職能の壁を越えて価値のフローを設計する
nwiizo
7
7.4k
全員がプロダクトへ向き合う組織を持続成長させるために——組織づくりのフライホイールと4象限 / The Flywheel Model and Four Quadrants for Organizational Design
hiro_torii
4
900
少人数データチームのDevin活用実践事例
runandy16
2
450
2026-09-11 【Snowflake World Tour Tokyo 2026】Snowflakeを起点に、AI Agentが自律稼働し続ける未来へ / Driving AI Agents with Snowflake
civitaspo
0
170
Guerilla InnerSource in enterprises, during the AI hype
onenashev
PRO
0
150
プロダクトエンジニアに必要な「いい感じ」に作る能力 〜たくさん作れる時代に、どこまで作るかの決め方〜
jnishime_dresscode
2
1.4k
Sony-DroidKaigi2026
sony
1
400
[DroidKaigi 2026] Making UI specifications visible: Android UI development in the AI agent era supported by Compose Screenshot Testing and galleries
syarihu
0
600
AI活用の現在地、 ちゃんと見えてますか?/XPfest-2026
visional_engineering_and_design
0
160
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
190
From Vanilla Kubernetes to a Batteries-Included Platform: Developer Experience at 1,300+ Clusters
yosshi_
0
620
OpenTelemetry eBPF Instrumentationの舞台裏 / Behind the Scenes of OpenTelemetry eBPF Instrumentation
ymotongpoo
1
160
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Faster Mobile Websites
deanohume
310
32k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
Visualization
eitanlees
152
17k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
KATA
mclloyd
PRO
35
15k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
4 Signs Your Business is Dying
shpigford
187
23k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Transcript
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コードはこちら ↓