How do i make an ultra sonic border detector (ARDUINO, ZUMO)

Thread Starter

olliemax1

Joined Apr 26, 2016
2
I need to make a Zumo that roams a track ( the track is tape on a table, black tape ) and uses an ultra sonic component to detect where to go and stay with in the bounds.

It would be best if i could only use 1 sensor.

Can any one offer any help/resources such as code, example systems, etc?
 

Alec_t

Joined Sep 17, 2013
12,319
Welcome to AAC!
If the Zumo is constrained to follow the tape, won't that keep it within bounds? I'm puzzled as to why you'd want an ultrasonic sensor in addition.
 

GopherT

Joined Nov 23, 2012
8,012
I need to make a Zumo that roams a track ( the track is tape on a table, black tape ) and uses an ultra sonic component to detect where to go and stay with in the bounds.

It would be best if i could only use 1 sensor.

Can any one offer any help/resources such as code, example systems, etc?

The ultrasonic sensor is used to identify the competitor or an obstacle. It is not used to follow black/white line on a board.
Use the reflectance sensors for that. Infrared light (IR) is absorbed by black and reflected by white so you can easily tell whether or not you are on/off the line as you monitor the sensors.

https://www.pololu.com/product/1419
It should be included in your kit.
 
Top