-
Notifications
You must be signed in to change notification settings - Fork 204
Temperature probe
ShikOfTheRa edited this page Jul 3, 2018
·
9 revisions
MWOSD now supports a directly connected hardware temperature sensor - LM35
By default the temperature support is enabled in MWOSD from 1.8.2 onwards.
- MAvlink provides temperature within its data stream from the FC.
- If this is not a sensor reading required, a directly conencted LM35 can be used.
- To enable this, a custom install with Arduino is required.
- #define HARDWARE_TEMERATURE_LM35 will need to be enabled in config.h
- Connect the LM35 as per the diagram at the link below.
- The default "Aux" pin is A1 - or Amperage pin on the minim OSD hardware. For Aeromax hardware this is the Aux pin A6 which is the pin furthest away from BAT1 pin
- https://github.com/ShikOfTheRa/scarab-osd/blob/master/OTHER/DOCUMENTATION/DIAGRAMS/LM35.png
#define TEMPERATUREMAX 50 // Temperature warning value #define TEMPCAL_0 0 // Calibration value for 0 degrees C (range = 0-1024 as per arduino analogue) #define TEMPCAL_100 931 // Calibration value for 100 degrees C (range = 0-1024 as per arduino analogue. 931 = 1v for a 1.1v reference)