m5stack tough programming help
-
Hi. I'm looking for some help in programming M5 stack core 2 tough with a RS485 sensor using webui. The sensor is giving out flow rate which needs to be read by m5stack tough device. This data then needs to be propagated to the aws iot core.
is there any example of the same available that show step by step process.
is there someone in our community that can show me once
thanks
-
@aiconnection so your first task would be to read sensor data using Modbus in to M5Tough controller
-
@robski
tasks are:
interface layout on screen with live data values
establish rs485 sensor connection
then connectivity to mqtt broker
could you please help
thanks -
@robski can you please guide me resources as to how to work with uiflow 2.0 to setup blocks to read modbus data. I know the communication protocols for my sensor. Being newbie I have no concept of uiflow workability with respect to this unit
Any help or video link would be great
-
Hello @aiconnection
please find an M5Tough Modbus example switching an ACSSR relay on and off in the UIFlow2 Project Zone: M5Tough_Modbus_ACSSR_Test_UIFlow2.1.5
Thanks
Felix -
@felmue thanks will check ✅
-
Is it possible i could request yourself for configuration for one tough unit with one sensor setup. I can provide you with access to my machine.
I can compensate for time if that helps.
Thanks
Sunny
Vancouver Canada
WhatsApp 6043582900 -
Hello @aiconnection
thanks for asking, but no, I have no interest in doing that, sorry.
That said, have you tried to communicate with the sensor?
Thanks
Felix -
-
@aiconnection said in m5stack tough programming help:
@robski can you please guide me resources as to how to work with uiflow 2.0 to setup blocks to read modbus data. I know the communication protocols for my sensor. Being newbie I have no concept of uiflow workability with respect to this unit
Any help or video link would be great
can you read any modbus data from mentioned sensor using any of available modbus test tools? Just to confirm that communication to sensor over modbus is fine.