资 源 简 介
这是参加电子设计大赛时的作品:红外遥控小车:用红外线通过一块AT89S52单片机发射信号即编码,并用红外接收头接收信号;接着再用另一块AT89S52单片机对红外发射出的信号编码进行解码,最后再用一块AT89S52单片机用解码所得码值编写程序后驱动步进电机。步进机功能启动后不仅能使受控小车向前后左右四个方向前进和转弯,而且还能控制小车再地上转动并留下方形或圆形等形状。-This is the time to participate in Electronic Design Contest works: infrared remote control car: Using infrared transmission signal through an AT89S52 microcontroller that is encoded and used infrared receiver to receive the first signal and then using the other an infrared emitting MCU AT89S52 code and decode the signal and finally an AT89S52 microcontroller then proceeds with the decoding key value of the preparation of procedures to drive a stepper motor. Stepper machine function activated not only make the car forward in a controlled direction and after about four turns, but also to control the car and then turned and left the ground such as square or round shapes.