Friedl_AP
Forum Replies Created
-
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, 9 months ago by Friedl_AP. Reason: The Editor of this forum is buggy, there are stray < div > tags inserted
-
May I feed 5.000V via X1 into the MAXI Automation to overwrite the internal power supply?
-
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)
-
Dear Jarda!
I’ve now tried the following:
- Switched ADC to external reference as first command of setup()
- After loading the code I switched on a lab supply (4.500 V) connected to GND/VREF on X2
- AI12 is driven by another lab supply with 4.500 V (GND=screw terminal of Controllino, measured versus GND of Controllino)
- ADC value: 602 (expected (1024/2-1)=511)
- reduce VREF till ADC value gives 1023
- 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, 9 months ago by Friedl_AP. Reason: stray DIV tags removed
-
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
-
Instead of Imgur, using the forum photo album to store the images:
https://community.controllino.com/members/friedl_ap/photos/albums/1/ -
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, 10 months ago by Friedl_AP.
-