Forum Replies Created

Viewing 1 - 8 of 8 posts
  • Friedl_AP

    Member
    March 2, 2021 at 6:03 pm

    The problem was “between keyboard and chair” 😉

    I forgot to install “Controllino” Libs, not just the board – silly me.

    Now I’ve got the following installed:

    • Boards: Arduino AVR Boards (1.8.3), Controllino (3.1.0)
    • Libs: Controllino (3.0.5)

    But now I do get the following error:

    Compilation error: Error: 2 UNKNOWN: exec: "/bin/avr-g++": file does not exist

    The compiler seems to live in the following directory:

    C:\Users\USERNAME\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin

    Which files to patch so I can get it to use this path?

    • This reply was modified 3 years, 1 month ago by  Friedl_AP. Reason: The Editor of this forum is buggy, there are stray < div > tags inserted
  • Friedl_AP

    Member
    February 24, 2021 at 2:57 pm

    May I feed 5.000V via X1 into the MAXI Automation to overwrite the internal power supply?

  • Friedl_AP

    Member
    February 24, 2021 at 10:52 am

    For what it’s worth, as software the Blinking_LEDs was loaded during the tests.

    When only the USB cable is connected, the +5V (X1) vs. GND (X1) measures about 4.17V.

    When I switch on the 24V Supply, the +5V (X1) vs. GND (X1) measures about 4.86V.

    Multimeter used: Keysight 34461A (calibration date: 23.03.2020)

  • Friedl_AP

    Member
    March 17, 2021 at 4:25 pm

    Dear Jarda!

    I’ve now tried the following:

    1. Switched ADC to external reference as first command of setup()
    2. After loading the code I switched on a lab supply (4.500 V) connected to GND/VREF on X2
    3. AI12 is driven by another lab supply with 4.500 V (GND=screw terminal of Controllino, measured versus GND of Controllino)
    4. ADC value: 602 (expected (1024/2-1)=511)
    5. reduce VREF till ADC value gives 1023
    6. VREF measured: 2.653 V (expected 4.500V/2 = 2.25V)

    The internal reference is off and connecting an external reference does not really work either.

    Code:

    #include <Controllino.h>

    /*
    * CONTROLLINO MAXI AUTOMATION - using analog VREF input
    *
    * Reads out converted analog values from a screw terminal input AI12
    * of CONTROLLINO using VREF on X2 as reference.
    *
    * ------------------------
    * 24V ---------o--------------| 24V |
    * external | | |
    * supply | | |
    * -------------- | CONTROLLINO MAXI |
    * | Lab Supply |--------| AI12 | ---------------
    * | 4.500V | | X2-VREF |--------| Lab Supply |
    * -------------- | | | 4.500V |
    * | | | ---------------
    * | | | |
    * GND ---------o--------------| GND X2-GND |---------------o
    * ------------------------
    * remark: AI12 = internal divider 2:1
    * ATTENTION: Only switch on the lab supply on VREF after you've downloaded the code the first time!
    */

    void setup() {
    analogReference(EXTERNAL);
    pinMode(CONTROLLINO_AI12, INPUT);
    Serial.begin(115200);
    delay(300);
    }

    void loop() {
    int val = analogRead(CONTROLLINO_AI12);
    Serial.print(F("raw value: ")); Serial.println(val);
    delay(100);
    }

    • This reply was modified 3 years, 1 month ago by  Friedl_AP. Reason: stray DIV tags removed
  • Friedl_AP

    Member
    February 25, 2021 at 10:33 am

    Servus! Grüße in die Heimat!

    It is not possible to change the visibility of the “Profile Text”.

    See Screenshot https://community.controllino.com/wp-content/uploads/2021/02/2021-02-25-11_30_35-Privacy-Account%E2%80%93Controllino-Forums.png

  • Friedl_AP

    Member
    February 24, 2021 at 6:13 pm

    Instead of Imgur, using the forum photo album to store the images:
    https://community.controllino.com/members/friedl_ap/photos/albums/1/

  • Friedl_AP

    Member
    February 24, 2021 at 1:29 pm

    Okay, then why did you remove the label on the MAXI Automation without removing the LED?

    The two green LEDs is not in the manual, can you please update the manual? The front face of the MAXI Automation is missing from the manual as well.

    Greetings from Graz!

    • This reply was modified 3 years, 2 months ago by  Friedl_AP.
  • Friedl_AP

    Member
    February 24, 2021 at 1:26 pm
Viewing 1 - 8 of 8 posts