you said about getting output .So mostly its wrong wiring .can you share the output and the circuit diagram you are using