No description
Find a file
ladyada 4552553eb3 Add complete object temperature calculation with debug controls
- Implement full getObjectTemperature() with Stefan-Boltzmann law calculation
- Add complete object temperature formula: TO = pow( STO / (emiss * Fa * Ha * (1 + Ga * (TODUT - TO0) + Fb * (TADUT - TA0))) + TAK^4, 0.25) - 273.15 - Hb
- Add TO0/TA0 member variables for iterative calculation state tracking
- Add scientific notation display for large values (TAK^4, TO_K^4) using custom formatting
- Add MLX90632_DEBUG define with ifdef controls for all debug output
- Add proper indentation (2 spaces) for all debug prints for better readability
- Convert all string literals to F() macro for SRAM optimization (1150 bytes saved)
- Complete temperature measurement system working: ambient ~24°C, object detection functional
- All intermediate calculations visible with proper formatting in debug mode

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-02 15:15:02 -04:00
.github/workflows Initial commit: MLX90632 Far Infrared Temperature Sensor library 2025-07-18 19:25:34 -04:00
examples/test_MLX90632 Add complete object temperature calculation with debug controls 2025-08-02 15:15:02 -04:00
.clang-format Initial commit: MLX90632 Far Infrared Temperature Sensor library 2025-07-18 19:25:34 -04:00
.gitignore Initial commit: MLX90632 Far Infrared Temperature Sensor library 2025-07-18 19:25:34 -04:00
Adafruit_MLX90632.cpp Add complete object temperature calculation with debug controls 2025-08-02 15:15:02 -04:00
Adafruit_MLX90632.h Add complete object temperature calculation with debug controls 2025-08-02 15:15:02 -04:00
README.md Initial commit: MLX90632 Far Infrared Temperature Sensor library 2025-07-18 19:25:34 -04:00

Adafruit MLX90632 Build Status

Arduino library for the MLX90632 Far Infrared Temperature Sensor

Dependencies

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Documentation and doxygen

Documentation is produced by doxygen. Contributions should include documentation for any new features.

Formatting and clang-format

This library uses clang-format to standardize the formatting of .cpp and .h files. Contributions should be formatted using clang-format:

The -i flag will make the changes to the file.

clang-format -i *.cpp *.h

If you prefer to make the changes yourself, running clang-format without the -i flag will print out a formatted version of the file. You can save this to a file and diff it against the original to see the changes.

Note that the formatting output by clang-format is what the automated formatting checker will expect. Any pull requests that don't conform to the formatting style will not pass the automated checks.

About this Driver

Written by Adafruit Industries.

MIT license, check license.txt for more information. All text above must be included in any redistribution.