Skip to content

Roberts-sw/MLX90621-Arduino_Uno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

MLX90621

Using the MLX90621 requires quite some calculations and seems hardly possible on an Arduino Uno or something with an ATmega328 controller. I decided to start with calculating ambient temperature without using floating-point values, instead doing ``exact division''.

As I used an 8MHz Uno-variant, internal RC-operated, I felt the need for having the EEPROM values, 256Bytes, available so RAM started to be a bottleneck right away. Luckily my sensor is the D-type, so fewer calculations were needed.

As bonuses I added a tested square-root routine and float-to-string converter with the project, using about 10kB of flash and 1kB of SRAM, including a nice I2C-scanner and run-time choice of what to show from the sensor.

About

AVR-optimised read-out of MLX90621

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors