Arduino Industrial application: how to Control anything on time basis

Arduino Industrial

Description:

Arduino Industrial- You’ll learn how to make an industrial-level device in this tutorial that can be used to manage anything on a time-based basis. This tutorial is based on the same microcontroller that is used in Arduino, an Atmega328 microcontroller.

Arduino Industrial

This software is very user friendly, all you need is to attach the load you want to power. In my scenario, for demonstration purposes, I will use a 220v indicator light. If you want to be able to connect some sort of load, you will need to link a heavy-duty relay to the output of this relay for lower loads, so this relay is used to control a heavy-duty relay, and the heavy-duty relay is used to control some type of high load, such as heaters, grinders, water pumps, etc. Once the load is connected then power the circuit using the 12v adapter or battery ….. change the LCD contrast using this variable resistor, switch on the start button … set the time by using this variable resistor, I set it to 1 minute for demonstration purposes ……

Arduino Industrial

For exactly minute this indicator light must remain ON …. By pressing the reset button, the same cycle can be repeated again, so this indicator lamp can stay on for minute, this variable resistor can be used to change the load ON time in real-time ……

In this post, I will cover

  1. Circuit diagram
  2. PCB explanation
  3. Soldering
  4. Programming and finally number
  5. Testing



The Amazon Purchase links are given below:

16×2 Lcd: https://amzn.to/2t92LYf
Arduino Uno: https://amzn.to/39aq6ZT
Mega 2560: https://amzn.to/2SszMsI
lm7805 Voltage Regulator: https://amzn.to/2ERYoTJ
330-ohm resistors pack: https://amzn.to/2Qj1Igg
female DC power jack socket: https://amzn.to/377Pg9M
470uf capacitors: https://amzn.to/2MrN3xR
5×7 cm Vero board: https://amzn.to/37b7KWO
female headers: https://amzn.to/350w6RE
connection wires: https://amzn.to/2MvOJXd
Super Starter kit for Beginners: https://amzn.to/398dliF
Jumper Wires: https://amzn.to/2SrnBwo
Bread Board: https://amzn.to/2MxV5FM
12v Adaptor: https://amzn.to/2MuOlZk
PCB plate: https://amzn.to/2MuwNMB
Variable Supply: https://amzn.to/39d0KdP
Digital Multimeter: https://amzn.to/34WbVoa
Vero Board / stripboard: https://amzn.to/39nL9Zg
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2PVwexF
Solder wire: https://amzn.to/2QlOvTS
Wire Stripper: https://amzn.to/353tYJa
wirecutter: https://amzn.to/2tV2lFj
PCB small portable drill machine: https://amzn.to/2MvQqnx

DISCLAIMER:

Please Note: these are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Arduino Industrial Circuit Diagram:

Arduino Industrial

This is the full circuit diagram, this is toggle switch for starting and stopping the timer. One side of the switch toggle is connected to the wall, while the other side is connected to Arduino’s pin number ….This is a push button for resetting the timer. One hand of the push button is attached to the ground while the other side is connected to the Arduino’s number 3 ….The variable resistor R2 is used to set the time in minutes as you can see that it has three legs, the right and left legs are attached to 5v and ground while the middle leg is connected to the Arduino’s Analog pin A1 …

this is a 16×2 LCD and will be used to view pre-set time, date and load status … pin numbers 1, 5 and 16 are attached to the surface. Pin numbers 2 and 15 are 5volts related. Pin number 3 is attached to the variable resistor’s middle pin. This variable resistor will be used for Lcd contrast adjustment The LCD’s RS pin is connected to pin number 6,the      LCD’s trigger pin is connected to pin number 7 of the Arduino…Pins d4 to d7 connecting the data pins to Arduino’s pin 8 to 11. This is a relay form of 12v spdt. There are 5 pins in this relay, these are the two coil pins, this is the typical pin, this is the normally open pin, and this is the usually closed pin. There is no physical connection between these three pins and the relay coil pins. This relay can’t be controlled  directly with the transmitterto power the relay coil you need about 28milli amps. This is not a fixed value, it depends on the size of the relay that you use. You can easily calculate it value, first use a  digital multi meter to find the resistance of the relay coil.Since it’s a 12v relay so v = 12, now using the ohm rule we can find the current value needed to power the relay coil … the type of relay I’m going to use requires 28 milli amps, so now I can use any general purpose NPN or PNP style transistor to the degree that its collector current is greater than 28 milli amps,But the use of larger quality transistor is good design technique. In my case I’m going to use 2n2222 NPN transistor as it’s really cheap and in any electronics shop you can find this transistor ….The 2n2222 NPN transistor collector is linked to the relay coil while 12volts are connected to the other side of the relay coil. The transistor’s emitter is connected to the ground.10k resistor is connected to the core, while Arduino’s pin number 13 is connected to the other side of the resistor. The transistor makes the relay driver circuit together with the resistor. This is freewheeling diode, which is used to guard against the back emf.


Arduino Industrial PCB design explanation:

Arduino Industrial

This PCB is designed in cadsoft eagle 9.1.0 version,

This is a double side PCB. The blue color represents the bottom side while the red color is the top side. All these connections are as per the circuit diagram as explained.

 Download this PCB: time controlled machine

 

Arduino Industrial PCB board explanation:

Arduino Industrial

As you can see, the performance is really nice and the order is as good as it is. I picked blue color during the online order placement, but later I decided to turn it into black color. This move was only possible because of the PCBway company staff’s friendly actions. I’m 100% happy with their work.


PCB components installation and soldering:

Arduino Industrial

First of all, installed all the components as you can see that the total components are installed and now it is time to start the soldering process 

Arduino Industrial

As you can see, the total components are soldered and now only women headers are paired with two variable resistors. So I’ll be back after the remaining components have been soldered 

Arduino Industrial

All the parts are soldered, as you can see … For the lcd comparison, this variable resistor is used

Arduino Industrial

For setting the time while using this variable resistor

Arduino Industrial

this is for the lcd…

Arduino Industrial

So double check all connections to make sure there’s no short circuit before the circuit is powered up. Using pin number 2 and pin number 3 to connect two buttons at the top.



Arduino Industrial Programming:

Watch Video Tutorial

Recommended For You

Fawad

About the Author: Fawad

My name is Shahzada Fawad and I am a Programmer. Currently, I am running my own YouTube channel "Expertstech", and managing this Website. My Hobbies are * Watching Movies * Music * Photography * Travelling * gaming and so on...

Leave a Reply

%d bloggers like this: