主要兩個目的
1) 實驗 LCD 4 bit 的控制方法
2) 實驗 frequency meter 的可用性
因為沒有專門的儀器, 要初步確認這個玩具的可用性, 用了一個土炮的方法, 就是借用上次實驗還沒有成功的產物, 接收喇叭發出的聲音, 然後輸入到 Frequency meter.
免費的試音源, 分別播放 1KHz 及 10KHz 的聲音訊號, MICROPHONE 對著 NOTEBOOK的小喇叭
TONE 1 kHz 44.1 16bit.wav
http://www.freesound.org/samplesViewSingle.php?id=28636
TONE 10 kHz 44.1 16bit.wav
http://www.freesound.org/samplesViewSingle.php?id=28637
得到的讀數相當接近 1000Hz 及 10KHz, 當用手接觸到 MICROPHONE 的外殼, 讀數就是1000Hz 及 10KHz, 準確.
LCD 4 bit 的控制方法, Open source, 完全可用
http://www.8051projects.net/downloads221.html
需要的工具和步驟
1) 先買到 AT89C2051
2) 整個 PROGRAMMER (http://hk.myblog.yahoo.com/xiao-laba/article?mid=2346)
3) 用 PROGRAMMER 將 HEX 寫入粒 IC
4) 搭棚實驗, 加入 MICROPHONE 及放大線路
5) 打開試音源, MICROPHONE 靠近喇叭, 看看顯示的讀數, 分別是 1000 和 10000..
之後剩下的工作就是修修改改.....
http://www.youtube.com/watch?v=dGfE8YuHIXc
文章標籤
全站熱搜

hello~我依加都用AT89C2051整緊個frequen cy meter 但個program個到唔知點改 請問可唔可share個program黎參考? [版主回覆04/18/2010 10:56:00]歡迎光臨. 每個人的應用目標不同, 外人吾會知道你想點改. 或者你詳細紀錄你遇到的問題, 寫出來, 然後請教其他人, 有可能可以幫你看看可行性. 原來的 PROGRAM 是 Open Source, 人家作者已經完全公開了原碼, 條 LINK 已經在文章內列明. 雖然註解是捷克文, 用 GOOGLE 翻譯成英文有幫助的, 例如頭三句註解, GOOGLE 翻譯的很正確 - ;Stazeno z www.HW.cz ; Autorem tohoto SW je Jiri Recek - j_recek@del.cz ; uprava proti nedokonalemu nulovani s indikaci OK2TEJ ; Downloaded from www.HW.cz ; Author of this software is Jiri Reček - j_recek@del.cz ; Change to an imperfect indication of zeroing OK2TEJ 你可以花點時間仔細看看, 研究研究, 相信會有很大的進步空間.
i tried my own and is not working , did you add pull up resistror to the port1 drivers. reply through my mail ugoo5000@yahoo.com [版主回覆12/12/2011 21:06:31]we are having difficulty to understand your question, anyway, what you see is what it does, everything is open source and credits to original design.
pls i have tried this project with different lcds and with 89c2051 but nothing is working, pls tell me the type of lcd you are using maybe mine is not compatible with the commands i send from the chip. [版主回覆12/13/2011 09:39:02]hi guy, the LCD was used PC1602V-P6 with original code, hope this information could help your project.