Flex Sensor Library for Proteus
Hello friends,I hope you all are fine and having fun with your lives. In today's tutorial, I am going to share a new Proteus Library named as
Flex Sensor Library for Proteus. I am quite excited while sharing this one because we are the first one to design this library and share it online. Although, I wanna add one thing here that most of the flex sensors are analog sensors and their resistance changes over bending and believe me I have tried my best to design an analog sensor but despite the efforts we couldn't so I am sharing a digital version of Flex Sensor. So, its not gonna detect how much its bent but it will detect whether its up or bent. So, I thought to share it with you guys. It's better to have something than nothing. You should also have a look at
Analog Flex Sensor Library for Proteus, which we have designed finally. :)
Although our team is still working on it and we hope to make it analog soon. Let me know your suggestions in the comments and if someone can help us in making it analog then it will be really great.Other bloggers are welcome to share this new with their reader but do mention our link. It will be a great favor to us. So, let's get started with
Flex Sensor Library for Proteus:
Note:
Other
Proteus Libraries are as follows:
Flex Sensor Library for Proteus
- First of all, click the below button and download this Flex Sensor Library for Proteus:
Flex Sensor Library for Proteus
- Open this rar file and you will get three file in it named as:
- FlexSensorTEP.IDX
- FlexSensorTEP.LIB
- FlexSensorTEP.HEX
- Now add these three files in the Library folder of your Proteus software.
Note:
- If you are using Proteus 7 Professional, then the library folder link will be something like this: C:Program Files (x86)Labcenter ElectronicsProteus 7 ProfessionalLIBRARY
- If you are using Proteus 8 Professional, then the library folder link will be something like this: C:ProgramDataLabcenter ElectronicsProteus 8 ProfessionalDataLIBRARY
- Now I hope you have done everything correctly so now open your Proteus software or restart it if its already open.
- In Proteus, make a search for Flex Sensor and you will get something as shown in below figure:
- So, now select this Flex Sensor and place it in your workspace and it will look something as shown in below figure:
- As I have told earlier that this Flex Sensor is not analog and it just works on digital.
- So, there are four pins on it.
- One is Vcc which you need to give 5V and second one is GND where you need to place the ground.
- Third pin is OUT which will be either HIGH or LOW depending on the Test Pin, so if Test Pin is HIGH then OUT will be HIGH otherwise it will be LOW.
- Both Straight and bent conditions are shown in below figure:
So, that's all for today. I hope you guys have enjoyed today's tutorial and this Flex Sensor Library for Proteus is really gonna help you out. Take care and have fun !!! :)
How to do Arduino Serial Communication ?
Hello everyone, I hope you all are fine and having fun with your lives. In today's tutorial, I am going to share
How to do Arduino Serial Communication in detail. Recently, I have shared a lot of tutorial on Arduino Serial Communication which contains everything you need for Arduino Serial Communication. So, in today's tutorial, I am actually gonna combine them all and give you a whole picture of How you can easily do the
Arduino Serial Communication. I hope you guys are gonna enjoy this. You should also have a look at
DC Motor Speed Control using Arduino in which I have controlled the DC Motor via Arduino Serial Communication.
I will also share some more tutorials on
Arduino Serial Communication in the near future so I will also add their links in today's tutorial. If you guys have any questions then ask in the comments and we will try our best to resolve your queries. Moreover, most of these codes are testing on Proteus and the simulations are given for download so you can download them from respective link but as a suggestion try to design them on your own. So, let's get started with How to do
Arduino Serial Communication:
How to do Arduino Serial Communication ???
- Arduino boards contain Serial Port in it. If we talk about Arduino UNO then it has the Serial Port at Pin # 0 and Pin # 1 as shown in below figure:
- These are the Arduino UNO Serial Pins and you can see it has only two pins so which means we can add only one serial device with it. We can use software serial, i am gonna discuss that later.
- Now Arduino Mega has four Serial Ports on it as shown in below figure:
- You can see in the above figure that Arduino Mega has:
- Serial: Â Pin # 0(RX) and Pin # 1(TX).
- Serial1: Pin # 19(RX1) and Pin # 18(TX1).
- Serial2: Pin # 17(RX2) and Pin # 16(TX2).
- Serial3: Pin # 15(RX3) and Pin # 14(TX3).
- So, these are pins through which we can do the Arduino Serial Communication.
- Now let's have a look at them step by step:
1. How to use Arduino Serial Write
- First of all you should read How to use Serial Write in Arduino in which I have explained in detail How to send data through Serial Port.
- In this tutorial I have used Arduino UNO so I have used Pin # 1 which is the TX pin and I am transmitting data Serially.
- For sending data we use below two commands:
Serial.write("a");
Serial.print("b");
- You should read the above tutorial because I have explained everything in it.
2. How to use Arduino Serial Read
- Next tutorial, you need to read is How to use Serial Read in Arduino in which I have explained How you can read data coming through Serial Port and then displayed it on LCD.
- It's an interesting tutorial and you must read that out. It will help you in understanding How you can receive data through serial port and then use that data.
- This data could be coming from GPS or GSM or some other serial sensor or device.
- For reading data though Serial Port you need to use below command:
char data = Serial.read();
- You must read the above tutorial to have a strong grip on it.
3. How to use Arduino Serial Monitor
- Once you got the detailed concept of How to read and write data to Serial Port the next thing you need to do is to read about How to use Serial Monitor in Arduino.
- Arduino Serial Monitor is a great tool needed for Arduino Serial Communication.
- It works as a debugging tool and I have explained in detail in this tutorial How to use it and do your Arduino Serial Communication.
4. How to use Arduino Serial Flush
- Flushing Serial data is important if you wanna do a smooth Serial Communication.
- So, I have posted a tutorial on it in which I have teach How to use Serial Flush in Arduino.
- For Serial Flushing we use the below command:
Serial.Flush();
- Serial Flush is not that necessary when you are working on small projects but if you are doing big projects in which you need to deal with a lot of data like GPS then you must consider it.
5. How to use Arduino Software Serial
- As I have told in the start that Arduino UNO has just one Serial Port so you can only connect one Serial device with Arduino UNO.
- So, what if you want to do more than one serial device with Arduino UNO then there's you need to know How to use Arduino Software Serial.
- So you guys must read this tutorial becuase we have to use it a lot in Arduino Projects.
So, that's all for today. I hope you have enjoyed this tutorial. I am gonna add more tutorial in it when I post them on our blog. So till next tutorial take care and have fun !!! :)
How to use Arduino Software Serial ?
Hello friends, I hope you all are fine and having fun. In today's tutorial, I am going to show you How to use Arduino Software Serial. In my previous tutorial, we have had a look at How to use Arduino Serial Write and How to use Arduino Serial Read. In both of these tutorials, we have done the hardware Serial Communication. But we all know that Arduino has just one Serial Port placed at pins 0 and 1.
So, if you are having two or more serial modules, then there's difficulty in adding two modules because we just have one hardware serial port. So, in such cases, there's a need to add one more serial port and that serial port can be created at any two pins of Arduino and is called software serial. Software Serial is also named Virtual Serial Port.
It's really very comfy if you are working on serial modules. If you ask me, I have never used a hardware serial port because pin # 0 and pin # 1 are also used for uploading code and debugging the code via Arduino Serial Monitor. So, I always connect my Serial modules via software serial and then check their output on Serial Monitor. So, let's get started with How to use Arduino Software Serial:
Where To Buy? |
---|
No. | Components | Distributor | Link To Buy |
1 | Arduino Uno | Amazon | Buy Now |
How to use Arduino Software Serial?
- I am going to use Proteus software for testing the codes.
- You can download the Proteus Simulation for Arduino Software Serial, by clicking the below button:
Download Simulation & Code
Arduino Code
- First of all, let me tell you where you can find Examples of Software Serial.
- Arduino has a Library of Software Serial in it. If you can't find its library then you should download the Software Serial Library.
- Now copy and paste the below code in your Arduino software:
#include <SoftwareSerial.h>
SoftwareSerial SoftSerial(2, 3);
void setup()
{
Serial.begin(9600);
SoftSerial.begin(9600);
SoftSerial.println(" **** Its a Software Serial **** ");
SoftSerial.println(" Designed by www.TheEngineeringProjects.com");
SoftSerial.println();
Serial.println(" **** Its a Hardware Serial **** ");
Serial.println(" Designed by www.TheEngineeringProjects.com");
Serial.println();
}
void loop()
{
if (Serial.available())
{
char data = Serial.read();
SoftSerial.print(data);
}
}
- In the above code, we have first included the Arduino Software Serial Library using #include<SoftwareSerial.h>.
- After that, I have created the SoftSerial object and its parameters are SoftSerial(RX, TX), so in the above code pin # 2 has become RX of our Arduino Software Serial and pin # 3 become TX.
- Now our SoftSerial object is ready and then we have initialized our software serial by using SoftSerial.begin(9600), here we have started our software serial and the baud rate set is 9600.
Proteus Simulation
- Now design a small circuit in Proteus, you will need Arduino Library for Proteus to use Arduino in Proteus, as shown in the below figure:
- Now get the Arduino Hex File and upload it to your Proteus software.
- Now run your Proteus Simulation and you will get something as shown in the below figure:
- So, it's printed there that one is hardware serial and second is software serial and you can see the software serial is connected to Pin # 2 and Pin # 3.
- Now when you write something in the Hardware Serial, it will also get printed in the Software Serial, that's the code which we have added in the loop() section.
So, that's all for today, I hope you have enjoyed this Arduino Software Serial example. Download the Simulation from the above button and try to design it on your own. Take care and have fun !!! :)
How to use Arduino Serial Flush?
Hello friends, I hope you all are fine and having fun with your lives. Today, I am going to share a very quick and basic tutorial in which I will show you How to use Arduino Serial Flush. I hope you guys are going to like it. We have seen How to use Arduino Serial Write? In that tutorial, we have sent some data over the Serial Port so you must recall that tutorial because we are going to use the same example today. Moreover, it's also good if you have a look at How to use Arduino Serial Monitor because that's also related.
Moreover, I hope that's going to be my last lecture on Arduino Serial Port because I have covered it in full detail. Although I am going to summarize all the Arduino Serial Post Commands in a single Post. You should also have a look at How to do Arduino Serial communication because, in that tutorial, I have combined all Arduino Serial Projects. Anyways, let's get started with How to use Arduino Serial Flush:
Where To Buy? |
---|
No. | Components | Distributor | Link To Buy |
1 | Arduino Uno | Amazon | Buy Now |
How to use Arduino Serial Flush?
- Arduino Serial Flush is used to flush the data sent through Arduino Serial Port.
- When we send data on a serial port through Arduino then we use the command Serial.print() or Serial. write().
- So when the data is sent it is sent using interrupt and when we use Arduino Serial Flush command then it makes sure that all the data is sent through serial port and nothing's left in the stream.
- In simple words, it clears the serial data stream and kind of refreshes it and also makes you ready to send the next data.
- Here's the syntax to use the Arduino Serial Flush command:
Serial.flush();
- It doesn't return anything that's why we haven't assigned any variable to it.
- It's just a simple function that clears the data on the transmitting pin of Arduino.
- Now, if you want to remove that on receiving pin of Arduino, then you just need to write this command:
while(Serial.available());
- But you make sure while using the above command because if you are receiving the data continuously then your code will remain stuck and won't move forward unless you got the complete data.
- So, here's the small code which I have also used in the Arduino Serial Write tutorial but now I am using the Arduino Serial Flush command too.
- So, here's the code:
#include
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(20, 4);
// Print a message to the LCD.
lcd.setCursor(1,0);
lcd.print("www.TheEngineering");
lcd.setCursor(4,1);
lcd.print("Projects.com");
lcd.setCursor(1,0);
Serial.begin(9600);
// lcd.clear();
Serial.write("www.TheEngineeringProjects.com");
Serial.flush();
}
void loop()
{
}
- In the above code, I have simply added the Arduino Serial Flush code and now it will take a little more time to complete because now it will make sure that all the data has been sent.
So, that's all for today. I hope you guys have enjoyed this short Arduino Serial Flush tutorial. If you have any questions, please ask in the comments. Take care !!! :)
How to use Arduino Serial Monitor ?
Hello friends, I hope you all are fine and having fun with your lives. In today's tutorial, I am going to show you
How to use Arduino Serial Monitor. It's not gonna be a very big post but its really very essential if you wanna learn Arduino coding. Because Arduino Serial Monitor is a great debugging tool and it helps a lot in Arduino Projects. In the previous post we have seen
How to use digitalRead in Arduino and if you recall that tutorial then you must remember that in it we have used some Serial printing. So that's what we are gonna cover in today's tutorial.
Before going into the details, I must suggest you to first read these two posts because in those tutorials I have shown the serial communication which is essential for Serial Monitor Working. So, you guys must first read them and then continue this tutorial. IF you have any questions then ask in the comments.
So, now let's get started with Introduction of
Arduino Serial Monitor:
How to open Arduino Serial Monitor ?
- There are two ways to open Arduino Serial Monitor, so let's discuss both of them one by one:
First way
- Open your Arduino Software and then click on the small box in the right top corner as shown in the below figure:
- Your Arduino must be connected to your computer when you click this Serial Monitor.
- If Arduino is not connected then it will create error but if Arduino is connected and configured then it will open a new window as shown in below figure:
- This new window is called Arduino Serial Monitor, we are gonna discuss how to use it in the next section, let's have a look at the second way of opening it:
Second Way
- You can also open it by clicking on the Tools in the Top Menu and then click Serial Monitor and same Serial Monitor will open up as shown in below figure:
- You can also use the short keys Ctrl+Shift+M to open Arduino Serial Monitor.
- So, that's all about How to open Arduino Serial Monitor. So, now let's have a look at How to use it and why to use it ? :)
What is Arduino Serial Monitor ?
- Arduino Serial Monitor is a simple tool available in Arduino software.
- Arduino Serial Monitor is used in Serial communication and it prints data, whatever you send through the serial port of Arduino will also be view able on this Serial Monitor.
- In Windows XP, we have a Hyper Terminal which is used for Serial communication and this Arduino Serial Monitor is just a replica of that Hyper Terminal.
- So, using this Arduino Serial Monitor you can check what you are sending and you can also place checks in your code.
- For example, I want to check the status f any digital Pin then I can simply Serial print it that when some button is pressed then I will be notified.
- I am gonna discuss it in detail further. but first let's have a simple data sending on Serial Monitor.
- So, connect your Arduino and then upload the below code in it:
void setup() {
Serial.begin(9600);
Serial.print("www.TheEngineeringProjects.com");
}
void loop() {
// put your main code here, to run repeatedly:
}
- Now you can see in the above code that I just begin my serial port and then I have used the command Serial.print to print some data on the Serial Port.
- So, now upload this code in your Arduino board which must be connected to your computer in order to work this Serial Monitor.
- After uploading the code, now open your Serial Monitor and you will get this data in your Serial Monitor which means this data has been sent Serially as shown in below figure:
- Now you can see that our data has been sent serially.
Note:
- Serial Monitor is using the Serial Port so that's why its directly connected to Pin # 0 and Pin # 1 of Arduino.
- When you open your Serial Monitor then your Arduino resets.
- You can change the baud rate from lower right corner so because we have begin our Serial port with baud rate 9600 that's why I have selected 9600 in Serial Monitor.
- Now if you manually want to send some data on the Serial Port of your Arduino (RX) then you can type in above bar and then click Send.
- So, let's design a small code in which we will send the data on the Serial Port which will be received on it.
- So, upload the below code in your Arduino and open your Serial Monitor.
void setup()
{
Serial.begin(9600);
Serial.println("www.TheEngineeringProjects.com");
}
void loop()
{
if(Serial.available())
{
char data = Serial.read();
Serial.print(data);
}
}
- Now, open your Serial Monitor and type something in it and it will be printed on your Serial Monitor as shown in below figure:
- So, I have printed my name and then Send it and it is printed on the Serial Monitor.
- Now, you know both ways of How to use Arduino Serial Monitor, now let me tell you where you can use it.
Serial Monitor as a Debugging Tool
- Serial Monitor is a great debugging tool.
- You can place checks in your code like you wanna see how many lines are working.
- So, if your code is of like 500 lines then you can place check in between like after 100 lines to see if its working or not.
- Similarly, if you are dealing with some GPS module then you can receive its data via the Software Serial and then can print it on the Serial Monitor to see that you are getting the data correctly.
- For having a look at Serial Data Receive you should check Send SMS using Sim900 and Arduino because in that post I have sent data over Serial Port and received data and then printed it on Serial Monitor.
- Here's an awesome video in which one of our team members has shown how to use Arduino Serial Monitor:
So, that's all about the Arduino Serial Monitor and I hope you guys have enjoyed it. I am gonna share more Arduino basic tutorials soon. Take care !!! :)
Evolution of Capacitors
Hello everyone, I hope you all are fine and having fun with your lives. Today's topic is about the Evolution of Capacitors and I have tried my best to explore all about Capacitors. A Capacitor is one of the passive elements. It is a two-terminal electrical component. It stores energy in the form of an electric field. The physical appearance of the practical capacitors varies depending upon their usages. The basic capacitor has two electrical conductors that are separated by a dielectric. The material used in electrical conductors is a conductive electrolyte, thin films, sintered beads of metal and thin foils. And, the material used in the dielectric is plastic, glass, ceramic, Vacuum, mica, paper, oxide layers, etc. A capacitor is also called a condenser. Capacitor mainly depends upon the area of the plates, the distance of the plates and characteristics of dielectric between two plates and it uses in many electronics and electrical projects.
What is a Capacitor?
It is defined as the ratio of the electric charge Q to the potential difference V.
C = Q / V
The capacitance of a capacitor is measured in units called
Farads. A capacitor is said to have one Farad of capacitance only if the capacitor can hold one ampere per second of electrons at one volt at a rate of one coulomb of electrons per second.
The Evolution of Capacitors
The evolution of capacitors took place in an interesting way. In the 6
th century,  a Greek scientist ‘Thales of Mileus’ rubbed amber with animal fur. The amber acquired the ability to pick up small bits of material. After several thousands of years have passed (in the 18
th century) many changes took place. Von Kleist built the first practical capacitor. He took a medical bottle and filled it partly with water, and then sealed it well with a cork. Later he pushed a nail through the cork into the water. Next, the nail was made to contact with the electrostatic machine, this produced some charge. When Von Kleist was about to touch the nail, he felt the separated charges were able to reunite by flowing through his own body.
One of the famous experiments was Leyden Jar. Van Musschenbroek conducted an experiment that can be said as the first capacitor. His experiment was almost similar to Von Kleist’s one; however, he just removed water from the bottle and used metallic foil to wrap both inside and outside of the jar. There was a metal chain that was driven through the cork on the top of the jar. This chain was hooked with something that would produce the charge. The moment charge was delivered, the jar would hold two equal but opposite charges in equilibrium until they were connected with a wire slightly producing either spark or shock.
Leyden Jar
A scientist named Daniel Gralath was the first to combine several jars in parallel to form a battery.
Jars In Parallel
This experiment went on to another step ahead of the conclusion given by a great scientist Benjamin Franklin. He told that the charge was stored in the glass, not in the water. So, this made him replace with a dielectric sheet-like oiled paper sandwiched in between the sheets of metal foils which were rolled or folded into a small package.
Finally, the experiment took good shape when Michel Faraday added his contribution. He came up with the concept of a dielectric constant. He not only invented the first practical fixed capacitor and variable capacitor, but also the first usable capacitor which was made from large oil barrels.
 Symbols Of Different Capacitors
- Symbols and Practical Diodes in the Real-Time Applications:
Capacitor Polarity:
Capacitors are measured in the units Farad. Most of the values are in micro Farad. Microfarad is one-millionth of a Farad. The PicoFarad is one-millionth of a Micro Farad. It is used in radio works. The Pico Farad capacitor size is larger than the Micro Farad capacitor. Some of the capacitors are unpolarized like resistors. They can be placed in either way in a circuit. Electrolytic Capacitors have anode and cathode that need to be placed in a particular direction. Electrolytic capacitors evaporate after 2000 hours at 105 degrees Celsius.
Construction of a Capacitor
- The basic model of the capacitor is made of two plate metals which are separated by a dielectric material.
- From this basic concept of construction, capacitors have evolved into many different models of construction.
.
Construction Of Capacitor
- Real capacitors are made by taking thin strips of metal foil and dielectric material and then sandwiching them together.
Capacitor With Foil
- In an Aluminum Electrolyte Capacitor, there is an aluminum foil, an electrolyte and porous paper.
Aluminum Capacitor
- In ceramic capacitors, ceramic acts as a dielectric material.
Ceramic Capacitor
- In the air capacitors, the air is used as a dielectric medium. In the future, owing to advanced technology capacitors will be made by using different kinds of dielectric material that make them simple, multipurpose and also economical.
Air Capacitor
Capacitor’s Working Principle
A capacitor in a given supply, current starts flowing into the capacitor. The charge gets struck on both plates as they are separated by a dielectric medium. The electrons that are negatively charged particles are on one of the plates; this makes the plate negatively charged. This large mass of negative charges repels with the like charges on the other plate making it positively charged.
Now, these negative and positive charges get attracted to each other which creates an electric field in between the plates as they are being separated by an insulating material. This phenomenon is just like storing energy in a battery.
Working Of Capacitor
The positive and negative charges try to approach together to form one whole mass on the capacitor plates, the capacitor becomes charged. A capacitor has the ability to retain its electric field; this is because both positive charge and negative charge attract each other, but never reach each other. At the saturation point, capacitor plates are fully charged and cannot accept any more charges. This stage is called as the capacitance of the capacitor.
Polarized Capacitor
Polarized Capacitor is also called electrolytic capacitors. It is used in DC applications, higher leakage current, small size capacitors, low-frequency response and high capacitance. It acts as a short circuit when connected in the wrong way. These capacitors are mainly applicable in regulating voltage fitting and smoothing decoupling of power supply.
Polarised Capacitor
Non-Polarized Capacitor
A non-Polarized Capacitor is used in AC applications. When two identical polarized capacitors are connected back to back with one of them in reverse, then they act as a non-polarized capacitor with only half of its capacitance. But this has an only low frequency. If one is in need of high frequency, then a non-polarized capacitor has to be used. It is used in loudspeakers.
Non-Polarised Capacitor
Different Types Of Capacitors
Electrolytic Capacitor
Electrolytic capacitors are polarized capacitors that have anode and cathode. They use a high dielectric constant of the aluminum oxide layer on the plates of the capacitor. This is greater than normal dielectric material.
Construction of Electrolytic Capacitors
The basic capacitor has two plates and one dielectric material. In an electrolytic capacitor, two plates and foils are slightly different. One of the plates is coated with an oxide layer and the paper is soaked in the electrolyte which is placed in between the plates. The foil insulated with an oxide layer is the anode. The thickness of the anode oxide is a thin film. The second foil acts as a cathode. This has to be packaged together and form a cylinder. Now, this is placed in an aluminum can to protect it from external force. While manufacturing the electrolytic capacitor, it is necessary to use high purity foil of anode. The general thickness would be 20µm and 50µm.
Electrolytic Capacitor
It is mainly used in military and space applications, and also in devices requiring very low leakage currents or in long-life characteristics and also to generate high temperatures up to 125 °C.
Ceramic Capacitor
Ceramic capacitors are of fixed values, which cannot be varied. In this capacitor, ceramic acts as the dielectric and two electrodes have it at their extreme ends.
Ceramic capacitors are available in three main types
- Surface Mounted Multilayer Ceramic Capacitors
- Lead Disc Ceramic Capacitor
- Specialist Microwave Bare Leadless Disc Ceramic Capacitor
Ceramic capacitors are available in smaller ratings, typically between 1nF and 1µF, although values up to 100µF are possible. These are small in size and have low-rated voltage. It is a non-polarized capacitor and can be connected to an AC source.
Construction Of Ceramic Capacitor
Ceramic capacitors are made up of fine ground granules of par electric or ferroelectric materials. These are mixed in such a way to get desired characteristics. The manufacture coats them with ceramic discs and uses silver contacts on both sides. To get large capacitance, these devices are made up of multiple layers.
Ceramic Capacitor Construction
Applications of Multilayer Ceramic Capacitors include Consumer electronics, data processing, hard disks, video cameras, DVDs, mobile phones, general electronic circuits and telecommunications.
Variable Capacitor
 Variable capacitors are obtained in both mechanical and electrical ways. They are mostly used in L/C circuits to set the resonance circuits. The variable capacitors are used in Radio, Television, etc.
Variable Capacitor
Capacitors are used:
- To block the flow of DC and permit AC
- To couple the sections
- To send desired signals to any sections
- For phase shifting
- For creating delay time
- In grounding the undesired frequencies
- In motor starter
- To filter the ripples in a rectifier circuit and waveforms
Applications of Capacitor
- Capacitor as a Filter: The capacitor is of low pass filter and high pass filter. The reactance of the capacitor is inversely proportional to the frequency. So, we can decrease or increase any circuit at a certain frequency.
- Capacitor as a Discharge Unit: Capacitor has the property of charging and discharging. This application can be used for triggering, ignition and triggering for high scale power sources.
- Snubber Capacitors: It is used to limit the high voltage transient across the circuits.
Thus, this is all about evolution and different types of capacitors. It is used in smooth power supply, audio frequency coupling, in RF coupling capacitor applications and in tunes circuits.
How to use digitalRead in Arduino ?
Hello everyone, I hope you all are fine and having fun. Today's tutorial is the next episode in the series of basic
Arduino tutorial for Beginners. In today's tutorial, we are gonna have a look at
How to use digitalRead in Arduino. In the previous tutorial, we have seen
How to use pinMode Arduino Command, which sets the Arduino Pin either as Input or Output. So, if you are using this pin as input then you have to read its status and that's where you need to use this digitalRead Arduino Command.
Other than Serial Pins in Arduino UNO, we also have 12 digital Pins. Serial Pins are also digital Pins so in total we have 14 digital Pins in Arduino UNO starting from 0 to 13. I am gonna explain them in detail in today's tutorial and we will also have a look at How to use this
digitalRead command in Arduino. So, let's get started with it:
How to use digitalRead in Arduino ?
- As I have explained in the above section that Arduino UNO has 14 digital pins in total starting from 0 to 13 as shown in below figure:
- So, you can see in the above figure that we have RXD at 0 which is sued for Serial receiving and then we have TXD at 1 used for Serial writing.
- So, these pins from 0 to 13 are all digital and after these digital Pins we have GND.
- Now I hope you have got the idea of digital Pins.
- Next thing is How to use these digital Pins, normally we connect different digital sensors with these digital Pins.
- For example, I have a digital Sensor named as Vibration Sensor. This sensor gives HIGH when it feels vibrations and gives LOW in normal condition.
- So, I am gonna connect the Signal Pin of this Sensor with any digital Pin of Arduino.
- Now, coming towards digitalRead command, this digitalRead command is used in Arduino for reading the status of digital Pins on Arduino.
- So, when we want to read whether the digital Pin of Arduino is HIGH or LOW, we use this digitalRead command.
- The syntax of digitalRead is as follows:
int Reading = digitalRead (int PinNumber);
- digitalRead command takes one input which is the value of the Pin, like if you wanna read the digital status of Pin # 8 then you have to enter 8 in the small brackets of digitalRead.
- digital Read returns Boolean data which is either HIGH or LOW and it is saved in the integer variable which I have named Reading in the above syntax. We have discussed it in Arduino Datatypes.
- So, let's have a look at the example of digitalRead:
Reading = digitalRead (8);
- In the above example, I am reading the status of digital Pin # 8 of Arduino and saving it value in the Reading variable.
- So, I hope now you have understood completely How to use the digital Read in Arduino.
Note:
- One important thing to note here is that because we are reading the data from digital Pin so that digital Pin must have to be an input.
- So, you need to declare that Pin as an input.
- So, let's have a look at a small code in which we will read the status of pin # 8 of Arduino and then display its status on Serial Monitor.
- I hope you have already read How to write Arduino Code and knows its basics.
int Pin = 8; // Initializing Arduino Pin
int Reading;
void setup() {
pinMode(Pin, INPUT); // Declaring Arduino Pin as an Input
}
void loop() {
Reading = digitalRead(Pin); // Reading status of Arduino digital Pin
if(Reading == HIGH)
{
Serial.println("HIGH");
}
if(Reading == LOW)
{
Serial.println("LOW");
}
}
Summary
So, here's a short summary of the above discussion for a quick revision:
Definition:
- digitalRead is used to read the status of any digital Pin in Arduino.
- We have to give the digital Pin number in the small brackets.
Syntax:
- Syntax of digital Read is:
int Reading = digitalRead (int PinNumber);
Return:
- digitalRead returns HIGH or LOW depending on the status of corresponding digital Pin.
Example:
Reading = digitalRead (8);
Restriction:
- Before reading status of any digital Pin, we have to first declare that Pin as an input.:
pinMode(8,INPUT);
So, that's all about today. I hope you have enjoyed today's tutorial and are gonna learn something out of it. In the next tutorial, we will have a look at
How to use DigitalWrite Arduino Command, which is used to update the status of digital Pins. Let me know if you have any questions in it. Take care !!! :)
Resistor Calculator
[vc_row][vc_column][vc_raw_js]JTNDc2NyaXB0JTIwbGFuZ3VhZ2UlM0QlMjJKYXZhU2NyaXB0MS4xJTIyJTNFJTBBJTBBJTJGJTJGJTIwY3JlYXRlJTIwYXJyYXklMjBsaXN0aW5nJTIwYWxsJTIwdGhlJTIwbXVsdGlwbGllciUyMHZhbHVlcyUwQXZhciUyMG11bHRpcGxpZXIlMjAlM0QlMjBuZXclMjB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XZhciUyMHRvbENvbG9yJTIwJTNEJTIwY2hvaWNlLm9wdGlvbnMlNUJjaG9pY2Uuc2VsZWN0ZWRJbmRleCU1RC52YWx1ZSUwQSUwOWRvY3VtZW50LnRvbC5zcmMlMjAlM0QlMjBpbWFnZURCJTVCdG9sQ29sb3IlNUQuc3JjJTBBJTA5Y2FsY09obXMlMjglMjklMEElN0QlMEFmdW5jdGlvbiUyMHNob3dJbnRybyUyOCUyOSUyMCU3QiUwQSUwOXdpbmRvdy5vcGVuJTI4JTIycmVzaW50cm8uaHRtJTIyJTJDJTIyJTIyJTJDJTIyd2lkdGglM0Q0MDAlMkNoZWlnaHQlM0QzMjAlMkNsZWZ0JTNEMTAwJTJDdG9wJTNEMTAwJTIyJTI5JTBBJTdEJTBBJTBBd2luZG93Lm9ubG9hZCUyMCUzRCUyMGNhbGNPaG1zJTNCJTBBJTNDJTJGc2NyaXB0JTNF[/vc_raw_js][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]
Hello everyone, first of all happy new year to all of you. I hope this year brings more happiness in everyone's life. :) Today, I am going to share a new online tool for the first time named as
Resistor Calculator. Using this online tool, you can easily find the resistance value using its color code and I am really excited about it because we haven't shared any online tool before. We are gonna share more such online tools real soon and I hope these online tools will help engineers in their Engineering Projects.
I have also shared how to calculate the resistance manually using its color code and its given after this resistor calculator tool. So, its a suggestion that not only use this resistor calculator but also learn how to do it manually because knowledge is always helpful plus there's a chance that you won't find internet when you wanna use our resistor calculator. :P So, here's the online tool for
resistor calculator:[/vc_column_text][vc_raw_html]JTNDc3R5bGUlMjB0eXBlJTNEJTIydGV4dCUyRmNzcyUyMiUzRSUwQSUyM3Jlc2lzdG9yJTIwJTdCdGV4dC1hbGlnbiUzQWNlbnRlciU3RCUwQSUyM3Jlc2lzdG9yJTIwcCUyMCU3QiUwQSUwOXRleHQtYWxpZ24lM0ElMjBsZWZ0JTNCJTBBJTdEJTBBJTIzcmVzaXN0b3IlMjBwcmUlMjAlN0IlMEElMDl0ZXh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vc_column][/vc_row][vc_row][vc_column][vc_column_text]I hope you have enjoyed this resistor calculator and it helped you in your Engineering Projects. Now I am gonna explain how to calculate resistance manually.
How to calculate resistance using color code ???
- First of all, resistance has four color bands on it as shown in the below figure:
- As you can see in the above figure, that there are four color bands on the resistance, where:
- First band is Red.
- Second band is Green.
- Third band is Black.
- Fourth band is Gold.
- Now let's discuss these color values first and then we will come back to these bands.
- The first three color bands can have nine different color bands and these colors along with their values are shown in below table:
- Now you know the values of each color band.
- So, now let me tell you how to get the resistor value from these color codes.
- First and second color band values come as it is.
- In the above examples the first band was red and red band value is 2.
- Second band was Green and its value is 5.
- Now the third band value tells the number of zeros that will come after these two values.
- So, as the third color is black and its value is 0 so its means no zero will come after first two values so this resistance is of 25 ohms.
- Now let's discuss the fourth color band.
- It is normally not considered in simple project but you should know what its mean.
- Fourth color band can either be Gold or Silver and its decides the tolerance of resistance.
- If fourth color band is Gold then it means the resistor has a tolerance of +/-5% and if its silver then it means it has a tolerance of +/-10%.
- If there's no fourth color band means the resistance has only three color bands then it means it has a tolerance of +/-20%.
- So, now let's discuss example of another resistance, given below:
- So the first band is Brown so first value is 1.
- Second band is Black so second value will be 0.
- Third band is Red and its value is 2, so there will be two zeros after first two values.
- So, overall the value will become 1000 ohm or you can say 1k ohm.
- As, the last band is silver so it has a tolerance of +/-10%.
So, that's all about
resistor calculator and also about how to calculate it manually. I hope you guys have enjoyed it and are gonna use it. Take care and have fun !!! :)
[/vc_column_text][/vc_column][/vc_row]
How to use Arduino Serial Write?
Hello everyone, I hope you all are fine and having fun with your lives. Today, I am going to share the next tutorial in this series of basic Arduino tutorials and it's named How to use Arduino Serial Write. In this tutorial, I have given an overview of How to use the Arduino Serial Write Command. In the previous tutorial, we have seen How to use Arduino Serial Read? in which we have read the data coming from the serial port.
While today we will have a look at how to send the data through a serial port in Arduino and for that, I am going to use the Arduino Serial Write command. It's also going to be a very simple and basic Arduino tutorial but if you are new to Arduino then you must read it completely as it will gonna help you out. I have also designed a Proteus Simulation and explained it at the end of this tutorial. I hope you guys are gonna learn from it:
How to use Arduino Serial Write ???
- In the Arduino Serial Read, we have seen that How to read data coming from the serial port and we have used Pin # 0 for that purpose.
- So, now we are going to write some data on the Serial Port.
- It's like we are sending data from Arduino to some other device via Serial Port.
- For example, you are using a GSM module with Arduino then you have to send AT commands to your GSM board from Arduino and that's where you use Arduino Serial write.
- You can download the Proteus Simulation and code for Arduino Serial Write Command by clicking the below button:
Download Simulation and Code
- Here's the first syntax for Arduino Serial write:
Arduino Serial Write Syntax 1:
- Arduino Serial Write is used to write some data on the Serial Port and it sends data in binary form.
- Here's Arduino Serial Write Syntax:
Serial.write ( 'DataSent' ) ;
where:
- DataSent is a simple byte and is used in these characters ' '. The below example code will send byte '1' on the serial port:
Serial.write ( '1' ) ;
- Now, let's write some data on Arduino Serial Port using the above syntax and see what we got.
Proteus Simulation
- So, design a Proteus Simulation as shown in the below figure:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(20, 4);
// Print a message to the LCD.
lcd.setCursor(1,0);
lcd.print("www.TheEngineering");
lcd.setCursor(4,1);
lcd.print("Projects.com");
lcd.setCursor(1,0);
Serial.begin(9600);
lcd.clear();
Serial.write('1');
}
void loop()
{
}
- In the above code, I have simply written a byte which you can see is 1.
- So, now upload it and run your simulation and if everything goes fine then you will get 1 on your virtual serial terminal of Proteus, as shown in the below figure:
- You can see in the above figure that we got 1 in Serial Port so now you can send whatever you want via this Arduino Serial Write Command.
- Now let's have a look at the second syntax of the Arduino Serial Write command:
Arduino Serial Write Syntax 2:
- We can also send a String of bytes via Arduino Serial Write Command. Here's the syntax:
Serial.write ( "DataSent" ) ;
where:
- DataSent is a simple byte and is used in these characters " ". The below example code will send our site address on the serial port:
Serial.write ( "www.TheEngineeringProjects.com" ) ;
- Now let's sent a string of bytes through this Arduino Serial Write Command, so I have used the below code and have sent our website address via Serial Write.
- So, use the below code and get your Hex File:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(20, 4);
// Print a message to the LCD.
lcd.setCursor(1,0);
lcd.print("www.TheEngineering");
lcd.setCursor(4,1);
lcd.print("Projects.com");
lcd.setCursor(1,0);
Serial.begin(9600);
// lcd.clear();
Serial.write("www.TheEngineeringProjects.com");
}
void loop()
{
}
- Run your Proteus Simulation and you will get the below results:
- You can see in the above figure that we got the whole address via Serial Port.
That's all for today, I hope you guys have enjoyed today's post. In the coming post, I am gonna discuss the Arduino Print Command. Thanks for reading. Take care.
How to use Arduino Serial Read ?
Hello friends, I hope you all are fine and having fun with your lives. Today, I am going to share a very basic and introductory tutorial named How to use Arduino Serial Read. I am sharing this tutorial because I am getting a lot of emails in which users normally ask about basic Arduino tutorials as they are very new to them. So, I thought of sharing this very basic Arduino tutorial in which we are going to have a look at how we can use the Arduino Serial Read command.
I selected this tutorial as my first tutorial in this list of Arduino basic tutorials because learning to use Serial port is very necessary as it's one of the best troubleshooting tools for your code. I have also given a Proteus Simulation in which I have received the incoming data from the serial port and displayed it on LCD. Before going into the details of this Arduino Serial Read, let me first discuss the Serial Port in General.
Where To Buy? |
---|
No. | Components | Distributor | Link To Buy |
1 | LCD 16x2 | Amazon | Buy Now |
2 | Arduino Uno | Amazon | Buy Now |
What is Serial Port?
- I have already written a detailed tutorial on this topic which you can read at What is Serial Port?
- Serial Port is used for data communication between two electronic modules, both should support serial ports.
- Serial Port has 9 pins in total used for different purposes.
- The two of these pins most commonly used are TX (transmitter) and RX (Receiver).
- So, using these two pins we send our data from one place to another.
- Now let's have a look at Arduino Serial Port first, before having a look at Arduino Serial Read.
Serial Port in Arduino
- Almost all Arduino boards support Serial Port.
- If we talk about Arduino UNO, it has one serial port on it and it is located at pin 0 and pin 1.
- If you look closely at the Arduino UNO board then you can see a little TX is written on its pin # 1 and a little RX is written on its pin # 0, as shown in the below figure:
- So, now we have got the Serial Port on Arduino UNO which we know are at pin # 0 and pin # 1, now in the next part, we are going to have a look at How to use Arduino Serial Read and get data from this Serial Port.
How to use Arduino Serial Read?
- Arduino Serial read command is used for reading any data available at the Serial Port of Arduino board.
- I have also designed a Proteus simulation which you can download from the below button, and I have explained this simulation in the last step of this tutorial:
Download Simulation & Code
- For example, you have some serial module, let's say GPS module (most of the GPS module works at serial port).
- So, when you connect your GPS module with Arduino, you have to connect the TX pin of GPS with the RX pin of Arduino.
- Now the TX pin of GPS will be sending/transmitting the data and because this pin is connected with the RX pin of Arduino, so Arduino will keep receiving the data.
- Now the data is coming to Arduino but you have to write some code to read this incoming serial data and then save it in some variable.
- And in order to read this data, we need to use the Arduino Serial Read command.
- Arduino Serial read command reads the incoming data from Serial Port and then saves it in some variable.
- Here's the syntax of the Arduino Serial Read command:
char data = Serial.read();
- One important thing is, in order to make Arduino Serial Read command work, you have to first initialize the Serial Port in Arduino, as shown below:
Serial.begin(9600);
Note:
- Arduino USB Port which is plugged into the computer and is used for uploading code also works on the same serial port.
- So, if you have anything plugged in pin # 0 of Arduino then you can't upload the code in Arduino.
Now, let's design a simple example in which we will be receiving data from Serial Port and then saving it in some variable.
- So, connect your Serial device with your Arduino board and now upload the below code to your Arduino board:
void setup() {
Serial.begin(9600); // Serial Port initialization
}
void loop() {
if(Serial.available()) // Chek for availablity of data at Serial Port
{
char data = Serial.read(); // Reading Serial Data and saving in data variable
Serial.print(data); // Printing the Serial data
}
}
- Now, you need to open the Serial Monitor of Arduino which is used for debugging purposes.
- So, whenever you write something on Serial Port, it got printed on the Serial monitor.
- So, whatever you will be receiving in the Serial Port you will get in the Serial Monitor.
- Here are some random data of GSM module coming on serial port and showing in serial monitor:
How to use Arduino Serial Read in Proteus?
- So, now let's design a small Proteus simulation in which we will see how to use Arduino Serial Read.
- Proteus doesn't have Arduino boards in it, so you need to first download this Arduino Library for Proteus and then you will be able to simulate your Arduino board in Proteus.
- So, design a simple circuit as shown in the below figure:
- In the above figure, I have placed an LCD and I will get the data from the serial port and then I will print that data on LCD.
- So, in simple words, whatever I type in the Virtual terminal will be shown on LCD.
- You also need to download this New LCD Library for Proteus to get this amazing LCD in Proteus.
- So, now use the below code and Get your Hex File from Arduino Software:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(13, 12, 11, 10, 9, 8);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(20, 4);
// Print a message to the LCD.
lcd.setCursor(1,0);
lcd.print("www.TheEngineering");
lcd.setCursor(4,1);
lcd.print("Projects.com");
lcd.setCursor(1,0);
Serial.begin(9600);
}
void loop() {
if(Serial.available()) // Chek for availablity of data at Serial Port
{
char data = Serial.read(); // Reading Serial Data and saving in data variable
Serial.print(data);
lcd.print(data); // Printing the Serial data
}
}
- Now when you start the Proteus simulation the first screen will look something like this:
- Now whatever you write in your Serial Port, will show on the LCD as shown in below figure:
- That's how the Arduino Serial Read works.
- You can download this Proteus simulation and the Arduino code by clicking the Download button given at the start of this post.
So, that's how you can use the
Arduino Serial Read command and can do your task. If it's still difficult for you then let me know on comments and I will try my best to resolve your issues. Thanks.