Try   HackMD

第十一週週記

tags: 創新原型實作 第十一週

光控馬達-利用光敏電阻控制伺服馬達

在操作過程中發現所帶的雙接頭杜邦線好像壞掉,在紅燈測試中,單接頭杜邦線測試沒有問題,但當想延伸到麵包版時卻又無法量,除此之外製作光敏電阻控制馬達時,發現馬達無法轉動,但單接線的光敏電阻卻能夠使用。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

程式碼:有將servo前加上ameba,除此之外如前面所說在上傳重啟板子後,光敏電阻能夠反映光讀取數據,因此我和組員推測為:
前提:

  • 為避免程式及接線有誤,先完全按照簡報操作。
  • 上傳過程以確認沒有出現所謂錯誤訊息。

過程:

  • 需使用單接線的按鈕及光敏電阻皆可正常使用,但過程中也有找出不可使用的單接線。
  • 當原本按鈕及led延長到麵包版並使用雙接線發現無法使用。
  • 除此之外需要雙接線的馬達無法使用但馬達以更換為新的。

可能結果:

  • 雙接頭線有問題
  • 操作麵包板有誤
  • 我一時糊塗,接錯線了


本周實作心得

本周終於開始接觸Arduino,一看到板子及零件覺得好複雜,不過在鴻琪老師的快速入門下,對於操作及接線有初步的熟識及了解,此外為了更了解麵包板,也請教身邊有修過相關課程的朋友,並且在禮拜四下午三節課的時間在課堂上使用(好學生還是要好好上課,請勿模仿),其中最常面對到的是錯誤訊息顯示Cannot find ameba on mbed driver! Please re-plug Ameba.也上網查到解方,奇怪的是在最後下課前led竟然亮了,但不太穩定,跟後續操作一樣,因為雙接頭杜邦線有問題。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

參考資料:

How to fix error:cannot find ameba on mbed driver! please re-plug ameba.

期末專案進度

在學習arduino的基本使用後重新檢視期末專案,決定開始蒐集資料,我們這組主要為折衛生紙機和起床就手機號,目前階段為了解兩個方案需要的技術及資料蒐集,再從可行性、興趣去做決定,折衛生紙機的前身是自動折衣板,基本上是要有至少三個馬達驅動板子將輕薄平面物件折起來,實際案例如下:

摺衣板-使用三個步進馬達

使用八個伺服馬達

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

圖源自 自動折衣機 作者:許虔華。臺北市立松山高級工農職業學校。 楊凱樺。臺北市立松山高級工農職業學校。

步進馬達與伺服馬達比較

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

圖源自 自動折衣機 作者:許虔華。臺北市立松山高級工農職業學校。 楊凱樺。臺北市立松山高級工農職業學校。

結論

基本上由於我們所製作的專題規模較小,為方便使用及操作至少需要三到四個伺服馬達、製作手臂的材料、螺絲,如果選擇用塑膠材質的話:膠板(ABS板)、無縫接著膠(該膠水特性是並非直接在物體表面上塗上膠料連接,而是能夠直接將塗抹面的塑膠融化並快速凝固),如果用木板的話則是需要木板並使用雷切及其他切割機。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

起床就手機號

結論

材料上需要原本就附有的HC-SR04 超音波測距,當人靠近時能夠遠離,除此之外還需要聲音感測模組,結構面由於要支撐手機會希望以木板製作,再來就是輪胎及馬達兩顆。