Wednesday 23 December 2020

555 timer IC (Astable mode)

Sebelum ini saya ada membuat satu litar untuk lampu trafik menggunakan sebiji IC berfungsi sebagai 'timer' yang paling popular iaitu '555 timer IC'. Anda boleh rujuk litar lampu trafik tersebut di sini.

555 tmer IC pinout

Gambar di atas menunjukkan 'pinout' IC tersebut dan untuk keterangan lanjut sila rujuk 'datasheet' di sini. Berikut merupakan ringkasan untuk setiap pin pada IC tersebut.

Pin No.
Pin Name Pin Function
1 Ground Pin 1 connects the 555 timer chip to ground.
2 Trigger Pin 2 is the trigger pin. It works like a starter pistol to start the 555 timer running. The trigger is an active low trigger, which means that the timer starts when voltage on pin 2 drops to below 1/3 of the supply voltage. When the 555 is triggered via pin 2, the output on pin 3 goes high.
3 Output Pin 3 is the output pin. 555 timer's output is digital in nature. It is either high or low. The output is either low, which is very close to 0V, or high, which is close to the supply voltage that's placed on pin 8.
The output pin is where you would connect the load that you want the 555 timer to power. This may be an LED, in the case of a 555 timer LED flasher circuit.
4 Reset Pin 4 is the reset pin. This pin can be used to restart the 555 timer's timing operation.
This is an active low input, just like the trigger input. Thus, pin 4 must be connected to the supply voltage of the 555 timer to operate. If it is momentarily grounded, the 555 timer's operation is interrupted and won't start again until it's triggered again via pin 2.
5 Control Voltage Pin 5 is the control pin. In most 555 timer circuits, this pin is simply connected to ground, usually through a small capacitor, about 0.01 µF capacitor. This capacitor serves to level out any fluctuations in the power supply voltage that might affect the operation of the timer.
Some circuits (though rare) do use a resistor between the control pin and Vcc to apply a small voltage to pin 5. This voltage alters the threshold voltage, which in turn changes the timing interval. Most circuits do not use this capability, though.
6 Threshold Pin 6 is the threshold pin. The purpose of this pin is to monitor the voltage across the capacitor that's discharged by pin 7. When this voltage reaches 2/3 of the supply voltage (Vcc), the timing cycle ends, and the output on pin 3 goes low. 
7 Discharge Pin 7 is the discharge pin. This pin is used to discharge an external capacitor that works in conjunction with a resistor to control the timing interval. In most circuits, pin 7 is connected to the supply voltage through a resistor and to ground through a capacitor.
8 Power Supply (Vcc) Pin 8 is connected to the positive power supply voltage.
555 timer ICs need DC voltage in order to operate. This is the pin which connects to the DC voltage to power the 555 chip.
The voltage must be at least 5V and no greater than 16V. It's common to run 555 timer circuits using 6V or 9V.

Hari ini saya kongsikan 'schematic' untuk IC di atas dan gambar di bawah adalah lakaran saya untuk kegunaan projek pertama saya iaitu DIY lampu trafik.

Perkongsian kali ini hanya pada bahagian '555 timer IC' sahaja. Bahagian 'decade counter' atau 'step switch' akan saya kongsikan kelak.

Komponen yang diperlukan ialah:-

  1. Sebiji '555 timer ic'
  2. Sebiji bateri 9v
  3. sebiji kapasitor 0.1uf (104)
  4. sebiji kapasitor 0.01uF (103)
  5. sebiji kapasitor 10uF, 16v
  6. sebiji perintang 1kΩ
  7. sebiji perintang 10kΩ
  8. sebiji 'variable resistor' (VR) 10kΩ
  9. sebiji lampu LED 

555 timer ic schematic

Saya telah uji litar tersebut dan ianya boleh berfungsi dengan bekalan elektrik serendah 3v sahaja sehingga 18v iaitu voltan maksima untuk IC tersebut seperti tercatat pada 'datasheet'.

Testing...

Gambar di atas diambil setelah semua komponen telah dipasang kepada IC dan apabila dibekalkan 9v kepadanya, lampu indikator LED berwarna putih akan berkelip-kelip seperti boleh dilihat pada klip video di bawah. Kekerapan lampu LED tersebut berkelip boleh diubah hanya dengan melaras 'variable resistor' (VR) atau juga dikenali sebagai 'potentiometer' yang berwarna biru/putih sahaja.

Jika anda lihat pada litar projek DIY lampu trafik saya yang lepas, lampu indikator tersebut tiada sebab tidak dipasang. Tujuan lampu indikator tersebut dipasang kali ini ialah untuk mempastikan ianya berfungsi.

Cara memasang lampu indikator tersebut ialah dengan sambungkan ke pin 1 & 3. Sebiji perintang 1kΩ disambung bersiri dengan tujuan sebagai keselamatan supaya lampu LED tidak hangus jika litar tersebut dibekalkan voltan melebihi 3v. 

Untuk makluman semua, sebiji lampu LED hanya mampu bertahan sehingga maksima 3v sahaja. Biasanya ia beroperasi dengan selamat di bawah 3v.

Jika anda tidak mempunyai IC seperti di atas, cara lain untuk membuat timer ialah dengan menggunakan transistor dan akan saya kongsikan pada artikel akan datang.

Selamat mencuba...

No comments:

Post a Comment

Your comment will be atttend by admin soon, thank you.