Generic IR Sensor With LM324

by Arduinolover_Ins in Circuits > Arduino

1064 Views, 1 Favorites, 0 Comments

Generic IR Sensor With LM324

1.JPG

In this tutorial we are going to learn about how to make our onw DIY IR Sensor with the LM324 chip. Let's get started:

The purpose of this circuit is to provide a visual indication by activating an LED whenever an object is placed in front of the IR LED and the photodiode. This circuit is really simple and is only using a few components like a battery, an IR LED, photodiode, LM324 op-amp IC, LED, and some discrete components. IR or infrared sensors are used in a lot of electronic devices nowadays like TV, DVD, and many other appliances.


Applications and Uses

  • Movement detectors
  • IR sensing water taps
  • Hand dryers
  • Robots
  • Vehicles


LM324 Photodiode Sensor or Infrared Proximity Sensor

1.jpg

LM324 is an operational amplifier consists of four channels. It is most commonly used amplifier due to its low cost factor. It consists of four amplifiers per package and is superior to other amplifiers for single supply applications. Negative power supply included in common mode input and output range eliminates the need of external biasing. It has several different applications e.g. DC gain blocks, transducer amplifiers, conventional amplifier circuits etc. LM 324 is shown in the figure given below.




Schematic Diagram

4.JPG

The first thing that We need to consider in the PCB process in the schematic diagram, attached you will find the orignal schematic diagram with the components used for the board, We made again the schematic from the Arduino schematic website.

You can get the schematic diagram : HERE

PCB LAYOUT

3.JPG
2.JPG

Before We continue with the PCB layout, it is important to indicate that You can use any software for PCB Desing, believe me there are many options, even if you use the best software it will not mean that you are the best pcb desinger, so in this case We are going to use The Altium Designer highly recommended if you want to enter in the pcb design world like a professional.

So after We finished and check our schematic circuit We need to switch from schematic to PCB layout. We can see the PCB with the Ground Plane, this helps for noise filter on the pcb. Also is important to remember that in the case of the microcontroller is necesary to place the crystal and the capacitor the closest possible.


Here after we finish the pcb layout We can get the Gerber files, there are two kind of gerber files we have to pay attention to it, the first GerberX2 and the other Gerber RS274X, most of the manufacturer use the second one Gerber RS274X, in some software we will just GerberX2 and Gerber (In the case of Altium Designer).

You can also download the Gerber Files: HERE

There are two kind of gerber files we have to pay attention to it, the first isGerberX2 and the other Gerber RS274X, most of the manufacturer use the second one Gerber RS274X


3D MODEL

4.JPG
5.JPG

One of the features of Altium Designer is the 3D visualization, the 3d visualization is important and it give us the posibility to see and check our PCB and how it would be in real, also it can show us the components distribution and dimensions. Before I did not consider this feature so important, but the 3d visualization can show us if our footprint dimensions are ok, if all the components will be places without touching each other by mistake.

PDF 3D

According to the software that you are using, You can also get the 3d Models, as I commented you before, this board was desinged On the Altium Designer Software who has this nice option to get the 3d pdf, so later you can share with your coworkers or clients to show the advances of the pcb, without the software installed.

You can get the 3d PCB: HERE

PCB MANUFACTURE

6.JPG
7.JPG

Once we finished our development board; it is time to bring it to life. In order to manufacture our board, We are going to use JLCPB Services.In case that you do not have an account yet, check out the bellow link

JLCPCB: https://jlcpcb.com/IAT

Let's bring our Pcb to life with JLCPCB manufacturer


How to Order our PCB in JLCPCB ?

Once We are register, and We logged in our account, We are ready to submit an order and receive our board in a very short time. In this case We need to update first the gerber files, which contains all the necesary information to build the pcb, You can get the gerber files in the link bellow.

Gerber Files: HERE

Upload your gerber files

Indicate the features

After the upload of our gerber files, We need to indicate the features of the board, in the next picture you can see the options available.

Add your shipping address

This part is very important, here you should write your currently address, where you would like to receive your pcb prototypes. It is not common but sometimes very rarely, you will need to pay extra feeds, but as I told you, it is very rarely.

Make the payment and finish the order

After you indicates this information, We continue with the payment section, These is the section where you can apply your coupons or discount codes. Basically We can complete the paymente by two general ways, Paypal or Credit card.

Receive your PCB

Days later, 7 days or few more, according to your location and custom broker process, You will receive your pcb prototypes.

Why JCLPCB?

10.JPG

JLCPCB has been at the fore front of the PCB industry. With over 14-year continuous innovation and improvement based on customers' need, we have been growing fast, and becoming a leading global PCB manufacturer, who provides the rapid production of high-reliability and cost-effective PCBs and creates the best customer experience in the industry.In case that you do not have an account yet, check out the bellow link

JLCPCB: https://jlcpcb.com/IAT

  • Most Efficient, Economic, Innovative PCB Solutions
  • Higher Quality
  • Lower Cost
  • Faster Delivery
JLCPCB provides a rapid production of high-reliability and cost-effective PCBs and create the best customer experience in the indrustry.