日B视频 亚洲,啪啪啪网站一区二区,91色情精品久久,日日噜狠狠色综合久,超碰人妻少妇97在线,999青青视频,亚洲一区二卡,让本一区二区视频,日韩网站推荐

電子發(fā)燒友App

硬聲App

掃碼添加小助手

加入工程師交流群

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評(píng)論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫(xiě)文章/發(fā)帖/加入社區(qū)
會(huì)員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識(shí)你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示
創(chuàng)作
電子發(fā)燒友網(wǎng)>電子資料下載>電子資料>使用LM35溫度傳感器監(jiān)測(cè)食品行業(yè)冷庫(kù)的溫度

使用LM35溫度傳感器監(jiān)測(cè)食品行業(yè)冷庫(kù)的溫度

2022-11-23 | zip | 0.14 MB | 次下載 | 免費(fèi)

資料介紹

描述

本項(xiàng)目將使用LM35溫度傳感器監(jiān)測(cè)食品行業(yè)冷庫(kù)的溫度。冷藏單元的預(yù)定義閾值溫度值由操作員設(shè)置。在 PyCharm 軟件的幫助下,當(dāng)前值顯示在監(jiān)視器上。如果超過(guò)閾值溫度,則會(huì)通過(guò) Twilio 向用戶發(fā)送 SMS 警報(bào)以及存儲(chǔ)單元的當(dāng)前溫度讀數(shù)值。此外,LED 的點(diǎn)亮和蜂鳴器發(fā)出的蜂鳴聲提醒周圍的人員或操作員。溫度傳感器發(fā)送的數(shù)據(jù)存儲(chǔ)在 Bolt Cloud 中,這有助于使用機(jī)器學(xué)習(xí)隨時(shí)間進(jìn)行溫度預(yù)測(cè)。Z-Score 分析有助于檢測(cè)溫度的任何突然變化。

電路連接

1 、LM 35溫度傳感器是本項(xiàng)目的主要單元。LM35 傳感器為 A0 引腳提供模擬輸入。Bolt 內(nèi)置了模數(shù)轉(zhuǎn)換器 (ADC),可將此模擬值轉(zhuǎn)換為數(shù)字值。然后這個(gè)數(shù)字值被發(fā)送到 Bolt Cloud。

握住 LM35 傳感器,使傳感器上寫(xiě)有 LM35 文字的平面朝向您。在此配置中,左側(cè)引腳VCC ,中間引腳V 輸出,右側(cè)引腳接地引腳。

連接面包板上的 LM35 傳感器。公頭/公頭跳線用于將 VCC 連接到 Bolt wifi 模塊的5V 引腳,V 輸出連接到A0 引腳,將 LM35 的接地引腳連接到 Bolt wifi 模塊的接地引腳 (GND) 。

2. LED 的短腿連接到面包板上的GND 引腳,而較長(zhǎng)的腿連接到串聯(lián)的 330ohm 電阻的一端。電阻的另一端使用公/公跳線連接到GPIO (通用輸入/輸出)引腳 1 。

3. Buzzer長(zhǎng)短腳分別通過(guò)公/公跳線連接到GPIO 引腳 4GND 引腳。

4.最后,使用 USB-A 轉(zhuǎn) Micro-USB 電纜將 Bolt wifi 模塊連接到筆記本電腦/個(gè)人電腦/充電器,以便通電。

?
?
?
pYYBAGN7IQSAWRrEAAAU5WCR2SY073.png
?
1 / 2 ? Bolt Wifi 模塊和電路
?

設(shè)備

?
?
?
poYBAGN7IQeAOx9TAAAiboh0FLg178.png
?
1 / 5 ? LM 35 傳感器
?

完整的電路

?
?
?
poYBAGN7IQqAImM1AAVndS5pt7M384.jpg
?
1 / 4
?

?

設(shè)置 ProductOnBolt Cloud

1.設(shè)置 Bolt wifi 模塊。

2.在這里,您將找到您的 Bolt API 密鑰和 Bolt 設(shè)備 ID。保存。

3.轉(zhuǎn)到 PRODUCTS 并制作一個(gè)新產(chǎn)品,為其命名并選擇如下所示的選項(xiàng),然后單擊 DONE。

pYYBAGN7IRKAYKhMAAB9E-HlW1g742.png
?

4.進(jìn)入配置,然后設(shè)置硬件并編寫(xiě)預(yù)測(cè)溫度的代碼,然后保存。

poYBAGN7IRSAOtlgAACzr2SFCzw983.png
?
poYBAGN7IReAQsZQAACJ4JMTOow469.png
?

5.將產(chǎn)品鏈接到設(shè)備并部署配置。

poYBAGN7IRmAaf5TAABLx4aXLIU758.png
?

制作 TWILIO 帳戶

Twilio 是第三方 SMS 功能提供商。它是一家云通信平臺(tái)即服務(wù) (PaaS) 公司。Twilio 允許軟件開(kāi)發(fā)人員以編程方式撥打和接聽(tīng)電話,還可以使用其 Web 服務(wù) API 發(fā)送和接收文本消息。

1.使用您的郵件 ID 和頁(yè)面上提供的其他詳細(xì)信息進(jìn)行注冊(cè)。然后 Twilio 將在您的郵件 ID 上發(fā)送一封驗(yàn)證郵件,該郵件必須經(jīng)過(guò)驗(yàn)證。

?
?
?
pYYBAGN7IR6AO_oUAABhFUVWtf4774.png
?
1 / 2
?

2.然后提供將發(fā)送 OTP 的手機(jī)號(hào)碼進(jìn)行驗(yàn)證。

?
?
?
pYYBAGN7ISGAKGi5AABHQNQ6oyM692.png
?
1 / 2
?

現(xiàn)在,您已入職。回答幾個(gè)問(wèn)題,如下所示。

3.對(duì)于編碼,選擇“是”。然后選擇您喜歡的編碼語(yǔ)言。我選擇 Python。對(duì)于目標(biāo),選擇“在項(xiàng)目中使用 Twilio”。對(duì)于消息傳遞,請(qǐng)從下面給出的選項(xiàng)中進(jìn)行選擇。我為我的項(xiàng)目選擇了SMS

?
?
?
poYBAGN7ISWARNiOAAA5VRNjmLs132.png
?
1 / 4
?

4.現(xiàn)在,轉(zhuǎn)到 Twilio Dashboard 并選擇將提供試用號(hào)的選項(xiàng)。選擇那個(gè)號(hào)碼。該號(hào)碼將與您聯(lián)系。

?
?
?
pYYBAGN7ISeACq_KAACHIdex6EI111.png
?
1 / 2
?

5.最后,您將在 Twilio Dashboard 上獲得您的 Account SID、Auth Token、您的手機(jī)號(hào)碼和試用號(hào)。保存。

pYYBAGN7ISyAVuXIAACkV-luYXc561.png
?

下載并安裝 PYCHARM

PyCharm is an integrated development environment (IDE) used in computer programming, specifically for the Python language. It is developed by the Czech company JetBrains.It provides code analysis, a graphical debugger, etc. and supports Data Science with Anaconda. PyCharm is cross-platform, with Windows, macOS and Linux versions.

1. Download PyCharm by visiting http://www.jetbrains.com/pycharm/ and click DOWNLOAD (shown in black). Then select the type of OS you have and then download either OPEN SOURCE (COMMUNITY) which is completely free or PROFESSIONAL which is for free trail. I took open source. Then click Download button and wait for it to download.

?
?
?
poYBAGN7IS6AFjYvAADA3q8S8vs758.png
?
1 / 2
?

2. When it gets downloaded. Double click the file stored on your computer. Then follow the steps shown in the images below to install PyCharm.

3. Click NEXT. Select the folder where you want to install PyCharm. Select 64 bit launcher. Create a folder with name 'JetBrains'. Wait for PyCharm to install.

?
?
?
poYBAGN7ITGAUUfBAADK8IF4WKQ640.png
?
1 / 5
?

4. Click FINISH once installed. Click OK for 'Do not import settings'. Accept the terms and con5.ditions shown. Finally, click on 'Don't send'.

?
?
?
pYYBAGN7ITOAIh1TAADCO1L8cuw494.png
?
1 / 4
?

5. Now, open PyCharm. Select the screen colour DARCULA or INTELLIJ. Skip the next step (If you want, you can install UI themes as also). Then, wait for PyCharm to load. Then select the option CreateNewProject. Then give a name to your project. Make a new file as shown below and name it. Then you can start with your coding.

?
?
?
pYYBAGN7ITWAag8HAAFLRfNNtZI202.png
?
1 / 6
?

THEORY

Z-SCORE ANALYSIS

Z-scoreanalysis is used for anomaly detection i.e. anything outside of normal. When temperature increases or decreases suddenly, it is called anomaly and Z-score analysis detects this. Upper and lower bounds are found out using multiplication factor, frame size and input values from LM 35 sensor.

poYBAGN7ITqAVxXXAAAfxGnUmf0125.png
?

Mn is the mean of input data collected. Vi is the variance, r is the frame size i.e. number of input data points collected. I have collected 5 data points. C is the multiplication factor which is taken as 3 in my project. Tn gives the upper and lower threshold depending on + and - respectively in the formula shown.

WORKING

LM 35 sensor collects data every 5 minutes and sends it to Bolt Cloud.

I placed the setup in open for getting normal temperature. Then I put the setup in cold area quickly so that temperature decreases suddenly.

Then again, I placed the setup in open for normal temperature. Then, I took the setup in a hot area quickly so that temperature rise is quick.

The code checks if the temperature is within threshold limits or not by using data from LM 35 sensor. If it isn't in the limits, then Twilio sends the message on our mobile regarding threshold getting crossed.

The code also checks if there is sudden change in temperature (increase or decrease) beyond the upper and lower bounds. If there is, then Twilio sends the message on our mobile regarding sudden change in temperature.

Prediction graphs gets plotted using data from LM35 sensor to predict temperature in near future using machine learning. Sudden changes were made to temperature values to see the affect on the prediction.

The detailed explanation of code is given along with the code itself.

PREDICTIONGRAPH

poYBAGN7ITyAcCKhAACm8WLbUh8382.png
?

PredictedPoints shows number of future data points of temperature taht need to be predicted. No. of Polynomial Coefficients (value of n) indicates how many coefficients or elements should be present in the function. Number of polynomial coefficients decide the nature of predict history graph (shown in red). This graph gets plotted based on the nature of actual graph (shown in blue) and no. of polynomial coefficients. It helps to tune the machine learning model. Frame size indicates how many points on actual graph should be taken into consideration for plotting predict history graph. Predicted Graph (shown in blue) shows the value and nature of future data points and graphs respectively. The 3 parameters shown in the figure have to changed and set such that predicted data most closely imitates the actual data. This lead to future data being most accurate.

pYYBAGN7IT-AZXAEAAAhzQyI9pA187.png
No, of Polynomial Coefficients
?

OUTPUT

CodedOutputRegardingThresholdCrossing and Sudden Decrease in Temperature

?
?
?
poYBAGN7IUiAAnL2AAFEiOyv8rM564.png
?
1 / 2
?

MessageRegardingThresholdCrossing and Sudden Decrease in Temperature

pYYBAGN7IUuADTpQAAKAeJqLgRs175.jpg
?

CodedOutputRegardingThresholdCrossing and Sudden Increase in Temperature

?
?
?
poYBAGN7IU2AfBTxAAGYHVyn5Qs783.png
?
1 / 3
?

MessageRegardingThresholdCrossing and Sudden Decrease in Temperature

pYYBAGN7IVGALwbYAAKcMcEtyqs340.jpg
?

?


溫度傳感器 LM35 面包板
加入交流群
微信小助手二維碼

掃碼添加小助手

加入工程師交流群

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評(píng)論

查看更多

下載排行

本周

  1. 1矽力杰 Silergy SY7215A 同步升壓調(diào)節(jié)器 規(guī)格書(shū) Datasheet 佰祥電子
  2. 1.12 MB  |  5次下載  |  免費(fèi)
  3. 2HT81696H 內(nèi)置升壓的30W立體聲D類音頻功放數(shù)據(jù)手冊(cè)
  4. 1.21 MB   |  1次下載  |  免費(fèi)
  5. 3HTA6863 3W超低噪聲超低功耗單聲道D類音頻功率放大器數(shù)據(jù)手冊(cè)
  6. 0.87 MB   |  次下載  |  免費(fèi)
  7. 4南芯 Southchip SC8802C 充電控制器 規(guī)格書(shū) Datasheet 佰祥電子
  8. 88.16 KB  |  次下載  |  免費(fèi)
  9. 5矽力杰 Silergy SY7065 同步升壓轉(zhuǎn)換器 規(guī)格書(shū) Datasheet 佰祥電子
  10. 910.67 KB  |  次下載  |  免費(fèi)
  11. 6矽力杰 Silergy SY7066 同步升壓轉(zhuǎn)換器 規(guī)格書(shū) Datasheet 佰祥電子
  12. 989.14 KB  |  次下載  |  免費(fèi)
  13. 7WD6208A產(chǎn)品規(guī)格書(shū)
  14. 631.24 KB  |  次下載  |  免費(fèi)
  15. 8NB685 26 V,12 A,低靜態(tài)電流,大電流 同步降壓變換器數(shù)據(jù)手冊(cè)
  16. 1.64 MB   |  次下載  |  2 積分

本月

  1. 1EMC PCB設(shè)計(jì)總結(jié)
  2. 0.33 MB   |  12次下載  |  免費(fèi)
  3. 2PD取電芯片 ECP5702規(guī)格書(shū)
  4. 0.88 MB   |  5次下載  |  免費(fèi)
  5. 3矽力杰 Silergy SY7215A 同步升壓調(diào)節(jié)器 規(guī)格書(shū) Datasheet 佰祥電子
  6. 1.12 MB  |  5次下載  |  免費(fèi)
  7. 4氮化鎵GaN FET/GaN HEMT 功率驅(qū)動(dòng)電路選型表
  8. 0.10 MB   |  3次下載  |  免費(fèi)
  9. 5PD取電芯片,可取5/9/12/15/20V電壓ECP5702數(shù)據(jù)手冊(cè)
  10. 0.88 MB   |  3次下載  |  免費(fèi)
  11. 6SY50655 用于高輸入電壓應(yīng)用的偽固定頻率SSR反激式穩(wěn)壓器英文資料
  12. 1.01 MB   |  3次下載  |  免費(fèi)
  13. 7怎么為半導(dǎo)體測(cè)試儀選擇精密放大器
  14. 0.65 MB   |  2次下載  |  免費(fèi)
  15. 8SY52341 次級(jí)側(cè)同步整流英文手冊(cè)
  16. 0.94 MB   |  2次下載  |  免費(fèi)

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935137次下載  |  10 積分
  3. 2開(kāi)源硬件-PMP21529.1-4 開(kāi)關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
  4. 1.48MB  |  420064次下載  |  10 積分
  5. 3Altium DXP2002下載入口
  6. 未知  |  233095次下載  |  10 積分
  7. 4電路仿真軟件multisim 10.0免費(fèi)下載
  8. 340992  |  191469次下載  |  10 積分
  9. 5十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
  10. 158M  |  183360次下載  |  10 積分
  11. 6labview8.5下載
  12. 未知  |  81606次下載  |  10 積分
  13. 7Keil工具M(jìn)DK-Arm免費(fèi)下載
  14. 0.02 MB  |  73832次下載  |  10 積分
  15. 8LabVIEW 8.6下載
  16. 未知  |  65991次下載  |  10 積分
安庆市| 温州市| 凌海市| 崇仁县| 鄯善县| 沈阳市| 贺兰县| 乌鲁木齐县| 沾化县| 沅江市| 马关县| 开原市| 阿城市| 西平县| 新巴尔虎右旗| 临西县| 马公市| 开江县| 莱西市| 疏附县| 龙山县| 阜新| 普陀区| 钟山县| 栾城县| 来宾市| 台中县| 潜山县| 泉州市| 黄石市| 汕头市| 会同县| 中牟县| 保康县| 汝南县| 固镇县| 凤城市| 姚安县| 淮北市| 广东省| 广灵县|