Activity Forums Questions & Troubleshooting Jitter period at digital output

  • Jitter period at digital output

  • Athanasius

    Member
    September 29, 2021 at 7:01 am

    Hi,

    i bought an controllino Maxi and tried to generate a flipflop signal, working in 24V mode.

    1) I hadn’t expected such a long jitter period, around ~9ms. My target was to change the flipflop signal every 2ms. Is there another possibility to achieve this without using the raw ATmega signal at 5V? Thats what i wanted to avoid by using the controllino.

    2) Secondly, the voltage at the low level is still around 11V – shouldn’t that be much lower? The datasheet says it should be 0-4,8V. (Checking the pinout on top, the ATmega is generating a proper 5V/0V flipflop)

    Thanks in advance.

  • Athanasius

    Member
    September 29, 2021 at 7:08 am

    //#include <SPI.h>
    #include <Controllino.h>

    int T = 50;
    void setup() {
    //Controllino_RTC_init(0);
    pinMode(CONTROLLINO_D9, OUTPUT);
    }

    void loop() {
    digitalWrite(CONTROLLINO_D9, HIGH);
    delay(T);
    digitalWrite(CONTROLLINO_D9, LOW);
    delay(T);
    }

  • Lukas

    Member
    September 30, 2021 at 9:37 am

    Hi,

    please note that the screw terminal digital outputs of CONTROLLINO MAXI are High Side switches. They are only connecting/disconnecting the terminal to/from supply voltage. Not ground. I think that this is the reason for your troubles.

    Best regards,

    Lukas

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now