Coder Social home page Coder Social logo

7697-mid-project's Introduction

感測器原理與應用期中專案


姓名 林致楷
學號 06363642

目錄

目的

本次專案利用上課所學的感測器和顯示器,分別是溫溼度感測器、聲音感測器、觸控感測器、LED Bar,並利用內建的Wifi晶片連上網路,傳送溫濕度資料到IFTTT的Webhook傳送溫度提醒到Line群組

http://download.labs.mediatek.com/package_mtk_linkit_7697_index.json

動機

現代人常常因為繁忙的生活忘記喝水,
我自己也是常常忘記喝水,
然而一般普遍一個人一天要攝取2000ml的水,
沒喝足夠的水可能會對身體健康造成影響,
所以我想到做一個自動提醒水壺,
這樣就可以提醒長時間未喝水的人要喝水。

相關技術

1. D1 MINI :利用D1 MINI連接到路由器,並讀取水位感測器的數值,再傳送到IFTTT。
2. IFTTT :利用WEBHOOK把喝水提醒傳到LINE的聯絡人或是群組。
3. 水位感測器 :利用高低不同的水位產生不同電阻值,再傳送到D1 MINI進行分析。

研究方法

電腦連接D1 MIMI,
水位感測器量測水位,
把數值回傳到D1 MINI分析計算水位,
再來透過連接網路使用IFTTT傳送提醒到使用者的LINE。

程式截圖

setup

loop

執行結果

自動提醒水壺實拍	

loop

提醒傳送到LINE群組

loop

水位低於250ml以下會提醒用戶裝水,
並顯示目前水位,30秒提醒一次。

專案心得

這次期末專案一開始想不到題目會比較有趣,後來被女友唸都不喝水,
所以就想到做一個自動提醒水壺,之後就馬上添購零件開始製作,
製作過程中有遇到很多問題,像是電阻值會跳來跳去,
造成水位感測不準,後來實際量測電阻值才比較穩定,
果然有自己嘗試過才知道問題所在。
在這次專案中,學到很多實作方面的知識,受益良多。	

7697-mid-project's People

Contributors

martin1017 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.