
Hello Friends...
This is a very interesting project infact its a game for you. Lets see what it is??
What it is???
This is a very interesting project. You all must have played the game “Duck Hunt” in video game . Here is a circuit that let you play the same shooting game but now the display device is not your television while it is a C.R.O. that is Cathode Ray Oscilloscope.
How to Do it Yourself ???
Yes it is another simple application using our very well known friend "AVR Micro Controllers". We used a ATmega32 with a clock of 16 MHz to generate some signals (Of course digital). These signals converted into corresponding DC voltage using an Digital to Analog converter. Although the DAC modules in the form of IC DAC0808 is available in market but we preffered to make our own DAC using Operational Amplifiers. Here is the circuit diagram of DAC it is popularly known as R-2R ladder type Digital to analog converter.
To couple the analog output from DAC to the CRO input we used MIC 50 ohm cable, and ofcourse CRO needs BNC connectors for input. The most important thing is we are using CRO display in X-Y mode of operation. Each of two DAC generates analog signals corresponding to X and Y input respectively.
Source Code
Download Complete Source Code Compiled using WinAVR here. This source code includes functions to generate object by raster scanning on CRO screen. If you can use this code Do it...but if proved to be a good helper to you do reply me first. Thanks !!!
How it Works ???
Now the most important part, How to make a gun for Shooting and how the system actually works. The behind is very simple, Our gun has a sensor for green light at its tip. Sensor senses the green light and send the feedback to microcontroller. When i press the trigger of gun infront of any moving object on CRO screen, sensor sends a feed back to the microcontroller and microcontroller sounds the buzzer. This is how we detected the duck on the screen. Comparator is used to generate a tuned feed back to the microcontroller.
Contact- devesh@electroons.com
No comments:
Post a Comment