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
nfc-starting
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
alt9800
January 26, 2022
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
nfc-starting
2022-01-26
Fukuoka G's Academy
alt9800
January 26, 2022
More Decks by alt9800
See All by alt9800
地図のスクショってどう取り扱ったらいいの? | マッパーズサミット2026
alt9800
0
210
Integrating MapLibre GL JS with deck.gl: A Review
alt9800
0
230
RoomPlan for iOSDCJapan2024
alt9800
0
290
raizyCLI
alt9800
0
43
Other Decks in Technology
See All in Technology
What Is JetBrains Air
x5gtrn
PRO
0
170
局所最適は悪ではない。壊れているのは指標です。量と質を同時に見る先行指標の設計
recruitengineers
PRO
2
1.2k
AI駆動開発におけるハーネスエンジニアリングの勘所
tsukuboshi
1
790
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
3
300
渡米前の準備を制す!re:Invent 2026徹底準備術 / The Ultimate Preparation Guide for re:Invent 2026
yuj1osm
1
290
野良MCPサーバーを排除せよ!MCPサーバーのガバナンス
yukiogawa
1
240
How we choose session proposals
kawaguti
PRO
0
170
ビジネス部門からPOを迎えての半年間の進歩と課題
zozotech
PRO
0
150
【データ横丁主催】AI エージェント時代のTranslytical Data Platform
shisyu_gaku
0
300
ドメインエキスパートは いかにして AI を使って プロダクト開発をするか
tatsuyashiraishi
1
200
DevelopersIO 2026 Tokyo 現時点の衛星通信サービスの現状を整理してみる
maroon1st
0
310
アカウント統制の健康診断
kenichinakamura
1
200
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
For a Future-Friendly Web
brad_frost
184
10k
Scaling GitHub
holman
464
140k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
540
Mind Mapping
helmedeiros
1
410
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Rails Girls Zürich Keynote
gr2m
96
14k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.8k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
410
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
Transcript
ALT9800 20220126
TL;DR ( 長すぎて読まないよって 人向けまとめ ) NFC には様々な規格があり、我々は特に Felica(NFC-F) を使う機会が多い NFC
タグは身近な道具でRead とWrite ができる python3.x からnfcpy を使ってnfc への書き込みをす るのは難しそう iPhone やAndroid からのタグへの書き込みは容易 URL をハックして任意の遷移スクリプトを実行で きるページを持っておくと自由度が増す。
非接触 IC とは felica (NFC-F) NFC A/B/V 詳しくはISO 番号を検索してくれ
FELICA を読み書きするデバイス Sony のPaSoRi が買いやすくて使いやすい。 一番新しいS-400 はmac にも対応してるアプリがリ リースされていたり、マイナンバー関係にも使え て便利らしい
( 今回田中はS-380 を利用。こちらはラズパイなんか でも読み込みなど軽快。)
その他の RFID の例 UHF 帯のトランスポンダを紹介。 生き物のリモー トセンシングなどにも用いられる。 日立などがこ こらへんの技術はよくリリースしてる。
実践
INSTALL … とやってみたものの、python3 対応版のnfcpy だと 上手くDarwin では書き込みができない…? 読み込みはできた。 pip3 install
nfcpy brew install libusb git clone https://github.com/nfcpy/nfcpy.git python3 nfcpy/examples/tagtool.py
他の言語の実装例もある PHP で NFC リーダーを実装する 仕組み core 部分はHID としてPaSoRi を認識してシリアル通
信させるので、 この仕組みの上でタグの書き込み 番地を書き換えれることができれば 理論上はどの 言語でも実装できるかも https://zenn.dev/memory/articles/80e2cd6c063889
nfcpy に関してはclf とndef 周りの実装がかなり上手 くできてる模様 python のnfcpy の nfc.ContactlessFrontend() のメモ
- Qiita https://qiita.com/sukesuke/items/3a11849c0e757d37f34
読み込みデモ
書き込み python3 ndeftool.py make smartposter -t PPAP http://{書き込みたいuri} | python3
tagtool.py load - コマンドとして実行されるらしいけどなんや書き 込みできないぽい…
上手くいかないから IPHONE を使う nfc で検索すると読み書きできるアプリが出てくる
書き込み TypeA のタグ本体にURL を格納し、これをiPhone で 読み込む事ができるし、 あるいはタグのID を読み 込んだら特定のリンクに遷移するように ショート
カットアクションを仕込む。 ( 今回は後者を試す) ちなみにiPhone の場合センサーはカメラの横辺 り。
リンク構造 https://fukuoka-city- subway.jorudan.biz/pc/diagramdtl?mode=1&fr= 藤崎 &frkbn=4&frsk=R&tosk=&dt=202110150000&dgm= 藤 崎(福岡)%3A 福岡地下鉄空港線%3A 福岡空港%3A 西新%3A0&p=8%2C9
ローカル用テストページ http://192.168.a.bcd:8080
デプロイした https://alt9800.github.io/Redirect-test/index.html