智能小车 方向

来源:百度知道 编辑:UC知道 时间:2024/06/25 11:52:58
想做个智能小车,用蜡烛做火源,怎么样检测到火源并让小车朝火源方向走?
要用到哪些传感器?
传感器要怎么安装?

1、只用三到五只光敏电阻就可以达到目的,只是因其对光非常敏感,所以必需为每只光敏电阻加上黑色隔离板。虽然制作有一定难度,但其能见长度和相对简明的控制措施显示了很大的优越性。
2、采用一只红外传感器置于小车右侧并与小车前进方向呈一固定角度。
用一只红外传感器就实现了避障,而且避免因小车自然转弯而导致的盲目方向控制,同时为后面以最简单直接的路线和在最短时间内驶入车库创造了机会
Base on the microcontroller 89c52, the mini-car can race intellectually by detecting the black guide-line, then dodge the barriers and finally reach the destination. The system adopts photo electronic sensors to control the direction, search barriers and the light source precisely. By introducing the PWM and the HALL speed sensor, the car can measure the distance accurately while running at different speed. Guided by a unique software algorithm, the car dodges barriers and reaches the garage easily.

我用的是光敏电阻。加上LM339比较。最后根据两个传给单片机的输出端的电平判断。