Friday, July 12, 2013

8051 Based code Lock

Electronics Engineering Projects, Microcontroller based projects, final year diploma BE project

    Feel free for to contact us for any queries or project request. 
contact email id:-bhaumik5star@gmail.com
You can also call us on :- +91 -800-026-6663/+91-849-097-2616.
Office working hours 12pm to 5pm. 
Sunday closed.
Address:-21Akshar Purshootam nagar socity Odhav Ring Road Odahv Ahemdabad,Gujarat,India
 
8051 Based code Lock

8051 Based code Lock

More and more devices are coming every day to protect your house and property from thiefs .Present project is also one of them. The project presented here is based on world’s most powerful intel’s mcs-51 family of microcontroller atmel at89c51.

  Block Diagram
8051 Based code Lock With dial up Block Diagram


When ever somebody tries to open your latch by entering wrong numbers.
After three wrong retries. The project takes the following action
1) Sounds an siron to attract your or public attention .
2) It will call a telephone number you wanted the device should call you in such case.
3) I will make 5 attempts to call you at the interval of one second and deliver the emergency message stored in speech ic.
4) During this operation the key board will get lock and will not except any key press.
5) Key lock will be indicated by an led LD4 connected on top of kaypad, will glow permanently till the time keypad is lock.
6) Key pad will get unlock only after 5 retries of the phone.
The project comprises of the following blocks:
• Microcontroller
• Password store key
• Telephone store key
• Indication leds
• 4×3 matrix key pad
• serial eprom to store the password and telephone number.
• Speech circuit
• Amplifier circuit
• Off-hook circuit
• Dialer circuit
• Latch relay
• Power supply
key1 to store the password
key2 to store the telephone number
LD4 Code acceptance led
LD3 Telephone number stored confirmation key
LD2 Password stored confirmation key.
C4 and r2 gives desired reset pulse on microcontroller pin 9.
Crystal oscillator x1 along with capacitor c5 & c6 gives required clock to microcontroller.
7) Ic 4 is a one time programmable(otp) chip where messages are stored. This is 20 seconds speech ic where total of eight messages can be recorded on eight different locations but total duration should not be more than 20 seconds recorded messages can be played back by setting the trigger pin 10,11 high, making these pin low will stop the message, repeatedly Setting these pin high will repeatedly replay the same message.
Ic5 is an audio amplifire . Audio output from speech ic pin no 7 cout is coupled to this ic on pin no 3 through vr2 volume control and c10. Amplified output from pin no 5 drives the speaker through capacitor c14. R10 and c13 corrects the tone. R8 and c9 provides decoupling and tone correction . This audio output at capacitor is also given to telephone matching and isolation transformer T1 ,to send the sound over telephone lines.
Ic4 works on 3.7v so r11 is drops the excessive voltage before it is given to the pin number 9 and 12 of this ic. D7 is 3.7 v zener diode for the protection circuit c7 is a filter capacitor.
C8 is a feed back capacitor r9 along with vr1 performs the sampling rate adjustment.
Vr2 is a volume control c11 and c12 are filter capacitors. Diode d9 and d10 connected to the secondary of the matching transformer t1 are to maintain the empedence balance.
Ic3 is a serial eprom ic where password and telephone numbers are stored.this ic retain the password even during the absence of power supply. Capacitor c16 and c17 are filter capacitors.
K1 relay is a telephone number dialer relay operated by transister Q1.
K2 is a off hook relay operated by transister Q2.
K3 is a latch relay operated by transister Q3.
Speaker is connected to con1 connector,telephone line is connected to con2 connector ,latch relay is connected to con3 connector.
Circuit is driven by 9 v 1 amp transformer connected to pcon1
Diode d1-d4 forms bridge circuit ci ,c2 & c3 are filter capacitors
Ic 1 is 5v regulator ic to give stablised supply to microcontrollerLD1 is a power indication led. r1 is current limiting resistor.
Resistances connected to indication leds are current limiting resistors.



Intelligent Combat Robot Ver-02



Intelligent Combat Robot

We cannot forget 9/11 when 101 people including nine foreigners and 14 policemen have lost their lives while about 300 people were injured in the worst terror attack seen in the country in which desperate men fired indiscriminately at people.Being an ex– defense person , my blood was boiling as our brave soldiers were fighting the militants to free all the hostages from mumbai hotels.


Intelligent Combat Robot Block Diagram Intelligent Combat Robot Block Diagram

It struck an adea in my mind, why cant we make a robot to tackle such type of situation.
This combat robo is an improved version of my previous robot which I designed years ago named SPY ROBO.
Out new Combat robo is radio operated , it has got two barrel turret through bullet can be fired, radio camera in synchronization with the turret can rotate up and down ,left and right upto a safe firing limit.turret and camera mechanisim has been installed on my previous spy robo vehicle,which has all the function like tank, turing to any angle on its axix, moving forward and reverse turning left and right,running instanty into reverse direction.
This robo is radio operated , self powered , and has all the controls like a normal car. A pair of laser gun has been installed on it, so that it can fire on enemy remotely when required, this is not possible until a wireless camera is installed.
Wireless camera will send real time video and audio signals which could be seen on a remote monitor and action can be taken accordingly. It can silently enter into enemy area and send us all the information through its’ tiny camera eyes. It is designed for, fighting as well as suicide attack.
Heart of our robo is intel’most power family of microcontroller 8051,we are using at89c2051 Two microcontrollers ic2 is first microcontroller which acts as master controller ,decodes all the commands received from the transmitter and give commands to slave microcontroller1 ic3,and slave2 ic5.
Slave microcontrollers are responsible for executing all the commands received from the master and also generating pwm pulses for the speed control . Ic4 is ld293 motor driver ic which drives two nos motors m1 and m2.these two motors are vehicle driver motors.
Slave2 microcontroller controls the gun and camera movements in up/down ,left or right direction. Ic6 is driver ic which drives gun and camera motors in two angles.
Circuit operation receiver:
RF433-RX is 433mhz radio receiver which receives the transmitted codes from the remote place transmitted by the transmitter these codes are converted to digital format and out put is available to the pin no 2 of the ic2 master micro-controller, this is the rx pin of inbuilt UART of the micro-controller. We are using uart to receive our codes at 1200 boud rate.. Based on the input codes master will give command to slave microcontroll ic3 and robo will behave as follows.
a. moves in forward direction
b. moves in reverse direction,
c. speed controls in both the direction
d. it can even turn left or right while moving forward or in reverse direction.
e. Instent reverse or forward running without stopping
f. In case of bump,moves reverse turn left or right and wail for the next instruction .
g. On the spot left or right turn to pass through the nerrow space
h. We have also added head light, back light.and turing lights to left a right . These lights automatically comes on while robo is in Movement.
i. Pin no 7,8,9.11,12,and 13 of the master micro-controller are connected to the slave micro-controller ic3 to give the following command pulses to the slave micro-controller ic3 pin 2,3,6,7,8 and 9,
1.Start/stop
2. Increase speed
3. Increase speed
4. Direction change
5. Turn left
6. Turn right
Slave microcontroller ic3 pins 15,16,17,18,19 are connected to ic4 motor driver ic, pin17 of the slave gives the pulse width modulation pulse which is connected to pin 1 and 9 of ic4 this is EN pin of ic 4 Pin 18 and 19 controlls one motor m1 and pin 15 and 16 of the slave controller controls the m2 motor.
to be contd…. (in the document)

No comments:

Post a Comment