Skip to main content

One Button On-Off circuit using 4017 IC.


Description of IC 4017B:
The 4017B is a monolithic IC fabricated in Metal Oxide Semiconductor technology available in DIP and SOP packages (I am using DIP package).
This is 5-stage Johnson counter having 10 decoded outputs (Q0 – Q9).
There are three inputs, one CLOCK, one RESET, and one ENABLE (or Inhibit).
To put this IC in working mode ENABLE must be kept low.
When high pulse is applied to CLOCK pin then IC counts this transition and shifts its output from Q0 to Q9.
To start counting from Q0, RESET pin must be kept low. (if you want to use all outputs, Q0 to Q9, then RESET pin will be always low. But in our circuit we will not use it in this way.

Circuit: 


This is very simple circuit, it uses only few components
4017 IC -               1 No.
1K Res -                                1 No.
470K Res-            1 No.
100nf Cap            1 No.
5mm Red LED-    1 No.
Tact Switch-        1 No.
Breadboard-      1 No.
9 V Battery-         1 No.
Few Jumper wire pieces, Tools, cutter etc.

We will work on only with 7 pins of this IC.
Pin No. 2, 4, 8, 13, 14, 15, 16.
Pin 2 is Output 1 from where we will take output status by connecting an LED via Resistor 1 K.
Pin 4 is Output 2, it will connect to pin no. 15 (RESET) to use this IC in our circuit.
Pin 8 is connected to –ve supply.
Pin 13 is connected to –ve supply.
Pin 14 is connected to –ve supply through 470K resistor (Pulled low).
Tact switch is connected between pin14 and pin 16.
100nf capacitor is connected between pin14 and pin16 (Cap is to stop de-bouncing of switch).
Pin 16 is connected to +ve supply.


Result of circuit:
Initially LED is off when button is pressed once LED becomes ON and, if again switch is pressed LED is OFF. On each press it toggles its state.




You can watch this circuit's assembly and working by going to given below address
For English Click here   



For Hindi Click here


Comments

Post a Comment

Popular posts from this blog

How to Make Automatic Room Light Controller Without Microcontroller

You must have noticed in some offices or hotels, when nobody is in gallery or washroom, the light remains OFF but when somebody enters the place, light switches ON automatically. In this post I am going to teach you how to make this circuit. Before going ahead I would like to tell you that this is VERY EASY circuit. For this circuit the material we need is… PIR Motion sensor General Purpose PCB - 5x5 cm. Transistor 2222N – 1 No. Relay 5V – 1 No. 1K/0.250W – 2 Nos. 10K/0.250W – 1 No. IN4007 – 2 Nos. LED 3mm – 1 No. Connector – 4 Nos. Few wires. Relay Circuit Concept : We can use any relay of 12V, 24V, 5V etc. but we have to consider power supply or battery we will use. Since 5V power supply is easily available and 9V battery can also be used for 5V output (after using 7805 regulator if needed). So I am using 5V relay. PIR sensor has three terminals, One for 5Vdc Second for Gnd (0V). Third for ...

How to drive high voltage/current load by small voltage signal from a microcontroller?

Sometimes we need to control or drive a high voltage and heavy current load by a small voltage signal. For example, if you want to control water motor with your microcontroller output. We know that microcontroller gives only 5v output which is not sufficient to drive a heavy motor. This circuit, about which this post is, is very-very useful for electronics engineer and hobbyist. So pay attention! For this circuit the material we need is… General Purpose PCB - 5x5 cm. Transistor KN 2222A (TO-92) - 1 No. Relay 5V – 1 No. 1K/0.250W – 2 Nos. 10K/0.250W – 1 No. IN4007 – 2 Nos. LED 3mm – 1 No. Connector – 4 Nos. Few wires. Tools. Concept: Weak signal triggers the transistor and transistor acts as a switch for the relay. You can use any relay of 12V, 24V, 5V etc. but we have to consider power supply or battery we will use. Since 5V power supply is easily available and 9V battery can also be used for 5V output (after using 7805 regulator if needed)....

How to control digital output with serial monitor in Arduino

Hello Friends, in this blog we will be controlling digital output with serial monitor command. First let’s understand the working of serial monitor. Serial monitor in Arduino IDE is a tool which allows communication between the computer and Arduino board via a serial connection, normally we use USB cable for connection. What are the features of Serial Monitor? It shows the data sent from the Arduino board by using the functions like Serial.print() or Serial.println(). It allows to send text or numeric data to the Arduino board, which can be read by function like, Serial.read() or Serial.parseInt(), thereafter you can use this data for further analysis and action. We can use this tool for debugging and monitoring the function of the sketch. There is a procedure to use the serial monitor, below are the steps given. First initialize the serial communication in the sketch as given below. Normally baud rate is set 9600.  Void setup(){          Serial.begin(9600)...