• Fichier Arduino à télécharger


    float TensionLue;
    float ResistanceCapteur;
    float Temperature;
    float R2 = 10000.0;

    void setup() {
    pinMode(A0, INPUT);
    Serial.begin(9600);
    }

    void loop() {
    TensionLue = 5.0*analogRead(A0) / 1023;
    ResistanceCapteur = R2 * (5.0 / TensionLue - 1);
    Temperature = 1 / ((log(ResistanceCapteur / 10000)) / 3950 + 1 / 298.15);
    Serial.println(Temperature- 273.15);
    delay(200);
    }

Accessibility

Background Colour Background Colour

Text Colour Text Colour

Font Face Font Face

Text Alignment Text Alignment

Font Size Font Size

1

Letter Spacing Letter Spacing

0

Paragraph Width Paragraph Width

0

Line Height Line Height

1.2

Font Kerning Font Kerning

Image Visibility Image Visibility

Link Highlight Link Highlight