Crius AIOP V2 - Buzzer - Vbat

Post Reply
User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Crius AIOP V2 - Buzzer - Vbat

Post by NikTheGreek »

Trying to understand where to connect buzzer and Voltage monitoring(VBAT) in CRIUS AIOP V2 board with not much success

BUZZER.(what i've done so far)

Code: Select all

 #define BUZZER


According several infos found over the net seems that must be connected in pad labeled pin 32.
Do i have to change something in config ? or can i simply connect my buzzer there ?

VBAT(what i've done so far)

Code: Select all

#define OVERRIDE_V_BATPIN                   A0 // instead of A3    // Analog PIN 3

#define VBAT              // uncomment this line to activate the vbat code
    #define VBATSCALE       74
    // (*) change this value if readed Battery voltage is different than real voltage
    #define VBATNOMINAL     126 // 12,6V full battery nominal voltage - only used for lcd.telemetry
    #define VBATLEVEL_WARN1 107 // (*) 10,7V
    #define VBATLEVEL_WARN2  99 // (*) 9.9V
    #define VBATLEVEL_CRIT   93 // (*) 9.3V - critical condition: if vbat ever goes below this value, permanent alarm is triggered
    #define NO_VBAT          16  // (*) Avoid beeping without any battery


My problem is that for any value for VBATSCALE i'm taking the same reading.

Thank you in advance.

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: Crius AIOP V2 - Buzzer - Vbat

Post by NikTheGreek »

NikTheGreek wrote:According several infos found over the net seems that must be connected in pad labeled pin 32.

Verified...working on pin 32. ;)

Post Reply