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

Friday, 2 September 2016

MEASURING INCLINATION ANGLE (ARDUION+MPU6050)

Its a project to measure the angle of inclination in X,Y and Z axis.Here i use MPU6050 gyroscope for measurement.





Working of accelerometer

 

Working of Gyroscope


     Circuit



           vcc -- +5v
           Gnd-- Gnd
           SCL-- A5
           SDA--A4

Program

#include<Wire.h>

const int MPU_addr=0x68;

int16_t axis_X,axis_Y,axis_Z;

int minVal=265;

int maxVal=402;

double x;

double y;

double z;

 

void setup(){

  Wire.begin();

  Wire.beginTransmission(MPU_addr);

  Wire.write(0x6B);

  Wire.write(0);

  Wire.endTransmission(true);

  Serial.begin(9600);

}

void loop(){

  Wire.beginTransmission(MPU_addr);

  Wire.write(0x3B);

  Wire.endTransmission(false);

  Wire.requestFrom(MPU_addr,14,true);

  axis_X=Wire.read()<<8|Wire.read();

  axis_Y=Wire.read()<<8|Wire.read();

  axis_Z=Wire.read()<<8|Wire.read();

    int xAng = map(axis_X,minVal,maxVal,-90,90);

    int yAng = map(axis_Y,minVal,maxVal,-90,90);

    int zAng = map(axis_Z,minVal,maxVal,-90,90);

       x= RAD_TO_DEG * (atan2(-yAng, -zAng)+PI);

       y= RAD_TO_DEG * (atan2(-xAng, -zAng)+PI);

       z= RAD_TO_DEG * (atan2(-yAng, -xAng)+PI);

     Serial.print("Angle of inclination in X axis = ");

     Serial.print(x);

     Serial.println((char)176);

   /*  Serial.print("Angle of inclination in Y axis= ");

     Serial.print(y);

     Serial.println((char)176);

     Serial.print("Angle of inclination in Z axis= ");

     Serial.print(z);

     Serial.println((char)176);*/

     Serial.println("-------------------------------------------");

     delay(1000);

}




 

Wednesday, 3 August 2016

Circuit wizard simulation

Circuit Wizard  is a revolutionary new system that combines circuit design, PCB design, simulation and CAD/CAM manufacture in one complete package.
By integrating the entire design process, Circuit Wizard provides you with all the tools necessary to produce an electronics project from start to finish – even including on-screen testing of the PCB prior to construction!




BEST SIMULATOR FOR BEGINNERS-CIRCUIT WIZARD( ELEMENTARY CIRCUIT)

 
 
 

Tuesday, 2 August 2016

Altium


1. Videos

2. Download PCB

EAGLE CAD

Friday, 29 July 2016

Eagle CAD videos


Basic of Eagle

This tutorial is for beginners.It explain how to draw a schematic ,convert it to PCB,design PCB and how to convert PCB to PDF file.This is the very basic tutorial for beginners. I hope everyone can understand it easily.If anymore doubts feel free to ask...thank you



Thursday, 21 July 2016

SIMPLE LED FLASH LIGHT




Here i am posting a tutorial that explain how to make a simple LED TORCH.Its a very simple and very useful torch.We can easily change the battery after battery charge is empty.

 instructables 

 Circuit diagram

 

Components

-battery 9V
-resistor 330 ohm
-push button switch
-led 5mm

Components arrangement




First make two holes in the 9v battery socket to place the led,then connect the led positive terminal to one terminal of the push button switch the opposite terminal of the switch connected to the 330 ohm resistor.next side of resistor connected to the terminal wire coming from the positive terminal of the battery.The negative terminal of the LED is directly connected to the negative wire of the battery holder.You can go through my video for more details