All those projects ideas are gathered from different sources and published here especially for final year engineering students. Due to many impressive features of microcontrollers, any engineering student like to work on the projects based on microcontrollers. So, In this page, we are going to publish the list of mini projects based on microcontroller. These microcontroller based mini projects are very useful for the engineering students of II and III year. You may write your comments, feedback, opinions and any new projects ideas by visiting our contact us page.

Author:Kazrajinn Taurg
Country:Moldova, Republic of
Language:English (Spanish)
Published (Last):12 December 2007
PDF File Size:16.43 Mb
ePub File Size:11.54 Mb
Price:Free* [*Free Regsitration Required]

Resistor 1k t0 4. We are going to blink an led connected to pin 1 of 89c51 microcontroller. Pin 1 corresponds to microcontroller Port-1 pin 0. The pin is initialized as output pin in the code. Crystal is connected to microcontroller in parallel to two pf capacitors. Ground pin Now we are done all the necessary connections are made. Circuit Diagram of blinking led with 89c51 microcontroller is given at the right side. Led polarity is anode facing the power supply and cathode is connected to port 1 pin 0.

Blinking Led with 89c51,89c52 Led is connected to port-1 pin 1. Resistor is used to limit the amount of current led is consuming. So when the microcontroller sources some voltage the led turns off and when it grounds the led turns on.

Opposite polarity functionally by microcontroller pin. In the code above I first included the header file reg When ever we are using 89c51 microcontroller in our project we have to include it. If we are using 89c52 than the file name changes to reg This library contains default function definitions and configuration for series microcontrollers. Note: I am using keil software to write my code to blink an led.

If you are using any other software to write code for microcontroller. Then first check which library that software made compulsory to be included for writing code of series microcontrollers. Actually the compiler that is working with keil needs this header file to compile the code and generate Hex code for you. Now we can use Port-1 Pin 0 with the name of Led. You can see the two for loops in the delay function. These two for loops are providing us random delay. The first loop runs number of times for the value which is given to it, and second loop runs 5 times for each iteration of the first loop.

We usually pass some big number as parameter to the function and this huge number makes the for loop runs for some seconds to minutes depending on our given integer value. It is necessary to initialize each port as input our output before using it in the program. Since Port-1 of microcontroller consists of 8-Pins. If 0 is written on Pin it initializes the pin as output. If 1 is written it initializes the pin as input.

Initializing Port-1 of 89c51,89c52 microcontroller. While 1 Loop is continuously running the logic present in it. The whole cycle is below. Then Some Delay Keeps Led in on state. Then Some Delay keeps led in switch off state. After the above cycle is completed while loop starts again and this makes the led to seem like blinking.

Download the Project files, Code Hex,C. Simulation is also present in the folder. Code is written using C language. Keil software is used to write and compile code. Simulation is made in Proteaus 8. Watch the project video Here…….


100+ Microcontroller Based Mini Projects Ideas

Mekree The micro controller unit MCU reads the temperature from the sensor. You can use them to extend the application to make it a line following robot by using similar sensors and making some changes in the code. Switch S1 is used for turning on the circuit to run the robot. You can play around with the code to get your own LED pattern.


Microcontroller Projects

So far, we have covered four out of the five ways that controllers can interface and interact with other electronic components and devices. We generated a PWM wave from Arduino by employing the analogWrite function that approximates to a rectified sine wave. We also explained push buttons momentary type buttons and how to use them for data or command input via a digital input. Any controller can interface and interact with other electronic devices in five ways: digital output, digital input, analog output, analog input,… April 1, Arduino-based LED chaser with 13 different lighting patterns An LED chaser or sequencer is a popular LED driving circuit.


Assembly code for interfacing EEPROM 24c16 with 8051

Resistor 1k t0 4. We are going to blink an led connected to pin 1 of 89c51 microcontroller. Pin 1 corresponds to microcontroller Port-1 pin 0. The pin is initialized as output pin in the code. Crystal is connected to microcontroller in parallel to two pf capacitors.



Contact us Temperature Indicator Using AT89C52 Different temperature indicator project with discrete component is already published in www. Now, here is a microcontroller based temperature indicator with LCD for better and precise reading. A temperature sensor DS is used here for better result. Circuit description The circuit of temperature indicator is designed around microcontroller AT89C52 where DS is used as temperature sensor. The block diagram of temperature indicator using AT89C52 is shown in figure 1. The temperature sensor IC3 is used to sense temperature and read as 9-bit value.

Related Articles