General

Humidity sensor SEN0438

userHead user002 2024-03-11 21:49:08 352 Views7 Replies

Hi,

The Humidity sensor SEN0438 is not transmitting any data to microcontroller Rx pin. The sensor connection is like this 

red          -    +12V     White - B of RS485 to TTL module

Black      -    Gnd       Yellow - A of RS485 to TTL module

 

RS485 to TTL module connection

RO - RX and DI toTX RE and DE ns joined and set to a GPIO pin 

 

The Code is here

     RE and DE pin high;
   USART_Transmit(0x01);
   USART_Transmit(0x03);
   USART_Transmit(0x00);
   USART_Transmit(0x00);
   USART_Transmit(0x00);
   USART_Transmit(0x02);
   USART_Transmit(0xC4);
   USART_Transmit(0x0B);
     _delay_ms(1);

   RE and DE pin high;

in =USART_Receive();    
   in =USART_Receive();
   in =USART_Receive();
   in =USART_Receive();
   in =USART_Receive();
   in =USART_Receive();
   in =USART_Receive();
   in =USART_Receive();

 No data is received .

2024-06-11 06:04:13

I do not think it is for underwater use. If it was fit for underwater, the manuals and descriptions would have said so.

userHeadPic lia.ifat
2024-06-11 05:00:51

Informative.

userHeadPic mikegold
2024-06-09 08:02:19

Are you using this github?

https://github.com/May-DFRobot/DFRobot/blob/master/SEN0438%20-%20EN.pdf

userHeadPic lia.ifat
2024-06-05 16:42:47

Hi

I want to use it to measure water temperature, but I'm wondering if I can use it by putting it in water.

Thank you,

regards

userHeadPic Michael.Jeong
2024-03-26 23:49:42

Hi,

 

I am having issues too with the communication.

Can someone please confirm whether the following communication specs are correct?

- 9600 baud rate- address: depends on the pulled up pins- 8N1 for data size, parity and stop bits

 

Thank you,

regards

 

userHeadPic Francesco.Stefanni
2024-03-13 21:09:30

The slave address is 1 like in figure 1 . I am using atmega32 microcontroller for reading humidity from the sensor 

userHeadPic user002
2024-03-12 01:11:50

Hello,

What type of controller are you using? Also can you confirm that the dial address is the same as in the code?

userHeadPic Yeez_B