Arduino-to-RTOS.pptx

編號:144800 PPTX 46頁 21.75MB 下載積分:VIP專享
下載報告請您先登錄!

Arduino-to-RTOS.pptx

1、Blues Notecard 30mm x 35mmArduino to RTOSA Pilgrims ProgressTJ VanToll&Zak FieldsDeveloper RelationsTJ VanTollPrincipal Developer AdvocatetjvantollZak FieldsStaff Experience EngineerzfieldsArduino to RTOSA Pilgrims Progress67“Each lesson supports 3 device choices-Arduino,or a single-board computer,e

2、ither a physical device(a Raspberry Pi 4)or a virtual single-board computer running on your PC or Mac.”https:/ for Beginners by Microsoft8910Myths#1:Platforms like Arduino and Raspberry Pi are only for beginners.#2:RTOS platforms are impossibly complex and only for“real”engineers building“real”proje

3、cts.12What youll learn Using an RTOS is possible,and the best path forward for many IoT Projects.When an RTOS is a good fit,and when its overkill.The pros and cons of Zephyr in action.Easy for developers and affordable for all.15Notecard Low-power system-on-module Global cellular/GPS or Wi-Fi 500MB

4、cell data+10 years service JSON-based API NB-IoT,LTE-M,LTE Cat-1 Python,Go,Arduino,C/C+,Zephyr“Device-to-Cloud Data Pump”*Actual wiring may vary1924Myths#1:Platforms like Arduino and Raspberry Pi are only for beginners.#2:RTOS platforms are impossibly complex and only for“real”engineers building“rea

5、l”projects.Zak FieldsStaff Experience EngineerzfieldsArduino:Quick Recap26.Arduino:Quick Recap27Fast and Easy.Arduino:Quick Recap28Fast and EasyPowerful.Arduino:Quick Recap29Fast and EasyPowerfulBroad Support.Arduino:Quick Recap30Fast and EasyPowerfulBroad SupportCommunity Arduino:The Dark Side31.ID

6、E 1.x-no debuggingIDE 2.x-only supports Arduino boardsVS Code ExtensionPlatform.ioArduino:The Dark Side32Disjoint Debugging Experience.IDE 1.x-no debuggingIDE 2.x-only supports Arduino boardsVS Code ExtensionPlatform.ioArduino:The Dark Side33Multiple authors with varying level of skill.Each library

7、has a unique license.No guarantee of portability.Disjoint Debugging ExperienceLibrary System:Powerful but Inconsistent.IDE 1.x-no debuggingIDE 2.x-only supports Arduino boardsVS Code ExtensionPlatform.ioArduino:The Dark Side34Multiple authors with varying level of skill.Each library has a unique lic

8、ense.No guarantee of portability.Arduino API is small.Testing is difficult.Each BSP has bespoke implementations of threading,radios,etc.Disjoint Debugging ExperienceLibrary System:Powerful but InconsistentComplex Code is Not Portable/MaintainableFor the wind.Native Threading/Timer SupportTwister Tes

9、ting FrameworkSupport for DebuggingNative Sensor Librariesint main(void)/put your setup code here,to run once:while(1)/put your main code here,to run repeatedly:return 0;void setup(void)/put your setup code here,to run once:void loop(void)/put your main code here,to run repeatedly:Zephyr:Basic Struc

10、turestatic const struct gpio_dt_spec led=GPIO_DT_SPEC_GET(DT_ALIAS(led0),gpios);int main(void)gpio_pin_configure_dt(&led,GPIO_OUTPUT_ACTIVE);while(1)gpio_pin_toggle(&led);k_msleep(250);return 0;void setup(void)pinMode(LED_BUILTIN,OUTPUT);void loop(void)digitalWrite(LED_BUILTIN,HIGH);delay(250);digit

11、alWrite(LED_BUILTIN,LOW);delay(250);Zephyr:BlinkyZephyr uses devicetree to describe:the hardware available on its Supported Boards that hardwares initial configurationZephyr:DevicetreeSo,what does that mean for you?Zephyr:Getting StartedEasy?_()_/Zephyr:Getting Started+=Easy.https:/blues.dev/zephyrhttps:/ Code:Revisit Demo44 Emulate the Arduino RuntimeTalk to the BME280the Zephyr way.45 blues.dev for Blues resourcesThanks!(Time for Q&A)

友情提示

1、下載報告失敗解決辦法
2、PDF文件下載后,可能會被瀏覽器默認打開,此種情況可以點擊瀏覽器菜單,保存網頁到桌面,就可以正常下載了。
3、本站不支持迅雷下載,請使用電腦自帶的IE瀏覽器,或者360瀏覽器、谷歌瀏覽器下載即可。
4、本站報告下載后的文檔和圖紙-無水印,預覽文檔經過壓縮,下載后原文更清晰。

本文(Arduino-to-RTOS.pptx)為本站 (2200) 主動上傳,三個皮匠報告文庫僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對上載內容本身不做任何修改或編輯。 若此文所含內容侵犯了您的版權或隱私,請立即通知三個皮匠報告文庫(點擊聯系客服),我們立即給予刪除!

溫馨提示:如果因為網速或其他原因下載失敗請重新下載,重復下載不扣分。
客服
商務合作
小程序
服務號
折疊
午夜网日韩中文字幕,日韩Av中文字幕久久,亚洲中文字幕在线一区二区,最新中文字幕在线视频网站