0% found this document useful (0 votes)
25 views7 pages

Annexe

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views7 pages

Annexe

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Annexes

Annexe 1: Conditions de test du vérin exigé par le CMM


Annexe 2: Circuit hydraulique exigé par le CMM
Annexe 3: Vérin hydraulique à tester

En position de repos En position opératoire


Annexe 4: Dossier technique
Annexe 5: Code Arduino
#include <LiquidCrystal.h>

const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;


int start;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

signed short minutes, secondes;


char timeline[16];

void setup() {

lcd.begin(16, 2);
pinMode(5, INPUT);
pinMode(4, INPUT);
}

void loop() {
lcd.setCursor(0,0);
float reading=analogRead(A4);
float temp=reading*(5.0/1023.0)*100;
lcd.print(temp);
delay(10);
lcd.setCursor(5,0);
lcd.print("C");
lcd.setCursor(0,1);
sprintf(timeline,"%0.2d mins %0.2d secs", minutes, secondes);
lcd.print(timeline);
delay(1000);
start = digitalRead(A5);
if (start == HIGH )

if ( minutes < 3 )
{
secondes++;
}
if (secondes == 60)
{
secondes = 0;
minutes ++;
}
if ( minutes == 3 )
{
secondes == 0;
minutes ==0;
}
}

You might also like