REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. reitinge
    3. Best
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 109
    • Best 5
    • Controversial 0
    • Groups 0

    Best posts made by reitinge

    • RE: DS18B20 wireless senzor

      @jackobocze Dobrý den,
      pokud to správně chápu, chcete posílat data z esp8266 do RPi přes WiFi. Pokud je RPi přístupné ve Vaší místní síti, můžete údaje o teplotě zapisovat z esp8266 pomocí HTTP requestů a REST API (dokumentace zde). Případně můžete z esp8266 odesílat UDP packety a v REXYGENu je číst pomocí bloku REXLANG nebo PYTHON. Nejjednodušší mi přijde využití REST API. Python blok má tu výhodu, že můžete využít zdrojové kódy a knihovny dostupné na internetu. Pro REXLANG blok naleznete příklad UDP Receiveru v knihovně příkladů pod jménem 0502_Generic_I2C_Communication.

      S pozdravem,
      Reitinger

      posted in 1-Wire
      R
      reitinge
    • RE: RC Servo PWM control.

      Hi Bruno,
      the Monarco HAT has hardware PWM and therefore does not need to create PWM in software using a PWM block. Documentation to the PWM on Monarco HAT can be found on page 16 in Monarco technical specification https://www.monarco.io/docs/Monarco-HAT-Hardware-Reference-Manual.pdf.
      All you need to do is set the PWM frequency (in your case to 50 Hz) and calculate the actual duty cycle for one channel according to the equation:

      Duty_cycle = pulse_width/period_length
      

      Take a look at example 0121-05_Monarco_HAT_PWM_output to find out how to set the frequency and duty cycle for PWM1 (for example).

      Hope, this will be helpfull.
      Cheers
      Jan.

      posted in Monarco HAT
      R
      reitinge
    • RE: WebWatch

      @mikeyh Hi Mike,
      this is REXYGEN's bug. WebWatch does not work properly in recent versions. It should be fixed in the next version. We apologize for the inconvenience.

      Cheers,
      Jan

      posted in REXYGEN HMI Designer
      R
      reitinge
    • RE: DS18B20 wireless senzor

      @jackobocze Omlouvám se, netestoval jsem, zda vše stále funguje a mezi tím se změnily parametry některých funkcí v knihovně ESP8266HTTPClient. Posílám upravený sketch, který jsem právě otestoval a funguje mi pro daný příklad. REXYGEN_REST_API_example.ino

      posted in 1-Wire
      R
      reitinge
    • RE: HMI group color change

      Hi @jackobocze ,
      pipe components already have a color change animation and this animation cannot be reassigned by creating the parent group. At first, you have to make ordinary images out of the components. Click on the pipe one by one and ungroup them (Ctrl+Shift+G). Then group the pipe images (Ctrl+G) and assign them an animation (Ctrl+J).
      Cheers,
      Jan
      Pipes_group_animation.gif

      posted in REXYGEN HMI Designer
      R
      reitinge