摘要
利用逻辑电平的输入输出非"0"即"1"的特点,采用51单片机,将其I/O口与逻辑芯片全部引脚相连,根据逻辑芯片的功能及真值表,使与逻辑芯片输入端相连的I/O口,输出相应的逻辑电平,然后通过与逻辑芯片输出相连的I/O口,获取其相应的输出电平,再与真值表相比对,得出此逻辑芯片的功能好坏。选用增强型的51单片机,具有推挽的功能,能使其I/O口在输出"1"或"0"时,可以流出或流入更大的电流,因此可直接用推挽模式的I/O口,给逻辑芯片提供电源,简化了电路设计的难度。显示部分,选用分辨率较高的中文液晶12864,能使操作使用更加直观明了,同时因其是点阵式液晶,可加入显示芯片管脚图的功能,进一步方便了使用者。
By using the input/output logic level of "0" or "1" , I/O outputs and logic chip pins of the 51 single-chip microcomputer are linked together. According to its function and the logic truth table, logic chip input is connected to the I/O port, the corresponding logic level is outputted, and then connecting the I/O port with the output logic chip, the corresponding output level is obtained. Comparing with the truth table, it can be concluded that the function of the logic chip is good or bad. The enhanced 51 MCU has the function of push pull model, hence, it can provide power for logic chip, and thus simplifies the complexity of the circuit design. For the display section, we choose the high resolution of LCD 12864, which can make the operation more intuitive and clear. Because of the dot-matrix LCD, the function of the chip pin diagram can be added, it will be further convenient for the user.
出处
《实验室研究与探索》
CAS
北大核心
2017年第10期100-103,共4页
Research and Exploration In Laboratory
基金
福建省教育厅中青年教师教育科研项目(JAT160674)