Search This Blog

Powered by Blogger.

Translate

5 Microcontroller Based Projects You Must Not Miss!

Looking for a microcontroller based project? From our collection of microcontroller based projects, we bring to you 5 super cool projects. Have fun!








A tachometer is nothing but a simple electronic digital transducer. Normally, it is used for measuring the speed of a rotating shaft. The number of revolutions per minute (rpm) is valuable information for understanding any rotational system. For example, there is an optimum speed for drilling a particular-size hole in a particular metal piece; there is an ideal sanding disk speed that depends on the material being finished. You may also want to measure the speed of fans you use.

Here is an easy-to-construct temperature indicator-cum-controller that can be interfaced with a heater coil to maintain the ambient room temperature. The controller is based on Atmega8535 microcontroller, which makes it dynamic and faster, and uses an LCD module to display and two keys to increase or decrease the set values.

Digital wall clocks, table clocks and desk clocks with pointer or LCD display are readily available in the market. Here we present a clock that can be built in a small budget using AT89C2051 microcontroller. Additional feature of the clock is that the time display is visible even in the dark.

Microcontroller-based embedded systems play major role in industrial automation. One such widely used system is the programmable timer.

The circuit that uses microcontroller AT89C51 can control four devices from a distance of upto 30 metres wirelessly. An LCD module is used to show the device number and preset control time at the transmitter module.

Source: http://electronicsforu.com/

[TC] Water Level Indicator with Alarm using 8051 Micro controller (AT89C51)

This article illustrates the construction and working of a liquid/water level indicator. Such an indicator is used in tanks to indicate the level of liquids and alert us when the tank is full. So by this circuit we can monitor the various levels of the tank and can avoid spillage of water and also we can configure our supplies according to the various levels of tank. Such module or circuit can be installed in big buildings where manual monitor of tanks is difficult and its indicator can be placed at some centralized place.





This water level indicator circuit works on the principle that water conducts electricity. A wire connected to VCC and four other wires are dipped in tank at different levels namely quarter, half, three-fourth, full and their output are taken on pins P3.0, P3.1, P3.2, P3.3 via a transistor BC547. Port P2 is connected to data pins of LCD and P1.0, P1.1, P1.2 are respectively connected to RS, RW, and EN pins of LCD.

Initially when the tank is empty LCD will show the message VACANT. As the tank starts filling up wire at different levels get some positive voltage, due to conducting nature of water. This voltage is then fed to their corresponding pins on controller. When level reaches to quarter level, LCD displays the messageQUARTER. On further rise of level, HALF and 3/4 QUARTER are displayed on LCD. When tank gets full LCD shows the message FULL CLOSE TAP. A buzzer is also provided to produce a alert the user when the tank gets filled. This buzzer can be made off by pressing the switch connected between pin 15 of controller and VCC.
Circuit Diagram :



CODE
// Program to make a Liquid level indicator using LCD
#include<reg51.h>
sbit rs=P1^0; //register select pin
sbit rw=P1^1; //read/write pin
sbit e=P1^2; //enable pin
sbit quat=P3^0; //pin connected to quater level of tank
sbit half=P3^1; //pin connected to half level of tank
sbit quat_3=P3^2; //pin connected to three -fourth level of tank
sbit full=P3^3; //pin connected to full level of tank
sbit spkr_on=P3^4;  
sbit spkr_off=P3^5; // pin to off speaker

void delay(int k) //delay function
{
int i,j;
for(i=0;i<k;i++)
  for(j=0;j<1275;j++);
}

void write(int j) //write function
{
rs=1;  //selecting command register
rw=0;  //selecting to write
P2=j;  //putting value on the pins
e=1;  //strobe the enable pin
delay(1);
e=0;
return;
}

void cmd(int j)  //command function
{
P2=j;  //put the value on pins
rs=0;  //selecting command register
rw=0;  //selecting to write
e=1;  //strobe enable pin
delay(1);
e=0;
return;
}

void puts(char *a) //puts function to print a string
{
unsigned int p=0;
for(;a[p]!=0;p++)
write(a[p]);
}

void lcd_init(void) // function to initialise the LCD
{
cmd(0x38); //setting 8-bit interface, 2 lines, 5*7 Pixels
delay(1);
cmd(0x0e); //turning on underline visible cursor
delay(1);     
cmd(0x01); //clearing screen
cmd(0x80); //moving cursor to the begining of line 1 of LCD
}

void main()
{
quat=half=quat_3=full=spkr_off=1; //configuring as input pins
quat=half=quat_3=full=spkr_off=0; //lowering input pins
spkr_on=1;    // making speaker on pin high,as it works on negative logic
while(1)
{
  while(quat==0&&half==0&&quat_3==0&&full==0&&spkr_off==0)   //condition when tank is empty
  {
   lcd_init();        // initialising LCD
   puts("VACANT");       //printing VACANT on lcd
  }
  while(quat==1&&half==0&&quat_3==0&&full==0&&spkr_off==0)	//condition when tank is quater
  {
   lcd_init();
   puts("QUATER");      //printing QUATER on lcd
  }
  while(quat==1&&half==1&&quat_3==0&&full==0&&spkr_off==0)	//condition when tank is half
  {
   lcd_init();     
   puts("HALF");      //printing HALF on lcd
  }
  while(quat==1&&half==1&&quat_3==1&&full==0&&spkr_off==0)	//condition when tank is three-fourth
  {
   lcd_init();
   puts("3/4 FULL");     //printing 3/4 FULL on lcd
  }
  while(quat==1&&half==1&&quat_3==1&&full==1&&spkr_off==0)	//condition when tank is full
  {
   lcd_init();
   puts("FULL;CLOSE TAP");     //printing FULL;CLOSE TAP on lcd
   spkr_on=0;// Enabling speaker
  }
  while(quat==1&&half==1&&quat_3==1&&full==1&&spkr_on==0&&spkr_off==1)//enabling high speaker_off pin
  {
   spkr_on=1;//disabling speaker
  }
}
}


[TC] Simple Rain Alarm

GIVES BEEP WHEN WATER IS IN CONTACT WITH THE WIRE

Rain Alarm Project view

Water is a conductor of electricity. When water is in contact with the probe then there is a flow of current which reaches to the base of Q1. Transistor Q1 is a NPN transistor which conducts. With the conduction of Q1 electron reaches to Q2 which is a PNP transistor .Q2 also conducts and current flows through the speaker. In a speaker there is inductive coil which causes motion in one direction and also produce induce current which is in opposite direction to the flow of current this induce current in the form of pulse flows through a capacitor, resistance and switches off Q1 and relax .this process repeats again and again till probe is in contact with water or we can say there is a oscillation in the circuit thus speaker diaphragm vibrates and gives a tone. Frequency of the circuit depends on the value of Speaker Coil impedance, Capacitor and Resistance Value.

Circuit Diagram of Rain Alarm
Circuit Diagram of Rain Alarm

[TC] Automatic Street Light

Introduction:
Needs no manual operation for switching ON and OFF. When there is need of light it automatically switches ON. When darkness rises to a certain value then sensor circuit gets activated and switches ON and when there is other source of light i.e. day time, the street light gets OFF. The sensitiveness of the street light can also be adjusted. In our project we have used four L.E.D for indication of bulb but for high power switching one can connect Relay (electromagnetic switch) at the output of pin 3 of I.C 555. Then it will be possible to turn ON/OFF any electrical appliances connected all the way through relay.

                        Automatic Street Light
Principle :
This circuit uses a popular timer I.C 555. I.C 555 is connected as comparator with pin-6 connected with positive rail, the output goes high(1) when the trigger pin 2 is at lower then 1/3rd level of the supply voltage. Conversely the output goes low (0) when it is above 1/3rd level. So small change in the voltage of pin-2 is enough to change the level of output (pin-3) from 1 to 0 and 0 to 1. The output has only two states high and low and can not remain in any intermediate stage. It is powered by a 6V battery for portable use. The circuit is economic in power consumption. Pin 4, 6 and 8 is connected to the positive supply and pin 1 is grounded. To detect the present of an object we have used LDR and a source of light. LDR is a special type of resistance whose value depends on the brightness of the light which is falling on it. It has resistance of about 1 mega ohm when in total darkness, but a resistance of only about 5k ohms when brightness illuminated. It responds to a large part of light spectrum. We have made a potential divider circuit with LDR and 100K variable resistance connected in series. We know that voltage is directly proportional to conductance so more voltage we will get from this divider when LDR is getting light and low voltage in darkness. This divided voltage is given to pin 2 of IC 555. Variable resistance is so adjusted that it crosses potential of 1/3rd in brightness and fall below 1/3rd in darkness.
Sensitiveness can be adjusted by this variable resistance. As soon as LDR gets dark the voltage of pin 2 drops1/3rd of the supply voltage and pin 3 gets high and LED or buzzer which is connected to the output gets activated.

Automatic Street Light Circuit Diagram
                        Circuit Diagram of Automatic Street Light

Component used :
9v Battery with strip
Switch
L.D.R (Light Depending Resistance)
I.C NE555 with Base
L.E.D (Light Emitting Diode) 3 to 6 pieces.
Variable Resistance of 47 Kilo ohms
P.C.B (Printed Circuit Board of 555 or Vero board.

COMPONENTS :
a) Battery: For 9v power supply we can use 6pcs dry cell or 6F22 9v single piece battery.
b)Switch:Any general purpose switch can be used. Switch is used as circuit breaker.
c) L.D.R: (Light Depending Resistance)
it is a special type of resistance whose value depends on the brightness of light which is falling on it. It has resistance of about 1mega ohm when in total darkness, but a resistance of only about 5k ohms when brightness illuminated. It responds to a large part of light spectrum.
d) L.E.D: (Light Emitting Diode)
A diode is a component that only allows electricity to flow one way. It can be 
thought as a sort of one way street for electrons. Because of this characteristic, diode are used to transform or rectify AC voltage into a DC voltage. Diodes have two connections, an 
anode and a cathode. The cathode is the end on the schematic with the point of the triangle pointing towards a line. In other words, the triangle points toward
that cathode. The anode is, of course, the opposite end. Current flows from the anode to the cathode. Light emitting diodes, or LEDs, differ from regular diodes in that when a voltage is applied, they emit light. This light can be red (most common), green, yellow, orange, blue (not very common), or infa red. LEDs are used as indicators, transmitters, etc. Most likely, a LED will never burn out like a regular lamp will and requires many times less current. Because LEDs act like regular diodes 
and will form a short if connected between + and -, a current limiting resistor is used to prevent that very thing. LEDs may or may not be drawn with the circle surrounding them.
e) Variable resistance: (Potentiometer)
Resistors are one of the most common electronic components. A resistor is a device that limits, or resists current. The current limiting ability or resistance is measured in ohms, represented by the Greek symbol Omega. Variable resistors (also called potentiometers or just "pots") are resistors that have a variable resistance. You adjust the resistance by turning a shaft. This shaft moves a wiper across the actual resistor element. By changing the amounts of resistor between the wiper connection and the connection (s) to the resistor element, you can change the resistance. You will often see the resistance of resistors written with K (kilohms) after the number value. This means that there are that many thousands of ohms. For example, 1K is 1000 ohm,2K is 2000 ohm, 3.3K is 3300 ohm, etc. You may also see the suffix M (mega ohms). This simply means million. Resistors are also rated by their power handling capability. This is the amount of heat the resistor can take before it is destroyed. The power capability is measured in W (watts) Common wattages for variable
resistors are 1/8W, 1/4W, 1/2W and 1W. Anything of a higher wattage is referred to as a rheostat
f) PCB (Printed Circuit Board)
with the help of P.C.B it is easy to assemble circuit with neat and clean end products. P.C.B is made of Bakelite with surface pasted with copper track-layout. For each components leg, hole is made.
Connection pin is passed through the hole and is soldered.
WORKING:
When light falls on the LDR then its resistance decreases which results in increase of the voltage at pin 2 of the IC 555. IC 555 has got comparator inbuilt, which compares between the input voltage from pin2 and 1/3rd of the power supply voltage. When input falls below 1/3rd then output is set high otherwise it is set low. Since in
brightness, input voltage rises so we 
obtain no positive voltage at output of pin 3 to drive relay or LED, besides in poor light condition we get output to energize.
Precautions:
a) Use a Sensitive LDR. Before using it should be tested with multimeter.
b) I.C should not be heated too much while soldering, can destroy the I.C. For safety and easy to replace, use of I.C base is suggested. While placing the I.C pin no 1 should be made sure at right hole.
c) Opposite polarity of battery can destroy I.C so please check the polarity before switching ON the circuit. One should use diode in series with switch for safety since diode allows flowing current in one direction only.
d) L.E.D glows in forward bias only so incorrect polarity of L.E.D will not glow. Out put voltage of our project is 7.3 volt therefore 4 LED in series can be easily used with out resistance.
e) Each component should be soldered neat and clean. We should check for any dry soldered.
f) LDR should be so adjusted that it should not get light from streetlight itself.

Page Rank

google pagerank

Write For Us

Submit a Guest Post

Find us on Facebook

Categories

555 Timer IC 7 segment Display 8051 Project AC Circuits Adafruit Alarms Amplifier Circuits Analog Circuits android Arduino arm processor Assembly Languange Atmel Atom Size Audio Circuits augmented reality Automotive Circuits avr Battery Circuits Bicycle Gurad bluetooth Cable TV Circuits Cambridge University Camera Technology Circuit Boards Clipping And Clamping Circuits Clocking And Timer Circuits Computing contact lens Contact Us Form Contests Controller Circuit Conversion Circuits Counter Circuits Digital Electronics diy circuits Downloads EFY EFYTimes Electronic Books Electronic Components Electronic Locks And Keys Engineering Fan Circuits Filter Circuits Fire Alarm free Frequency Fun And Game Circuits future Google Hack n Mod Ham Radio Circuits heart rate monitoring High Voltage Circuits Home Circuits IC Guide ieee Industrial Circuits Infrared Instructables Inventions ipad lcd Led Circuits Light Related Lighting Circuits Medical Circuits Meter Clocks Microcontrollers Microprocessors Mini Projects modules Movie maker NatGeo Navigation Notice Optical Fiber PC Circuits PCB Boards Physics pnp transistor Power Supplies Printing Projects Programmer Project Ideas Projectors Protection circuits Proximity Detectors Radar Radio Circuits Radio Transmitters Raspberry Raspberry Pie Remote Circuits Retis Lab RFID Robot Cars Robotics Science Science Alert Security And Safety Sensor Circuits Servo Motors Smallest Smartwatches sms Software solar cell sound application Spectram Switch Technology News Telephone Related Television Related Test And Measurement Circuits Thermal Projects Tone generator circuits Touch Screen Tutorials Wearables Wi-Fi Wireless
Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS