Motion Sensor Light Switch using CD4017 & IR sensor
In these 4017 projects, I have shown how to make a motion sensor light switch using
the CD4017 IC and IR proximity sensor. You can use this motion activated light
circuit as an automatic washroom light switch. I have not used any microcontroller or
Arduino for this CD4017 project.
The light turns on when anyone enters the washroom
When anyone enters the washroom the IR proximity sensor senses the motion and
turns on the light.
Light turns off when anyone exits from the washroom
After that when he or she exits the washroom, the IR sensor again senses the motion
and turns off the light.
Here, each time the IR proximity sensor detects any motion, it sends the clock pulse to
CD4017 IC. Then the 4017 changes its previous state.
You can easily make these 4017 circuits with some basic components.
CD4017 Pinout
How the Motion Sensor Circuit works
1. The IR emitter LED continuously emits infrared. When any object comes
within the range, some amount of infrared reflects from the object’s surface
and that reflected infrared can be detected by the IR receiver LED.
2. The LM358 compares the voltage across the IR receiver LED with the
predefined value. When any motion is detected the voltage across the IR
receiver crosses the predefined value, so the output pin (pin 1) of LM358
becomes high.
3. The clock pin (Pin-14) of CD4017 IC is connected to the output pin of
LM358. So when any motion is detected, the 4017 IC receives a clock pulse
and changes the current state of Pin-2.
4. The Pin-2 of CD4017 is connected with the base of the BC547 NPN
transistor, So when the Pin-2 becomes high the transistor turns on.
5. When the transistor turns on, the current can flow through the relay coil. So
the load connected with the relay also turns on.
6. When the IR LEDs detect any motion the second time, it sends the next
clock pulse to CD4017 IC. Then the Pin-2 becomes low.
7. If the Pin-2 becomes low, the transistor turns off, and accordingly the load
connected with the relay also turns off.
PCB Layout of the Motion Sensor Switch
Please download the PCB layout, then print it on the A4 page.
Please check the PCB size while printing, it should be the same as mentioned in
Layout.
Required Components for this 4017 Project:
1) CD4017 IC
2) LM358 IC
3) BC547 Transistor
4) 100uF 25V Capacitor
5) 1000uF 25V Capacitor
6) 220-ohm 0.25watt Resistors – 4 no
7) 10k 0.25watt Resistor
8) 10k Trimmer
9) LED 5mm – 2no
10) IR LED pair (Detector & Emitter)
11) 1N4007 Diode
12) 5V SPDT Relay
13) Connectors & IC Base
Tutorial Video on Motion sensor Light
In the tutorial video, I have explained all the steps to make the homemade PCB for the
motion sensor light circuit. To make the PCB I have used acrylic sheet.
But you can also download the PCB gerber file for this project, and order the custom
design PCB from PCBWay.com
About McBay and their services
You can order any custom design PCB from McBay at a very affordable price. At
McBay, all the boards pass through the most stringent tests other than the basic visual
check. They use different testing and inspecting equipment, such as Flying Probe
Tester, X-Ray Inspection Machine, Automated Optical Inspection (AOI)
Machine, etc. to make sure the quality of the final product is good.
McBay not only produce FR-4 and Aluminum boards, but also advanced PCB
like Rogers, HDI, Flexible and Rigid-Flex boards, with very reasonable price.
For the online instant quote page please visit – pcbway.com/orderonline
McBay also offers an Assembly service. The online pricing software can instantly
quote for your PCB Assembly service through a rough calculation. Their PCBA
prices are very reasonable.
Rough quote online – pcbway.com/pcb-assembly
You can also explore different PCB projects from their Open-source
community pcbway.com/project/.
For more details please visit the following articles.
Steps to order PCB from McBay
To order the PCB first visit PCBWay.com.
Then enter the following details:
1. PCB Size (Length & Width) in mm & PCB quantity
2. Select masking color for the PCB
3. Select country and shipping method
4. Click on the “Save to Cart” button
Now click on the “Add Gerber Files” to upload the PCB Gerber file.
Then click on the “Submit Order Now” to place the order.
After that, they will review the Gerber file and accordingly confirm the order.
I have used their services for my different home automation project, I always received
the PCB on time and the quality is very good in this price range.
How to make homemade PCB for this 4017 Project
Steps for making the motion sensor light circuit on PCB:
Step 1: Print the PCB Layout and stick it on acrylic sheet
While printing please check the PCB dimension mentioned in the PCB layout. After
downloading the PCB layout, you can print the word file (.docx) on the A4 page
(Please refer to the tutorial video).
Step 2: Drill the holes for the components on the PCB
Now, drill the holes on the PCB for components as per the PCB layout. Here, I have
used a 555 DC motor to drill the holes. You can also use a hand drill for drilling.
Step 3: Place & Connect all the components as shown on the PCB layout
After that place all the components on the PCB as marked on the PCB. Here I have
used extra leads of the components to connect those components.
After that I have soldered all the components as per the circuit diagram.
Now, our Motion Sensor Light Switch PCB is ready.
Testing the Motion Sensor Switch
Now connect the 5V DC supply and AC bulb as per the circuit.
Please take proper safety precautions while working with 110V \220V AC voltage.
To test the circuit move you hand in front of the IR LEDs the bulb will turn on or off
whenever it detects any motion.
Please share your feedback on this mini-project and also let me know if you have any
queries.
You can also subscribe to our newsletter to receive more such useful electronics
projects through email.
I hope you have liked this electronics project, Thank you for your time.
IR Sensor Switch with IC 4017 project
In these 4017 projects, I have shown how to make an IR sensor switch using the 4017
IC and 1738 IR receiver IC to control an AC lamp from any IR remote without using
any microcontroller or Arduino. You also control the lamp manually from the push
button.
To control the lamp you just have to press any button on IR remote, and to turn it off
you have to press the button again. You can use any IR remote.
Circuit of IR Sensor Switch
The IR remote switch circuit is very simple. I have used the CD4017 and TSOP1738
IR receiver IC to make this IR sensor switch. Use a 1000uF capacitor as C1 to avoid
any issue.
How the IR Sensor Switch works
1. When anyone presses the IR remote button, it emits an infrared signal, the
1738 IR receiver detects the IR signal, and the output pin of 1738 becomes
LOW.
2. The Base of the BC557 PNP transistor connected with the output pin of the
1738 IC. So when 1738 output becomes LOW the BC557 PNP transistor
turns on.
3. The BC557 connected with the CLK pin (pin 14) of CD4017 IC. When the
BC557 turns on, the CD4017 CLK pin receives a HIGH pulse.
4. Each time the CLK pin of CD4017 received a HIGH pulse, the state of the
PIN-2 of CD4017 changes. For example, if the current state of PIN-2 is
LOW, after receiving a clock pulse the PIN-2 will become HIGH till the
next clock pulse.
5. If the PIN-2 becomes HIGH, the BC547 NPN transistor turns ON, and the
current can flow through the relay coil. so the load connected with the relay
also turns on.
6. If the IR remote button pressed second time, the CD4017 will receive the
next clock pulse at PIN-14. So the PIN-2 will change the state (HIGH to
LOW). Then the BC547 transistor will turn off and accordingly the load
connected with the really also turn off.
PCB Layout of the IR Sensor Switch
Download PCB Layout
Please download the PCB layout, then print it on the A4 page.
Please check the PCB size while printing, it should be the same as mentioned in
Layout.
Required Components for the IC 4017 Project:
1. 100uF DC 16V capacitors 2no
2. 1000uF 16V DC capacitor
3. 0.1 uF Capacitor
4. 220-ohm 0.25-watt resistors 3 no
5. 10k 0.25-watt resistor
6. 270k 0.25-watt resistor
7. BC557 PNP Transistor
8. BC547 NPN Transistor
9. CD4017 IC
10.TSOP 1738 IR Receiver
11.1N4007 Diode
12.5-volt SPDT Relay
13.Push Button
14.5-volt DC source.
Tutorial Video on IR Remote Light Switch
In the tutorial video, I have explained all the steps to make the homemade PCB for the
infrared remote switch circuit. To make the PCB I have used an acrylic sheet.
But you can also download the PCB Gerber file for this 4017 project, and order the
custom design PCB from PCBWay.com
Download Gerber File
About PCBWay and their services
No Minimum Requirement
You may order as small as 5pcs of PCB from PCBWay. You can place an order as per
your requirement.
Fair Pricing
Their pricing structure is transparent and has no hidden cost in it and the price is one
of the most competitive in the world. Many price-sensitive customers like students
and hobbyists largely rely on PCBWay for their PCB prototype, low-volume
fabrication, and assembly needs.
Free DFM
All your orders will be receiving a free engineering file review service from trained
and professional technicians before the payment.
On-time Shipping
Their on-time delivery rate of 99%. They make sure that your PCBs will be on your
desk as scheduled and as early as possible. You can choose DHL and other courier
services for the balance of speed and budget.
Return and Refund
In case our PCB or assembled boards are not usable due to their fault, you can ask for
compensation. They will refund your account directly or credit your McBay account.
They can also rework the unusable boards or re-fabricate the PCB and re-ship to you
at their cost.
24 hours Customer Service
Whenever you have any problems, you can always reach a live customer service
person to respond to your emails or messages related to the order.
For the online instant quote page please visit – pcbway.com/orderonline
For more details please visit the following article
Steps to order PCB from McBay
To order the PCB first visit PCBWay.com.
Then enter the following details:
1. PCB Size (Length & Width) in mm & PCB quantity
2. Select masking color for the PCB
3. Select country and shipping method
4. Click on the “Save to Cart” button
Now click on the “Add Gerber Files” to upload the PCB Gerber file.
Then click on the “Submit Order Now” to place the order.
After that, they will review the Gerber file and accordingly confirm the order.
I have used their services for my different electronics projects, I always received the
PCB on time and the quality is very good in this price range.
How to make homemade PCB for the IC 4017 Project
Steps for making the IR sensor control light switch on PCB:
Step 1: Print the PCB Layout and stick it on acrylic sheet
While printing please check the PCB dimension mentioned in the PCB layout. After
downloading the PCB layout, you can print the word file (.docx) on the A4 page
(Please refer to the tutorial video).
Step 2: Drill the holes for the components on the PCB
Now, drill the holes on the PCB for components as per the PCB layout. You can also
use a hand drill or DC motor for drilling.
Step 3: Place & Connect all the components as shown on the PCB layout
After that place all the components on the PCB as marked on the PCB. Here I have
used extra leads of the components to connect those components for soldering.
Now, our IR Remote control Light Switch PCB is ready.
Testing the IR Sensor Switch circuit
Now connect the 5V DC supply and AC bulb as per the circuit.
Please take proper safety precautions while working with 110V \220V AC voltage.
Controlling the light from IR Remote
Now, press any button on the IR remote the lamp will turn on. to turn off the lamp
press the button again.
Controlling the light from the push-button
You can also use the push-button to control the lamp manually.
** Please use a 1000uF capacitor across the input.
Please share your feedback on this mini-project and also let me know if you have any
queries.
You can also subscribe to our newsletter to receive more such useful electronics
projects through email.
I hope you have liked this electronics project, Thank you for your time.
LM317 Voltage Regulator circuit
Post author:techstudycell
Post published:January 9, 2021
Post category:Mini Projects
Post comments:9 Comments
Description:
In this project, I have made a simple adjustable voltage DC power supply using the
LM317. This circuit has an inbuilt bridge rectifier, so I can directly supply 220V or
110V AC supply at the input of the LM317 circuit. The circuit converts 230V / 110V
AC to 0v – 12v DC.
I can also monitor the output voltage on the digital voltmeter, connected with the
circuit. I can use this circuit as a variable DC power supply for different electronics
projects.
Circuit of LM317 variable DC power supply:
Please refer to this circuit diagram for the LM317 adjustable DC power supply. I have
mentioned all the required component’s rating in the circuit diagram.
First, the step-down transformer reduces the voltage from 220V/110V to 15V AC.
Then the inbuilt bridge rectifier converts 15 volt AC to 15 volt DC.
To get the maximum 12volt DC at the output, I need to supply 15volt DC at the input
of the LM317 IC.
The output voltage can be adjusted by the potentiometer.
Required Components for LM317 circuit:
1. LM317 IC with heat sink 1no
2. 220-ohm resistor 1no
3. 1k resistor 1no
4. 5k potentiometer 1no
5. 10 uF Capacitor 1no
6. 1000 uF Capacitors 2no
7. 0.1uF Capacitors 2no
8. 5-mm LED 1no
9. 1N4007 Diodes 6no
10.Step Down Transformer 220/110V to 15V
11.Digital Voltmeter 0-100V Three Wire (Optional)
12.Connectors
13.Zero PCB
LM317 IC pinout:
Now, before working with the LM317 voltage regulator, we should know the pros &
corns of the LM317.
So in this video, I have explained the following topic of LM317 IC which gives you a
clear idea about the LM317 regulator
Operating Condition of LM317 IC from the Datasheet [voltage, current, temperature
rating, etc]
Explained with voltage equation, how the LM317 circuit works [ use of resistors,
capacitors in circuit]
Pinout of LM317t ic [Adjust pin, output pin & input pin]
How to make an adjustable DC power supply with LM317 IC on the breadboard
LM 317 circuit analysis by measuring the input & output voltage using a multimeter.
Using LM317 as a fixed voltage regulator with circuit [LM317 as 7806]
How to calculate the power dissipation in LM317 regulator [ When the heat sink
should be used with LM317 IC]
Protections for LM 317 circuit for different applications from LM317 datasheet
I have explained all the features of the LM317 variable voltage regulator with
practical experiments, like an LED dimmer, motor speed controller, etc.
Testing LM317 Circuit on Breadboard:
Before designing the PCB, I have made the circuit on the breadboard for testing.
The maximum current limit for this circuit is 1.5Amps and the maximum output
voltage is 12 volt DC.
The input voltage will be always greater than the output voltage, as the LM317 is a
linear voltage regulator. The efficiency of the circuit decrease with the increases in the
difference between input & output voltage.
Tutorial video for the LM317 project:
PCB layout for LM317 Power Supply:
After testing the circuit on Breadboard, I have designed the PCB for this LM317 DC
Power Supply which I will use as a power source for different electronics projects.
Download the PCB layout and print it on A4 page. Then stick the layout on Zero PCB
and place the components as mentioned.
Download PCB Layout
You can also download the Gerber file for this PCB project, and order it from
PCBWay.com.
Download Gerber File
About PCBWay and their services
PCBWay not only produce FR-4 and Aluminum boards, but also advanced PCB
like Rogers, HDI, Flexible and Rigid-Flex boards, with very reasonable price.
For the online instant quote page please visit – pcbway.com/orderonline
Inspect your Gerber file before placing the order – OnlineGerberViewer
You may order as small as 5pcs of PCB from PCBWay. You can place an order as per
your requirement.
You can explore different useful PCB projects from PCBWay Open-source
community – pcbway.com/project
For more details please visit the following articles.
Why PCBway
PCB Capabilities
High-Quality PCB
Steps to order PCB from PCBWay
To order the PCB first visit PCBWay.com.
Then enter the following details:
1. PCB Size (Length & Width) in mm & PCB quantity
2. Select masking color for the PCB
3. Select country and shipping method
4. Click on the “Save to Cart” button
Now click on the “Add Gerber Files” to upload the PCB Gerber file.
Then click on the “Submit Order Now” to place the order.
After that they will review the Gerber file and accordingly confirm the order.
You will receive the PCB as per the shipping method you have chosen.
Placed all the Components on PCB
Now, place all the components on the PCB as shown in the PCB layout.
Place the Diodes, LED, DC Capacitors, and LM317 IC on PCB as per the polarity
mentioned in the PCB layout.
Solder the Components on the LM317 PCB
Now, solder all the components as marked on the PCB.
Connect the step-down transformer. Then connect the primary and secondary of the
transformer as mentioned in the circuit.
Please take proper precautions while working with the high voltage (110V or 220V
AC).
Finally, LM317 Power Supply is ready
Controlling LED brightness with LM317 circuit
Controlling motor speed with LM317 circuit
The Adjustable LM317 power supply is ready. Now, I can connect small DC loads
like DC motors, LEDs, etc at the output.
The maximum current limit is 1.5Amp and the maximum output voltage is 12Volt DC
for this circuit.
Please share your feedback on this mini-project and also let me know if you have any
queries.
You can also subscribe to our newsletter to receive more such useful electronics
projects through email.
I hope you have liked this project, Thank you for your time.
4017 LED chaser Circuit Diagram with
RGB LED
Post author:techstudycell
Post published:January 11, 2021
Post category:CD4017 Projects / Mini Projects
Post comments:1 Comment
Description:
In this mini-project, I have shown how to make 4017 LED chaser circuit diagram only
using RGB LED. You can easily make this simple led chaser circuit using only
CD4017.
In this article, I have shared the circuit diagram, PCB layout, and all other details for
this simple 4017 project.
Circuit Diagram of LED chaser
To make this simple LED chaser circuit I have used only a 4017 IC. Here the flashing
RGB LED will generate the clock pulse for CD4017 IC. Then 4017 IC will blink the
LEDs in sequence as per the signal in the clock pin (14).
4017 LED chaser Schematic Diagram
This the schematic of the 10 LED chaser with only 4017 IC.
Here I have used a 9-volt adapter to supply the circuit. If you use the 9V battery then
you may have to connect multiple batteries in parallel to supply the LED chaser
circuit.
PCB Layout for 4017 LED chaser Circuit
Download PCB Layout
Please download the PCB layout, then print it on the A4 page.
Please check the PCB size while printing, it should be the same as mentioned in
Layout.
Required Components:
1. CD4017 IC
2. 470-ohm 0.25-watt Resistors (2no) (R1, R2)
3. RGB Flashing LED (5-mm)
4. 5-mm LEDs (10 nos)
5. Connector & IC Base
6. 9V DC Adaptor
7. Acrylic sheet or cardboard.
CD4017 IC Pinout
CD4017 Pinout
Tutorial Video on this 4017 Circuit
In this tutorial video, I have shown all the steps to make the simple LED chaser using
4017. I have also shown how to make PCB for this circuit from the acrylic sheet or
cardboard.
But you can also download the PCB Gerber file for this 4017 project, and order the
custom design PCB from PCBWay.com
Download Gerber File
About PCBWay and their services
PCBWay not only produce FR-4 and Aluminum boards, but also advanced PCB
like Rogers, HDI, Flexible and Rigid-Flex boards, with very reasonable price.
You can instantly get the quotation of your PCB or PCBA, and also check the order
fabrication and processing status online in the PCBWay account panel. After your
PCBs are sent out to your address, you can track the order shipping status online. You
may order as small as 5pcs of PCB from PCBWay. So you can place an order for
PCBs as per your requirement.
For the online instant quote page please visit – pcbway.com/orderonline
Inspect your Gerber file before placing the order – OnlineGerberViewer
Their SMT & THT assembly starts from only $30 with the free stencil and free
worldwide shipping.
The components can be sourced and provided by PCBWay, or by clients themselves
Rough quote online – pcbway.com/pcb-assembly
For more details please visit the following articles.
Why PCBway
PCB Capabilities
High-Quality PCB
Steps to order PCB from PCBWay
To order the PCB first visit PCBWay.com.
Then enter the following details:
1. PCB Size (Length & Width) in mm & PCB quantity
2. Select masking color for the PCB
3. Select country and shipping method
4. Click on the “Save to Cart” button
Now click on the “Add Gerber Files” to upload the PCB Gerber file.
Then click on the “Submit Order Now” to place the order.
After that, they will review the Gerber file and accordingly confirm the order.
I have used their services for my different electronics projects, I always received the
PCB on time and the quality is very good in this price range.
How to make PCB for this 4017 Project
Steps for making the volt level indicator circuit on PCB:
Step 1: Print the PCB Layout and stick it on Acrylic sheet or cardboard
While printing please check the PCB dimension mentioned in the PCB layout. After
downloading the PCB layout, you can print the word file (.docx) on the A4 page.
Step 2: Drill the holes for the components on the PCB
Now, drill the holes on the PCB for components as per the PCB layout. Here, I have
use 555 DC motor to drill the holes. You can also use hand drill for drilling.
Step 3: Place Connect all the components as shown on the PCB layout
After that place all the components on the PCB as marked on the PCB. Here I have
used extra leads of the components to connect those components.
After that I have soldered all the components as per the circuit diagram.
Now, our 4017 LED chaser PCB is ready.
Connect 9V DC Supply
Here I have connect 9V DC adapter to supply the circuit
Please share your feedback on this mini-project and also let me know if you have any
queries.
You can also subscribe to our newsletter to receive more such useful electronic