Submit Search
Upload
micro:bit亮度感測應用
•
0 likes
•
342 views
吳錫修 (ShyiShiou Wu)
Follow
亮度度量衡, 光感測元件與生活科技應用, micro:bit亮度感測 資料映射指令, 實作練習 - 自動調光小夜燈, 實作練習 - 魔術表情面板
Read less
Read more
Software
Report
Share
Report
Share
1 of 19
Download now
Download to read offline
Recommended
micro:bit亮度感測應用
micro:bit亮度感測應用
吳錫修 (ShyiShiou Wu)
Low Cost Device to Measure the Thickness of Thin Transparent Films
Low Cost Device to Measure the Thickness of Thin Transparent Films
IDES Editor
E2S warning signals - guide to specifying visual signals
E2S warning signals - guide to specifying visual signals
E2S Warning Signals
Lecture 2
Lecture 2
QC Labs
Projet Ma2
Projet Ma2
PierreMASURE
Guide to specifying visual signals
Guide to specifying visual signals
John Kingsley
Images and Information
Images and Information
adil raja
Gps Navigation System
Gps Navigation System
Amit Chaudhary
Recommended
micro:bit亮度感測應用
micro:bit亮度感測應用
吳錫修 (ShyiShiou Wu)
Low Cost Device to Measure the Thickness of Thin Transparent Films
Low Cost Device to Measure the Thickness of Thin Transparent Films
IDES Editor
E2S warning signals - guide to specifying visual signals
E2S warning signals - guide to specifying visual signals
E2S Warning Signals
Lecture 2
Lecture 2
QC Labs
Projet Ma2
Projet Ma2
PierreMASURE
Guide to specifying visual signals
Guide to specifying visual signals
John Kingsley
Images and Information
Images and Information
adil raja
Gps Navigation System
Gps Navigation System
Amit Chaudhary
Ch7 z5e at structure
Ch7 z5e at structure
blachman
8th Sem Subject Ofc 8th chapter notes by Lohith kumar 11GUEE6018
8th Sem Subject Ofc 8th chapter notes by Lohith kumar 11GUEE6018
UVCE
8th Sem Subject Ofc 3rd chapter notes by Lohith kumar 11GUEE6018
8th Sem Subject Ofc 3rd chapter notes by Lohith kumar 11GUEE6018
UVCE
Squeezing Resoumis V1
Squeezing Resoumis V1
Sidney Burks, Ph.D
Types of noise
Types of noise
Babul Reddy
Expanding the medical spectral window v4
Expanding the medical spectral window v4
kpaseman
Sound manipulation 3
Sound manipulation 3
crookedpug
Photonics By JYRJ
Photonics By JYRJ
jayarajchinna
NIGHT VISION TECHNLOGY
NIGHT VISION TECHNLOGY
Divyaprathapraju Divyaprathapraju
Drive circuitry for LEDs and LASER
Drive circuitry for LEDs and LASER
Diwaker Pant
Light sources based on optical-scale accelerators
Light sources based on optical-scale accelerators
Gil Travish
3.7 calculation of tristimulus values from measured reflectance values
3.7 calculation of tristimulus values from measured reflectance values
QC Labs
Ebb245 presentation al foil
Ebb245 presentation al foil
Mohd Nazim Birkamsin
14.08021403
14.08021403
Francesc Daura Luna
Big Ed Photoluminescent
Big Ed Photoluminescent
FirePoliceEmergency
Cu stp 02_solar_resource
Cu stp 02_solar_resource
Manuel Silva
Photometry
Photometry
Mero Eye
Lighting terminlologyand their units
Lighting terminlologyand their units
Safdar Ali
Troubleshooting, Designing, & Installing Digital & Analog Closed Circuit TV S...
Troubleshooting, Designing, & Installing Digital & Analog Closed Circuit TV S...
Living Online
THEORY: Color, Light, & Texture
THEORY: Color, Light, & Texture
ArchiEducPH
ARCHINT: Lighting Design, Colors, Illusions, and Techniques
ARCHINT: Lighting Design, Colors, Illusions, and Techniques
ArchiEducPH
Luminance and Illuminance
Luminance and Illuminance
Hrishi Ramesh
More Related Content
What's hot
Ch7 z5e at structure
Ch7 z5e at structure
blachman
8th Sem Subject Ofc 8th chapter notes by Lohith kumar 11GUEE6018
8th Sem Subject Ofc 8th chapter notes by Lohith kumar 11GUEE6018
UVCE
8th Sem Subject Ofc 3rd chapter notes by Lohith kumar 11GUEE6018
8th Sem Subject Ofc 3rd chapter notes by Lohith kumar 11GUEE6018
UVCE
Squeezing Resoumis V1
Squeezing Resoumis V1
Sidney Burks, Ph.D
Types of noise
Types of noise
Babul Reddy
Expanding the medical spectral window v4
Expanding the medical spectral window v4
kpaseman
Sound manipulation 3
Sound manipulation 3
crookedpug
Photonics By JYRJ
Photonics By JYRJ
jayarajchinna
NIGHT VISION TECHNLOGY
NIGHT VISION TECHNLOGY
Divyaprathapraju Divyaprathapraju
Drive circuitry for LEDs and LASER
Drive circuitry for LEDs and LASER
Diwaker Pant
Light sources based on optical-scale accelerators
Light sources based on optical-scale accelerators
Gil Travish
3.7 calculation of tristimulus values from measured reflectance values
3.7 calculation of tristimulus values from measured reflectance values
QC Labs
Ebb245 presentation al foil
Ebb245 presentation al foil
Mohd Nazim Birkamsin
14.08021403
14.08021403
Francesc Daura Luna
Big Ed Photoluminescent
Big Ed Photoluminescent
FirePoliceEmergency
Cu stp 02_solar_resource
Cu stp 02_solar_resource
Manuel Silva
What's hot
(16)
Ch7 z5e at structure
Ch7 z5e at structure
8th Sem Subject Ofc 8th chapter notes by Lohith kumar 11GUEE6018
8th Sem Subject Ofc 8th chapter notes by Lohith kumar 11GUEE6018
8th Sem Subject Ofc 3rd chapter notes by Lohith kumar 11GUEE6018
8th Sem Subject Ofc 3rd chapter notes by Lohith kumar 11GUEE6018
Squeezing Resoumis V1
Squeezing Resoumis V1
Types of noise
Types of noise
Expanding the medical spectral window v4
Expanding the medical spectral window v4
Sound manipulation 3
Sound manipulation 3
Photonics By JYRJ
Photonics By JYRJ
NIGHT VISION TECHNLOGY
NIGHT VISION TECHNLOGY
Drive circuitry for LEDs and LASER
Drive circuitry for LEDs and LASER
Light sources based on optical-scale accelerators
Light sources based on optical-scale accelerators
3.7 calculation of tristimulus values from measured reflectance values
3.7 calculation of tristimulus values from measured reflectance values
Ebb245 presentation al foil
Ebb245 presentation al foil
14.08021403
14.08021403
Big Ed Photoluminescent
Big Ed Photoluminescent
Cu stp 02_solar_resource
Cu stp 02_solar_resource
Similar to micro:bit亮度感測應用
Photometry
Photometry
Mero Eye
Lighting terminlologyand their units
Lighting terminlologyand their units
Safdar Ali
Troubleshooting, Designing, & Installing Digital & Analog Closed Circuit TV S...
Troubleshooting, Designing, & Installing Digital & Analog Closed Circuit TV S...
Living Online
THEORY: Color, Light, & Texture
THEORY: Color, Light, & Texture
ArchiEducPH
ARCHINT: Lighting Design, Colors, Illusions, and Techniques
ARCHINT: Lighting Design, Colors, Illusions, and Techniques
ArchiEducPH
Luminance and Illuminance
Luminance and Illuminance
Hrishi Ramesh
Principle of lumination design
Principle of lumination design
wasim shaikh
Lux Meter - Meco
Lux Meter - Meco
mecoinst1
Luminance
Luminance
Qatar General Electricity & Water Corporation (Kahramaa)
lecture_02_Image Formation _ System.pptx
lecture_02_Image Formation _ System.pptx
monirJihad2
Ch2
Ch2
ToQa Khaled
Lumens & color rendering index
Lumens & color rendering index
Tala Jazzy
Similar to micro:bit亮度感測應用
(12)
Photometry
Photometry
Lighting terminlologyand their units
Lighting terminlologyand their units
Troubleshooting, Designing, & Installing Digital & Analog Closed Circuit TV S...
Troubleshooting, Designing, & Installing Digital & Analog Closed Circuit TV S...
THEORY: Color, Light, & Texture
THEORY: Color, Light, & Texture
ARCHINT: Lighting Design, Colors, Illusions, and Techniques
ARCHINT: Lighting Design, Colors, Illusions, and Techniques
Luminance and Illuminance
Luminance and Illuminance
Principle of lumination design
Principle of lumination design
Lux Meter - Meco
Lux Meter - Meco
Luminance
Luminance
lecture_02_Image Formation _ System.pptx
lecture_02_Image Formation _ System.pptx
Ch2
Ch2
Lumens & color rendering index
Lumens & color rendering index
More from 吳錫修 (ShyiShiou Wu)
Vuforia AR影片程式設計
Vuforia AR影片程式設計
吳錫修 (ShyiShiou Wu)
Vuforia AR同時追踨多張辨識圖
Vuforia AR同時追踨多張辨識圖
吳錫修 (ShyiShiou Wu)
micro:bit開關控制應用
micro:bit開關控制應用
吳錫修 (ShyiShiou Wu)
Vuforia AR應用程式設計入門
Vuforia AR應用程式設計入門
吳錫修 (ShyiShiou Wu)
Vuforia AR應用程式準備作業
Vuforia AR應用程式準備作業
吳錫修 (ShyiShiou Wu)
micro:bit LED顯示控制
micro:bit LED顯示控制
吳錫修 (ShyiShiou Wu)
IDE for micro:bit
IDE for micro:bit
吳錫修 (ShyiShiou Wu)
Microbit 1 introduction
Microbit 1 introduction
吳錫修 (ShyiShiou Wu)
Arduino overview
Arduino overview
吳錫修 (ShyiShiou Wu)
使用Makeblock App學習mBot程式設計
使用Makeblock App學習mBot程式設計
吳錫修 (ShyiShiou Wu)
使用M部落App學習mBot程式設計
使用M部落App學習mBot程式設計
吳錫修 (ShyiShiou Wu)
nodeMCU IOT教學03 - NodeMCU導論
nodeMCU IOT教學03 - NodeMCU導論
吳錫修 (ShyiShiou Wu)
nodeMCU IOT教學02 - Lua語言
nodeMCU IOT教學02 - Lua語言
吳錫修 (ShyiShiou Wu)
Unity遊戲程式設計 - 2D Platformer遊戲
Unity遊戲程式設計 - 2D Platformer遊戲
吳錫修 (ShyiShiou Wu)
Unity遊戲程式設計 - 2D移動與碰撞處理II
Unity遊戲程式設計 - 2D移動與碰撞處理II
吳錫修 (ShyiShiou Wu)
Unity遊戲程式設計 - 2D運動與碰撞處理I
Unity遊戲程式設計 - 2D運動與碰撞處理I
吳錫修 (ShyiShiou Wu)
Python與Ardinio整合應用
Python與Ardinio整合應用
吳錫修 (ShyiShiou Wu)
mBlock積木式設計程式
mBlock積木式設計程式
吳錫修 (ShyiShiou Wu)
Arduino程式除錯
Arduino程式除錯
吳錫修 (ShyiShiou Wu)
Unity遊戲設計- 2D動畫製作及應用
Unity遊戲設計- 2D動畫製作及應用
吳錫修 (ShyiShiou Wu)
More from 吳錫修 (ShyiShiou Wu)
(20)
Vuforia AR影片程式設計
Vuforia AR影片程式設計
Vuforia AR同時追踨多張辨識圖
Vuforia AR同時追踨多張辨識圖
micro:bit開關控制應用
micro:bit開關控制應用
Vuforia AR應用程式設計入門
Vuforia AR應用程式設計入門
Vuforia AR應用程式準備作業
Vuforia AR應用程式準備作業
micro:bit LED顯示控制
micro:bit LED顯示控制
IDE for micro:bit
IDE for micro:bit
Microbit 1 introduction
Microbit 1 introduction
Arduino overview
Arduino overview
使用Makeblock App學習mBot程式設計
使用Makeblock App學習mBot程式設計
使用M部落App學習mBot程式設計
使用M部落App學習mBot程式設計
nodeMCU IOT教學03 - NodeMCU導論
nodeMCU IOT教學03 - NodeMCU導論
nodeMCU IOT教學02 - Lua語言
nodeMCU IOT教學02 - Lua語言
Unity遊戲程式設計 - 2D Platformer遊戲
Unity遊戲程式設計 - 2D Platformer遊戲
Unity遊戲程式設計 - 2D移動與碰撞處理II
Unity遊戲程式設計 - 2D移動與碰撞處理II
Unity遊戲程式設計 - 2D運動與碰撞處理I
Unity遊戲程式設計 - 2D運動與碰撞處理I
Python與Ardinio整合應用
Python與Ardinio整合應用
mBlock積木式設計程式
mBlock積木式設計程式
Arduino程式除錯
Arduino程式除錯
Unity遊戲設計- 2D動畫製作及應用
Unity遊戲設計- 2D動畫製作及應用
Recently uploaded
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Ahmed Mohamed
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
StefanoLambiase
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
Christoph Pohl
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
jennyeacort
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
Envertis Software Solutions
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Stefano Stabellini
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
vaddepallysandeep122
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Mater
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
Ortus Solutions, Corp
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
Alina Yurenko
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
Diego Iván Oliveros Acosta
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
Sujith Sukumaran
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
OnePlan Solutions
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
stazi3110
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
Marharyta Nedzelska
Cyber security and its impact on E commerce
Cyber security and its impact on E commerce
manigoyal112
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Angel Borroy López
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
OnePlan Solutions
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
Łukasz Chruściel
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
BrainSell Technologies
Recently uploaded
(20)
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
Cyber security and its impact on E commerce
Cyber security and its impact on E commerce
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
micro:bit亮度感測應用
1.
micro:bit亮度感測應用 Revised on April
20, 2021 亮度度量衡 光感測元件與生活科技應用 micro:bit亮度感測 資料映射指令 實作練習 - 自動調光小夜燈 實作練習 - 魔術表情面板
2.
瓦特數:耗電量 1度電
= 仟瓦⋅小時 流明數:亮度 色溫:光線顏色 照明設備規格
3.
燭光定義:給定⼀個頻率為540×1012Hz的單色輻射光源,其發光效能 定為683流明/瓦特 流明(lm)是光通量的國際單位制導出單位,用於表示光源在單位時間 內所發出可見光的總量
根據燭光的定義來看,若⼀個功率為1瓦特,頻率為540×1012Hz的單色輻 射光源,其光通量為683流明 照度則是每單位面積縮接收的光通量,其單位勒克斯為流明/平方公尺 亮度(照度) 3
4.
色溫K數是將色彩與溫度連結在⼀起,紀錄「⿊體」(可以想像為鐵或 鎢等金屬)在不同溫度下變化出的光芒顏色,再依照這種現象,制定溫 度與顏色之間的關係 色溫
5.
自動小夜燈 手機螢幕亮度自動調整 亮度感測應用 5
6.
光敏電阻 (photoresistor) 受光時,CdS硫化鎘內原本處於穩定狀態的電子受到激發成為自由電子。所以 光線越強,產生的自由電子也就愈多,電阻值就會變小 亮度感測元件
1/2 6 零件外觀 電路符號 光線愈強,分壓 輸出愈大 RCdS R1 10KΩ 5V 𝑉 𝑅 𝑅 𝑅 5𝑉
7.
光二極體 (photodiode) 工作在逆向偏壓。當光照射在光電二極體上,會使其逆向偏壓電流增加。由 於光二極體電流很小,需要搭配電晶體或運算放大器使用
光電晶體 (Phototransistor) 相當於光電二極體 + 電晶體放大 亮度感測元件 2/2 7 電路符號 零件外觀 Light Current C E Flat spot B Emitter Base Collector 電路符號 零件外觀
8.
micro:bit亮度感測 1/5 https://youtu.be/TKhCr-dQMBY 8
9.
Micro:bit並沒有特別設置亮度感測器,而是利用LED的反向原理 LED不亮時,若有接收到外界光源,會在LED接腳上出現逆電流的,這時若 接腳切換成ADC輸入角色,讀取接腳的電壓數值,是可以得知環境亮度的
接腳從⼀般輸出接腳轉變成ADC輸入接腳時,需要⼀段時間的穩定,才能 對最小的逆電流進行精確量測,這約要4mS(毫秒,千分之⼀秒)的時間 啟動亮度感測器後,會略影響本來的5×5 LED燈顯示,本來是每秒更新55 次畫面,會因需要偵測周遭亮度而減少更新頻率,自每秒55次降至50次 LED的逆電流感測會對自己發出的顏色比較敏感,Micro:bit用的是紅色 LED,所以周遭附近若有紅光,紅光亮度的弱與強,是Micro:bit比較可 以精準感測的 micro:bit亮度感測 2/5 9
10.
Micro:bit板子LED是以5*5方式排列,但控制電路是使用3*9方式連 接 (其中第二列第8及第9行未接LED)
col 1~col 3接腳可以切換為類比輸入 micro:bit亮度感測 3/5 10
11.
用來做為亮度感測之LED位置 重置後首次亮度感測回傳值為255 micro:bit亮度感測
4/5 11
12.
測試程式 顯示亮度⻑條圖 micro:bit亮度感測
5/5 12
13.
將⼀個數值從⼀個範圍重新映射到另⼀個範圍 映射指令 13
14.
環境亮度值小於150,開啟小夜燈 依據環境亮度值自動調整LED亮度等級 實作練習
- 自動調光小夜燈 1/3 255 0 光線感測值 150 小夜燈亮度值(分等級) 最暗 最亮 5 55 105 155 205 255 關閉小夜燈 點亮小夜燈 小夜燈開關臨界值 14
15.
參考程式 實作練習 -
自動調光小夜燈 2/3 15
16.
實作練習 - 自動調光小夜燈
3/3
17.
初始顯示? 每次用手掌遮蔽LED再放開,LED依序變換顯示以下圖示 提示: 手掌遮蔽LED時,亮度感測值會下降;手掌移開時,亮度感測值會回復到 環境亮度值。須等到手掌移開才變換顯示。 注意事項:須依環境狀況調整亮度感測臨界值 實作練習
- 魔術表情面板 1/3
18.
設計以下程式 實作練習 -
魔術表情面板 2/3
19.
參考程式 實作練習 -
魔術表情面板 3/3
Download now