Submit Search
Upload
micro:bit加速度感測應用
•
0 likes
•
503 views
吳錫修 (ShyiShiou Wu)
Follow
速度與加速度, 三軸加速度計, 三軸加速度計控制指令 , 實作練習 :電子骰子 , 運動方向指示器, 平衡控制遊戲, 地震偵測器
Read less
Read more
Technology
Report
Share
Report
Share
1 of 27
Download now
Download to read offline
Recommended
mbot2.0教學-陀螺儀與三軸加速計應用.pdf
mbot2.0教學-陀螺儀與三軸加速計應用.pdf
吳錫修 (ShyiShiou Wu)
mBot教學(6)-光感測器與LED應用
mBot教學(6)-光感測器與LED應用
吳錫修 (ShyiShiou Wu)
mbot2.0教學-四路顏色感測器應用.pdf
mbot2.0教學-四路顏色感測器應用.pdf
吳錫修 (ShyiShiou Wu)
mBot教學(2)-mBlock積木式程式設計
mBot教學(2)-mBlock積木式程式設計
吳錫修 (ShyiShiou Wu)
mbot2.0教學-超音波感測應用.pdf
mbot2.0教學-超音波感測應用.pdf
吳錫修 (ShyiShiou Wu)
mBot 教學2 mBlock積木式設計程式
mBot 教學2 mBlock積木式設計程式
吳錫修 (ShyiShiou Wu)
mbot2.0教學-光感測器與LED應用.pdf
mbot2.0教學-光感測器與LED應用.pdf
吳錫修 (ShyiShiou Wu)
micro:bit LED顯示控制
micro:bit LED顯示控制
吳錫修 (ShyiShiou Wu)
Recommended
mbot2.0教學-陀螺儀與三軸加速計應用.pdf
mbot2.0教學-陀螺儀與三軸加速計應用.pdf
吳錫修 (ShyiShiou Wu)
mBot教學(6)-光感測器與LED應用
mBot教學(6)-光感測器與LED應用
吳錫修 (ShyiShiou Wu)
mbot2.0教學-四路顏色感測器應用.pdf
mbot2.0教學-四路顏色感測器應用.pdf
吳錫修 (ShyiShiou Wu)
mBot教學(2)-mBlock積木式程式設計
mBot教學(2)-mBlock積木式程式設計
吳錫修 (ShyiShiou Wu)
mbot2.0教學-超音波感測應用.pdf
mbot2.0教學-超音波感測應用.pdf
吳錫修 (ShyiShiou Wu)
mBot 教學2 mBlock積木式設計程式
mBot 教學2 mBlock積木式設計程式
吳錫修 (ShyiShiou Wu)
mbot2.0教學-光感測器與LED應用.pdf
mbot2.0教學-光感測器與LED應用.pdf
吳錫修 (ShyiShiou Wu)
micro:bit LED顯示控制
micro:bit LED顯示控制
吳錫修 (ShyiShiou Wu)
mBot教學(8) - 巡線控制應用
mBot教學(8) - 巡線控制應用
吳錫修 (ShyiShiou Wu)
mbot2.0教學-mblock5開發mBot 2.0應用程式.pdf
mbot2.0教學-mblock5開發mBot 2.0應用程式.pdf
吳錫修 (ShyiShiou Wu)
2017 探奇 mBot mblock 機器人齊步走 15小時課程講義 v7
2017 探奇 mBot mblock 機器人齊步走 15小時課程講義 v7
信仁 邱
mBot 教學10 藍牙控制應用
mBot 教學10 藍牙控制應用
吳錫修 (ShyiShiou Wu)
mBot教學(3) - 開發mBot應用程式
mBot教學(3) - 開發mBot應用程式
吳錫修 (ShyiShiou Wu)
Scratch程式教學 第三週
Scratch程式教學 第三週
永立 連
mBot 教學4 移動控制
mBot 教學4 移動控制
吳錫修 (ShyiShiou Wu)
mBlock積木式設計程式
mBlock積木式設計程式
吳錫修 (ShyiShiou Wu)
機器人齊步走 mBlock5 mbot_ver8_探奇邱信仁
機器人齊步走 mBlock5 mbot_ver8_探奇邱信仁
信仁 邱
Unreal Engine を用いた、駐車スペース検知のための学習データ生成
Unreal Engine を用いた、駐車スペース検知のための学習データ生成
Silicon Studio Corporation
mBot 教學5 超音波感測應用
mBot 教學5 超音波感測應用
吳錫修 (ShyiShiou Wu)
Microbit 1 introduction
Microbit 1 introduction
吳錫修 (ShyiShiou Wu)
mbot2.0教學-組裝與測試.pdf
mbot2.0教學-組裝與測試.pdf
吳錫修 (ShyiShiou Wu)
mBot 教學8 巡跡控制應用
mBot 教學8 巡跡控制應用
吳錫修 (ShyiShiou Wu)
mbot2.0教學-局域網路傳輸應用.pdf
mbot2.0教學-局域網路傳輸應用.pdf
吳錫修 (ShyiShiou Wu)
Python程式設計 - 分支作業
Python程式設計 - 分支作業
吳錫修 (ShyiShiou Wu)
mbot2.0教學-移動控制.pdf
mbot2.0教學-移動控制.pdf
吳錫修 (ShyiShiou Wu)
mBot教學(4) - 移動控制
mBot教學(4) - 移動控制
吳錫修 (ShyiShiou Wu)
教學(10)藍牙控制應用
教學(10)藍牙控制應用
吳錫修 (ShyiShiou Wu)
2015年度先端GPGPUシミュレーション工学特論 第9回 偏微分方程式の差分計算(移流方程式)
2015年度先端GPGPUシミュレーション工学特論 第9回 偏微分方程式の差分計算(移流方程式)
智啓 出川
Affective Computing and Intelligent Interaction (ACII 2011)
Affective Computing and Intelligent Interaction (ACII 2011)
Lê Anh
Day 2 slides UNO summer 2010 robotics workshop
Day 2 slides UNO summer 2010 robotics workshop
Raj Dasgupta
More Related Content
What's hot
mBot教學(8) - 巡線控制應用
mBot教學(8) - 巡線控制應用
吳錫修 (ShyiShiou Wu)
mbot2.0教學-mblock5開發mBot 2.0應用程式.pdf
mbot2.0教學-mblock5開發mBot 2.0應用程式.pdf
吳錫修 (ShyiShiou Wu)
2017 探奇 mBot mblock 機器人齊步走 15小時課程講義 v7
2017 探奇 mBot mblock 機器人齊步走 15小時課程講義 v7
信仁 邱
mBot 教學10 藍牙控制應用
mBot 教學10 藍牙控制應用
吳錫修 (ShyiShiou Wu)
mBot教學(3) - 開發mBot應用程式
mBot教學(3) - 開發mBot應用程式
吳錫修 (ShyiShiou Wu)
Scratch程式教學 第三週
Scratch程式教學 第三週
永立 連
mBot 教學4 移動控制
mBot 教學4 移動控制
吳錫修 (ShyiShiou Wu)
mBlock積木式設計程式
mBlock積木式設計程式
吳錫修 (ShyiShiou Wu)
機器人齊步走 mBlock5 mbot_ver8_探奇邱信仁
機器人齊步走 mBlock5 mbot_ver8_探奇邱信仁
信仁 邱
Unreal Engine を用いた、駐車スペース検知のための学習データ生成
Unreal Engine を用いた、駐車スペース検知のための学習データ生成
Silicon Studio Corporation
mBot 教學5 超音波感測應用
mBot 教學5 超音波感測應用
吳錫修 (ShyiShiou Wu)
Microbit 1 introduction
Microbit 1 introduction
吳錫修 (ShyiShiou Wu)
mbot2.0教學-組裝與測試.pdf
mbot2.0教學-組裝與測試.pdf
吳錫修 (ShyiShiou Wu)
mBot 教學8 巡跡控制應用
mBot 教學8 巡跡控制應用
吳錫修 (ShyiShiou Wu)
mbot2.0教學-局域網路傳輸應用.pdf
mbot2.0教學-局域網路傳輸應用.pdf
吳錫修 (ShyiShiou Wu)
Python程式設計 - 分支作業
Python程式設計 - 分支作業
吳錫修 (ShyiShiou Wu)
mbot2.0教學-移動控制.pdf
mbot2.0教學-移動控制.pdf
吳錫修 (ShyiShiou Wu)
mBot教學(4) - 移動控制
mBot教學(4) - 移動控制
吳錫修 (ShyiShiou Wu)
教學(10)藍牙控制應用
教學(10)藍牙控制應用
吳錫修 (ShyiShiou Wu)
2015年度先端GPGPUシミュレーション工学特論 第9回 偏微分方程式の差分計算(移流方程式)
2015年度先端GPGPUシミュレーション工学特論 第9回 偏微分方程式の差分計算(移流方程式)
智啓 出川
What's hot
(20)
mBot教學(8) - 巡線控制應用
mBot教學(8) - 巡線控制應用
mbot2.0教學-mblock5開發mBot 2.0應用程式.pdf
mbot2.0教學-mblock5開發mBot 2.0應用程式.pdf
2017 探奇 mBot mblock 機器人齊步走 15小時課程講義 v7
2017 探奇 mBot mblock 機器人齊步走 15小時課程講義 v7
mBot 教學10 藍牙控制應用
mBot 教學10 藍牙控制應用
mBot教學(3) - 開發mBot應用程式
mBot教學(3) - 開發mBot應用程式
Scratch程式教學 第三週
Scratch程式教學 第三週
mBot 教學4 移動控制
mBot 教學4 移動控制
mBlock積木式設計程式
mBlock積木式設計程式
機器人齊步走 mBlock5 mbot_ver8_探奇邱信仁
機器人齊步走 mBlock5 mbot_ver8_探奇邱信仁
Unreal Engine を用いた、駐車スペース検知のための学習データ生成
Unreal Engine を用いた、駐車スペース検知のための学習データ生成
mBot 教學5 超音波感測應用
mBot 教學5 超音波感測應用
Microbit 1 introduction
Microbit 1 introduction
mbot2.0教學-組裝與測試.pdf
mbot2.0教學-組裝與測試.pdf
mBot 教學8 巡跡控制應用
mBot 教學8 巡跡控制應用
mbot2.0教學-局域網路傳輸應用.pdf
mbot2.0教學-局域網路傳輸應用.pdf
Python程式設計 - 分支作業
Python程式設計 - 分支作業
mbot2.0教學-移動控制.pdf
mbot2.0教學-移動控制.pdf
mBot教學(4) - 移動控制
mBot教學(4) - 移動控制
教學(10)藍牙控制應用
教學(10)藍牙控制應用
2015年度先端GPGPUシミュレーション工学特論 第9回 偏微分方程式の差分計算(移流方程式)
2015年度先端GPGPUシミュレーション工学特論 第9回 偏微分方程式の差分計算(移流方程式)
Similar to micro:bit加速度感測應用
Affective Computing and Intelligent Interaction (ACII 2011)
Affective Computing and Intelligent Interaction (ACII 2011)
Lê Anh
Day 2 slides UNO summer 2010 robotics workshop
Day 2 slides UNO summer 2010 robotics workshop
Raj Dasgupta
MajesTech-Proposal
MajesTech-Proposal
Neha Kulkarni
re:mobidyc the overview
re:mobidyc the overview
ESUG
Benchmarking Perl (Chicago UniForum 2006)
Benchmarking Perl (Chicago UniForum 2006)
brian d foy
Motorized pan tilt(Arduino based)
Motorized pan tilt(Arduino based)
kane111
Campaña Jorge diapositivas_proyecto_cinematica_en_coordenadas_tangenciales_no...
Campaña Jorge diapositivas_proyecto_cinematica_en_coordenadas_tangenciales_no...
JORGELUISCAMPAAREINO
Post CtA analyse for the CCP
Post CtA analyse for the CCP
Jeroen Van der Eb
Wearable Accelerometer Optimal Positions for Human Motion Recognition(LifeTec...
Wearable Accelerometer Optimal Positions for Human Motion Recognition(LifeTec...
sugiuralab
Mbd 04 multi-body_simulation_of_earthmoving_equipment_l&t
Mbd 04 multi-body_simulation_of_earthmoving_equipment_l&t
Anand Kumar Chinni
Embedded Programming for Quadcopters
Embedded Programming for Quadcopters
Ryan Boland
Day2 Verilog HDL Basic
Day2 Verilog HDL Basic
Ron Liu
Benchmarking and PHPBench
Benchmarking and PHPBench
dantleech
Smart Room Gesture Control
Smart Room Gesture Control
Giwrgos Paraskevopoulos
Development of a biomechanical analysis process for use within a sports club
Development of a biomechanical analysis process for use within a sports club
Joe Handsaker
µV: An Articulation, Rotation, Scaling, and Translation Invariant (ARST) Mult...
µV: An Articulation, Rotation, Scaling, and Translation Invariant (ARST) Mult...
Jean Vanderdonckt
Worst-Case Scheduling of Software Tasks
Worst-Case Scheduling of Software Tasks
Lionel Briand
DAHO.AM 2015 - Abusing phones to make the internet of things
DAHO.AM 2015 - Abusing phones to make the internet of things
Jan Jongboom
Human action recognition with kinect using a joint motion descriptor
Human action recognition with kinect using a joint motion descriptor
Soma Boubou
iOS Unit Testing
iOS Unit Testing
sgleadow
Similar to micro:bit加速度感測應用
(20)
Affective Computing and Intelligent Interaction (ACII 2011)
Affective Computing and Intelligent Interaction (ACII 2011)
Day 2 slides UNO summer 2010 robotics workshop
Day 2 slides UNO summer 2010 robotics workshop
MajesTech-Proposal
MajesTech-Proposal
re:mobidyc the overview
re:mobidyc the overview
Benchmarking Perl (Chicago UniForum 2006)
Benchmarking Perl (Chicago UniForum 2006)
Motorized pan tilt(Arduino based)
Motorized pan tilt(Arduino based)
Campaña Jorge diapositivas_proyecto_cinematica_en_coordenadas_tangenciales_no...
Campaña Jorge diapositivas_proyecto_cinematica_en_coordenadas_tangenciales_no...
Post CtA analyse for the CCP
Post CtA analyse for the CCP
Wearable Accelerometer Optimal Positions for Human Motion Recognition(LifeTec...
Wearable Accelerometer Optimal Positions for Human Motion Recognition(LifeTec...
Mbd 04 multi-body_simulation_of_earthmoving_equipment_l&t
Mbd 04 multi-body_simulation_of_earthmoving_equipment_l&t
Embedded Programming for Quadcopters
Embedded Programming for Quadcopters
Day2 Verilog HDL Basic
Day2 Verilog HDL Basic
Benchmarking and PHPBench
Benchmarking and PHPBench
Smart Room Gesture Control
Smart Room Gesture Control
Development of a biomechanical analysis process for use within a sports club
Development of a biomechanical analysis process for use within a sports club
µV: An Articulation, Rotation, Scaling, and Translation Invariant (ARST) Mult...
µV: An Articulation, Rotation, Scaling, and Translation Invariant (ARST) Mult...
Worst-Case Scheduling of Software Tasks
Worst-Case Scheduling of Software Tasks
DAHO.AM 2015 - Abusing phones to make the internet of things
DAHO.AM 2015 - Abusing phones to make the internet of things
Human action recognition with kinect using a joint motion descriptor
Human action recognition with kinect using a joint motion descriptor
iOS Unit Testing
iOS Unit Testing
More from 吳錫修 (ShyiShiou Wu)
mbot2.0教學-使用makeblock雲服務.pdf
mbot2.0教學-使用makeblock雲服務.pdf
吳錫修 (ShyiShiou Wu)
mbot2.0教學-聲光控制應用.pdf
mbot2.0教學-聲光控制應用.pdf
吳錫修 (ShyiShiou Wu)
Python元組,字典,集合
Python元組,字典,集合
吳錫修 (ShyiShiou Wu)
Python函式
Python函式
吳錫修 (ShyiShiou Wu)
Python串列資料應用
Python串列資料應用
吳錫修 (ShyiShiou Wu)
Python 迴圈作業
Python 迴圈作業
吳錫修 (ShyiShiou Wu)
Python分支作業
Python分支作業
吳錫修 (ShyiShiou Wu)
Python基本資料運算
Python基本資料運算
吳錫修 (ShyiShiou Wu)
建置Python開發環境
建置Python開發環境
吳錫修 (ShyiShiou Wu)
C語言檔案處理
C語言檔案處理
吳錫修 (ShyiShiou Wu)
C語言列舉與聯合
C語言列舉與聯合
吳錫修 (ShyiShiou Wu)
C語言結構與串列
C語言結構與串列
吳錫修 (ShyiShiou Wu)
C語言應用前置處理
C語言應用前置處理
吳錫修 (ShyiShiou Wu)
C語言函式
C語言函式
吳錫修 (ShyiShiou Wu)
C語言陣列與字串
C語言陣列與字串
吳錫修 (ShyiShiou Wu)
C語言迴圈作業
C語言迴圈作業
吳錫修 (ShyiShiou Wu)
C語言分支流程
C語言分支流程
吳錫修 (ShyiShiou Wu)
C語言運算式和運算子
C語言運算式和運算子
吳錫修 (ShyiShiou Wu)
C語言基本資料型別與變數
C語言基本資料型別與變數
吳錫修 (ShyiShiou Wu)
C語言標準輸出入函式
C語言標準輸出入函式
吳錫修 (ShyiShiou Wu)
More from 吳錫修 (ShyiShiou Wu)
(20)
mbot2.0教學-使用makeblock雲服務.pdf
mbot2.0教學-使用makeblock雲服務.pdf
mbot2.0教學-聲光控制應用.pdf
mbot2.0教學-聲光控制應用.pdf
Python元組,字典,集合
Python元組,字典,集合
Python函式
Python函式
Python串列資料應用
Python串列資料應用
Python 迴圈作業
Python 迴圈作業
Python分支作業
Python分支作業
Python基本資料運算
Python基本資料運算
建置Python開發環境
建置Python開發環境
C語言檔案處理
C語言檔案處理
C語言列舉與聯合
C語言列舉與聯合
C語言結構與串列
C語言結構與串列
C語言應用前置處理
C語言應用前置處理
C語言函式
C語言函式
C語言陣列與字串
C語言陣列與字串
C語言迴圈作業
C語言迴圈作業
C語言分支流程
C語言分支流程
C語言運算式和運算子
C語言運算式和運算子
C語言基本資料型別與變數
C語言基本資料型別與變數
C語言標準輸出入函式
C語言標準輸出入函式
Recently uploaded
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Antenna Manufacturer Coco
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
ChristopherTHyatt
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
Recently uploaded
(20)
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
micro:bit加速度感測應用
1.
micro:bit加速度感測應用 Revised on August
9, 2021 速度與加速度 三軸加速度計 三軸加速度計控制指令 實作練習 電子骰子 運動方向指示器 傾斜移動控制 平衡控制遊戲 地震偵測器
2.
速度定義為位置相對於時間的變化率,也可以稱為瞬時速度,以強調 與平均速度的區別 𝑣 ⃑ ∆ ∆
加速度(m/s2)是速度向量(m/s)對於時間的變化率,描述速度的方向 和大小變化的快慢 𝑎 ⃑ ⼀段時間內平均的速度變化,稱為平均加速度 在極短時間內平均的速度變化,稱為瞬時加速度 𝑣 𝑣 𝑎𝑡 𝑣 :末速,𝑣 :初速,𝑎:加速度,𝑡:時間 速度與加速度 1/2 2
3.
速度與加速度 2/2 https://youtu.be/byngcwjO51U 3
4.
原理:透過可移動物體在固定電極片移動產生電容值差值,換算物體 重心的位移和方向 搖晃micro:bit時會聽到「喀啦~喀啦~」的碰撞聲,就是三軸加速度計 內部移動體的碰撞聲 micro:bit三軸加速度計
1/2 4 固定電極片 移動體 固定電極片 X Z Y X Y Z
5.
MMA8653FC micro:bit三軸加速度計 2/2 5
6.
讀取三軸加速度計三維度中其中⼀個的加速度值,或是所有維度的合 ⼒,單位為千分之⼀G⼒ (重⼒加速度G
= 9.80665m/s2) strength3D = Math.sqrt(accelX * accelX + accelY * accelY + accelZ * accelZ) 三軸加速度計控制指令 1/2 6 X (left & right) Y (back & forth) Z (up & down)
7.
動作偵測 分析加速度計3個軸向數值變化來推斷使用者操作micro:bit之動作
晃動 下側偏低 上側偏低 正面朝上 背面朝上 左側偏低 右側偏低 自由掉落 3G動⼒、6G動⼒、8G動⼒ 三軸加速度計控制指令 2/2 7
8.
初始顯示?,搖晃micro:bit控制板後隨機顯示1~6點,3秒後回復顯 示? 隨機指令 實作練習
- 電子骰子 1/5 8
9.
實作練習 - 電子骰子
2/5 9 分別編輯骰子點數,置入選擇結構中
10.
Python程式 def on_gesture_shake(): global
Roll Roll = randint(1, 6) if Roll == 1: basic.show_leds(""" . . . . . . . . . . . . # . . . . . . . . . . . . """) elif Roll == 2: basic.show_leds(""" . . . . . . . . # . . . . . . . # . . . . . . . . """) 實作練習 - 電子骰子 3/5 10
11.
elif Roll ==
3: basic.show_leds(""" . . . . # . . . . . . . # . . . . . . . # . . # . """) elif Roll == 4: basic.show_leds(""" . . . . . . # . # . . . . . . . # . # . . . . . . """) elif Roll == 5: basic.show_leds(""" . . . . . . # . # . . . # . . . # . # . . . . . . """) 實作練習 - 電子骰子 4/5 11
12.
else: basic.show_leds(""" . # .
# . . . . . . . # . # . . . . . . . # . # . """) basic.pause(3000) basic.show_string("?") input.on_gesture(Gesture.SHAKE, on_gesture_shake) Roll = 0 basic.show_string("?") def on_forever(): pass basic.forever(on_forever) 實作練習 - 電子骰子 5/5 12
13.
實作練習 - 運動方向指示器
1/5 顯示micro:bit控制板運動方向 使用方向箭頭指示micro:bit控制板左右及前後移動,上下移動以大小菱 形表示 13
14.
實作練習 - 運動方向指示器
2/5 14
15.
實作練習 - 運動方向指示器
3/5 15
16.
Python程式 forward_backward =
0 up_down = 0 left_right = 0 def check_Y(): if forward_backward >= 1200: basic.show_arrow(ArrowNames.NORTH) if forward_backward <= -1200: basic.show_arrow(ArrowNames.SOUTH) def check_Z(): if up_down >= 100: basic.show_icon(IconNames.SMALL_DIAMOND) if up_down <= -2000: basic.show_icon(IconNames.DIAMOND) def check_X(): if left_right >= 1200: basic.show_arrow(ArrowNames.WEST) if left_right <= -1200: basic.show_arrow(ArrowNames.EAST) 實作練習 - 運動方向指示器 4/5 16
17.
def on_forever(): global left_right,
forward_backward, up_down left_right = input.acceleration(Dimension.X) forward_backward = input.acceleration(Dimension.Y) up_down = input.acceleration(Dimension.Z) check_X() check_Y() check_Z() basic.forever(on_forever) 實作練習 - 運動方向指示器 5/5 17
18.
光點(ball)初始位於正中央 傾斜micro:bit來控制光點往低處移動 實作練習
- 傾斜移動控制 1/2 18
19.
實作練習 - 傾斜移動控制
2/2 19
20.
光點初始位於正中央 傾斜micro:bit來控制光點在點矩陣內部移動,每移動⼀格得1分,光 點碰到邊緣則結束遊戲 實作練習
- 平衡控制遊戲 1/5 20
21.
實作練習 - 平衡控制遊戲
2/5 21
22.
實作練習 - 平衡控制遊戲
3/5 22
23.
Python程式 def moving(): if
input.acceleration(Dimension.X) > 150: ball.change(LedSpriteProperty.X, 1) score += 1 if input.acceleration(Dimension.X) < -150: ball.change(LedSpriteProperty.X, -1) score += 1 if input.acceleration(Dimension.Y) > 150: ball.change(LedSpriteProperty.Y, 1) score += 1 if input.acceleration(Dimension.Y) < -150: ball.change(LedSpriteProperty.Y, -1) score += 1 def isTouchingEdge(): if ball.is_touching_edge(): game.set_score(score) game.game_over() 實作練習 - 平衡控制遊戲 4/5 23
24.
ball = game.create_sprite(2,
2) score = 0 def on_forever(): moving() isTouchingdge() basic.pause(200) basic.forever(on_forever) 實作練習 - 平衡控制遊戲 5/5 24
25.
實作練習 - 地震偵測器
1/3 25
26.
實作練習 - 地震偵測器
2/3 26
27.
實作練習 - 地震偵測器
3/3 27
Download now