ching好.我想學下自己DIY一啲簡單既野[7-10-2013 #1]
本帖最後由 hi7rr9dp3mp1 於 2013-10-7 17:35 編輯
係網上見到Arduino 既聲控門鎖
而做research之下發現好多種版本
想試下整最簡單
即係呢隻Secret Knock Detecting Lock
http://www.youtube.com/watch?v=zE5PGeh2K9k
佢都有晒steps同教學(schematic同code)
宜家開定post問下ching意見先
以免做多錯多
第一件事係我宜家打算淘寶淘相關既零件先
Electronics:
1 Arduino Duemilanove (Or compatible. Or really any microcontroller with at least 1 analog input and 3 digital outputs.)
1 5v Gear reduction motor. The higher torque the better. I recommend one with at least 15oz/in (11 N-cm) of torque at 5v to turn a basic lock.
1 Piezo speaker. (30mm) similar to this. You can use larger or smaller ones, smaller will be less sensitive.
1 SPST momentary pushbutton. (normally "off")
1 Red LED
1 Green LED
1 NPN Transistor P2N2222A like these or these (or similar).
1 Rectifier Diode (1N4001 or similar) this or this will do.
1 2.2k ohm resistor (1/4 watt)
1 10k ohm resistor (1/4 watt)
1 1M ohm resistor (1/4 watt)
2 560 ohm resistor (Or whatever will run your red and green LED's at 5v. How to tell.)
1 9 volt battery clip and 9v battery.
我真係覺得幾有興趣,等ching睇下佢比個list有冇野改同建議
如果冇既我10-10-2013就淘寶買(CHING有冇相熟既淘寶公司?)
,之後再更新(只係打算用breadboard同膠紙,因為唔方便用鋸同唔識焊) |
|
|