摘要
利用数字电路设计了一个自动饮料机,采用计数器实现饮料选择功能,采用3-8译码器实现饮料选择指示灯的状态变化,运用四路选择器实现加糖或不加糖的自动判断,并将结果输出至糖输出电路,实现自动加糖或不加糖的功能。该自动饮料机可供使用者根据喜好选择相应的饮料,并选择加糖与否,选择情况及饮料输出情况由指示灯状态显示,设计原理简单实用贴近生活。
An automatic drink machine is designed using the digital circuit.It realizes drink choice function by using counter,and drink choice indicator light state change by using 3to 8decoder.It automatically judges with sugar or without sugar by using four-way selector and enables the result output to sugar output circuit,which can realize the function of automatically with sugar or without sugar.The automatic drink machine enables the users choose their fond drink,and choose to add sugar or not.The choice situation and drink output displays on the state indicator light.The design principle is simple and practical,and close to life.
出处
《计算机与数字工程》
2016年第6期1190-1193,共4页
Computer & Digital Engineering