Preview

Automatic Lighting and Visitor Counter

Powerful Essays
Open Document
Open Document
1487 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Automatic Lighting and Visitor Counter
8051 Project:
Automatic Lighting and Visitor Counter

Andrew Herzog
Richard Baker
December 13, 2007
CMPET 211

Executive Summary
The objective of the project was to create a circuit with an 8051 microcontroller that sensed when an object passed through an infrared receiver’s receive path to automatically turn on lights and count how many times the receive path was blocked.
Discussion
To complete the project several smaller circuits were needed to be designed and constructed. The project needed a circuit to pulse an infrared LED at 38 kHz, a circuit to receive the infrared signal, a seven segment LED display circuit, an auto-lighting circuit, and a programming circuit. The project also required code to be written to the 8051 microcontroller to combine all the smaller circuits into an operational system.
The 38 kHz generator, Fig. 1-1, was major factor in getting the infrared receiver to operate correctly. A 555 timing chip was used to output a squarewave at 38 kHz for an infrared
LED. The generator needed to be completely isolated from the rest of the circuit because it was found that the infrared receiver’s output was similar to Fig. 1-2 at a frequency of 38 kHz. The receiver needed to output a high until an object blocked the infrared signal when it would output a low.

Fig. 1-1, 38 kHz Generator

Fig. 1-2, Infrared Receiver Output

The infrared receiver, Fig 1-3, was a very basic component of the project. 5 V was connected to pin three, ground connected to pin two, and the output was on pin one which was connected to pin twelve of the 8051. The receiver output a high as long as nothing was blocking the 38 kHz infrared signal. When an object blocked the signal, the receiver output a low, while being monitored by the 8051.

Fig. 1-3, Infrared Receiver Connections

Fig. 1-4, Infrared Transmitter and Receiver

The seven segment LED display was very similar to the “Interfacing the DS89C430 with a 7-Segment LED Display”

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 8 Assignment 1

    • 1415 Words
    • 6 Pages

    - The standard 4760 prototyping board pictured above is populated with an Atmega644 microcontroller clocked at 20 MHz. The serial transceiver and DB-9 connector have been soldered on for debugging purposes. They remain unused in the final implementation. The board accepts a 9-12 V input and regulates it down to 5 V for the on board microcontroller. A 0.1 inch header has been soldered into the row of breakout vias along one edge to allow it to plug directly into a breadboard. The onboard programming header allows in-situ reprogramming of the microcontroller's flash.…

    • 1415 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Unit 9 Assign

    • 292 Words
    • 1 Page

    The spectral width is an important factor in determining the wavelength between LED and laser transmitters. LED spectral width is much wider than laser spectral width. Laser transmitters are considered to function at the highest level of performance, because a laser transmitter’s spectral width is much narrower than that of LED transmitters.…

    • 292 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Nt1330 Unit 1 Assignment

    • 521 Words
    • 3 Pages

    We had the programming assignment and even though some of the code was provide you still have to analyze it and add the…

    • 521 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Sean Taylor Incident

    • 562 Words
    • 3 Pages

    MIAMI, Nov. 26 -- Washington Redskins safety Sean Taylor remained in critical condition in a Miami hospital Monday night after being shot early in the morning in his Miami home.…

    • 562 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    5. The device which extracts the information signal from the high frequency carrier in a receiver is called a:…

    • 818 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Some historians argue that slavery was the primary cause of the American Civil War. As Robert E. Lee said, “In this enlightened age, there are few I believe, but what will acknowledge, that slavery as an institution is a moral and political evil in any country. It is useless to expatiate on its disadvantages.” I believe the statement that slavery was the primary cause of the American Civil War is true, because slavery was very controversial and became the symbol of disunion.…

    • 446 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Cover Letter

    • 256 Words
    • 2 Pages

    If I can provide you with more details or information, please call me at our LEARN-2-COMPUTE, Inc. main office: 1-888-444-3467, ext. 4471…

    • 256 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    organizational structure

    • 715 Words
    • 3 Pages

    Read Hax and Majluf ' 's 1981 article, "Organizational Design: A Survey and an Approach."…

    • 715 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    We can control power point show or media player through the swipe. Just swipe over the sensor to control it, the circuit has 2 sets of sensors for sensing the swipe. The sensors has an IR led with a photo diode. For media player show your hand over the sensor to play/pause the song. To stop the song show the hand over the sensor 1,to play the next song just swipe the hand from right to left and to play previous song swipe the hand from right to left. The same swipe motion is used for power point control.…

    • 11474 Words
    • 46 Pages
    Powerful Essays
  • Satisfactory Essays

    This project uses regulated 5V, 500mA power supply. 7805 three terminal voltage regulator is used for voltage regulation. The programming language used for developing the software to the microcontroller is Embedded/Assembly. The AVR STUDIO is used to edit, compile and debug this program. SINAPROG programmer is used for burning the developed code on AVR STUDIO in to the microcontroller Chip. Here in our application we are using AVR microcontroller which is Flash Programmable IC.…

    • 308 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    2. Apply +12V to pin 7 and –12V to pin 4. Connect common terminal of power supply to…

    • 2519 Words
    • 24 Pages
    Good Essays
  • Satisfactory Essays

    Libraray Mgmt SYtem

    • 10525 Words
    • 89 Pages

    of the project works. All information that has been obtained from other sources had been…

    • 10525 Words
    • 89 Pages
    Satisfactory Essays
  • Better Essays

    o MSP 430 Microcontroller trainer kit o ULN2003A(Relay driver IC) o IC 7805 o TCS 4105(GSM module) o OP-AMP o MOSFET…

    • 842 Words
    • 4 Pages
    Better Essays
  • Powerful Essays

    The parallel input-output port chip 8255 is also called as programmable peripheral input-output port. The Intel’s 8255 is designed for use with Intel’s 8-bit, 16-bit and higher capability microprocessors. It has 24 input/output lines which may be individually programmed in two groups of twelve lines each, or three groups of eight lines. The two groups of I/O pins are named as Group A and Group B. Each of these two groups contains a subgroup of eight I/O lines called as 8-bit port and another subgroup of four lines or a 4-bit port. Thus Group A contains an 8-bit port A along with a 4-bit port. C upper.…

    • 3402 Words
    • 14 Pages
    Powerful Essays
  • Powerful Essays

    Tutorials

    • 19718 Words
    • 79 Pages

    Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Appendix A Appendix B Appendix C 8051 Microcomputer Overview A Simple Design Example Software Delay Routines Interrupts Timer/Counters The 8051 Serial Port Example Term Assignments Sample Exam Questions & Answers A Brief Introduction to Using Keil Tools 6 31 36 45 53 65 A1 B1 C1…

    • 19718 Words
    • 79 Pages
    Powerful Essays

Related Topics