Showing posts with label arduino. Show all posts
Showing posts with label arduino. Show all posts

How To Receive and Send Serial Data Using Arduino Board

By // No comments:
Serial communication is the easiest way to communicate with the peripheral device in embedded system. Thus, during this article, you may be able to learn the way to receive and send serial data from the arduino board. If you are beginner then first read this Introduction to Arduino Board and How To Send Serial Data From Arduino To Laptop or PC before moving on this article.
serial communication virtual terminal monitor
Arduino ide has such a big amount of inbuilt function for serial communication and detail of some function are here  How To Send Serial Data From Arduino To Laptop or PC. During this article, we tend to use some additional function that facilitates us to receive the serial data from the serial port. These functions are Serial.available(), Serial.read(), Serial.write whose explanation are given below:

1: Serial.available()

This function is always used before the Serial.read() function. This function returns always a positive value once reception is complete. This function is used for whether or not entire data is received.

2: Serial.read()

This function is used to read the received data from the serial port. We will save received data in any variable for any condition to ascertain.The variable could also be integer or character.

3: Serial.write()

This function is same as Serial.print() and Serial.println() explained in How To Send Serial Data From Arduino To Laptop or PC. This function returns the data to the serial port of the arduino.

Circuit diagram: 

circuit diagram for serial communication
Circuit Diagram
Code:
code for receiving serial data from laptop
Code
Download:


Video:


If you have got any question concerning this article then be happy to comment below or contact us via social network like facebook 

How To Send Serial Data From Arduino To Laptop or PC

By // 6 comments:
Serial Communication plays important role within the communication system. All micro-controller should have serial communication port.Serial communication provides a text-user-interface(TUI). One will use serial port of microcontroller to send data serially to laptop/PC or receive data serially from laptop/PC.Here we use arduino board to communicate with the laptop. Arduino board have a minimum of one serial port to communicate known as UART and USART. It communicates with digital pin 0 and 1 of arduino refer to as RX and TX pin as well as with the computer via USB.

send data to pc with arduino
Virtual Terminal
Interfacing LCD With Arduino UNO

Arduino has a built-in function for serial port thus there is no need to go into register detail. In Arduino IDE, one can easily call the serial function for the serial port and job is finished. A simple connection for serial communication is shown below
 serial communication connection
Connection For Serial Communication
For serial communication with arduino, we have to use three function known as Serial.begin(), Serial.print(),Serial.println(). Their function is as follows

1: Serial.begin()
To initialize the serial port for the communication we use this function.In this function baud rate is used to initialize the serial port. Here we have used 9600 baud rate for the communication.

2: Serial.print()
This function helps to send serial data to the device connected to the serial port of arduino board. Using this function we are able to send both ASCII and string to the device.
3: Serial.println()
This function is used to print the send data into a new line and all the function is same as the previous function.
Circuit diagram:

circuit diagram for serial communication
Circuit Diagram
Code: 
Download the hex file from below.this image is just for showing. we connected a led to pin no 5 of arduino board therefore whenever data is sent to laptop/PC led can blink. 

code for serialcommunication
Code
Download:



Video:



How To Interface Seven Segment Display With Arduino

By // 3 comments:
A seven segment display is an electronic display device for displaying numeral. Seven segment display are widely used in the digital clock, TV, electronic meter and other electronic devices which display numerical value. Simple seven segment display image is shown below:

seven segment display image
seven segemnt pin diagram
Seven-segment Display may be used in two modes:
1: Common anode ( all of the positive terminal are connected) 
2: Common cathode (all of the negative terminal are connected)
In this tutorial, we tend to use common cathode mode to display the numerical number.


Circuit diagram

Arduino pin 2,3,4,5,6,7,8,9 is directly connected to a,b,c,d,e,f,g,h data pin of seven segment display as shown in image:

seven segment circuit diagram with arduino
Circuit Diagram
Program
Code for one digit count down timer from nine to zero is written in arduino ide as shown in image.

code for seven segment interfacing with arduino
Code
Copy or download the code and paste it within the empty sketch of arduino ide and so compile the sketch and upload it to your board. Now enjoy count down timer using seven segment display. 


Download


Video


If you have got any problem then feel free to comment in box or connect us with social media facebook and google+

How to Use A Temperature Sensor With Arduino

By // 8 comments:
A thermometer is a device measures the temperature. A Thermometer consists a temperature sensing element that senses environment temperature and provides the result to the suitable devices. During this article, you may tend to learn to make a digital thermometer using LM35 temperature sensor and LCD module display.For LCD interfacing with arduino read this article Interfacing LCD With Arduino UNO  

LM35 :

LM35 temperature sensor
LM35 Temperature Sensor 
LM35 is a temperature sensor that is employed to measure the temperature. It has three terminal Vcc, Output, Ground as shown in the above image 
The range of the LM35 temperature sensor is from -55 'C to +155 'C. The output range varies by 10mV to each fall and rise in temperature. Circuit diagram of Digital Thermometer using LM35 temperature sensor with arduino UNO is shown below: 

Automatic Temperature Fan Speed Controller 

Circuit diagram

It has a very simple circuit. The output terminal of the sensor is connected to the analog pin A0 of arduino board. Vcc and GND pin of the sensor are connected to the power supply and GND respectively. 
circuit diagram of digital thermometer
Digital Thermometer Circuit Diagram


Program
arduino code of digital thermometer with LM35
Code For Digital Thermometer
Download



Video



Best Electronics Mini and Major Projects For Engineering Students

By // 37 comments:
Electronics & Communication(ECE) engineering play a vital role in our daily life. The engineering student is showing a lot of interest in this branch. Within the final year of engineering each student should complete their engineering project with innovative ideas. They need to use their all four-year knowledge on its project. There are so many choices for ECE student for his or her final year projects comes like  within the field of embedded, robotics, solar energy, security system etc.

ece final year projects

For there purpose here is listed a large number of projects ideas for ECE student. These are collect from numerous sources. If you are interested then you will select any one of below listed projects:

1: Password-Based Circuit Breaker

2: Intensity Control Based Street Light

3: Digital Tachometer 

4: Solar Battery charger Circuit

5: Bidirectional Visiting counter

6: RFID Based Attendance System 

7: Electrical Load control using PC

8: GSM Controlled Robot

9: GSM Based Security System

10: Fire Alarm with siren sound


11: Cell Phone Detector 

12: Energy Meter By Wireless Meter

13: Audio Amplifier using 555 Timer Circuit

14: Power Amplifier Circuit

15: Android-Based Home Automation System

16: Frequency Counter Circuit

17: Wireless Mobile Battery Charging  

18: Cell Phone Control Home Appliance

19: Fire Fighting Robot Vehicle 

20: GSM Based Energy Meter Reading

21: GSM Based Notice Board

22: Automatic Health Monitoring System

23: Touch Screen Based Home Appliance Control

24: GPS Based Vehicle Tracking System

25: Music Equalizer And Visualizer 

26: Voice Recognition Based Home Appliance Control

27: Self Balancing Bot

28: Gesture Control Robot

29: E- Glove

30: 3D Laser Scanner 

Hope you may be able to find out the basic ideas concerning your final year projects related to embedded system, robotics, solar energy, security system etc. If you have got any question concerning the final year engineering projects then feel free to contact us. 

How To Interface LCD With Arduino UNO

By // 1 comment:
LCD module is incredibly common part at intervals embedded system design.16*2 alphanumeric LCD module is most generally used  alphanumeric LCD module at intervals the embedded system. LCD module employed in wide selection of applications well as consumer devices such as DVD player,television,clock,gaming devices and watches.There are 16 pin available and may be operated
in 4-bit and 8-bit mode. Here we have tendency to victimization LCD module in 4-bit mode. The schematics of simple 16*2 LCD module is shown in below image

LCD Display

The name and function of every Pin of LCD module is given below:

Pin1(Vss): Ground pin of LCD Module

Pin2(Vdd): +5v supply is given to this pin

Pin3(Vee): Adjust contrast of LCD. +5v supply is given for full contrast.


Pin4(RS): Resister select pin in LCD module. There are two register command register and data register. Logic High for data register and Logic Low for command register. 

Pin5(R/W): Read/write modes.Logic High for read mode and Logic low for write mode.

Pin(E): Enable pin. This pin for enabling LCD module.

If you don't have LCD module then you can purchase from here at very cheat price LCD

Pin7(DB0) to Pin14(DB7): Data pins. command and data are put on this mode.

Pin15(LED+): Anode of back light led.

Pin16(LED-): Cathode of back light led.

Circuit Diagram
circuit diagram of lcd interfacing
Circuit Diagram

Program

code for lcd interfacing with arduino
Code

Library function "liquidcrystal.h" is employed for displaying character on LCD module. It is available in the arduino example and accessed through the "Import Library" within the sketch tab of the arduino ide.

Download:



Video Demonstration 



How To Blink a LED Using Arduino

By // 2 comments:
LED is Light Emitting Diode play a really necessary role within the embedded system design. A Diode is a two terminal component within which current flow from the positive direction to negative direction. During this article, we tend to find out how to interface an LED with an Arduino. Simple LED is shown in the image.
simple LED Projectsdunia
LED
In this tutorial, I will able to show you to run three LED at the same time using your Arduino board.
 Component Required:
  • Arduino UNO Board
  • 3 LED
  • Wire
  • Power Supply

Circuit diagram:
Circuit diagram of interfacing LED with Arduino board for running three led at the same time is shown below:

circuit for interfacing of 3 led with the arduino board
Circuit Diagram

NOTE: Add a current limiting register in series with led to prevent it from damage.
Positive(anode) terminal of the LED is connected to the 11,12 and 13 pin( digital pin) of the Arduino board as shown within the circuit diagram. Negative terminal of the LED is connected to the Ground.The code is written within the Arduino IDE as shown in below:

Arduino program for the led interfacing with arduino board
Code


About the program:
In this program we tend to use three digital pin 11, 12 and 13 of the Arduino board that are name as x,y,z respectively. The "void setup()" function runs once at a time within the program. In this function we tell to program that led is connected as output using the "pinMode" keyword. second function "void loop()" within the program runs over and over repeatedly.In this function we tend to write our desired code for the Arduino board.

blink three led at a time

Download:


Video:

How to Install An Arduino Library For Proteus

By // 7 comments:
Arduino is a terribly famed microcontroller board. Each engineer, student or hobbyist needs to verify it projects design in real time environment before assembling it on real hardware. Proteus is that the initial alternative for this however in Proteus software there's no library available for the Arduino.
Therefore, during this article, you find out how to verify your Arduino project in Proteus by using the Arduino library.

How to Install An Arduino Library For Proteus
  1. First of all, you have got to download the Arduino library for the Proteus software. For this, you will be able to search on Google or download from here.
  2. After downloading the file extract the .rar file and copy the two file name as Arduino.idx and Arduino.lib 
  3. Now paste the copied file in the subsequent path 
    Drive C >> Program files >> Labcentre Electronics>> Proteus 7 Professional>>Library

If you want to buy an Arduino development board then you can buy your first Arduino board from here ARDUINO

Now open Proteus software and search for the arduino within the pick device wizard.You will see the subsequent image
install arduino library for proteus
Now you will be able to verify your projects code and circuit supported the arduino board by victimization the Proteus software. If you got any problem then be happy to write down within the below comment box or by connecting to this blog on varied social media pages.


DOWNLOAD

How To Install Arduino Software On Windows

By // 1 comment:
Arduino is an open source platform that is why it attracts student, engineer and hobbyist very simply. During this  post i'll tell u step-by-step instruction to download and install the Arduino IDE on windows. First go to the Arduino website and click on the download link to go to the download page of the arduino IDE or click on the download to direct head to the page. DOWNLOAD


Click here to see tutorials on Arduino

At the download page you may see the above image. It consist the list of assorted Arduino IDE
software list. Click on the Arduino 1.0.6 , an another page are going to be open just like the below image

Install Arduino Software On Windows

For windows click on the windows installer. It download the Arduino IDE for windows. When with success downloading extract the downloaded ZIP file and copy the folder to a desired place.Now double click on the arduino.exe and follow the instruction to install the software.

how to Install Arduino Software On Windows
Now your Arduino software is installed on your windows. Double click on the arduino application to open it. Click on the below video to see the way to install Arduino IDE on windows.

 

Intoduction to Arduino Board

By // 1 comment:
An Arduino is a open source platform. Arduino relies on 8-bit AVR family micro controller and 32-bit ARM processor that follows the standard schematics and flashed with arduino boot-loader. Arduino is open source as a result of standard schematics is open for everybody and everybody will create their own board by following the arduino standard schematics.
Intoduction to Arduino Board
An Arduino board supports each digital and analog output. Arduino board are often programmed by using the Arduino IDE.
An Arduino board will communicate with different peripheral using standard communication technique like USART, I2C and USB etc.
Some Arduino square measure 
  • Arduino Uno 
  • Arduino mega
  • Arduino Pro
  • Arduino Leonardo       
How to Install An Arduino Library For Proteus

Arduino IDE is written in JAVA that comes with a software library that refer to as wiring. Arduino program are often written in C or C++. In arduino user ought  to define only two function to make a runnable executive program:

  • setup(): its initialize setting within the program and runs once at the beginning of the program.
  • loop(): its runs repeatedly till the board power is turn off.
To Download the Arduino software visit the subsequent link

DOWNLOAD:

Arduino setup