功能简介:
1.采用4X4矩阵键盘实现号码输入,并在LCD液晶上显示
2.按下enter键,显示calling…,并且蜂鸣器模拟电话拨号发声
3.按下*键,退格,按下#键,清楚电话号码
4.拨号过程中,长按#取消拨号文章来源:https://www.toymoban.com/news/detail-623380.html
仿真电路图:
文章来源地址https://www.toymoban.com/news/detail-623380.html
部分源程序:
#include <reg51.h>
#define uchar unsigned char
#define uint unsigned int
uchar keycode, DDram_value = 0xc0;
sbit rs = P2 ^ 0;
sbit rw = P2 ^ 1;
sbit e = P2 ^ 2;
sbit speaker = P2 ^ 3;
uchar speakerCnt = 0;
uchar code table[] = {
0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x20};
uchar code table_designer[] = "Calling........";
void lcd_delay();
void delay(uint n);
void lcd_init(void);
void lcd_busy(void);
void lcd_wr_con(uchar c)
到了这里,关于基于51单片机手机电话拨号盘模拟proteus仿真的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!