8051 Microcontroller Best 10 Projects
RFID Interfacing, Advanced Thermometer, Computerized Clock, Graphical LCD, Advanced Code Lock, PIR Sensor and GSM Based Security etc..,
Anbazhagan K
Copyright 2020 Anbazhagan K
All rights reserved
The characters and events portrayed in this book are fictitious. Any similarity to real persons, living or dead, is coincidental and not intended by the author.
No part of this book may be reproduced, or stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without express written permission of the publisher.
Contents
Acknowledgments
The writer might want to recognize the diligent work of the article group in assembling this book. He might likewise want to recognize the diligent work of the Raspberry Pi Foundation and the Arduino bunch for assembling items and networks that help to make the Internet of Things increasingly open to the overall population. Yahoo for the democratization of innovation!
Introduction
The Internet of Things (IOT) is a perplexing idea comprised of numerous PCs and numerous correspondence ways. Some IOT gadgets are associated with the Internet and some are most certainly not. Some IOT gadgets structure swarms that convey among themselves. Some are intended for a solitary reason, while some are increasingly universally useful PCs. This book is intended to demonstrate to you the IOT from the back to front. By structure IOT gadgets, the per user will comprehend the essential ideas and will almost certainly develop utilizing the rudiments to make his or her very own IOT applications. These included ventures will tell the per user the best way to assemble their very own IOT ventures and to develop the models appeared. The significance of Computer Security in IOT gadgets is additionally talked about and different systems for protecting the IOT from unapproved clients or programmers. The most significant takeaway from this book is in structure the tasks yourself.
1. RFID Interfacing with 8051 Microcontroller
(RFID) utilizes radio recurrence to peruse data put away in a RFID card or tag. In this undertaking we are gonna to Interface EM-18 RFID peruser with 8051 microcontroller along with show RFID card number on 16*2 LCD show. This remote RF Identification is utilized in numerous frameworks like RFID Based Attendance System, security frameworks, casting a ballot machines and so on. This task will likewise fill in as a legitimate interfacing of 16*2 LCD with 8051 microcontroller.
Parts Required:
Circuit Diagram:
8051 Microcontroller:
8051 microcontroller is a 8 piece microcontroller which has 128 bytes of on chip RAM, 4K bytes of on chip ROM, cheats, one sequential port and four 8bit ports. 8052 microcontroller is an expansion of microcontroller. The table underneath shows the correlation of 8051 relatives.
Feature | 8051 | 8052 |
ROM (in bytes) | 4K | 8K |
RAM (bytes) | | |
Timers | | |
I/O pins | | |
Serial port | | |
Interrupt sources | | |
16x2 LCD:
16*2 LCD is a broadly utilized showcase for installed applications. Here is the concise clarification about pins and working of 16*2 LCD show. There are 2 significant registers inside the LCD. They are information register and order register. Order register is utilized to send orders, for example, clear showcase, cursor at home along with etc., information register is utilized to send information which is to be shown on 16*2 LCD. Underneath table shows the pin depiction of 16*2 lcd.
Pin | Symbol | I/O | Description |
| Vss | - | Ground |
| Vdd | - | +5V power supply |
| Vee | - | Power supply to control contrast |
| RS | I | RS=0 for command register , RS=1 for data register |
| RW | I | R/W=0 for write , R/W=1 for read |
| E | I/O | Enable |
| D0 | I/O | 8-bit data bus(LSB) |
| D1 | I/O | 8-bit data bus |
| D2 | I/O | 8-bit data bus |
| D3 | I/O | 8-bit data bus |
| D4 | I/O | 8-bit data bus |
| D5 | I/O | 8-bit data bus |
| D6 | I/O | 8-bit data bus |
| D7 | I/O | 8-bit data bus(MSB) |
| A | - | +5V for backlight |
| K | - | Ground |
The underneath table shows as often as possible utilized LCD order codes.
Code(hex) | Description |
| Clear display screen |
| Increment cursor (right shift) |
0A | Display off , cursor on |
0C | Display on , cursor off |
0F | Display on , cursor blinking |
| Force the cursor to beginning of 1 st line |
C0 | Force the cursor to beginningof 2 nd line |
| 2 lines and 5*7 matrix |
EM-18 RFID Reader:
EM-18 RFID peruser works at 125 KHz and it accompanies an on-chip radio wire and it very well may be controlled with 5V power flexibly. It furnishes sequential yield alongside weigand yield. The range is around 8-12cm. sequential correspondence parameters are 9600bps, 8 information bits, 1 stop bit. Its applications incorporate Authentication, e-cost street valuing, e-ticketing for open vehicle, participation frameworks along with etc. Check all the RFID Projects here.
The yield gave by EM-18 RFID peruser is in 12 digit ASCII group. Out of 12 digits initial 10 digits are card number and the last two digits are the XOR aftereffect of the card number. Last two digits are utilized for blunder checking.