Traumflug / Teacup_Firmware

Firmware for RepRap and other 3D printers
http://forums.reprap.org/read.php?147
GNU General Public License v2.0
312 stars 199 forks source link

Hello Friend. Help for teacup+Schild CNC V3 #256

Closed Ve-nik closed 7 years ago

Ve-nik commented 7 years ago

The situation is this: there Schild CNC V3, there are two backup Spend A4 and A5, I want to tie them thermistor table and a heater in the MOSFET, but as I can not find where to do this firmware. In config.h I have added: / ** \ Def TEMP_SENSOR_PIN Temperature sensor pins a user should be able to choose from in configtool. All commented out.

sase 140: //? --- M140: Set heated bed temperature --- //? Undocumented.

ifdef HEATER_BED

if (! next_target.seen_S) break; temp_set (HEATER_BED, next_target.S);

endif

break; What am I doing wrong, please help. Or I did not go the right way?

Wurstnase commented 7 years ago

Can you upload your complete new board.xxx.h file?

Ve-nik commented 7 years ago

I apologize if do something wrong. Teacup_Firmware Venik.zip

Wurstnase commented 7 years ago

Looks like you are doing it right. The pins you take for the heater don't have PWM but this shouldn't change anything for a test.

So what happened? Or what not?

Ve-nik commented 7 years ago

The firmware is compiled, but the program does not work.

Wurstnase commented 7 years ago

Does not work can be everything. You should describe exactly what happened. Happened nothing? No serial connection? No feedback at all? Or does the heater do nothing?

Also, maybe a picture of your setup could help. Circuit of your heater-setup and thermistor-setup.

Ve-nik commented 7 years ago

Thermistor hotend work. Thermistor and the hot bed, no. Tried to change only the hot bed for free port AIO0, too, failed. The assembled circuit, a copy of the RAMPS, electronics 100% working. default default

Wurstnase commented 7 years ago

Are you sure, that the pins are connected to the Uno? Can you measure the resistance between the pin on the CNC Shield?

Ve-nik commented 7 years ago

My assumption that the problem is with the port assignment on the heated hotbed. UNO and CNC V3 resistance of 0.01 ohms.

Ve-nik commented 7 years ago

Maybe can I somehow remap the RX and Tx, but how?

Wurstnase commented 7 years ago

UNO and CNC V3 resistance of 0.01 ohms.

That is ok. Can you please configure the heated bed to a fan? And check if you can set this fan with M106 S255 on?

Maybe can I somehow remap the RX and Tx, but how?

No you can't remap the serial connection.

Ve-nik commented 7 years ago

Oh yes, it's an idea! Today, I will try. Thank you.

Ve-nik commented 7 years ago

Thank you, dear friend. Your advice helped in the decision. The problem was incorrectly marked contacts on the shield (SCL and SDA).I'm in the firmware all pins made fan, and on the next run commands M106 S255 I found the truth.

Wurstnase commented 7 years ago

Nice. Which pins are correct now?

Ve-nik commented 7 years ago

SLC-AIO5 and SDA-AIO4 inverted.

Wurstnase commented 7 years ago

Thanks for the Info. I have also the CNC Shield V3. But currently I don't use the SCL and SDA pins.

If you want 'more' powerfull controller, you could replace the Arduino Uno with a Nucleo F411RE. I'm working on a port since one year.

Ve-nik commented 7 years ago

NUCLEO-F411RE excellent platform 32bit perhaps necessary preobresti and study quietly. 8-16 bits already obsolete.

Wurstnase commented 7 years ago

I close this, because it's solved.