• Author
    Posts
  • AndreyAndrey
    Participant
    @andybig
    Post count: 49

    There are several ways to display sensor data on the display – text, progress bar, slider, graphic numbers, arrow indicator, custom graphic indicator, graph. Place the appropriate widget in the project and assign it a text or a sensor value with a certain period using commands from Arduina.

  • Kathleen NguyenKathleen Nguyen
    Participant
    @kathnguyen
    Post count: 20

    What commands specifically are you referring to with the Arduino? Is there a library I should be looking into?

  • AndreyAndrey
    Participant
    @andybig
    Post count: 49

    You need to send text strings from Arduino containing commands in a special format. The format of these lines and the commands themselves are well described in the instruction list – https://www.stoneitech.com/download/instruction-sets/

    For example, in order for a text label named “label2” to display some value 541 on the display, you need to send the following text to the display containing the command, the name of the text label and the value itself:
    ST<{“cmd_code”:”set_value”,”type”:”label”,”widget”:”label2″,”value”:541}>ET

    As for the library, I was not interested, because I usually write programs myself as it suits me. But here there is some library with examples from Stone – https://github.com/STONElibrary/stone_serial

You must be logged in to reply to this topic.