摘要
本次设计通过STM32单片机输出五路PWM波分别控制5个舵机形成的3组舵机组。通过每个舵机的不同转速与转角可以完成皮影的动作。同时,采用AD采样监控电压,然后换算成所需的坐标点,显示在彩屏上方便记录。皮影的左右移动通过步进电机所控制的导轨实现,构成"猪八戒打妖怪"的皮影戏。
In this design, STM32 single-chip output 5 PWM waves which control 5 servos which form 3 pairs of servos separately. Meanwhile, potential difference is monitored by AD, and then is counted as coordinates showed on color screen. Left and right shift of shadow play puppet can be done by stepping motor. the robot finally played the shadow play, "the pig fights with a monster".
出处
《信息技术与信息化》
2015年第9期179-180,共2页
Information Technology and Informatization
关键词
单片机
皮影戏
步进电机
single-chip shadow play stepping motor