Skip to main content

Posts

Showing posts from January, 2022

Latest Post

What is Industry 4.0?

  What is Industry 4.0 and what are some of the technologies that are driving it? Industry 4.0 is a term that refers to the fourth industrial revolution, which is characterized by the integration of digital technologies, such as artificial intelligence, cloud computing, big data, the internet of things, robotics, and 3D printing, into the manufacturing sector. Industry 4.0 aims to create smart factories that are more efficient, flexible, and responsive to customer needs and market changes. Some of the technologies that are enabling Industry 4.0 are: - Artificial intelligence (AI) : AI is the ability of machines to perform tasks that normally require human intelligence, such as reasoning, learning, decision-making, and problem-solving. AI can help optimize production processes, improve product quality, reduce costs, and enhance customer satisfaction. - Cloud computing: Cloud computing is delivering computing services, such as servers, storage, databases, software, and analytics, over t

Seven Segment Display Interfacing with Arduino

Seven-Segment Introduction  Let’s start the main part of this tutorial by answering a question: what is a seven-segment display? As its name suggests, a 7-segment device consists of 7  light-emitting diodes . These light-emitting diodes are arranged and packed inside a single display with a specific pattern in mind. If this pattern is controlled in a specific way by turning on and turning off LEDs, a seven-segment device will display a unique number. There is also an extra eighth LED on a seven-segment display which is used to display dots. This dot is sometimes used as a decimal point when we want to display a fractional value.  The picture below shows a seven-segment display and its pinout. The string of eight LEDs on the left side shows the internal connection and a picture on the right side shows how these LEDs are arranged to make a seven-segment display. Pin3 and 8 are common pins. These pins are used to provide either 5 volts or ground in common-anode and common cathode type dis

Control led through using BLYNK & Bluetooth Module

First, you must ensure you have an installed and up-to-date version of the Arduino IDE. You can find that on  their downloads page . Next, you must install  the Blynk Arduino library . This is what allows you to interface with the Blynk app. If you haven't already, download  the Blynk app  onto your phone as well. Control your LED through Blynk App using Arduino Uno First, you have to connect LED with Arduino Uno then HC05 or HC06 (Bluetooth Module) connect with Arduino Uno Upload your Code & setup Blynk Done CODE: /*************************************************************   Blynk is a platform with iOS and Android apps to control   Arduino, Raspberry Pi and the likes over the Internet.   You can easily build graphic interfaces for all your   projects by simply dragging and dropping widgets.     Downloads, docs, tutorials: http://www.blynk.cc     Sketch generator:           http://examples.blynk.cc     Blynk community:            http://community.blynk.cc     Social network

Fire Alarm with arduino

Flame Sensor A  flame detector  is a sensor designed to detect and respond to the presence of a flame or fire. Responses to a detected flame depend on the installation but can include sounding an alarm, deactivating a fuel line (such as a propane or a natural gas line), and activating a fire suppression system. The IR Flame sensor used in this project is shown below, these sensors are also called  Fire sensor modules  or  flame detector sensors  sometimes. There are different types of flame detection methods. Some of them are Ultraviolet detector, near IR array detector, infrared (IR) detector, Infrared thermal cameras, UV/IR detector, etc. When fire burns it emits a small amount of Infra-red light, this light will be received by the Photodiode (IR receiver) on the sensor module. Then we use an Op-Amp to check for a change in voltage across the IR Receiver, so that if a fire is detected the output pin (DO) will give 0V(LOW), and if the is no fire the output pin will be 5V(HIGH). In thi

Playing with IR

Controlling RGB LED Colors Using the IR Remote Control After you found the code for each button, you can use it to control the commands. In this example, we connected an RGB LED to Arduino and use the remote control to change the colors. To do this, specify a few buttons on the remote control and save their code. In this example, buttons 1 to 3 are used. Then assign a specific color to each button. At the end by pressing any of the 1 to 3 keys, the LED changes it's color. For more colors, you can find the code for each color  here. Circuit Code #include <IRremote.h>     int RECV_PIN = 6 ;     int bluePin = 11 ;     int greenPin = 10 ;         int redPin = 9 ;     IRrecv irrecv ( RECV_PIN );     decode_results results;     void setup (){       Serial . begin ( 9600 );       irrecv . enableIRIn ();       pinMode (redPin, OUTPUT);       pinMode (greenPin, OUTPUT);         pinMode (bluePin, OUTPUT);     }     void loop (){         if ( irrecv . decode (&results)){  

IR Protocol

  Introduction to IR Protocol IR or infrared communication is one of the most common methods of wireless communication due to being easy to use and having an affordable price. Infrared light, with a wavelength longer than visible light, is not within the range of human vision. That’s why it’s a good option for wireless communications. When you press a button on your TV control, an LED on your control turns on and off continuously and causes a modulated infrared signal to send from the control to your TV. The command will execute after the signal is demodulated. IR receiver modules are used to receive IR signals. These modules work in 3, 8 kHz frequency. When the sensor is not exposed to any light at its working frequency, the Vout output has a value equal to VS (power supply). With exposure to a 38 kHz infrared light, this output will be zero. Find the Code for each Remote Control Button In this part, we want to set up a connection between the Arduino and an IR sender and receiver. To