Skip to content

Library for interfacing TSD305 IR thermopile sensor with Arduino compatible boards.

License

Notifications You must be signed in to change notification settings

pranjal-joshi/TSD305Lib-Arduino

Repository files navigation

TSD305Lib-Arduino

Library for interfacing TSD305 IR thermopile sensor with Arduino compatible boards.

The library provides following features

  • Object Temperature
  • Sensor Temperature (Ambient Temperature)
  • Method for conversion from °C to °F

Following public methods are provided:

  • void begin(void);
  • tsd_eeprom_struct begin(void);
  • tsd_eeprom_struct begin(bool debug);
  • bool isConnected(void);
  • float getSensorTemp(void);
  • float getObjectTemp(void);
  • float DtoF(float temp);

Following structure can be used to determine the hardware measurement limits of the varient of TSD305 sensor you are using:

struct tsd_eeprom_struct {
  int16_t amb_min;
  int16_t amb_max;
  int16_t obj_min;
  int16_t obj_max;
  int16_t adc_cal;
};

Example

Refer the example by clicking here to get started.

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Contact

E-mail: pranjaljoshi@bel.co.in or joshi.pranjal5@gmail.com

Pull request for bug-fixes and new features are welcomed.

Acknowledgements

About

Library for interfacing TSD305 IR thermopile sensor with Arduino compatible boards.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages