✨ 1:1 Online Live Robotics & Coding Classes for KidsTry a free class →
🤖 Build real robots at home with our Starter KitsShop kits →
🎮 New! Build circuits on screen in our free Circuit PlaygroundPlay now →
🚀 Inspiring Minds, Igniting FuturesOur story →
IR Visitor / Object Detector

IR Visitor / Object Detector: Know Who Came In | आईआर विज़िटर / ऑब्जेक्ट डिटेक्टर: जानो कौन अंदर आया

Experiment 29 · Arduino Nano Coding & Electronics Kit🚪

A smart doorway that lights up and chimes whenever someone walks through.
स्मार्ट दरवाज़ा जो कोई गुज़रे तो बत्ती जलाए और घंटी बजाए।

🎯 What are we building?

We build a visitor detector: when the IR sensor sees a person pass, the LED lights and the buzzer chimes. We can also count how many people came.

Arduino NanoArduino NanoIR SensorIR SensorLEDLEDBuzzerBuzzerResistorResistorBreadboardBreadboardWiresWires

🔌 Circuit diagram

Arduino Nano5VD13D8D2GNDIR sensor moduleVCCOUTGND220 ΩLEDBuzzer
IR beam bounces→OUT → D2→if == LOW ?→D13 → LED→D8 → Buzzer

Pin numbers follow the Kod2Kids books. You can use other pins, just change the same numbers in the code.

🎮 Play with this experiment

⚙️ How does it work?

Each time the sensor detects something, the program adds one to a counter, turns on the light and chimes. Counting events is how many real systems measure how busy a place is.

🌍 Where is this used in real life?

  • Shops count visitors at the door to plan staff.
  • Libraries and museums count how many people visit.
  • Buses and metros count passengers getting on.

💡 What could YOU invent with it?

Create a “school library counter” that counts students entering. It could help the librarian see which hours are busiest and plan reading events better.

🧪 Try this!

Count visitors at your classroom door for one hour. How many came? Make a bar chart.

🎯 हम क्या बना रहे हैं?

हम विज़िटर डिटेक्टर बनाते हैं: आईआर सेंसर किसी को गुज़रते देखे तो एलईडी जलती है और बज़र बजता है। हम गिन भी सकते हैं कि कितने लोग आए।

Arduino Nanoअरुडिनो नैनोIR Sensorआईआर सेंसरLEDएलईडीBuzzerबज़रResistorरेसिस्टरBreadboardब्रेडबोर्डWiresतार

🔌 सर्किट डायग्राम

Arduino Nano5VD13D8D2GNDIR sensor moduleVCCOUTGND220 ΩLEDBuzzer
आईआर किरण टकराती है→OUT → D2→अगर == LOW ?→D13 → एलईडी→D8 → बज़र

पिन नंबर Kod2Kids की किताबों के हिसाब से हैं। आप दूसरे पिन भी लगा सकते हो, बस कोड में वही नंबर बदल दो।

🎮 इस एक्सपेरिमेंट के साथ खेलो

⚙️ ये कैसे काम करता है?

हर बार सेंसर कुछ पहचानता है तो प्रोग्राम काउंटर में एक जोड़ता है, बत्ती जलाता है और घंटी बजाता है। घटनाओं को गिनना ही वो तरीका है जिससे कई असली सिस्टम किसी जगह की भीड़ नापते हैं।

🌍 असली ज़िंदगी में ये कहाँ काम आता है?

  • दुकानें स्टाफ़ की योजना के लिए दरवाज़े पर आने वालों को गिनती हैं।
  • पुस्तकालय और संग्रहालय गिनते हैं कि कितने लोग आए।
  • बसें और मेट्रो चढ़ने वाले यात्रियों को गिनती हैं।

💡 इससे आप क्या नया बना सकते हो?

“स्कूल लाइब्रेरी काउंटर” बनाओ जो अंदर आते विद्यार्थियों को गिने। इससे लाइब्रेरियन देख सकेंगे कि कौन से घंटे सबसे व्यस्त हैं और पढ़ाई के कार्यक्रम बेहतर बना सकेंगे।

🧪 खुद करके देखो!

एक घंटे तक अपनी क्लास के दरवाज़े पर आने वालों को गिनो। कितने आए? बार चार्ट बनाओ।

🛒 Build this at home! / घर पर बनाओ!Arduino Nano Coding & Electronics Kit · ₹999
अरुडिनो नैनो कोडिंग और इलेक्ट्रॉनिक्स किट

Get the kit / किट खरीदें →

Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart

Book A Free Demo Session

Join us for an exciting adventure into the world of robotics and coding! Our Robotics and Coding Class for Kids is designed to inspire young minds, foster creativity, and ignite a passion for technology.

Contact Info

Email

info@kod2kids.com