---
# System prepended metadata

title: '[En-Huei''s Repository：Prototype Practice] Week9：'

---

# [En-Huei's Repository：Prototype Practice] Week9：
:::info
:bulb: This is the root page of En-Huei's course-taking in NTU Prototype Practice (NTU DS 5202), greetings！
:::  
> [course website](https://hackmd.io/@accomdemy/HJHny1ntn?fbclid=IwAR0uB-EyVc-1P7buX-8dc_FPLLvMqglfE-qAjTh3q4i-RIW5vW0n7rBrH4w)  
> [course slides](https://drive.google.com/drive/folders/1-cq5PQdRCdqZnpHY3pbeYFGUYU-AKXeT?usp=drive_link)

[TOC]  
* Cross Week HyperLinks：
    * [Week1](https://hackmd.io/AvKCP5bcQO6sEwtX7-rTUQ?both#En-Huei%E2%80%99s-Repository%EF%BC%9APrototype-Practice-Week1%EF%BC%9AIntroduction)
    * [Week2](https://hackmd.io/@HCI-Lab/HJxzcTHCn)
    * [Week3](https://hackmd.io/@HCI-Lab/SyzdcpBCn)
    * [Week4](https://hackmd.io/@HCI-Lab/rkFNi6rR2)
    * [Week5](https://hackmd.io/@HCI-Lab/r1hBoarRn)
    * [Week6](https://hackmd.io/@HCI-Lab/HyaLjTHAh)
    * [Week7](https://hackmd.io/@HCI-Lab/BJCvoaHC3)
    * [Week8](https://hackmd.io/@HCI-Lab/H12OsTrA3)
    * [Week9](https://hackmd.io/@HCI-Lab/BkTYopSAh)
    * [Week10](https://hackmd.io/@HCI-Lab/BkysjTS03)
    * [Week11](https://hackmd.io/@HCI-Lab/HklnsarAn)
    * [Week12](https://hackmd.io/@HCI-Lab/HJ6hsaBAn)
    * [Week13](https://hackmd.io/@HCI-Lab/r1jpiTrAh)
    * [Week14](https://hackmd.io/@HCI-Lab/Sk2CjaHR2)
    * [Week15](https://hackmd.io/@HCI-Lab/SJsynTHA3)
    * [Week16](https://hackmd.io/@HCI-Lab/ByiLh6S0n)

## :pencil:Notes：

- Arduino搭配DHT感測器與LCD顯示器[by傑森創工](https://blog.jmaker.com.tw/dht11-lcd/)
成功組內測試使用DHT感測溫度與濕度並顯示到LCD 1602液晶螢幕上
![](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F6fe662de-cd0d-4c9d-9b35-7eea0ade7a51%2Ffe0ee8da-189d-49b4-942b-de64c54ce194%2FDHTLCD_(2).jpg?table=block&id=1d04ccef-a660-45ed-ab1f-aac42ef83a22&spaceId=6fe662de-cd0d-4c9d-9b35-7eea0ade7a51&width=2000&userId=1b99bc9b-cd7e-44d1-b2bb-e645f450f574&cache=v2)
![](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F6fe662de-cd0d-4c9d-9b35-7eea0ade7a51%2F7edd4893-6389-435b-89c4-d1c23158fdf8%2FDHTLCD_(3).jpg?table=block&id=e3b0db38-92bd-43df-b3c5-b50355f5ae49&spaceId=6fe662de-cd0d-4c9d-9b35-7eea0ade7a51&width=2000&userId=1b99bc9b-cd7e-44d1-b2bb-e645f450f574&cache=v2)
> (LCD螢幕的背光亮度要用螺絲起子調背後的螺絲，用軟體操控效果不好)
- 另外有看到一些聲音跟視覺、震動互相轉換的有趣案例[視覺化](https://www.instagram.com/p/CQr6OOQH0eC/?igshid=MzRlODBiNWFlZA%3D%3D&fbclid=IwAR01trNS0YsIArxYjE5pnA8WQ9a-T98sreptAgdfUjJSm6n3ricT8OaGEIs)、[震動轉音樂](https://www.ettoday.net/news/20220223/2193283.htm)

## :mountain:Component Shop List：

- 偵測聲音分貝：預計買這顆[LM386模組](https://www.jmaker.com.tw/products/waveshare-sound?ref=blog.jmaker.com.tw)，200元，比更便宜的有更好的敏感度
傑森創工的程式碼看來可以用(這元件的腳位設定很單純，所以自己寫也可以)
另外也有這顆比較高級的[Gravity: Analog Sound Level Meter](https://www.taiwansensor.com.tw/product/arduino-%E5%99%AA%E9%9F%B3%E5%88%86%E8%B2%9D%E6%84%9F%E6%B8%AC%E5%99%A8%E6%A8%A1%E7%B5%84-%E6%A8%A1%E6%93%AC%E8%81%B2%E9%9F%B3%E8%A8%88-%E5%88%86%E8%B2%9D%E8%A8%88-%E5%99%AA%E9%9F%B3%E8%A8%88-gravity/)，但就要1650元因此過預算暫不考慮
- 螢幕顯示影像：預計買這顆[TFT LCD](https://www.jmaker.com.tw/products/st7735-18?ref=blog.jmaker.com.tw)，180元，目前傑森缺貨中XD。
這顆看來還可以讀SD卡的影像，買來之後需要再研究~接線比較複雜也需要再研究。上課工具包有發的是[這顆 LCD1602 I2C](https://jimirobot.tw/arduino-tutorial-lcd1602-i2c-401/)，只能秀文字所以不太行。
- 喇叭音訊：找到意外多的教學影片，但有些比較複雜，需要篩選。最簡單是[只用一顆蜂鳴器喇叭，將錄音Hard code寫死進程式內](https://www.google.com/search?sca_esv=577715843&tbm=vid&sxsrf=AM9HkKlm0I6c4WBDkQqWnwuxczc9sPcs0w:1698646715077&q=arduino%E8%81%B2%E9%9F%B3%E6%92%AD%E6%94%BE&sa=X&ved=2ahUKEwjh9LOQkJ2CAxVIMXAKHV5uBgcQ8ccDegQICxAH&biw=1600&bih=814&dpr=1.2#fpstate=ive&vld=cid:58a2ac31,vid:xCQlQcOiVcA,st:0)，但這樣的缺點是音質較低、Arduino記憶容量大概只能放4秒左右的"音效"。針對比較長的音樂最中意的作法是[使用MP3 Player模組](https://www.youtube.com/watch?v=yik9nD0-pxc)，基本上可以應付我們專案需求，可惜影片沒附程式碼QWQ，後來在痞客邦跟[商品目錄](https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299)、[巴哈姆特](https://home.gamer.com.tw/creationDetail.php?sn=4768572)都有找到~
- 參考測試元件程式碼：[分貝計](https://blog.jmaker.com.tw/arduino-sound/)、[螢幕](https://blog.jmaker.com.tw/arduino-st7735/)、[喇叭](https://thirtysec.pixnet.net/blog/post/223799714)
- 總計3款模組2款SD卡，希望周一可以確認然後下單

---
## :phone:Contact Informations：
> Feel free to reach me out for insteresting things~
:::spoiler :house: Location
> En-Huei Wu  
> HCI Lab, Department of Computer Science and Information Engineering (Dertian Hall)  
> Room. 336, No. 170, Sec. 2, Xinhai Road, Taipei, 10617 Taiwan (R.O.C)  
> National Taiwan University  
> No. 1, Sec. 4, Roosevelt Road, Taipei, 10617 Taiwan (R.O.C)
:::


- :mailbox: slime52ray@gmail.com (persona mailbox)
- :mailbox: r12922105@ntu.edu.tw (school mailbox)