pondělí 5. září 2016

Batman Detector


Batman Detector

The article is in the state of a working log for now. There are still TODOs and is incomplete.

The aim of the project is to provide a sensor that indicates an obstacle ahead and plays a sound in that case, indicating the proximity of the obstacle.

First, the wiring of the system, using LED D3 instead of speaker. The schema includes the reset function of the SR04 ultrasound sensor.


Without the Q1 transistor, the problem is that some of the ultrasound detectors do not have timeout.
When the sonic signal does not return to it's receiver, the sensor gets stuck and do not send another
echo until the sensor is reset. This has to be detected by the software and handled, via PD6 pin.

Here goes the code and the schematic and board:
https://github.com/pbures/BatmanDetector

TODOS:

  • Create the board and do all the soldering.
  • Put all stuff into a box.