+ Reply to Thread
Results 1 to 3 of 3

Thread: how to connect a smoke detector with PIC16F877A

  1. #1
    maxster03 Newbie
    Join Date
    Sep 2008
    Posts
    25

    Default how to connect a smoke detector with PIC16F877A

    Hi there,

    i want to ask you how can i connect a smoke detector who is giving me an output voltage of 2.20V to 2.50V (which is not constant) when it detect smoke and 0V when it doesn't detect smoke.

    for the PIC16F877A, i need a constant voltage of either 0V or 5V

    Can anyone help me with this problem, PLEASE !


  2. #2
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,806

    Default

    If the output from the smoke detector normally drives the sounder then it is probably a square wave of amplitude 5V that your meter is showing as 2.5 as it's only on half the time.

    If it isn't a square wave and is a constant 2.5V then a transistor will do the job.

    The signal to the pic will be inverted but that can be fixed in software.

    Mike.

  3. #3
    maxster03 Newbie
    Join Date
    Sep 2008
    Posts
    25

    Default

    yeah i am taking the output voltage of the buzzer, the thing i don't want the buzzer to go off when it detects the smoke, only to give input the PIC

    the problem is i can't test the sensor inside the laboratory because of the smoke detectors in the lab. so i checked tht outside the laboratory with a digital voltmeter so i am not sure if its a square wave or not, but the voltage was not constant,

    plus the buzzer have three wires, one is black, the second one is red and the third one is white, so i believe the black is for ground, red for positive and the white is for the signal, where should i measure the voltage across ground and positive supply or the signal ???

+ Reply to Thread

Similar Threads

  1. another smoke detector question
    By firealarmfreak in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 5th September 2008, 03:45 AM
  2. Smoke Detector Wiring Question
    By firealarmfreak in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 1st September 2008, 04:28 AM
  3. Smoke Detector Chirper Speaker
    By Migs in forum Datasheet/Parts Requests
    Replies: 8
    Latest: 3rd April 2007, 03:43 PM
  4. smoke detector ?
    By manz in forum Electronic Projects Design/Ideas/Reviews
    Replies: 9
    Latest: 22nd December 2006, 04:32 PM
  5. how to hook the output of a smoke detector?
    By valerie in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 5th October 2003, 10:00 PM

Tags for this Thread