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 in Microcontrollers,Arduino,MATLAB,LabView etc


Prototyping all kind of electronics and electrical projects

PCB Designing

PCB Dsesigning in Altium and Eagle Designer

Tuesday, 21 February 2017

How to Make an LED Bed Lamp in 2 Minutes

Here i am showing you,how to make an led bed lamp in minutes.Its very easy DIY project,everyone can do this project in home.It uses less number of components.

We need

1.one 5v dc regulator or mobile charge
2.male USB connector
3.100 ohm resistor
4.hot glue,adhesive glue...
5.An egg







Here is the simple circuit diagram
Here we used only three components
1.USB male connector
2.100 ohm resistor
3.An LED
Its a simple circuit,here we connect an led to a USB connector through a 100 ohm resistor


1.First carefully make a small hole on the bottom of the egg using a sharp needle,and clean it well
2.Mix some water with white glue and fill it inside the egg shell and allow to dry it
3.Solder the components as per the circuit diagram
4.Place the egg shell shade on the led and glue it well using hot glue


Thank you very much.Here is the easy led lamp.Please like and share my video,subscribe my channel.Feel free o post your comments



Monday, 26 December 2016


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




Thursday, 22 December 2016






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






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

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

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




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




  • 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


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



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.


    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.



 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

Saturday, 26 November 2016


Here are some basic examples of pic programming in Hi-tech C with Proteus simulation

  Here you can use any pin for uart communication.go to suart.h and edit the following steps depend on our pins using
#define TxData RB0            /* Map TxData to pin */
#define RxData RB1                /* Map RxData to pin */
#define INIT_PORT TRISB0 = 0    /* set up I/O direction */
#define INIT_PORT1 TRISB2 = 1    /* set up I/O direction */