2025-04-14 2:06 AM - last edited on 2025-04-21 3:52 AM by mƎALLEm
Hello everyone,
I’m working on a project using TouchGFX and I would like to know if it’s possible to display real-time curves (line graphs) that represent data coming from a sensor connected via I2C.
:small_blue_diamond: I’m using a microcontroller from the STM32 series.
:small_blue_diamond: The sensor communicates through I2C (temperature sensor).
:small_blue_diamond: I would like to visualize this data in graphical form (curves or charts) on the display using TouchGFX.
My main questions are:
Is it possible to plot real-time curves or graphs using TouchGFX?
Are there any built-in widgets or recommended methods to implement dynamic data plotting?
What is the best way to send I2C data from the MCU to the TouchGFX GUI efficiently?
Are there any examples or tutorials available?
Any suggestions, code examples, or documentation links would be very helpful!
Thanks in advance :folded_hands:
Solved! Go to Solution.
2025-04-21 3:56 AM - edited 2025-04-21 3:59 AM
Hello,
Please refer to the TouchGFX tutorial: Dynamic Graph
The temperature values need to be propagated from the hardware to the graphics in MVP model.
See also this video on ST Youtube channel.
Hope that helps.
2025-04-21 3:56 AM - edited 2025-04-21 3:59 AM
Hello,
Please refer to the TouchGFX tutorial: Dynamic Graph
The temperature values need to be propagated from the hardware to the graphics in MVP model.
See also this video on ST Youtube channel.
Hope that helps.