• COSPLAY 3D 建模
  • 3D列印服務
  • #maker+t=market
  • 1
  • 2
  • 3

FarmBot Taiwan User Group-FBTUG 造訪社團 » 測試

原文網址 Joe Hou
2017-03-04 21:51:17

為了讓Vacuum Pump 可以測試取物功能, 重新畫一下可更換的pump device, 待測試~
https://www.tinkercad.com/th…/0HcGrbau0al-vacuum-pump/editv2

Joe Hou
2017-03-05 07:28:17

實驗証實:
1. 自己的螺紋設計失敗..太脆弱了, 想有什麼方式可hold住氣球?
2. 好消息是影片所示範的是真的可以取物.
a. 因為家裡沒有咖啡渣, 所以改用白米(實驗結束後不要浪費)
b. 找一顆正圓氣球.
c. 8mm 左右的水管 (魚缸用的就可)
d. 接上 12v 的power supply

Joe Hou
2017-03-05 15:12:27

Wuulong Hsu 哈爸的建議下, 改了第二版, 用原本鎖磁鐵的3個螺絲固定.

第一, 二版都放置在google drive內 :
https://drive.google.com/....../0Byy7w7GRwp9ALW9HMDlZelVmMmc

楊人豪
2017-03-05 16:55:09

這裡有一篇對universial gripper 相關的研究
https://www.eng.yale.edu/brown/ABRJL12.pdf

Joe Hou
2017-03-05 18:00:04

像是矽膠材質

Wuulong Hsu
2017-03-06 11:41:39

研究真是專業。棒!

楊人豪
2017-03-10 23:09:46

以前剛好有讀到XD


原文網址 Wuulong Hsu
2017-02-25 09:41:49

Serial interface test - update

在 FarmBot 中, RPI 跟 Arduion 中間是用 serial 的介面,用定好的 commands 來溝通。相當有效的將 Arduino/RPI 系統分離

所以 Arduino 這邊對這些命令的實作,就需要持續的保證實作跟定好的命令完全相同。以免其他元件來呼叫時,行為不符合預期,還搞不清楚哪一邊有問題

從驗證的角度,這個界面需要持續的驗證,保證符合預期。目前的 FarmBot 似乎沒有實作這樣的驗證程序,看來都是手動個別命令驗證

測試一下 python serial 的使用,順便寫個這樣的驗證程式。方法很簡單,將所有的命令定義在檔案中,每個命令都送到 serial 看看,取得結果。這樣每執行一次,都可以檢查是否所有命令有一定程度的功能

簡單的開頭,後面還有一點要修,一步一步來。

test_serial.py: https://github.com/…/m…/firmware/verification/test_serial.py

test commands: https://github.com/…/…/verification/serial_commands_list.txt

current results: https://github.com/…/verification/serial_commands_result.txt

哈爸


原文網址 Wuulong Hsu
2017-02-21 09:03:11

FarmBot 子專案-Camera Commander prototype V0.04

想著想著怎麼做,順手做個 prototype 來確認一下是否可行

Features:
# 1. Support CLI
# 2. start/stop socket command interface
# 3. support socket input command and response
# 4. CLI and socket command can be support at the same time.

python camera_commander_prototype.py
----- FarmBot Camera Commander V0.0.4 -----
FCC>help

Documented commands (type help <topic>):
========================================
help net_open quit r83 stop

FCC>r83
V0.0.4
FCC>net_open
FCC>starting up on localhost port 10000
waiting for a connection...
connection from 127.0.0.1,58884
received:R83

demo code: echo data back to client
V0.0.4
stop
quitFCC>quit

-- 使用 netcat 來測試
echo "R83" | nc localhost 10000
V0.0.4

子專案共筆: https://hadad.hackpad.com/FarmBot-Camera-Commander-BwHqQCkX…
code: https://github.com/…/verifica…/camera_commander_prototype.py

哈爸

翻譯年糕


原文網址 Joe Hou
2017-02-13 11:38:29

更新一下小弟的自組過程遇到的問題, 及感謝“哈爸"的協助.
1. Farmbot: farmbot-rpi3-3.0.2.img
這個版本是沒問題的, ver 3.0.3測試結果尚無法使用.
2. Arduino: 之前的版本有遇到 compiler issue, 新版的FW 已經解掉, 其實是variable name 寫錯.
3. Rpi3 的電源不穩會造成 Farmbot Wifi lost, 我用了手機充電去當電源, 2.4A 的會不穩, 但1A 的反而正常, 換了兩顆都一樣.
4. 最後所有的路都打通後, 發現用 https://my.farmbot.io/app/controls 去控制 Arduino 版上的馬達, 但一直無法轉動, 經尋問 http://forum.farmbot.org , 才知道原來
RAMPS 的endstop jumpers要插上才可以動.

以上供大家參考, 其實”哈爸" 的文件寫得很清楚了!!

Sam Yang
2017-02-13 11:56:25

有高手耶

Wuulong Hsu
2017-02-13 12:40:01

厲害,好像有殼!另外 item 2, 是我們反映的

Joe Hou
2017-02-15 19:03:48

圖上有兩條線轉成5V 接到 Rpi3, 但要多買12V 轉 5V .
可是瑞凡!arduino RAMPS 不是有5V 可以用…? 還是電流量不夠?
明天試試!