最近在学习AVR单片机,到处找实例玩。水平不够,只能先从简单的点LED灯玩起。让LED按照程序的设计,以不同节奏闪烁。并且加入光敏电阻做传感器,实现更丰富的控制功能。
可别小看这点灯哦,耍起花样来还真有一番风味。
先看看成品吧。


精简版


蜘蛛版:

修理工版:

未来战士版:
有没有动手折腾的冲动?来吧,咱先做个简单版。
电路很简单:

元件更简单:一个Tiny13的单片机,两个1K的电阻,一个光敏电阻,一个LED,一个电池,一个回形针。

制作过程如下,图片足以表达,我就不废话了:
配合三只手的小工具,做起来更顺手。








