A smart traffic light that turns red when it sees someone waiting to cross.
स्मार्ट ट्रैफिक लाइट जो किसी को सड़क पार करने के इंतज़ार में देखकर लाल हो जाती है।
🎯 What are we building?
We add an IR sensor to our traffic light. When it notices a person near the crossing, the light changes to red for cars so the person can cross safely.
🔌 Circuit diagram
Pin numbers follow the Kod2Kids books. You can use other pins, just change the same numbers in the code.
📘 Related lab: Class 9 book, Lab 1 (Pedestrian Detection Traffic Light).
🎮 Play with this experiment⚙️ How does it work?
The IR sensor sends invisible light and watches if it bounces back from something in front. If something is there, the Nano reads a signal and runs the red-light steps. This is called “if this happens, then do that”.
🌍 Where is this used in real life?
- Smart crossings in many cities change signals when people are waiting.
- Automatic doors open when they sense someone approaching.
- Hand-dryers and tap sensors turn on when they notice your hands.
💡 What could YOU invent with it?
Design a “school-zone helper”: a signal that stops traffic when little children, elders or people with disabilities wait to cross. It could make crossings safer for those who walk slowly.
🧪 Try this!
At what distance does your sensor notice your hand? Measure it with a ruler. Is it the same for a book?
🎯 हम क्या बना रहे हैं?
हम अपनी ट्रैफिक लाइट में आईआर सेंसर जोड़ते हैं। जब वो क्रॉसिंग के पास किसी इंसान को पहचानता है तो गाड़ियों के लिए लाइट लाल हो जाती है ताकि वो सुरक्षित पार कर सके।
🔌 सर्किट डायग्राम
पिन नंबर Kod2Kids की किताबों के हिसाब से हैं। आप दूसरे पिन भी लगा सकते हो, बस कोड में वही नंबर बदल दो।
📘 संबंधित लैब: क्लास 9 की किताब, लैब 1 (पैदल यात्री पहचान ट्रैफिक लाइट)।
🎮 इस एक्सपेरिमेंट के साथ खेलो⚙️ ये कैसे काम करता है?
आईआर सेंसर अदृश्य रोशनी भेजता है और देखता है कि सामने किसी चीज़ से टकराकर लौटती है या नहीं। कुछ हो तो नैनो को संकेत मिलता है और वो लाल बत्ती वाले कदम चलाता है। इसे कहते हैं “अगर ये हुआ, तो वो करो”।
🌍 असली ज़िंदगी में ये कहाँ काम आता है?
- कई शहरों के स्मार्ट क्रॉसिंग लोगों के इंतज़ार में होने पर सिग्नल बदलते हैं।
- ऑटोमैटिक दरवाज़े किसी के पास आने पर ख़ुद खुल जाते हैं।
- हैंड-ड्रायर और सेंसर वाले नल हाथ पहचानकर चालू होते हैं।
💡 इससे आप क्या नया बना सकते हो?
“स्कूल-ज़ोन सहायक” डिज़ाइन करो: ऐसा सिग्नल जो छोटे बच्चों, बुज़ुर्गों या दिव्यांगों के पार करने की प्रतीक्षा में गाड़ियों को रोक दे। धीरे चलने वालों के लिए सड़क पार करना सुरक्षित हो जाएगा।
🧪 खुद करके देखो!
आपका सेंसर कितनी दूरी पर आपका हाथ पहचानता है? स्केल से नापो। क्या किताब के लिए भी यही दूरी है?
अरुडिनो नैनो कोडिंग और इलेक्ट्रॉनिक्स किट
Get the kit / किट खरीदें →
