Is easy build parking alarm system, just using ATmega8, sensor ping and Piezzo.
The circuit PING SENSOR:
* +V connection of the PING))) attached to +5V
* GND connection of the PING))) attached to ground
* SIG connection of the PING))) attached to Pin 13 Atmega8
The circuit Piezo:
* attached to pin 15 atmega8
* attached to ground
This parking alarm will be generating alarm sound if the car closed to any object less than 25 cm.
Here the firmware you can copy and save it in notepad save as parkingalarm.hex then upload to your atmega8.
:100000000C9472000C949A000C949A000C949A0030
:100010000C949A000C949A000C949A000C949007FB
:100020...