...
首页> 外文期刊>Silicon Chip >PICAXE-based music box or doorbell
【24h】

PICAXE-based music box or doorbell

机译:基于PICAXE的音乐盒或门铃

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

This project started out as a music box for a child but using a different program, it could also be used as a battery-powered doorbell. When pushbutton switch S1 is pressed, power is applied to the circuit via diode D2. The PICAXE program then starts and the first instruction is to send pin 3 high which turns on transistors Q2 & Q1, latching the supply on. LED1 then indicates that power is on and that switch S1 has been pressed. Pin 4 is pulled high via diode D1 to let the program know that the switch is on.
机译:这个项目最初是作为一个儿童音乐盒使用的,但是使用了不同的程序,它也可以用作电池供电的门铃。当按下按钮开关S1时,通过二极管D2向电路供电。然后,PICAXE程序启动,第一条指令是将引脚3发送为高电平,从而导通晶体管Q2和Q1,从而锁存电源。然后,LED1指示电源已打开,并且已按下开关S1。引脚4通过二极管D1拉高,以使程序知道开关已接通。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号