Want to use Modbus RTU Relay to measure sensor data (Testing)

Thread Starter

lakindu123

Joined Jul 29, 2024
2
I have been given a Waveshare modbus RTU relay at work and for the inital phase, I am supposed to connect a BME680 sensor to the relay, retrieve data from the sensor, transmit serially to an ESP32 board through the relay, where the ESP32 board can transmit the data through LoRaWan to TTN.

I understand that there are better ways to go by connecting the sensor directly to the ESP32 but this is testing for another project so this is the way I have to proceed about it. I am an intern so I am very new to these devices and would like some guidance on these matters. I don't understand what these symbols mean on the relay (the circuit switch type symbols near the channels). If anyone could explain what these mean, it would be much appreciated.
WhatsApp Image 2024-07-29 at 16.46.00.jpeg

Besides, I also have got a logic level shifter to step down from 5v from the relay to 3.3v so that the channel can be connected to the ESP32 too.

Thank you
 

Thread Starter

lakindu123

Joined Jul 29, 2024
2
Can't read that sensor module with a relay module. It takes a i2c or SPI interface from a controller or computer.
I've used the BME280 (in the same sensor family as the BME680) in projects. You need low-level programming from some type of controller to make it work.
https://www.waveshare.net/shop/BME280-Environmental-Sensor.htm

https://forum.allaboutcircuits.com/...tter-for-this-application.193257/post-1823342
Thank you for the reply. Yes, yesterday I found out that the relay isn't mean to be reading data from sensor. I am currently using the RS485 TTL Converter that allows me to connect the esp32 to the slave RS485 end sensor (temperature and humidity)
 
Top