Connect with us

HT9032D

Discussion in 'General Electronics Discussion' started by mish, Apr 15, 2018.

  1. mish

    mish

    5
    0
    Apr 14, 2018
    I am currently working with HT9032D with arduino. I am not getting any reading from the Dout pin. Even i tried change the resistor value from 200kohm to 400kohm, still not getting any reading when the telephone rings. I am using a normal phone here where the voltage is 48.1 V when idle. Circuit connection is exactly the same as in the datasheet. Am I making a mistake in choosing the right components.
     

    Attached Files:

  2. kellys_eye

    kellys_eye

    4,286
    1,146
    Jun 25, 2010
    Can you show how you've ACTUALLY interfaced the HT.... to the Arduino? and tell us which application schematic you used (1, 2 or 3)
     
    mish likes this.
  3. mish

    mish

    5
    0
    Apr 14, 2018
    Please find the schematic. I don't know which pin is to be connected to the power down of HT9032D.
     

    Attached Files:

  4. kellys_eye

    kellys_eye

    4,286
    1,146
    Jun 25, 2010
    Pdwn will be either controlled by the processor (if you want to set the device to low-power when not in use) or can be hard-wired to the appropriate logic level if external control isn't required.
     
  5. mish

    mish

    5
    0
    Apr 14, 2018
    i don't know how to proceed with setting the device to low power when in use. In my circuit, the Pdwn pin now connected to the pin 10 on arduino and Dout is connected to pin 11.
    The code i used is:
    #include <SoftwareSerial.h>
    SoftwareSerial mySerial(10, 11); // RX, TX
    char SBUF0 = 0;

    void setup()
    {
    Serial.begin(1200);
    }

    void loop()
    {
    Ht9032_get();
    }


    void Ht9032_get()
    {
    while (Serial.available() > 0)
    {
    //Serial.flush();
    SBUF0 = Serial.read();
    Serial.print(SBUF0);
    }
    }
     
  6. kellys_eye

    kellys_eye

    4,286
    1,146
    Jun 25, 2010
    You won't use Pdwn when the device is in use - it is a function to lower device power consumption when 'idle'.
     
    mish likes this.
  7. mish

    mish

    5
    0
    Apr 14, 2018
    i have removed the connection for the Pdwn pin, still i'm not getting any reading. I wonder if the resistors and capacitors are in the right value.
     
  8. kellys_eye

    kellys_eye

    4,286
    1,146
    Jun 25, 2010
    Removing the connection doesn't define the logic state - it needs to be either tied to Vcc or ground, not 'floating'.
     
  9. mish

    mish

    5
    0
    Apr 14, 2018
    I have connected Pdwn to the gnd for the chip to be in power up mode. I just wanted to confirm whether Dout pin is should be connected to the pin 10 on arduino or other pin for serial receive from the chip.
     
  10. kellys_eye

    kellys_eye

    4,286
    1,146
    Jun 25, 2010
    If Dout is your serial data then you can connect it to whatever pin on the Arduino you care to configure for serial data input. Whether or not that pin requires a pull-up or not depends on the devices themselves (internal pull up resistor?).
     
  11. KHelmi

    KHelmi

    1
    0
    Jun 25, 2019
    Hello, please tell me that finally it worked or not, as I am a very very beginner and I will start the same project.
    Regards
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.
Loading...
Electronics Point Logo
Continue to site
Quote of the day

-