CD4017 লাইট চেজার — কোড ছাড়াইCD4017 LED Chaser Circuit with a 555 Timer
৫৫৫ astable mode এ সেকেন্ডে প্রায় ৭ বার তার output উল্টায়; সেই clock CD4017 decade counter কে এক ঘর করে এগিয়ে দেয়, আর counter এর আউটপুটগুলো পালা করে HIGH হয় — তাই LED গুলো কোড ছাড়াই একটার পর একটা দৌড়ায়। R-C পার্টগুলোই গতি ঠিক করে; R2 বদলালে ধীর হয়ে যায়।
A 555 in astable mode flips its output about 7 times a second; that clock steps the CD4017 decade counter, whose outputs take turns going HIGH — so the LEDs chase one after another with no code at all. The R-C parts set the speed; change R2 and watch it slow.
সার্কিট ডায়াগ্রাম · Circuit diagram
যা যা লাগবে · Parts you need
- 1 × 555 timer IC (NE555) 555 টাইমার IC (NE555)
- 1 × Decade counter (CD4017) ডেকেড কাউন্টার (CD4017)
- 1 × Capacitor Capacitor
- 1 × 9 V battery ৯ V ব্যাটারি
- 1 × Breadboard power supply (3.3 V / 5 V) ব্রেডবোর্ড পাওয়ার সাপ্লাই — ৩.৩ V আর 5 V রেল
- 1 × Resistor 1000Ω Resistor
- 1 × Resistor 10000Ω Resistor
- 4 × LED (red) LED বাতি
- 4 × LED (green) LED বাতি
- 8 × Resistor 220Ω Resistor
- 41 × Jumper wires জাম্পার তার
তার লাগানো · Wiring
| 9 V battery + | → | Breadboard power supply (3.3 V / 5 V) DC+ |
| 9 V battery - | → | Breadboard power supply (3.3 V / 5 V) DC- |
| Breadboard power supply (3.3 V / 5 V) V1 | → | 555 timer IC (NE555) VCC |
| Breadboard power supply (3.3 V / 5 V) V1 | → | 555 timer IC (NE555) RESET |
| 555 timer IC (NE555) GND | → | Breadboard power supply (3.3 V / 5 V) GND |
| Breadboard power supply (3.3 V / 5 V) V1 | → | Resistor a |
| Resistor b | → | 555 timer IC (NE555) DIS |
| 555 timer IC (NE555) DIS | → | Resistor a |
| Resistor b | → | 555 timer IC (NE555) THR |
| 555 timer IC (NE555) THR | → | 555 timer IC (NE555) TRIG |
| 555 timer IC (NE555) THR | → | Capacitor + |
| Capacitor - | → | Breadboard power supply (3.3 V / 5 V) GND |
| 555 timer IC (NE555) OUT | → | Decade counter (CD4017) CLK |
| Decade counter (CD4017) EN | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) RST | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) VCC | → | Breadboard power supply (3.3 V / 5 V) V1 |
| Decade counter (CD4017) GND | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) Q0 | → | LED A |
| LED K | → | Resistor a |
| Resistor b | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) Q1 | → | LED A |
| LED K | → | Resistor a |
| Resistor b | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) Q2 | → | LED A |
| LED K | → | Resistor a |
| Resistor b | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) Q3 | → | LED A |
| LED K | → | Resistor a |
| Resistor b | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) Q4 | → | LED A |
| LED K | → | Resistor a |
| Resistor b | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) Q5 | → | LED A |
| LED K | → | Resistor a |
| Resistor b | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) Q6 | → | LED A |
| LED K | → | Resistor a |
| Resistor b | → | Breadboard power supply (3.3 V / 5 V) GND |
| Decade counter (CD4017) Q7 | → | LED A |
| LED K | → | Resistor a |
| Resistor b | → | Breadboard power supply (3.3 V / 5 V) GND |
Code (Arduino C++)
// No Arduino here! The 555 charges the capacitor through R1 + R2 and empties it
// through R2, flipping its OUT pin by itself about 7 times a second. That clock
// steps the CD4017 decade counter, whose ten outputs take turns being HIGH:
// Q0, Q1... Q9, then back to Q0 — so eight LEDs chase, one after another.
// R1 = 1k, R2 = 10k, C = 10 uF -> rate = 1.44 / ((R1 + 2 x R2) x C) = about 7 Hz.
// EN (clock inhibit) and RST are tied to ground so the counter never stops.
// Try it in the simulator: change R2 to 47k and watch the chase slow down.