Using a digital IR-Sensor with Marlin?
November 09, 2020 10:14AM
I am wondering if it is possible to use a digital IR sensor with marlin? I do not mean a thermistor or similiar, but a sensor that measures the IR waves coming from a specific point on a target. I am thinking of a sensor that uses the I2C bus, like the MLX90614:

[www.ebay.de]

For this sensor I even found an existing library:

[github.com]

I saw that in the configuration_adv.h there is the option of using the I2C for experimental purposes and that there are G-Code commands like

M260
M261

for sending or requesting information, but I have absolutly no idea how to adress the IR-Sensor right or what to type in in the serial monitor to get a temperature value. For me it seems that the I2C bus is primarily used for alternative LCD panels.

I hope my English is good enough, otherwise please tell me if there are any misunderstandings.
Re: Using a digital IR-Sensor with Marlin?
November 09, 2020 07:36PM
yes its possible, but no one is going to do this without a good reason to put in the effort...


You can use M260/M261 but would be a list of commands
you have to initialize the device, set up registers, then ask for tempatures.

But this still cannot be used by marlin other than to display temp on console,
Sorry, only registered users may post in this forum.

Click here to login