Arduino Projects

Arduino Industrial application: how to Control anything on time basis


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:

16×2 Lcd: 

Arduino Uno:

Mega 2560:

lm7805 Voltage Regulator:

330-ohm resistors pack:

female DC power jack socket:

470uf capacitors:

5×7 cm Vero board: 

female headers:

connection wires:

Super Starter kit for Beginners:

Jumper Wires: 

Bread Board: 

12v Adaptor: 

PCB plate: 

Variable Supply:

Digital Multimeter:

Vero Board / stripboard: 

Soldering iron kit:

Solder wire: 

Wire Stripper: 


PCB drill machine: 


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 transmitter…to 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 a larger quality transistor is a 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.A 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 a 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

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button