



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Senior Project Hardware Description Professor Morton
Tyler Snow 4/27/
General Description The Watchful Eye is a security camera system to be used in low to medium traffic areas, where it monitors motion, and directs the camera to where the motion is sensed. The system will also be connected to a computer through the serial port, where the user can control the camera from the computer terminal. There are 10 major parts of the system. These parts are the motion sensors, the motor, the motor driving circuitry, the position detector switches, the serial port interfacing, the reset circuitry, the crystal, the debug circuitry, the power supply, and the most important component, the MCU. These parts will all be covered in this hardware description. Hardware Description MCU: M68HC912B32 (U1) The M68912B32 will be used for processing information from the connected peripherals. 5VDC power is connected to pins 10, 31, 47, 59, and 78. Capacitors C4, C1, C2, C3, C6, and C16 will be used for noise filtering between the 5V signal and ground. PortS will be used for serial port communication. PortP will be used to control the motor. PortT will be used for motion sensor inputs as well as inputs from the position detector switches. All other ports will remain disconnected. Motion Sensors: AMN14111 (IR1, IR2, IR3, IR4) The motion sensors used on this system are AMN14111 NaPiOn motion sensors from Matsushita. These motion sensors use infrared detection to detect movement within 10 meters. These sensors have three connection leads. Power is supplied from the regulated voltage supply to pin 1, with two filtering capacitors of values .1uf and 47uf connected between pin 1 and ground. The ground is connected to the digital ground
Position Detector Switches: ESE23 (S1 and S2) Position detector switches are mounted on the motor in order for correct calibration, and to make sure that the motor doesn’t rotate too far which would twist the wiring. The terminals 1 and 2 are connected to ground, which are connected only when the switch is on the “on” position. This creates an active low signal on pins 4 and 3 when the switch is on. Pins 4 and 3 are connected to PortT1 and PortT0, with external pull up resistors to pull the pins high when the switch is in the “off” position. Serial Port Interfacing: MAX231 (U4) Serial interfacing is done with a RS-232 chip, the MAX231. This chip is a 14 pin DIP package. Information is sent from PortS1, and received through PortS0. The outputs of the chip are then connected to the serial connector (J2) for connection to the computer. 5 VDC is connected to pins 13 and 14, with a filtering capacitor on pin 13. And pin 3 is connected to ground though a polarized capacitor. There are two inputs and outputs from the MAX231, but only 1 is used for serial communication with this MCU. Reset Circuitry: MC34164P-5 (U2) A low voltage reset chip is used in order to allow the MCU to turn off if a voltage lower than 4.63 volts is detected. If a low voltage is detected, the chip sends an active low signal to the reset pin of the MCU to turn it off. Crystal Oscillator: (X1) The crystal circuit is the standard connection used for the HC12. The crystal (X1) is connected in parallel with R1 between pins 33 and 34. These pins are EXTAL and XTAL respectfully. The crystal is also connected to capacitors C7 and C8 for noise filtering.
Debug Circuitry: BDM Connector (J1) In order to accommodate system maintenance, a Background Debug Mode (BDM) connector is included. This is a 12 pin connector to accommodate the BDM pod with signals such as BDM, RESET, VCC, GND, MODA, MODB, and ECLK. This connector can be used to allow system upgrades. Power Supply: (J3) The power supply used is a 120VAC to 5VDC power supply capable of outputting 2.4 amps. This supply has an internal regulator which regulates the supply within +-5%. The output is then connected directly to the inputs of all the peripherals.