文件名称:bizhang
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-12-29
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 陈*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本设计是利用HC-SR04超声波传感器检测障碍物,并以CC2430单片机作为控制芯片来控制速度和转向,使电动小船快慢行驶。超声波传感器测距的功能。其中小船驱动由L298N驱动电路完成,HS—425BB舵机作为小船的马达,完成速度、转向和停止的作用,由单片机输出的PWM波控制,这是代码。-The design is based on HC-SR04 ultrasonic sensors detection of the obstacles, and use a CC2430 MCU as the controlling core for the speed and direction, It can controlling the electronic ship in a high and a low speed automatically. The sensors avoid the obstacle. In which, the ship is drived by the L298N circuit, the HS—425BB is the motor, its accomplish the function like speed,direction and stop, it controlled by the output PWM signal from the CC2430.This is the code
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bizhang.c