MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.17k stars 19.21k forks source link

[FR] SKR 1.3 DHT Humidity & Temperature Sensor #17557

Open TheCloudIdea opened 4 years ago

TheCloudIdea commented 4 years ago

hello I modify CUBEPRO DUE, it have inside CIRRUS60 heater, already can control it with bed heater on lcd menu. I trying to instal DHT11-DHT21-DHT22 to skr 1.3 with screen info, but cant find step by step how to do http://i.imgur.com/hnKqJ9P.jpg marlin 2.0 not have any info about it, but found in old version some info, but it to old... any helps?

astorun commented 4 years ago

Yes I would really like to do that too. This is I believe from this https://reprap.org/forum/read.php?146,449126

I think that guy were using Atmel MCU. I believe The DHT libraries are not compatible with LPC176x series so I could not be able to run it on my SKR 1.4 Turbo as well.

I will really appreciate if one of the maintainers can look into this. I think its nice to see DHT series sensor support for Marlin will be useful, especially if you have a drybox for filament. You can check it on printer screen right away.

ellensp commented 4 years ago

Marlin 2 is a very different beast I have just gotten the DHT11 working under marlin 2 on a ramps using platformio see https://reprap.org/forum/read.php?1,460828,873148#msg-873148

It uses two libraries, DHT sensor library 1.3.10 Adafruit Unified Sensor 1.1.3 (and you must stop it including Adafruit ADXL343, wich it wants, but isn't needed) Both of these are available for mega2560 but not the lpc1768/9 (there are no arduino libraries for lpc1768/9 other than what marlin people write.)

I have both libraries compiling ok on lpc1768, but not at all tested...
long way to go...

astorun commented 4 years ago

I contacted to Adafruit and they said its impossible to make it work with LPC series since this library is only works for AVR MCUs.

I am really wishing to make this feature works natively. If one of the maintainers are willing to integrate this I am ready to start making monthly donations for Marlin Firmware development via github (I am serious). Since I am not a programmer its very complicated work for me.

boelle commented 4 years ago

@TheCloudIdea still an issue?

astorun commented 4 years ago

Yes its still not working as far as I know.

boelle commented 4 years ago

Please test the bugfix-2.0.x branch to see where it stands.

astorun commented 4 years ago

Thanks for reopening this. I am gracefully waiting for humidity and temperature sensor support, especially for LPC176x series :)