Friday 18 May 2012

INTRODUCTION

Hello friends ,
Why dont we have a clear idea about what do i really want pursue in my life for those who are naot well defined with their next step.


It becomes lot of mess in our mind when when our friends star telling hey iam preparing for gre ,gate,cat,civils,etc,,,


I become so tensed,bcoz just i dont have a clarity in my mind  what to do what to prepare for.
does it really matters for us to have a pre defined goals in life?
first let me make it clear how important is the period of age between20 and 26.
Iam going to speak very practical.theres no better person than u who knows better than u.
ask your mind strongly what he wants does he want an early earning option or he wants to spend his life in research side.bcoz having predefined plans makes us very confident.It makes sense of every thought  we do.
just a small example is our body system,imagine how its planned everything the growth ,each every single part  is planned,though it is planned it becomes difficult for us to survive through full cycle.


Gate 1:

For m.b.a:


If becoming an entrepeuner is on your mind ,itz not neccessary for us to become an m.b.a graduate,
In the world most succesful entrpueners are not mba graduates,eg:steve jobs,gates,buffet,all those big gaints are succesful .

Itz very clear that it comes as a second option,
so if u want do m.b.a,ur going to take up most hardworking jobs and most handsome money of the world.


a)U should be strong in connecting with people.
b)Should be ready to always take up challanges more than incentives.
c)Should understand the global conditions very fast.
d)Making profits should be ur passion.
e)Should take up responsibilties of both profits and loses.
and many more thats why these people are offered handsome pay.



If u think u can do and become succesful in management field with all those above qualities ur adding beauty to ur qualities by doing mba.


these are few institutions in india which provide better management training are :
1.IIM.
2.HARVARD.
3.ISB. etc


TESTS  YOU WANT TO TAKE UP:


CAT  for indian admissions.(only iims and few other good institutes)
GMAT for international admissions.


remember:u can take up these exams even at 30's


GATE 2


 For mtech.



 I suggest u theres no better option for u if u are technical student.go ahead and plan it early 
if u are not very eager to earn money and rethink bcoz it cannot pay crores are not even 50lakh
per annum,then its time to think for u.unless ur an extrordinary in your abilities.
if itz not ur choice then go ahead and start preparing for ur gate exam and make full use of your spare time rock it.take a coaching for ur exam .i know itz not very easy to cut your entertainment ours but have no other choice .not everytime time but.
EXAMS TO TAKE UP GATE(IIT'S)



GATE 3:



GRE

Easy way for getting post graduation and money, if u have money like to spend 40000usd .itz k if your  are offered scholarship once u done with admission'i am warning itz go'ng to be very difficult for those who sound technically weak or have less command in their subjects.Bcoz competition is going to really tough....bcoz itz not like indian way to do engineering if ur a boy and medicine if ur a girl(naturally),,in foriegn countries u find people have great intersest in technical go for engineering,imagine if they come for m.s.how strong they might have been.itz not that indian education is poor.but to be frank we cannot match with them in creating applications.
what it actually matters for an engineer.so if strong enough to meet the challenges and challenging the odds u are going be the best buddy from indian origin and show the real colour of an indian to world and do not ever damage prestige of indian educaiton by going there with faltu ideas in mind.
sorry for being too frank.

EXAMS TO TAKE:
1.GRE


GATE:4


CIVILS EXAM:



i want to talk these in capital letters yaar,,,,,,,



FRIENDS THE BEST AND MOST TUFFEST OPTION FOR ANY INDIVDUAL IN OUR NATION IS TAKING UP CIVILS.
ALWAYS WORK FOR IT AS AN ULTIMATE AIM
NOTHING BECOMES GREAT BECOMING AN A GRADE OFFICER IN YOUR COUNTRY,
IT CREATES A SPECIAL DESIGNATION FOR U,FAME,THE POWER TO CHANGE THE COUNTRY ,ATLEST A VILLAGE,,,THE FAME IS SO IMPRESSIVE........NO WORDS 
        JUST ACHIEVE IT BCOZ U HAVE NO OTHER OPTION BUT TO TARGET FOR THE SAME BIRD BCOZ ITZ UNIQUE

AUTOMATIC RAILWAY GATE SYSTEM

Hello Friends,
                 After a long delay, now again I am ready to post some interesting projects. Here I am sharing automatic Railway Gate control system using AVR micro controller. Gates will close automatically when train arrival and open when train departure from crossing. The main purpose of this project is to avoid accidents and save time.

  

This project utilizes Two IR Tx./Rx. Pair is placed at either side of the gate with some distance as shown in the pic above. When train cuts first sensor light signal toggled from Green to Red; a buzzer gets activated for 2 seconds and railway gate will closed. When train cuts second sensor then a countdown timer starts and when it counts zero light signal again toggled from Red to Green ; again buzzer gets activated for 2 Seconds and gates will closed. Timing for countdown timer is set in the controller according to the speed and length of the train. You can easily measure this timing for your toy train. I made this bidirectional so train’s direction doesn’t matter.

I design circuit using AVR ATmega8 microcontroller.IR sensors output is connected to comparator LM324.LM324 generates TTL High/Low signal at its output pins which is fed to MCU's pins as Input. According to input from LM324 Micro-controller take action. Two DC Motors is used for controlling the gate, these motor's current requirement is much more then MCU hence we need a Motor Driver IC L293D.

Required Components:
1.DC Geared Motors RPM:30 - 2
2.IR Tx./Rx. Pairs - 2
3.MCU ATmega8 - 1
4.IC-LM324 - 1
5.IC-L293D - 1
6. Registers 470E - 10,10K-2,4.7K-1
7.Capacitors : 1000uF.16volt -1 , 100nF-1
8.Seven Segment CC - 1
9.Some LED's : 2- Green, 2-Red, 3 others
10.7805 -1
11.6Volt,4.5MAh Battery
12.some wires, burg strips etc. 

and a Toy Train --


Circuit Diagram:


Making:
step 1 : First make the sensor setup.IR Tx./Rx. should be connected in line of sight. Two signal LEDs. Total five wire comes out from this sensor setup- VCC, GND, Sensor Output, Red LED anode, Green LED anode. Distance between IR Tx./Rx. is about 12cm.


Sensor Setup - 1


Sensor Setup - 2 

Step:2 Gear Motor's setup.




Step:3 Circuit design. I design the layout in PCB-Wizard.


 


Step:4 Whole setup -




See Video for more clarification.

Software : source code is written in C. MCU - Atmega8 @1MHz internal.Compiler - WINAVR.

#define F_CPU 1000000UL
#include <avr/io.h>
#include <util/delay.h>

#define CUT1 bit_is_clear(PIND,0)
#define CUT2 bit_is_clear(PIND,1)

#define BEEP PORTD|=(1<<PD4);\
delayms(1500);\
PORTD &=~(1<<PD4);\

#define MOTOR_CW PORTC = 0B00111010;\
delayms(800);\
PORTC=0X00;\

#define MOTOR_ACW PORTC = 0B00110101;\
delayms(800);\
PORTC=0X00;\

#define RED_ON  PORTD|=(1<<PD5);\
PORTD&=~(1<<PD6);

#define GREEN_ON PORTD|=(1<<PD6);\
PORTD&=~(1<<PD5);

char seg[10]={0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F};

void delayms(uint16_t ms){
  while(ms){
    _delay_ms(1);
    ms--;
  }
}

int main()
{
DDRC = 0xFF;//All Outputs
DDRB = 0xFF;//All Outputs
DDRD = 0XF0;//PD0-PD3 Inputs,PD4-PD7 Outputs
PORTD|=(1<<PD0)|(1<<PD1);//Internal Pull Ups

int i,done;
while(1){
   done=0;
   GREEN_ON;
   PORTB=0X00;//Segment OFF

    if(CUT1){
    BEEP;
    while(CUT1);
    while(!CUT2){RED_ON;if(!done){MOTOR_CW;done=1;}}
    if(CUT2){for(i=9;i>=0;i--){PORTB=seg[i];delayms(700);}
    BEEP;GREEN_ON;MOTOR_ACW;
      }
    }

    if(CUT2){
    BEEP;
    while(CUT2);
    while(!CUT1){RED_ON;if(!done){MOTOR_CW;done=1;}}
    if(CUT1){for(i=9;i>=0;i--){PORTB=seg[i];delayms(700);}
    BEEP;GREEN_ON;MOTOR_ACW;}
    }
  }
 return 0;
}


After making this project I realize some limitation, first it required different type of IR sensors which should not detect human interrupt and second thing is at gate closing time if any vehicle present in between and below the gate then gate should detect the presence of any vehicle or obstacle. If you resolve these then please share.