11.07.2015 Views

Builders guide robot pacman.pdf

Builders guide robot pacman.pdf

Builders guide robot pacman.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 40. Pin assignments for the GhostBecause the obstacle sensor, stepper motors, and Pac-Man contact sensor areidentical to that of Pac-Man’s, they require no repeat explanation here. We willdiscuss the only thing unique to the Ghost in this section, the beacon sensor.6.2.1 Beacon SensorThe PIC receives four different beacon readings from the Pac-Man beaconbroadcast signal, one for each of its four directions. It uses these readingsto estimate the position of Pac-Man. The interface for these sensors to thePIC is modelled below.Front BeaconSensorLeft BeaconSensorPIC16F877MicrocontrollerBack BeaconSensorRight BeaconSensorFigure 41. Model of interface between PIC and beacon sensors31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!