1 (edited by Chaparro1973 2017-04-26 19:59:11)

Topic: Thermocouple with Rumba and Marlin - SOLVED

Hi
I'm trying to get this:
http://soliforum.com/i/?ydgeyRA.jpg
To work with a rumba board and Marlin firmware

After several searches made the conections as follow:
http://soliforum.com/i/?Httm2lQ.jpg

In marlin set:
#define TEMP_SENSOR_0 -1
#define TEMP_SENSOR_1 -1

Pins used
+5v pin 2
Ground pin 4
Signal 1 pin 6
Signal 2 pin 5

First time i tried i got 300º for extruder 1 and 2

Changed in config_adv
#define TEMP_SENSOR_AD595_GAIN 0.1

tried and it reads 30º for both, but if i turn on any heater i don't get any changes on temperature.

Can someone help me on that.
I tried searching, but i can't find much information on this theme

2

Re: Thermocouple with Rumba and Marlin - SOLVED

The small board in your diagram is supposed to put out a signal like a thermistor. So you would connect it's output to one of thermistor ports.

The PWM port you are connecting to is an output for driving something at a variable level controlled by software like a fan.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

3

Re: Thermocouple with Rumba and Marlin - SOLVED

I conected this becouse of this:
http://soliforum.com/i/?wdoMeBs.png

And this:

http://reprap.org/wiki/ExtThermoCouple_1.0

And this info i got from the supplier of the expansion boards
"Are these analog pins without pull-up? Normal thermistor pins have a 4K7 pull up resistor. You need either remove the resistor or use another analog pin. "

4 (edited by carl_m1968 2017-04-25 19:11:52)

Re: Thermocouple with Rumba and Marlin - SOLVED

Are you connecting this to a Rumba or RAMPS? It does matter. The last image is a RAMPS.

On the RUMBA the analog pins are on EXP3 but are A9 and A10. Did you miswire or misdraw?

On a RAMPS the analog pins are on AUX2 A8, A9, A10, and A11. Also on the one you show. Any pins marked A# are analog pins.

But you RUMBA image is not correct.


Once you get the wiring correct you then have to set the Temp sensor for the correct device, then go into pins.H and make sure Temp 0 and Temp 1 are set to the correct analog pins you have used on your correct board type.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

5

Re: Thermocouple with Rumba and Marlin - SOLVED

I'm using a rumba
I'll try on A9 and A10, as you refered. Can you tell me the pin number to setup on Marlin?

6

Re: Thermocouple with Rumba and Marlin - SOLVED

Chaparro1973 wrote:

I'm using a rumba
I'll try on A9 and A10, as you refered. Can you tell me the pin number to setup on Marlin?


You would need to look up a pin diagram of your exact processor and then see what the physical pin number is for AIN9 and AIN10 which stands for Analog In 9 and Analog In 10. The exact pin number like pin 5 or pin number 10 is what pins.h is looking for.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

7

Re: Thermocouple with Rumba and Marlin - SOLVED

The image was for orientation purposes only, it's a ramps. I could nd find any rumba image with usage of exp3.

this is my board

http://soliforum.com/i/?sa0wPGO.jpg

http://soliforum.com/i/?kBPQjUn.jpg

Maneged to find this quote
"I've been using the pins.h Marlin file along with the RUMBA board schematics and the ATMegs2560 pinout diagram to figure out what is what. I am adding thermocouples to my printer and can't use the thermistor ports because of the voltage dividers (RRD--please add a jumper for direct connection to thermistor ADCs on future versions!). I am using the ADC pins on EXP3 and it took a little while to figure out the pin #s to use (it turns out that it was 9 and 10 and, looking back, it's obvious, as they're labeled A9 and A10 on the schematic, but it wasn't clear at the beginning and other pin #s aren't so obvious). If I want to code for PJ7 (on the schematics), how do I know what pin that is in Marlin?"

From
jwesolow, Mar 5, 2015 - another forum

Tomorow i'll try it and report back.

And thank you so much for your help and time.

8

Re: Thermocouple with Rumba and Marlin - SOLVED

Chaparro1973 wrote:

The image was for orientation purposes only, it's a ramps. I could nd find any rumba image with usage of exp3.

this is my board

http://soliforum.com/i/?sa0wPGO.jpg

http://soliforum.com/i/?kBPQjUn.jpg

Maneged to find this quote
"I've been using the pins.h Marlin file along with the RUMBA board schematics and the ATMegs2560 pinout diagram to figure out what is what. I am adding thermocouples to my printer and can't use the thermistor ports because of the voltage dividers (RRD--please add a jumper for direct connection to thermistor ADCs on future versions!). I am using the ADC pins on EXP3 and it took a little while to figure out the pin #s to use (it turns out that it was 9 and 10 and, looking back, it's obvious, as they're labeled A9 and A10 on the schematic, but it wasn't clear at the beginning and other pin #s aren't so obvious). If I want to code for PJ7 (on the schematics), how do I know what pin that is in Marlin?"

From
jwesolow, Mar 5, 2015 - another forum

Tomorow i'll try it and report back.

And thank you so much for your help and time.

Your board has EXP3 right below the processor. Or am I missing what you are trying to say?

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

9

Re: Thermocouple with Rumba and Marlin - SOLVED

Yes
It's right below the processor

What i understood, and what i will try is

Change the conections signal to A10 and a9, as your advise. And change the pin numbers on marlin to 10 and 9.

Does it feels right to you?

10 (edited by Chaparro1973 2017-04-26 12:22:19)

Re: Thermocouple with Rumba and Marlin - SOLVED

OK

Changed the conection
Signal  to A10 and A9 pins on Exp 3
Pin number in Pins_Rumba_h to 9 and 10

Got diferent reading, don't have a thermometer in hand to calibrate, but when i turn heater on it takes to long to heat until i get system halted error.

I guess now it's a calibration problem. later i will get a thermometer and try to calibrate them

before:
http://soliforum.com/i/?G6Q3v5f.jpg

now:
http://soliforum.com/i/?q367uUD.jpg

11

Re: Thermocouple with Rumba and Marlin - SOLVED

Ok

Managed to get it wright at last, thanks for your suport carl_m1968

Here are my conetions:
http://soliforum.com/i/?MEf4bQh.jpg


Changes made on Marlin

Configuration.h
              #define TEMP_SENSOR_0 -1
              #define TEMP_SENSOR_1 -1

Pins_RUMBA.h

           // Temperature Sensors
            //
            #if TEMP_SENSOR_0 == -1
                  #define TEMP_0_PIN    10  // Analog Input (connector *K1* on RUMBA thermocouple ADD ON is used)
           #else
                  #define TEMP_0_PIN       15   // Analog Input (default connector for thermistor *T0* on rumba board is used)
           #endif

           #if TEMP_SENSOR_1 == -1
                 #define TEMP_1_PIN        9   // Analog Input (connector *K2* on RUMBA thermocouple ADD ON is used)

12

Re: Thermocouple with Rumba and Marlin - SOLVED

Thanks for the solution, it works finally. Also it worth to mention that the connectors in the red frame are actually 2 connectors: EXP3 with 14 pins on the left side and a 2-pin 12V power connector on the right side. So pin 2 is the 2nd from the right side, 4 is 3rd, etc.
For some it may be obvious, but it may spare some frustration to others. (Actually, I connected the wires first to the +12V, +5V and PWM2 pins without the slightest doubt. And after that it took me hours to figure it out.) Well, I'm not proud of myself, but at least I didn't fry anything.