IR temperature Sensor and Conditional Programming
-
Hi all,
I will ask for your help to have some guidance on a project that I have in hands.
I have built a CNC controller to position a IR heat source for material curing.
Now I'm runnig Marlin in an Arduino mega with ramps, but as far as I've been reading Duet would be good upgrade for what I'm trying to accomplish.
So my idea was to have an IR sensor to read the temperature at the surface of the material (can't use contact probes), and with the temperature reading modify the feedrates in X and Y to get the temperature in a certain range.
I have the idea of using conditional programming to achieve this. Can anyone give me some guidance on how to implement this and also the basic how to use an IR sensor on the Duet?
I would like to have a clear picture on this before purchasing the hardware.
Thanks a lot .
Cheers!
-
@npedro said in IR temperature Sensor and Conditional Programming:
and with the temperature reading modify the feedrates in X and Y to get the temperature in a certain range.
am understanding that your heater is smaller than the work piece to cure, and you will be "scanning" back and forth?
@npedro said in IR temperature Sensor and Conditional Programming:
also the basic how to use an IR sensor on the Duet?
that would mainly depend on the sensor, which sensors have you looked at?
-
Hi bearer,
@bearer said in IR temperature Sensor and Conditional Programming:
@npedro said in IR temperature Sensor and Conditional Programming:
and with the temperature reading modify the feedrates in X and Y to get the temperature in a certain range.
am understanding that your heater is smaller than the work piece to cure, and you will be "scanning" back and forth?
The heat comes from an IR bulb that travels back and forth, so yeah, the heater 'footprint' is smaller than the part to be built, and does a scanning motion to cure the material.
@npedro said in IR temperature Sensor and Conditional Programming:
also the basic how to use an IR sensor on the Duet?
that would mainly depend on the sensor, which sensors have you looked at?
I was thinking using an analog IR sensor. Accuracy it is not super important +- 2C should be fine. Could't find the link for the sensors that I researched a while ago, but we an discuss this later.
Want to keep it simple and the most important is the time that the system reacts to the temperature and changes the speed.
-
@npedro said in IR temperature Sensor and Conditional Programming:
I was thinking using an analog IR sensor.
If the sensor produces an analog output that you can scale or limit to 0-3.3V then you can use the LinearAnalog type of sensor in RRF. You could use the daemon.g file to read the sensor periodically, calculate the correction needed and use the M220 command to change the feed rate multiplier. Please note, M220 doesn't affect moves already in the queue, so it may take up to 2 seconds + 1 move before changes in M220 take effect.