Monday 6 June 2011

Line-tracking: length measurement and sound making

After successful implementation steering and light sensor processing part we started other two parts of this assignment. We tested length measurement and created programme for making sound.

We used information on rotation encoder in order to measure length. We measured length of actual tape and received number of revolutions of encoder. Then using these data we made calibration f sensors and added necessary calculations to the software. Measured length will be displayed on LCD of brick. As a result we achieved measurement with relative error of about 3%.

Also we added sound signal. Now when rover detects the start of the tape it will beep.

No comments:

Post a Comment