Project idea
Use two spaced IR sensor pairs at a doorway to infer direction, update an up/down counter on an 8051, and drive a relay so loads are on when at least one person is inside and off when the room becomes empty. The live occupancy value is shown on a 7‑segment display, making it ideal for energy‑aware automation in labs, classrooms, and halls.
Project description
An IR transmitter–receiver pair on each side of the door feeds the microcontroller GPIOs, where sequence logic decides whether to increment or decrement the people count for robust bidirectional detection. The 8051 multiplexes the 7‑segment display for clear visibility and energizes a 5 V relay (via driver) to switch a demo lamp, ensuring loads are active only when presence is detected.
Components
8051 Microcontroller
7 Segment Display
Relays
IR Sensors
Crystal Oscillator
Resistors
Capacitors
Transistors
Cables and Connectors
Diodes
PCB and Breadboards
LED
Transformer/Adapter
Push Buttons
Switch
IC Sockets
Software
Keil µVision IDE
Embedded C
Features
Bidirectional counting using two IR sensor pairs with direction logic for accurate people entry and exit tracking on 8051.
Auto load control: relay switches lamp on when count > 0 and turns it off when the last person exits for energy savings.
Real‑time numeric display on multiplexed 7‑segment for clear visibility of current occupancy.
Applications
Automated room lighting in classrooms, labs, libraries, and offices with occupancy‑based control to reduce energy wastage.
Entry/exit counting for halls, events, and access points where tallying and basic utilization analytics are needed.
Project Includes:
Fully assembled and tested circuit
Circuit diagram
Source code
(For DIY KITs - only the components will be provided)
Project Types:
- DIY KIT(Do IT YourSelf KIT) - We are providing only components in this kit for this project
- DIY KIT with Code & Circuit Connections - Along with the components, you will get the Code and the Circuit Connections file to help you build the project easily.
- Readymade Breadboard - We are providing fully assembled, tested and ready-made project using plug-n-play jumper wires and breadboard with all the other components, code & circuit diagram.
- Readymade Soldered - We are providing fully assembled, tested and ready-made project soldered on a PCB with all the other components, code & circuit diagram.
Dimensions (cm)
Approx 10 x 8 x 4 cm when assembled on a 400‑point breadboard/enclosure footprint in the same class as the 8 x 5 x 1 cm board, allowing space for modules and display height.
Shipping dimensions (cm)
Approx 20 x 15 x 10 cm boxed with adapter, padding, and accessories to protect display, relay, and sensors in transit.
Weight
Approx 250 g assembled; reference: breadboard ~40 g plus lightweight semiconductors and modules such as diodes at ~0.35 g each, relay/display/modules, wiring, and lamp demo load.
Estimate project weight
≈ 1kg
Notes: All the products are made by LearnElectronics India and not for re-sale.
Visitor Counter Light 7‑Segment
-
Order Processing Time:
- All project orders are processed within 2-3 business days after payment confirmation.
- After processing, the development of your project will begin. We require a minimum of 10-15 days to complete and prepare your project for shipment. However, please note that the delivery time is an estimate and may vary depending on project complexity and component availability.
-
Delivery Timeframe:
- While we strive to deliver your project within the specified timeframe, there is no guaranteed delivery date. The actual delivery time may be shorter or longer depending on various factors, including shipping delays, customs clearance, and unforeseen technical challenges.
- We will keep you informed of your project's progress and provide updates on the estimated delivery time as needed.
-
Shipping and Delivery Charges:
- Delivery charges are additional and are not included in the project price. The shipping cost will be calculated at checkout based on your location and the chosen shipping method.
- Customers are responsible for any customs duties, taxes, or fees that may be applicable in their country.
-
Order Cancellations:
- Due to the customized nature of our projects, orders can only be canceled within 24 hours of placement. After this period, the order is non-cancellable as work will have already begun.
-
Returns and Refunds:
- As these are custom-built projects, we do not accept returns or offer refunds unless the project is defective or significantly not as described.
- If there are any issues with your project upon delivery, please contact us within 7 days to resolve the matter.
-
Technical Support:
- We provide basic technical support for the first 30 days after delivery to help you set up and operate your project.
- Extended support and customization services are available at an additional cost.
-
Disclaimer:
- We are not responsible for delays caused by external factors beyond our control, including but not limited to shipping carrier delays, natural disasters, or government restrictions.
- By placing an order, you agree to the terms and conditions outlined in this policy.
-






