Skip to main content

Posts

Showing posts from May, 2017

Interfacing LCD with ARDUINO.

Getting Started with Embedded System Design on AVR

In this tutorial, we will learn how to interface LED with Atmega16 using AVR Studio.
An embedded system is built around a processor. The design goals of an embedded system are to reduce size, cost and power consumption and to increase performance and reliability.
The microprocessor we are using is ATMEGA16. The processor has limited internal memory, and if this is not sufficient for a given application external memory devices are used. The hardware also includes any components that facilitate the user-application interaction such as display units, keypad. The light emitting diodes are used for getting status information, such as power on, check output(high/low). You all must have observed led decoration lights, which can glow in different patterns.
First, we will learn to interface a single Led and then 8 LEDs to learn a simple toggling technique.
Components Required:- AVR controller(Atmega16)LEDsConnecting wiresUSBASP Programmer For single Led dump the following code:
#include<avr/io.h> #in…

Interfacing Seven Segment Display

In this tutorial, we will learn how to interface a 7 SEGMENT DISPLAY with Arduino. A 7 SEGMENT DISPLAY consists of 8 LEDs and 10 pins,2 common pins are shorted and supplied with 5 volts from Arduino through a resistor and other 8 pins are connected to digital and analog pins.
7 Segment Display can act as a substitute for LCDs if we want to display numbers.
Shown below is the internal architecture of a 7 segment display.
Now let’s interface the 7 SEGMENT DISPLAY. Components required Arduino Uno                       1No.7 Segment Display              1No.Resistors                             1No.            100 ohms             Connecting WiresBreadboard There are two types of LED 7-segment display Common cathode (CC) Common anode (CA) In CC type the cathode of all the LEDs is connected together and similarly in CA type. In CC type we have to ground the common cathode pin and power up segments to illuminate it, the reverse happens for CA types. Here we have to power up the common anode pin and …

Interfacing Servo Motor with Arduino

In this tutorial, we will learn how to interface a servo motor using Arduino UNO.
The motor inside the setup of a servo is attached by gears to the control wheel. When the motor rotates, the potentiometer’s resistance changes hence the control circuit can precisely regulate how much movement there is and in which direction.
The motor’s speed is proportional to the difference between its actual position and desired position. When the shaft is near the desired position it turns slowly else fast. This is called proportional control.
They are controlled by sending PWM (pulse width modulated) signals through the control wire. They are available in many sizes and are of three types
Positional rotation Continuous rotation LinearThe most common type is the positional rotational one.
So now we are familiar with the motor let us interface it

Components Required:
Servo motor 1NoArduino UNO 1NoFew connecting wiresBreadboard Follow the video below for circuit connection reference
After making the cir…

P-2: LED Cube

Since now we all have worked a lot with led,s let us show you one of the projects made by us with the help of bulk of led,s.
A led matrix cube The below is the video our project.
Working description:
The above is made by combining led,s in a regular fashion in cubical shape. All types of patterns can be generated in the cube and also various shapes like square, triangle etc. Whatever pattern comes to your mind you can generate that by altering the code. Curious to learn what you saw.
Thinking ? Join our hands-on training courses. To know more visit us at http://www.sudolearn.com/

P-1: RGB Bulb Using Arduino

Since now we are all familiar with RGB LED’s let us show you one of the products made by us ( Sudolearn Technologies).


The below is the video of our product (Mobile Control RGB Bulb)
Working description:
It is a decoration lamp which can be used to lighten your home according to your mood or occasion. The color selection of lamp is simply controlled with the help of our app. The concept is same as I have mentioned in my previous blogs here we are giving instructions wireless via Bluetooth to the controller which drives the lamp.
For any detail or query regarding the above project, Contact us at contact@sudolearn.com
Thinking? Join our hands on training courses. To know more visit us at: http://www.sudolearn.com/

Playing with RGB LED's

In this tutorial, we will learn how to interface a RGB led with Arduino.
A RGB led consist of three Led’s namely red, green and blue inside a single package.
It is having three pins the longer one(2) is the GND(in the case of the common cathode) and the other three pins represent the three colors.
You all must have heard about the RGB color model, it is a model representing the colors that can be generated with the combination of three basic colors.
Now let’s interface the led and have some fun with it.
Components required
Resistor                         1No.              200 ohmsRGB led                         1No. Arduino UNO                 1No.Few connecting wiresFollow the video below for circuit connection reference.
After making the circuit connections dump the code given below.
int led1 = 3;
int led2 =5;
int led3 =6;
void setup() 

{
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
}
void loop() 

{
digitalWrite(led1, HIGH);
delay(1000);
digitalWrite(led1, LOW);

Introduction to Variable Resistor

In this tutorial, we will learn how to control the brightness of a LED using potentiometers(Variable Resistor). A potentiometer also known as the pot is a three-terminal resistor with sliding or rotating contact that forms an adjustable voltage divider, they can be also used as a rheostat or variable resistors. Broadly there are two types of potentiometers available. The Rotary Pot - they use a rotary motion to move the slider around a track that compromises most of a circle, with contacts at either end of the track in the area where part of the circle is missing.They are widely used in appliances with knob control.      The Sliding Pot -- they are those variable resistors that slide in a linear fashion,i.e in a straight line.These controls take up more front panel space but are much easier to use under some circumstances. for example, they are widely used for audio mixers and lighting desks. Now we know how a pot works let us have some fun with it Components required
Resistor …

Controlling Brightness of a LED