TeaCup on Arduino Uno June 19, 2015 11:39AM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 19, 2015 04:27PM |
Registered: 10 years ago Posts: 814 |
Re: TeaCup on Arduino Uno June 19, 2015 05:06PM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 20, 2015 05:03AM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 20, 2015 05:17AM |
Registered: 8 years ago Posts: 5,232 |
Quote
calogerom
Now I have another problem: I'm using Arduino Nano because it has two analog input more (AIO6 and AIO7). I connected two thermistor (one for the bed and one for the extruder) to these pins. But Repetier show me 0°C. Why?
Re: TeaCup on Arduino Uno June 20, 2015 05:26AM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 20, 2015 05:44AM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: TeaCup on Arduino Uno June 20, 2015 05:59AM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 20, 2015 06:08AM |
Registered: 13 years ago Posts: 7,616 |
Quote
madmike8
I'm working towards using an Uno with a CNC shield V3.
Here's where I'm at right now. Still untested.
you can download it and use it as a bases for yours. just copy it to the config folder.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: TeaCup on Arduino Uno June 20, 2015 06:15AM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 20, 2015 06:19AM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 20, 2015 06:27AM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: TeaCup on Arduino Uno June 20, 2015 06:30AM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 20, 2015 06:30AM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: TeaCup on Arduino Uno June 20, 2015 06:32AM |
Registered: 13 years ago Posts: 7,616 |
Quote
calogerom
The answer if I send a M105 manuallt is only "ok"
ok T:377.0/0.0 B:377.0/0.0with temp sensor disconnected, other numbers with it connected.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: TeaCup on Arduino Uno June 20, 2015 06:38AM |
Registered: 9 years ago Posts: 83 |
The board was designed by me. In attachments there is the electrical schematic.Quote
Traumflug
I'm looking for a schematics of this CNC shield, to find out which pins are available for heaters and temp sensors. Does such a thing exist?
Re: TeaCup on Arduino Uno June 20, 2015 06:46AM |
Registered: 9 years ago Posts: 83 |
Quote
That's obviously not enough :-)
It should read something like
ok T:377.0/0.0 B:377.0/0.0with temp sensor disconnected, other numbers with it connected.
Re: TeaCup on Arduino Uno June 20, 2015 06:54AM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: TeaCup on Arduino Uno June 20, 2015 07:05AM |
Registered: 9 years ago Posts: 83 |
void temp_print(temp_sensor_t index) { if (index == TEMP_SENSOR_none) { // standard behaviour #ifdef HEATER_EXTRUDER sersendf_P(PSTR("T:")); single_temp_print(TEMP_SENSOR_extruder); #endif #ifdef HEATER_BED sersendf_P(PSTR(" B:")); single_temp_print(TEMP_SENSOR_bed); #endif } else { if (index >= NUM_TEMP_SENSORS) return; sersendf_P(PSTR("T[%su]:"), index); single_temp_print(index); } }to:
void temp_print(temp_sensor_t index) { sersendf_P(PSTR("T:")); single_temp_print(TEMP_SENSOR_extruder); sersendf_P(PSTR(" B:")); single_temp_print(TEMP_SENSOR_bed); }But the answer is always "ok". So the problem is before of this funcion.
Re: TeaCup on Arduino Uno June 20, 2015 08:37AM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: TeaCup on Arduino Uno June 20, 2015 08:58AM |
Registered: 13 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: TeaCup on Arduino Uno June 20, 2015 09:47AM |
Registered: 9 years ago Posts: 83 |
Quote
Traumflug
The function is called from gcode_process.c, line 452..472. Not much code there, it almost looks as if the "M105" its self isn't recognized.
Quote
Traumflug
There's also this commit: [github.com] , which tries to deal with some of the Repetier assumptions. Just a wild guess.
Re: TeaCup on Arduino Uno June 20, 2015 10:50AM |
Registered: 10 years ago Posts: 814 |
Quote
Traumflug
Quote
madmike8
I'm working towards using an Uno with a CNC shield V3.
Here's where I'm at right now. Still untested.
you can download it and use it as a bases for yours. just copy it to the config folder.
Thanks. I think it's about time to add one or two of these Nano/Uno based setups to the distribution, so I looked into it. One thing I found is, you name the extruder "hotend", which requires adding a P0 to each M104 and gives a slightly different answer text on M105. Renaming this to "extruder" would fix this. "extruder", "bed" and "fan" are names with a special meaning, see the tooltip when hovering over the"add sensor""Add" button on the heater tab.
Re: TeaCup on Arduino Uno June 23, 2015 10:25AM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 23, 2015 04:00PM |
Registered: 9 years ago Posts: 4,977 |
Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
Re: TeaCup on Arduino Uno June 23, 2015 07:01PM |
Registered: 9 years ago Posts: 83 |
Re: TeaCup on Arduino Uno June 24, 2015 12:23AM |
Registered: 9 years ago Posts: 4,977 |
Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |