Giter VIP home page Giter VIP logo

7697-arduino-helloworld's Introduction

7697-arduino-helloworld

程式簡介

簡述

使用 LinkIt7697 build-in LED 做 Arduino IDE 之測試

使用材料

  • USB線
  • LinkIt7697

範例圖

LinkIt7697

聯發科技於2017 年最新推出的「物聯網開發板」

功能特色

  • 基於ARM Cortex-M4 的 MT7697 系統單晶片,時脈 192MHz

  • 802.11b/g/n 無線網路支持

  • Bluetooth 4.2 低功耗藍牙

  • 352 KB RAM

  • 4 MB 外接快閃記憶體

  • Micro-USB 接頭,用於供電與燒錄,以及提供 UART 序列埠

  • 提供系統重置按鈕與使用者自定義按鈕

  • 提供下列周邊介面:GPIO、UART、I2C、SPI、PWM、EINT、ADC、IrDA

  • 提供 SWD 除錯介面

  • 尺寸:48 x 26 mm

圖片1

優點

  • 提供 Arduino 開發環境

  • 內建 Wi-Fi / BLE,並包裝成好用的函式庫,能輕鬆連結雲端和手機

  • 足夠的內存(352K RAM /4MB Flash),可運行更複雜的應用

  • 官網內容相當豐富,聯發科技的工程師也會在粉絲頁提供技術問題解答

比較

  • 目前( 民國110年 )LinkIt系列開發板針對物聯網應用,主要是提供兩個系列開發板:

    • 「LinkIt Smart 7688 / LinkIt Smart 7688 Duo」

    • 「LinkIt 7697」

  • 7697 以輕量化為定位,因此在性能與功能上較不即 7688/7688 Duo,以下為粗略的比較表:

    7688/7688 Duo 7697
    定位 高端 IoT 節點 輕量 IoT 節點
    微控制器 MT7688 (MIPS) MT7697 (ARM Cortex-M4F)
    主頻 580Mhz 196Mhz
    RAM 128MB 352KB
    Flash 32MB 4MB
    開發環境 OpenWrt (一種Linux)
    Arduino (Duo only)
    FreeRTOS + Arduino

    實際上還有很多差別,但並非此處重點,不加以贅述

不同開發環境比較

LinkIt 7697針對不同族群的開發者,提供了三種開發環境:

  • Arduino IDE:
    提供給Maker/教育教學者的開發環境,完全相容於Arduino的程式語法,並包含LinkIt 7697獨家功能,例如LWIFI、LBLE、MCS(MediaTek Cloud Sandbox)、LFlash、LRTC及LRemote 等好用函式庫,大幅降低各種物聯網應用的開發門檻。

  • BlocklyDuino :
    提供物聯網入門開發者的視覺化積木開發環境,透過簡單的積木拖拉就可組合出各種邏輯應用。BlocklyDuino 會將積木轉換成 Arduino 程式,也可作為從視覺化積木轉換至Arduino程式語言的學習工具。

  • LinkIt SDK :
    提供給專業物聯網產品開發者的開發除錯環境,直接使用SDK進行開發,擁有最佳開發彈性且能優化出最佳效能。

環境比較圖

image image image
名稱 Arduino IDE Blocklyduino LinkIt SDK
對象 Maker/教育工作者 教育工作者 專業開發者
工具 文字式 圖像式 文字式
特性 豐富的軟硬周邊資源
封裝過好用的函式庫
簡易使用 最高彈性
最高效能
開發複雜度較高

Arduino 、 Arduino IDE 與 Arduino程式 簡介

image

Arduino

  • 提供開源硬體和開源軟體的公司,兼有專案和使用者社群

  • 同時也是一個開源嵌入式硬體平台,供使用者製作可互動式的嵌入式專案

Arduino IDE ( 1.x )

  • 一個跨平台的Integrated Development Environment應用程式

  • 用於撰寫Arduino程式,並提供了一個程式「avrdude」用來轉換可執行檔成為能夠燒寫入Arduino硬體的韌體

  • 使用Arduino Software IDE編寫的程式被稱為「sketch」

Arduino IDE 環境安裝

A. 安裝驅動程式

  1. 下載 repository中的 「CP210x_Windows_Drivers.zip」
  2. 開啟對應電腦位元的執行檔
    image
  3. 開啟Windows裝置管理員 → 確認COM port
    image

B. 安裝 Arduino IDE

  1. 網址下載:https://www.arduino.cc/en/software ( 110/11/3 ) tempsnip
  2. 解壓縮後即可
    image
  3. 加入LinkIt 7697來源
  1. 開發板管理員設定
  • 工具->開發板->開發板管理員,下載LinkIt7697
    image
  1. 調整開發版設定
  • 工具->開發板,選擇 LinkIt7697
    123
  1. 將USB插入電腦與 LinkIt7697 即可開始燒入程式

Arduino程式

  • 是否視為一種程式語言尚有爭議,但IEEE 2021前十大嵌入式程式語言中,Arduino 算是一個語言 tempsnip

  • 一種 “類C語言“,使用與C語言和C++相仿的語法

  • 一個典型的Arduino 程式會包含兩個函式,它們會在編譯後合成為main()函式:

    • setup():在程式執行開始時會執行一次,用於初始化設定

    • loop():直到Arduino硬體關閉前會重複執行函式放的程式碼

7697-arduino-helloworld's People

Contributors

mu-ping avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.