LED Projects

LED chasers,LED drivers,LED lamps,Automatic lighting systems etc

Microcontroller projects

Projects in PIC,AVR,MSP 430,ARM,Raspberry pi,Arduino etc

Coding

Coding in Microcontrollers,Arduino,MATLAB,LabView etc

Prototyping

Prototyping all kind of electronics and electrical projects

PCB Designing

PCB Dsesigning in Altium and Eagle Designer

Monday 26 December 2016

HOW TO MAKE A MOBILE TABLET HOLDER IN 2 MINUTES

Here we are going to make a mobile tablet holder in 2 minutes using plastic card..Its so easy and simple method to make a good and attractive mobile phone holder.We can use any kind of plastic cards like visa card,sim card envelop etc.


 
 

We need 

1.Any kind of plastic cards
2.Marker pen
3.Steel rule
4.Lighter or heater

Measurements

 

 

Thursday 22 December 2016

PIC18F_mikroC

1.LED

2.LCD

 

LED

code :

void main()
 {


  TRISB = 0;           // set pin as output


  do {

    LATB = 0x00;       // Turn OFF LEDs on PORTB

    Delay_ms(1000);    // delay of 1 sec


    LATB = 0xFF;       // Turn ON LEDs on PORTB

    Delay_ms(1000);    // delay of 1 sec
  } while(1);          // infinite loop

} 

circuit

 

 

LCD

You can download the code and proteus file below
Code :

// LCD connections
sbit LCD_RS at LATB4_bit;
sbit LCD_EN at LATB5_bit;
sbit LCD_D4 at LATB0_bit;
sbit LCD_D5 at LATB1_bit;
sbit LCD_D6 at LATB2_bit;
sbit LCD_D7 at LATB3_bit;

sbit LCD_RS_Direction at TRISB4_bit;
sbit LCD_EN_Direction at TRISB5_bit;
sbit LCD_D4_Direction at TRISB0_bit;
sbit LCD_D5_Direction at TRISB1_bit;
sbit LCD_D6_Direction at TRISB2_bit;
sbit LCD_D7_Direction at TRISB3_bit;
//  LCD connections

void main() {
ADCON1 |= 0x0F;
CMCON  |= 7;

  Lcd_Init();                // Inicializa LCD
  Lcd_Cmd(_Lcd_CLEAR);       // Limpiar display
  Lcd_Cmd(_Lcd_CURSOR_OFF);  // Desactivar cursor


while(1)
  {
    Lcd_Out(1,1,"Hello World");

    Lcd_Out(2,1,"its ecworks");

  }
}

circuit

Download

Wednesday 21 December 2016

How to make an LED Lamp

 
  
 Here we are going to make a simple led lamp.Its a simple circuit with less     components.In this led lamp we have can adjust the brightness of the lamp.

Circuit Diagram

 

 

Components

  • battery- lead acid 4.2v
  • switch- 2 way switch with center off
  • Resistors- 220 ohm(2),20 ohm
  • led- white (4),red(1)
  • adapter socket
  • diode- 1N4007

Working

Its a very simple circuit.The working is clearly simulated in the video.When the switch is in right position then the current flow through the high value resistor with low brightness and when the switch is in right position then the current will flow through the low value resistor with high brightness

 

 Thank you very much

 

Thursday 8 December 2016

HOW ?

HOW AN LED WORKS


An led is a Light Emitting Diode.The American engineer Nick Holonyak is the inventor of LED on 1962.LED is a special type of diode that is specifically optimized to give off light.It consist of two different type of semi conductor device place side by side to each other,that are P and N type semi conductors.P type semi conductor contains positively charged holes and N type semi conductor contains negatively charged electrons.When current passed through semi conductor,the  negatively charged electrons and positive charged holes are forced to move to the PN junction.When a free electron come near a hole they combine each other and because the holes exist art a lower energy level than the free electrons.The electrons must lose energy to combine with the hole.This energy released in the form of photos of light.The amount of photon energy released determines the frequency/color of LED.






 Advantages of LED
  • They're tiny and relatively inexpensive.
  • They're easy to control electronically.
  • They last virtually forever. That makes them brilliant for traffic signals.
  • They make light electronically without getting hot and that means they save lots of energy.


HOW A DC MOTOR WORKS





    A machine that converts dc power into mechanical energy is known as dc motor. Its operation is based on the principle that when a current carrying conductor is placed in a magnetic field, the conductor experiences a mechanical force. The direction of the force is given by Fleming’s left hand rule.
      The main parts of a DC motor are:
  1. Stator magnet - A stator magnet may be a permanent magnet or an electromagnet that provides constant magnetic field 
  2. Armature - Armature is a rotating part.The armature is an electromagnet made by coiling thin wire around two or more poles of a metal core.The armature has an axle, and the commutator is attached to the axle.The electrical contacts to the rotating ring are called "brushes" since copper brush contacts were used in early motors. Modern motors normally use spring-loaded carbon contacts, but the historical name for the contacts has persisted.




Commutation in DC Motor
In order to produce unidirectional force(or torque) on the armature conductors of a motor, the conductors under any pole must carry the current in the same direction at all times.The function of commutator and brush gear in a dc motor is to cause the reversal of current in a conductor as it moves from one side of a brush to the other.

Working

 

 The armature is connected to a DC power source through a pair of commutator rings. When the current flows through the coil an electromagnetic force is induced on it according to the Lorentz law, so the coil will start to rotate. You will notice that as the coil rotates, the commutator rings connect with the power source of opposite polarity. As a result, on the left side of the coil the electricity will always flow ‘away ‘and on the right side , electricity will always flow ‘towards ‘. This ensures that the torque action is also in the same direction throughout the motion, so the coil will continue rotating.



 

Friday 2 December 2016

DIY Projects