190 likes | 319 Views
Smart Security Camera. Ahmed Abdel-Fattah Jerry Chang (a.k.a. Fred) Derrick Culver Matt Zenthoefer. Functional Block Diagram. Camera: CMUcam2. Camera Features. Track user defined color blobs Colors must be bright and distinct Track motion using frame differencing
E N D
Smart Security Camera Ahmed Abdel-Fattah Jerry Chang (a.k.a. Fred) Derrick Culver Matt Zenthoefer
Camera Features • Track user defined color blobs • Colors must be bright and distinct • Track motion using frame differencing • Find the centroid of any tracking data • Black and white NTSC analog output
More Features • Communication protocol was designed to accommodate slow processors • Up to 176 x 255 Resolution • NTSC requires OV7620 camera module • Input power goes through a 5V regulator
Testing the Camera • Use PC to grab a frame from the camera • Focus the lens • Demo Mode • The camera tracks an object using two servos to adjust the pan and tilt of the the camera
RS-232 Protocol • Interface to CPU through UART(16550) • Provide buffering (through FIFOs) • Interrupt outputs (no need of polling) • Read and write bytes • Handles stop, start, and parity bits
Parts Needed • MAX232 chip (puts out RS232 voltages) • UART chip • Clock (1.8432 MHz)
Power Supply • A power supply will be constructed in order to convert an input of 120VAC to outputs of 9VDC and 5VDC • 6:1 Transformer will be used to convert 120VAC to 20VAC • Full-Wave Rectifier Bridge will then be used to rectify the AC voltage • LM7809 Regulator • 9VDC • LM7805 Regulator • 5VDC
Reset Button • First component completed • Reset Button • The reset button was tested to check it functionality using a logic analyzer • Made sure RES went low-true
Microprocessor Testing • Test processor’s read ability • After the reset button is pushed • Processor reads in first eight bytes from reset vector • Using a logic analyzer we will read the address on the address line and “FFFF” on the data line • Future Testing • Use DIP switch for processor to read logic values • Use LEDs to display data that the processor writes
VHF Transmitter and RF Amp • Will be fed using the CMUcam2’s NTSC analog output • The analog NTSC signal will be AM modulated at the VHF picture carrier frequency of 175.25MHz • Design of the TV transmitter will use a transistor and tank circuit • The modulated output will go to a wideband op-amp • At least a 6MHz bandwidth to insure total transmission of NTSC signal
Antenna • Yagi-Uda Antenna • = 1.71m • Has reflector and director elements to increase gain and directivity • A transmission range of 5-10 meters is feasible
Impedance Matching • VHF transmitter output impedance will be matched to the input impedance of the antenna • Several matching options: • Quarter wave transformer • Stub matching • Component matching • Most likely will use component matching because carrier frequency is low enough