Welcome! Log In Create A New Profile

Advanced

Teensy 4.1 will not read bed temperature

Posted by Slow5586 
Teensy 4.1 will not read bed temperature
October 10, 2022 03:02AM
Hello, I've recently started constructing a custom 3d Printer driven by a Teensy 4.1 and in my initial attempts to flash marlin I have run into an issue detailed below. Any help would be greatly appreciated. Thanks in advance!

Hardware: Teensy 4.1 using BOARD_TEENSY41 default pin assignments. Wired to a RAMPS 1.4 board at 24 V using 2 extruder heaters in parallel and an openbuilds mini heated bed(eeb). Hot end thermistor is a E3D thermistor and the bed thermistor is a Little Foot GL104R5J thermistor.

Firmware: Marlin 2.1.1(CONFIGURATION_H_VERSION 02010100) flashed through arduino IDE with teensyduino extension. For more details see attached config.

Issue Description: Teensy 4.1 will not read bed temperature but can successfully read extruder temperature. When asking for temperature in Pronterface, temperature is reported as -50 with custom thermistor settings and 0 with E3D thermistor settings. When flashing identical firmware with BOARD_RAMPS_14_EEB, bed temperature can be read.

Current Debug Process:
  1. Measured Resistance of hot end and bed thermistors at room temp and after heating with a hair dryer. Resistances were as expected.
  2. Switched Little Foot Thermistor to hot end pins and E3D thermistor to bed pins, still resulted in no successful reading of bed temp and successful reading of hot end temp.
  3. Switched Teensy TEMP_0_PIN and TEMP_BED_PIN still resulted in no successful reading of bed temp and successful reading of hot end temp.
  4. Set TEMP_SENSOR_BED to 5(E3D thermistor settings) and TEMP_SENSOR_0 to 1000(custom Little Foot thermistor settings), resulting in constant reading of 0 C for bed and normal reading for hot end.
  5. Connected Teensy to Cura instead of Pronterface. Resulted in normal reading for hot end and constant reading of 1 C for bed
  6. Flashed default marlin 2.1.1 with only changes to MOTHERBOARD, TEMP_SENSOR_0, and TEMP_SENSOR_BED, still resulted in no successful reading of bed temp and successful reading of hot end temp.
  7. Flashed marlin 2.1.1 with bug fixes, with only changes to MOTHERBOARD, TEMP_SENSOR_0, and TEMP_SENSOR_BED, still resulted in no successful reading of bed temp and successful reading of hot end temp.
  8. Flashed marlin 2.1.1 "Nightly" with bug fixes, with only changes to MOTHERBOARD, TEMP_SENSOR_0, and TEMP_SENSOR_BED, still resulted in no successful reading of bed temp and successful reading of hot end temp.
  9. Fixed and arduino compiler warning in temperature.cpp for use of -Wimplicit-fallthrough by replacing it with Wextras
  10. Measured voltage at Teensy Bed Temp pin, Voltage at room temp was approximately analogous to the voltage at the Extruder temp pin.
  11. Enabled Pin Debugging(M43) and Pin State Control(M42), Requested full list of pins, TEMP_BED_PIN correctly assigned
  12. Ran PID Calibration of hot end to verify relative functionality of Marlin(M303 E0 C8 S210), Calibration ran successfully
  13. Flashed firmware in VS code instead of Arduino interface, no effect
  14. Flashed firmware with Teensyduino on mac, instead of windows, no effect
  15. Set TEMP_SENSOR_BED to 998( dummy 25 C constant) bed temp reported as 25 C

Attached Below are the my configuration files, a wiring reference and an image of the test setup

Edited 2 time(s). Last edit at 10/10/2022 03:03AM by Slow5586.
Attachments:
open | download - Configuration.zip (90 KB)
open | download - Thermistor Diagram.png (6.39 MB)
open | download - PXL_20221007_222724276.jpg (2.47 MB)
Sorry, only registered users may post in this forum.

Click here to login