Showing posts with label Electronics. Show all posts
Showing posts with label Electronics. Show all posts

Sunday, January 21, 2018

What is Arduino? A Complete Introduction to Getting Started With Arduino and Arduino Programming


Do you want to make a robot or something interesting electronics project? Then you must should use Arduino. Even your engineering teacher maybe told you to learn arduino. But you don’t know what is arduino? Or, what can we do using Arduino? Ok, If you have this question in your brain than I think you are at the right place. In this article I shall introduce you with Arduino and it’s use. Let’s consider your first question.

What is Arduino?

Arduino is mainly a hardware and software company who manufactured computer programmable microcontroller board and related software. Arduino is a open source platform. That means all the resource files and software is open to everybody and anybody can develop this board and software to make it more useful.
If we want to know more about arduino at first we need to know about microcontroller.

What is Microcontroller?

Microcontroller is a single chip microcomputer. It looks like a Integrated Circuit (IC). We can control any electronics device by a microcontroller using computer programme. Microcontroller is called as a mini computer. Why we call it as a micro computer? Because Microcontroller has the same characteristics of a desktop computer.


microcontroller


·        Computer has RAM and ROM. Microcontroller also has both RAM and ROM.
·        Computer runs based on a programme which is loaded in this computer. Microcontroller also needs a programme to run and execute command.
·        Computer has input-output pin. Microcontroller also has digital input-output pin. Basically this input output pin is used to control led, motor, buzzer, display and reading value from different sensor.
I think you have understood about microcontroller. Now come back to our main topics about Arduino. Arduino provides different kinds of microcontroller based hardware board. The arduino board is normally consists of a microcontroller, some useable input-output pin, a regulated power circuit. Arduino board has a built in programmer to burn the computer programme in the microcontroller. So, Arduino board don’t need extra hardware to burn computer programme in microcontroller.

What can we do using Arduino?

If you have already understand what is arduino than I think your next question is what can we do using arduino? Ok, good question. I think you should ask what cann’t we do using arduino? Surprising question. But it should be the right answer. Because, you can develop any kind of electronics project using this tiny arduino board. Arduino is developing day by day. Different kind of sensor is now working with arduino because the developer always works to make it more popular. From a simple Digital Thermometer to a complex robot you can make using arduino. But here I am giving a short note about some most popular arduino projects list which can be built by Arduino. 

  • Digital Thermometer
  • Digital Weather Station
  • Laser Security System
  • Smart Voting Machine
  • Different kind of Robots
  • CNC Machine
  • Smart Security System
  • Remote Controlling
  • Drone

Arduino is now very popular in building Artificial Intelligence Robot. Here I have included only some project name. But in real life you can make different kind of project using Arduino.

How can we get started with Arduino?

Ok, I think you already fall in love of Arduino. Now in this section I will tell you how to get started with arduino. At first you need to collect a Arduino Board. There are different kinds of Arduino boards available in market. But as beginner I always prefer to use Arduino Uno R3 board. It is perfect for starting. Arduino Uno R3 has 14 Digital Input Output Pin, 6 Analog Input Pin, 7 pwm supported pin in digital input output pin. Arduino also has RX and TX Pin which can make serial communication with any device. Besides this we also need some additional device to make project. For this, best practices is to buy a Arduino Starter Kit. This kit contains all important components to start our journey of Arduino. I have also collected this Arduino Starter Kit. In my serial Tutorial I will use this Starter Kit. Collect your own kit before starting Arduino Journey.
arduino uno r3

How can we learn Arduino?

Ok, after collecting all needed components now it’s time to learn arduino practically. In my site I will serially share tutorial which will be very helpful for those who don’t know anything about arduino. Basically we need to learn C Programming to programme our microcontroller in Arduino. If you don’t know c programming don’t worry. I am here, to help you to learn Arduino Programming. I will also provide project making tutorial. After watching this tutorial you will be able to make your own arduino project at your home.
Ok friends, in this article I have basically tried to give your answer about What is Arduino? I think you have understand that what is arduino. Now, if you are interested to learn arduino than stay with me. In my website I will provide Arduino Tutorial with video. If you watch this video you will learn Arduino Programming and will be Arduino Projects Master.



No more today. If you have any question about what is arduino or something else, feel free to ask me. I shall try my best to provide you the right answer. See you again in my next post. Till than stay safe.

Monday, January 1, 2018

How to Make Arduino Laser Security System at Home using Arduino and LDR

how to make laser security system
Do you know about Arduino Laser Security System? If you don't know anything, don't worry. Because today i will present a complete package of information about arduino laser security system.

We all want to live safely. So we always try to take necessary steps to keep it safe. Now a days there are a lot of electronic gadget can be found in market to increase the security of our home and office. Some of them is like CC TV Camera, Anti Theft Alarm, Smart Door locking system etc. But today i will show you how to make a powerful Laser Security System very easily.

Our laser security system is designed in microcontroller based platform. Because microcontroller now brings a modern era to develop electronics project using a few component. Also we can develop this project and can collect data for future analysis. Here i have used Arduino Uno R3 for this process. Arduino is now a popular microcontroller platform in the world. If you have a basic abc knowledge on programming you can make different types interesting project using this board. One of the best example of this is our arduino laser security system.


arduino uno r3

How Laser Security System work?

At first Let's know how this project work. Basically in this project we are using a special kind of light which is known as laser light. Laser is a alphabetical name. The abbreviation of LASER is Light Amplified by Stimulated of Radiation. It means Laser is the enlargement of light. But laser is not as normal light. It is a monochrome light. The light is Sharp and Thick. The laser light waves are same size. The most important feature of this light is that these lights do not spread on the way as like as normal light. This ray can be go too far as it is highly concentrated and one-way.

Using this special power of laser rays, we will basically create our arduino laser security system. Many of you have heard about Dark Sensor. For those who did not listen, there is a photo diode in this dark sensor circuit called LDR (Light Depending Resistor). It works like a normal conductor when it lamps up on LDR. Again if there is darkness then electricity is prevented to flow. Using this feature of LDR, we will create our project.

Some of you have already got the idea about the project. But there is no reason to fear those who are still unable to understand. I'm gonna give up. We will create a circuit using LDR which will sound when it is dark. Now we will set the target of laser dot on the LDR from a distance. So the laser light will fall on LDR. In this situation the circuit will not give any sound signal. But whenever anybody wants to cross the space between the laser light and the LDR, the laser ray will be interrupted to fall on the LDR. As a result, due to the absence of light, the circuit will give sound signal. I think now the idea is totally clear to all. Ok, let's learn how to make a laser security system.

Arduino Laser Security System

For making this system we will use the following components:
  • Arduino Uno R3
  • A Laser Light
  • A LDR
  • A Buzzer
  • A 1KOhm Resistor
  • Some Jumper Wire
  • A Breadboard
  • A Battery
arduino breadboard
arduino jumper wire
ldr, buzzer, resistor


Here, i am using Arduino Uno R3 Board. Because Arduino is a micro controller board. It means we can easily modify this board as our wish using computer programming. It will be very helpful to make our laser security system project more easily using little components.

Procedure: Connect the all components as like the circuit diagram given below. Here, i have used a arduino microcontroller board. You can collect this board from any local shop. I have collected my arduino board from Amazon. You can collect all other components from here.


laser security system


The connection of this circuit is very easy. At first i have connect the one leg of ldr with Vcc. Here Vcc means 5v. We know that ldr has no polarity. So you can connect any terminal of the ldr. Now connect the other leg of ldr with the 1 resistor. And the other leg of resistor will be connected with the GND. Now the connection point of ldr and resistor will be connected with the A0 pin of Arduino. Now we also need to connect a buzzer with arduino for making alarm. Connect the positive terminal of the buzzer with pin 12 of Arduino. And the other pin of Buzzer connect with GND. Now connect a battery with this circuit. Add another battery with the laser light. Our Arduino Based Laser Security System circuit is now ready. Now it's time to upload the code in Arduino to configure it. The code is very simple. Follow my video tutorial. Here, i have showed the full process of making circuit and explained the code.

Coding: Here i have used two code in my laser security system using Arduino. The first code is for calibration. In this code i have used the analogRead() function to read the value from Ldr. The analogRead() givea a value which range is 0 to 1024. I have used this code to understand what is the value when the laser is targeted on the ldr and what is the value when the laser light is not targeted or failed to fall on the ldr. This two values help me to make a condition for alarming the buzzer. Suppose the when the laser light is focused on the ldr the output value from analogRead() is 600 and when the laser light is failed to focus then the output value of analogRead() is 200. Now we can easily make a condition that if the value is less than 400 it means that surely someone are crossing the path between ldr and laser so that the light can not directly focus on ldr. So we should turn on our arduino laser security system alarm to notice that someone is crossing the area. Else the value is normally greater than 400 means there is no obstacle or human between the ldr and laser. So the alarm will turn off. In the second code i have used the value in my condition which i calibrated from first code. If you watch the tutorial it will be more clear to you.



Now it's time to use this circuit. For this turn your laser light on using battery and place it on the door frame. Place the LDR circuit on the other side of the door frame in such a way that the light from the laser light goes directly to the LDR. Now finish the job. The laser light will be interrupted if someone wants to enter the door. As a result, the Buzzer sound in the circuit will have to be sounded.





I hope everybody understand this project and will be able to make Laser Security System by Arduino. I also share the video tutorial. It will be very helpful to understand this project. If you have any question about this project feel free to ask me.

No more today. Stay safe and visit my blog everyday. Good Bye. 

Tuesday, April 11, 2017

How to make a Digital Thermometer using Arduino and LM35 Temperature Sensor

Arduino is a wonderful creation of modern electronics. Now a days almost every electronics hardware can be designed using arduino. Specially PLC based automation can be designed with arduino. Again Arduino is very suitable for making simple Electronics project. Today I will show you how to make a Digital Thermometer  using Arduino and LM35 Temperature sensor.
make a Digital Thermometer using Arduino and LM35 Temperature Sensor
Digital Thermometer is a such kind of device which can measure the temperature and can display it digitally. For making a digital thermometer we will use a sensor, An arduino board, And a Display. Sensor will helps us to receive the temperature from environment, Arduino will collect the data from sensor and process the data to calculate the temperature and Display will be used to show the temperature to user.

If you want to know more about arduino then read this article:
What is Arduino? What can we do with Arduino?

For making a Digital Thermometer we need all the components given below:
- Arduino Uno R3
- LM35 Temperature Sensor
- Some Jumper Wire
- 16x2 LCD Display
- 1Pcs 10K Variable Resistor
- A Breadboard

Let’s start to make the digital thermometer. I will show all the process step by step. Follow this full tutorial to make your own Digital Thermometer.

Components Connection: 

At first we need to connect all the components. For connecting them I will use a breadboard. It will help us to connect all components easily. I will connect all the components as the circuit diagram. I have share the circuit diagram below.

make a Digital Thermometer using Arduino and LM35 Temperature Sensor


I am using a 10K Variable Resistor with the lcd display to control the brightness of display. Here is the connection of the variable resistor:

variable resistor pin out


LCD Connection:

LCD Pin 1, Pin 5 and Pin 16 will connect with GND
LCD Pin 2 and Pin 15  will connect with VCC
LCD Pin 3 will connect with the output of the variable resistor
LCD Pin 4 will connect with Arduino Pin 8
LCD Pin 6 will connect with Arduino Pin 9
LCD Pin 11 will connect with Arduino Pin 10
LCD Pin 12 will connect with Arduino Pin 11
LCD Pin 13 will connect with Arduino Pin 12
LCD Pin 14 will connect with Arduino Pin 13

[Note: LCD Pin 7 to Pin 10 not using here]

Sensor Connection:

The LM35 Temperature has 3 Pins. The first pin will connect with VCC and third pin Connect with GND. The middle pin will connect with Arduino Analog Pin A0.

lm35 temperature sensor, lm35 pinout


So our final circuit  will look like this:

make a digital thermometer using arduino uno r3, make a digital thermometer using lm35


Ok now it’s time to upload the sketch file in Arduino. You can download the file from below:
If you upload the code in your arduino board arduino will starts to measure the temperature of environment.

How to make a digital thermometer using arduino, lm35 temperature sensor and 16x2 lcd display


I have also shown the full process in this video.

If you want to make a permanent temperature meter then you can use a PCB (Printed Circuit Board).
If you want to learn how to make a pcb at home then follow this video: How to make a PCB ( Printed Circuit Board ) at home [Step by Step Full Porcess]

Ok, that’s ends today. I hope everyone will be able to make your own digital thermometer. If you have any question about this tutorial then feel free to ask me. I shall try my best to help you.

Monday, April 10, 2017

How to Burn The Bootloader on ATmega328p using USBasp Programmer [Easy Method]

Hi friends, How are you all? Today we will learn how to burn bootloader in Atmega328p using usbasp programmer. If you want to make an arduino board at your home you must need to upload the bootloader file in your Atmega328p chip. 



Bootloader is a special kind of programme which allows Atmega328p to communicate with arduino IDE and upload the sketch file in arduino. If you have an arduino uno board which Atmega328p chip has damaged and you want to use a new Atmega328p chip than at first you need to burnt the bootloader into it. You can burn the bootloader in Atmega328p microcontroller in two ways. These are:

  • Using usbasp programmer.
  • Using an extra arduino uno r3 board.
Today we will learn how to burn the bootloader in atmega328p microcontroller using usbasp avr programmer.

Required Components:
A usbasp programmer. (You can use anykind of usbasp programmer).
-      A BreadBoard -
-     Atmega328p chip
- 1pc 16MHz Crystal Oscillator
-   2pcs 22pF Ceramic Capacitor
-     Some Jumper Wire

If you have collected all this components now it’s time to burn the bootloader to your atmega328p chip. Follow this full tutorial step by step:
1.  Connect Your usbasp programmer with your computer. At first you need to install the driver software for this programmer. I am using AVR usbasp programmer. 


usbasp programmer, burn bootloader using usbasp programmer,

2.  If you successfully installed the driver software then you will see this image in your device manager.


install usbasp driver in computer, usbasp programmer driver



If you do not know how to install driver software for usbasp programmer than follow this tutorial.


3. Now connect all the wire as this circuit diagram.


atmega328p on breadboard, atmega328p standalone


4Connect the 6 isp pin with usbasp programmer.


usbasp programmer 6 isp pin, isp pin of usbasp programmer

usbasp programmer with atmega328p


5. Now open your Arduino IDE software. Go to Tools > Programmer and select USBasp


arduino ide programmer, select usbasp programmer in arduino ide


-      Now go to tools and click on Burn Bootloader. 


how to burn bootloader

   These will take a few minutes wait for completing it. 

upload the bootloader on atmega328p

After successfully burn the bootloader you will see an message like this. If you get this message then you have successfully burned the bootloader in you atmega328p chip using usbasp programmer.

done uploading bootloader

I have also make a video about this. Watch this video to learn it clearly.


The above process is for those whose don’t have an arduino board but want to make one at home. But if you have an arduino board with damaged Atmega328p chip and buy a new one than you can follow the process given below. The process is same as above but easy because It don’t need extra breadboard. If you have an arduino board than you can use it to burn bootloader on new atmega328p chip. Follow the process:
-      Connect your New Atmega328p chip in your arduino board.
-      Now connect the 6 isp pin of your arduino board with the usbasp programmer.


arduino uno r3 with usbasp programmer, how to burn bootloader on arduino,



-      Now open the Arduino IDE. Go to Tools and click on Burn Bootloader. It will take a few minutes to burn bootloader into Atmega328p chip. After burning the bootloader you will get an succesfull message.
Following this process you can easily burn your new Atmega328p chip using usbasp programmer.
In our another tutorial I will show you how to burn the bootloader on a new Atmega328p chip using an extra arduino board.

If you have any question about this tutorial then feel free to ask me. Stay with us and always visit my blog. Thank you. 

Sunday, March 26, 2017

What is Arduino? What can we do with Arduino?


Arduino is a microcontroller based open source hardware. If we want to learn about arduino at first we need to know about microcontroller. In our another we have discussed about microcontroller. 


Now we need to learn. what is arduino? Arduino is like as the same of microcontroller. But it has some extra facilities than microcontroller. You can easily upload programme to arduino by a usb cable. Again the input/output pin can use on this board only using some jumper wire. Basically arduino was developed for those people who don’t have any idea on electronics or programming.



Why Arduino?
Arduino is very simple and accessible for everyone. It is the main factor to make it popular. Arduino developed an ide software which is very easy to anyone. Also they choose the basic c programming language to write programme for arduino. The price of arduino is very cheap than any other microcontroller. Neither arduino is now using in more than 1000 projects. Almost all kind of sensor, modules are now accessible in arduino. Because of this you can make any kind of project in arduino. I think everybody like arduino because of the reason given below:

Cheap - Arduino boards are really very cheap than any other microcontroller based platform. Again your can assemble any arduino board at your home using inexpensive components.

Cross-Platform - Where most microcontrollers supports only windows operating system here Arduino supports almost every platform like Windows, Linux, Macintosh OSX.

Simple Programming Environment -  Arduino developed there own ide to write and upload programme in arduino board. This software is fully user friendly. Anyone can run this software because of its simplicity. There don’t have any complex menu. Using this software you can write a programme for arduino, complie it and also can upload it to your arduino board.


Oper Source Software -  Arduino is a open source platform. You can develop extension for it. Again arduino make all library file free for their user. Arduino have a big online platform for communication where the experienced developer upload their own developed source file and share with everyone.

Open Source Hardware Arduino share their full hardware design to the user. You can develop or re-design new arduino board. Your can download all firmware and design file of arduino from their website. If you want to make your own arduino board you can easily make it at your home.


How can your learn Arduino?

Now a days arduino is the best choice to make different innovative project in electronics. Because arduino is very simple and easy to use. If you have no idea on arduino but want to learn than no worry! Because arduino makes a lot of tutorial for beginners to learn arduino. I think their website is enough for learing arduino.Neither  there are huge source to learn arduino in online. Now a days youtube is the best medium to learn arduino. There are a lot of series video tutorial where you can easily learn arduino. Again a lot of website in online platform who make tutorial on arduino. You can easily learn from basic to advance by this kind of source.

Where can I buy a Arduino?

If you want to arduino then go to arduino.cc any select an arduino board. For beginners I always recommend the Arduino Uno R3. You can buy an arduino Uno R3 board from this website. They ship to almost everywhere in the world. Neither almost all online shop in the world sell arduino like Amazon, Ebay etc. So, I think it is not very hard to collect an arduino board.



This is enough for today. If you have any question about arduino then comment us. Wait for our next post till than stay safe.