WVO Final Report B.pdf


Preview of PDF document wvo-final-report-b.pdf

Page 1 2 3 4 5 6 7 8 9

Text preview


 

 
 
 
 
float batteryVoltage() 

  float voltageBatt = 0; 
  voltageBatt = analogRead(BATTERY_PIN)*5/1024*14*.125; 
  Serial.println(voltageBatt); 
  return (voltageBatt); 

 
float coilTemp() 

sensors.requestTemperatures(); // Send the command to get temperatures 
int fast = sensors.getTempCByIndex(COOLANT_SENSOR_INDEX); 
Serial.println(fast); 
  return (fast);