I planned to operate 555 timer in monostable mode. I gave the connections correctly.
Pin 8:Vcc
pin1: gnd
pin 5: 0.1 nf cap to gnd
pin 8 to 7:47kohm
pin 7 to 6:just a wire
pin 6 to gnd: 100 microfarad
pin 2 to Vcc through a resistor.
pin4: to Vcc
toggle switch is used to alter between gnd and Vcc...