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
AnDevCon 2014 - Android, Motion Control and Aut...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
William Chen
May 30, 2014
Technology
41
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AnDevCon 2014 - Android, Motion Control and Automated Testing
William Chen
May 30, 2014
More Decks by William Chen
See All by William Chen
EMV Tech Talk
williamkchen
0
49
2014 Leaf MITX What's Next Finalist Presentation
williamkchen
0
65
MobileMondays Leaf Talk
williamkchen
0
40
Leaf MIT Career Panel Presentation 2013
williamkchen
0
62
Contribute Intro at TechCrunch Disrupt SF 2013
williamkchen
0
51
Other Decks in Technology
See All in Technology
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
go-sqletch
moznion
0
140
フロントエンドカンファレンス関西2026 - 速すぎるUIに、待ち時間を
teamlab
PRO
0
130
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
110
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
Metadata - Section 1: HTML Basics
mohab1
0
120
Kiro Crewをはじめよう
kizawa2020
1
160
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
460
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
420
大型犬好きによるPugの紹介
yamanoku
1
160
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Skip the Path - Find Your Career Trail
mkilby
1
260
GraphQLとの向き合い方2022年版
quramy
50
15k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
The Cult of Friendly URLs
andyhume
79
7k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Testing 201, or: Great Expectations
jmmastey
46
8.3k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
Transcript
Android, Motion Control and Automated Hardware Testing William Chen -
AnDevCon 2014
Agenda • What is Leaf? • Custom Hardware Challenges •
Motion Control • Implementation • Libraries William Chen - AnDevCon 2014
What is Leaf? A tablet point-of-sale designed to allow brick
and mortar businesses to remain competitive as commerce shifts to connected technologies
The First Tablet Built for Business • Mobile Form Factor!
• Custom Hardware! • Less Expensive! • More Reliable! • More Secure William Chen - AnDevCon 2014
Custom Device / Custom Solution • End Product = Integrated
System • Depth, not Width • Diverse Operating Environments • Wireless Communication • Physical Usage William Chen - AnDevCon 2014
Integrated System - Tablet Hardware (Motherboard + Peripherals) William Chen
- AnDevCon 2014 LeafOS (Android + Security/Peripheral Control) Leaf SDK (Shared Functionality) Applications
Integrated System - Terminal Payment Hardware Payment Application LeafOS /
SDK / Apps LeafPresenter Leaf Cloud Leaf Payment Gateway Leaf Web Services William Chen - AnDevCon 2014
Challenges • Qualification/spec verification • Stress testing • System testing
William Chen - AnDevCon 2014
Motion Control • Physical Motion • Electrical Command / Interface
William Chen - AnDevCon 2014
Motion Control System • Motor • Encoder • Limit Switches
• Reference Markers • Controller William Chen - AnDevCon 2014
Motor Components • Mover • Bearings • Coil • Magnets
William Chen - AnDevCon 2014
Encoder • Encoder • Limit Switches (Hard / Soft) •
Reference Markers William Chen - AnDevCon 2014
Controller • I/O • Feedback • Tuning • Absolute /
Relative Motion William Chen - AnDevCon 2014
Our System - Motor • ThorLabs DDS220M - 220 mm
Linear Direct Drive Stage William Chen - AnDevCon 2014
DDS220 Specs • High Repeatability: 0.25 um • Positional Accuracy:
< 0.3um • Linear Optical Encoders • Linear Bearings William Chen - AnDevCon 2014
Our System - Controller • ThorLabs BBD201 - 1-Channel Benchtop
3-Phase Brushless DC Servo Controller William Chen - AnDevCon 2014
BBD201 Controller I/O
Our Solution • DDS220 + BBD201 • Serial to Ethernet
converter • Driver layer & Client libraries / apps William Chen - AnDevCon 2014
Solution Advantages • (Not designed for this) • Integrated, Ready-to-use
• Pre-tuned • Absolute Positioning William Chen - AnDevCon 2014
Solution Challenges • Windows • Asynchronous Communciation • Binary Protocol
• Driver Implementation William Chen - AnDevCon 2014
Integration • Generalizable to different motor types • Cross platform
abstraction layer • Xamarin based, but can be ported William Chen - AnDevCon 2014
Code Walkthrough • Communcation Protocol • API Layer William Chen
- AnDevCon 2014
References • Controller Library & Sample Apps: https://github.com/wkchen/ APTLib •
Event based socket client library: https://github.com/Surfea/ SocketLib4Net William Chen - AnDevCon 2014