Skip to main content
Visitor II
May 7, 2024
Question

RS485 Sensor

  • May 7, 2024
  • 1 reply
  • 1191 views

Hi, I am trying to connect one energy meter sensor which has RS485 output , But i am unable to read RS485 sensor readings in Nucleo F401RE, If you have any examples please help out!!

    This topic has been closed for replies.

    1 reply

    Graduate II
    May 7, 2024

    Perhaps have the meter vendor explain how it works to you or suggest contractors you might work with.

    RS485 is a signaling interface. It doesn't define how particular hardware is queried or used in the broader sense.

    Does the meter have a manual or datasheet you can refer too?

    Do you have the RS485 level/interface circuit wired to a UART? Does that work at some basic level?

    Do you work with anyone who knows what they are doing or have experience with this equipment?

    Visitor II
    May 7, 2024

    Thanks for your valuable time Delorean!!

    Actually I had used ESP32 for RS485 Sensors, now I try to connect same RS485 Sensors in STM32 but I am not able to connect, I have tried with the same interface circuit which I used in ESP32, but I am not able to read.

     

    Graduate II
    May 7, 2024

    Ok, so present this in a form that shows the code that works and the code that doesn't and diagram what exactly you have wired up to the STM32