Anet A8 extruder thermo-sensor settings
Hello!
I've got an old Anet A8 printer with no-name red Melzi v2 board. I've downloaded the official firmware, flashed, it works, but I want more flexibility and the newest version of Repetier! So I've downloaded the latest one (0.92.8), used online tool to configure it, flashed, and it sort of works... everything except extruder thermistor.
So, what we have:
* Thermistor works with the default firmware (tried to flash it again, still works, and doesn't work with Repetier). So the thermistor and mother-board both work, it's just a configuration issue.
* Thermistor is just the same as heatbed's one (type 1), which works fine in both firmwares.
* I've tried dozen of different options for thermistor type in config. It always shows either 0.0 or def.
* Tried to replace thermistor just in case - nothing changed.
* I've checked the board, the resistors for both heatbed and extruder thermistor are the same - 4.7k
I'm running out of ideas. What can cause this problem, what am I missing?
I've got an old Anet A8 printer with no-name red Melzi v2 board. I've downloaded the official firmware, flashed, it works, but I want more flexibility and the newest version of Repetier! So I've downloaded the latest one (0.92.8), used online tool to configure it, flashed, and it sort of works... everything except extruder thermistor.
So, what we have:
* Thermistor works with the default firmware (tried to flash it again, still works, and doesn't work with Repetier). So the thermistor and mother-board both work, it's just a configuration issue.
* Thermistor is just the same as heatbed's one (type 1), which works fine in both firmwares.
* I've tried dozen of different options for thermistor type in config. It always shows either 0.0 or def.
* Tried to replace thermistor just in case - nothing changed.
* I've checked the board, the resistors for both heatbed and extruder thermistor are the same - 4.7k
I'm running out of ideas. What can cause this problem, what am I missing?
Comments
I've just used `TEMP_0_PIN` for extruder thermistor, which is set to 7 in pins.h for my board, which matches the schema I found here http://reprap.org/mediawiki/images/7/7d/Melzi-circuit.png.
I'll try other ADCs (there are just 7 of them on ATMega1284p according to datasheet) in the evening.
Thanks for help!
I've tried all pins - 0 to 7. It's `def` for all pins except 6 (heatbed thermistor, works fine).
Setting `TEMP_1_PIN` to 7 gives `def` for bed temperature. Setting `TEMP_0_PIN` to 6 gives good readings for extruder, but that's not what I want.
Any other ideas? What other settings could affect it? What else can I try? I'm completely lost.
You can also run
M105 X0
to see the raw output measured which is between 0 and 4095. You should be a few 100 away from these edges or you get def.
Basically I've copied the latest git repo (master), uploaded boards/Zonestar P802M/Configuration.h to online wizard, modified some stuff, put the config file back and compiled. So the problem can be only in Configuration.h (and pins.h).
I've checked every single line in the config - neither 7 or 33 is not found anywhere.
Here's my config file. The rest of the files
Any ideas, what else can I try?
Of course I can just upload the original firmware, but I don't like it, and I've spent 3 evenings to burn a bootloader to the board, I can't just give up
I couldn't compile the code initially because of two places in Commans.cpp - lines 1616 and 1953 have `INPUT_PULLUP`, which is undefined for some reason. Quick googling suggested to just set it to 2, and that's what I did.
Should I fix it somehow else? Can it be the case?
You should also check in pins.h if any symbolic name refers to 7/33 which is the last idea I have.
You could of course write a simple sketch reading pin 7 and writing result to serial to see if you are hunting the right one. Since this sketch sets definetly no other pins it is good test for pin number.
I checked pins.h. All places mentioning 7 or 22 are inside other boards' definitions, so should not affect me.