Skip to content

Open-source hardware and firmware for a PIC16LF19156-driven IR non-contact thermometer using a Melexis MLX90614 sensor and Lumex LCD-S401M16KR LCD segment display.

License

Notifications You must be signed in to change notification settings

kamorrissey/pic-ir-thermometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLX90614 IR sensor on breadboard

pic-ir-thermometer

(Under construction. Circuit schematic is stable; PCB design to be provided. Firmware mostly complete but does not yet read from temperature sensor or read/write EEPROM. 3d-printable, handheld enclosure design to be provided.)

Open-source hardware and firmware for a PIC16LF19156-driven IR non-contact thermometer using a Melexis MLX90614 sensor and Lumex LCD-S401M16KR LCD segment display.

This project demonstrates several major functions of a Microchip PIC microcontroller (MCU):

  1. using the built-in LCD driver module to directly drive a multiplexed LCD segment display
  2. using the I2C/IIC/SMBus interface (MSSP) to communicate with an external temperature sensor
  3. using the timer (TMR2, TMR4) and configurable logic cell (CLC) modules to debounce switch inputs in hardware
  4. using the timer module (TMR0) to detect timeout of user input
  5. using the internal voltage reference (FVR) and analog-to-digital converter (ADC) modules to detect low-battery state with no external components required
  6. using the built-in EEPROM to read and write persistent data

The firmware is written in C using the free version of the Microchip MPLAB X IDE and XC8 compiler. As much code as practical is generated rather than hand-written by using the Microchip Code Configurator (MCC) plugin-in to MPLAB. The full MPLAB project is provided.

The hardware uses minimal parts. The surface mount MOSFET for battery protection is optional. The full KiCad project containing schematic and PCB design is provided.

A 3D-printable, handheld enclosure design holding a single AA cell is provided. All needed STL files for printing the enclosure are provided.

About

Open-source hardware and firmware for a PIC16LF19156-driven IR non-contact thermometer using a Melexis MLX90614 sensor and Lumex LCD-S401M16KR LCD segment display.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published