Thank you so much for this example. That´s what I am looking for.
It is not as comfortable as I expected, but it works. :)
RoToR
@RoToR
Posts made by RoToR
-
RE: Different Pages on M5Stack Core
-
RE: Webserver with UIFlow?
@holofloh
Thanks so much for your explanation and ideas!But I mean, is there no way in UIFlow (Blockly) to make the m5stack core accessable by IP from local network to get some data?
Just only to make the data vissible on internet browser? I would like to show real data, current status of the battery for monitoring in case of grid power loss.I want/have to use Blockly, because I don´t have much time for programming in Python and I realized already some functions with UIFlow Blockly.
@ajb2k3 I will try it too, later today.
I now found the "remote+" block in UIFlow, which provides the function I am looking for, but it works only with access to external server. So, without internet access it is not working anymore, right?
-
RE: Webserver with UIFlow?
Didn´t realized EZData. That could be an alternative solution.
But as I understand, internet is needed, which could be a problem for my project.
I want to read out a big battery, which must be accessable even if power from grid (and internet) is missing. -
Webserver with UIFlow?
I am not sure how to realize a website to show sensor data.
For example:
I have a m5stack core which measures several temperatures and voltages.
Then I want to open a website on local network, where I can see all the data which are provided by m5stack.How to start with UIFlow? Just only to show one sensor value on a small website, which is provided by m5stack via WLAN.
-
IEEE754 Float to Decimal
I have to convert a float value into decimal for modbus application.
I would like to realize this in UIflow.Is there any function available or perhaps a program flow code?
Is it in general possible to realize this in UIflow blocks?Just found an information how to create a custom block with Python.
Perhaps it already exists a m5b file? Otherwise I will try to create an m5b file.Any other idea, how to convert float to decimal in UIflow?
Added:
I am reading out a smart meter with M5stack and UIflow:
The result is a floating point format value, here 17008.
Converting into decimal is not available in UIflow and converting into an integer value is not working, as expected.
Therefore the second value on display shows nothing (only default text). -
RE: RS485 Voltage Levels on COMMU Module
Just a short feedback.
I tested now the new RS485 to TTL converter.
It is working well together with the smart meter. Now communication is possible. All voltage levels are much higher.The COMMU module is rubbish! Should not be used for RS485. I lost a couple of hours to fix this issue.
Now I have the issue to convert the float values from the smart meter into decimal / integer.
Any idea, how to do this with UIflow? is there a function available? -
RE: RS485 Voltage Levels on COMMU Module
@felmue thanks, I see. They are connected to 3,3V, could be the reason. But I will no more waste my time with this modules. I am testing the other RS485 adapter this weekend and report.
Hopefully they have the same behavior as yours. These values I expected from the COMMU ... -
RE: RS485 Voltage Levels on COMMU Module
I ordered now at Amazon an external UART/RS485 adapter, which will arrive tomorrow. Will test it on Sunday.
My conclusion up to now is, that the COMMU is unfortunately not suitable for UIFlow, because today I also wanted to test the CAN Bus, but the CAN library is not usable, because it is only for CA-IS3050G Chip, which has only RX and TX.
If I would have the time, I would programm it in Arduino, but that´s not the case, so for me the COMMU modul is rubbish and a waste of time.
It would be really a great module, if it would be supported by UIFlow ... -
RE: RS485 Voltage Levels on COMMU Module
@felmue, thanks for your measurement.
I don´t understand ...
3,3V and 5V measured on M5Stack are good.With 120 Ohm differential voltage it`s 200mV, so with load even worse.
Ground wire disconnected, same issue.I downloaded the test software to M5Stack and took a separate USB power supply, but the same ...
It seems, that there is not enough power on SP3485 chip.
Do I have to enable something?I already changed the M5Stack and the COMMU, without success.
I will cross change again.What do you measure without sending a message? I measure 0.57V. Should be much more, when I take a look on the schematic with the assumption, that A/B output is not low-ohmic.
I just tested a new M5Stack and another COMMU module. Same issue.
For RS485 communication I took RS485 unit library. Could this be the problem?
Now I will compare the schematic from RS485 unit with COMMU module.
It is comparable, should not be the issue.
Is there a design issue with the COMMU boards? Mine are from October 2011.
Or are both COMMU modules broken?What else could I do?
-
RS485 Voltage Levels on COMMU Module
Hi,
I want to use the RS485 from the COMMU module.
But I am wondering why the differential voltage between A and B from RS485 signal is so small (800mV).
I tried to connect it to a smart meter, but communication with M5Stack Core and COMMU via modbus protocoll isn´t possible.Configuration, software and signal see pictures. What´s wrong? I have no more ideas. So I assume, that voltage leves are to low.