Re: Project: FiveD on Arduino November 14, 2010 03:31PM |
Registered: 14 years ago Posts: 71 |
Thanks that worked. I am now able to make and make program without errors. However when I try to run ./sender.sh I get these errors:Quote
This happens if you leave 'GEN3' defined, as the GEN3 electronics use pins (and uarts) that don't exist on a '168. I think it's defined both in the Makefile and in config.h at the moment- I probably should fix that.
Re: Project: FiveD on Arduino November 14, 2010 03:38PM |
Registered: 16 years ago Posts: 438 |
Re: Project: FiveD on Arduino November 14, 2010 06:32PM |
Registered: 15 years ago Posts: 356 |
if ((current_position.X != dda->endpoint.X) && (x_min() != dda->x_direction)) {I will test tomorrow and see if I get any problems, of movement. Also I will look on signal using oscilloscope.
Re: Project: FiveD on Arduino November 14, 2010 08:17PM |
Registered: 14 years ago Posts: 1,092 |
Re: Project: FiveD on Arduino November 15, 2010 06:49AM |
Registered: 17 years ago Posts: 1,094 |
( cat <&3 & cat >&3; kill %! ; ) 3<>/dev/arduinofor a super simple talker. set port up with stty first, see func.sh for more thoroughly tested examples
Re: Project: FiveD on Arduino November 15, 2010 06:57AM |
Registered: 17 years ago Posts: 1,094 |
Re: Project: FiveD on Arduino November 15, 2010 11:39AM |
Registered: 14 years ago Posts: 71 |
Re: Project: FiveD on Arduino November 15, 2010 12:06PM |
Registered: 14 years ago Posts: 8 |
Re: Project: FiveD on Arduino November 15, 2010 01:15PM |
Registered: 14 years ago Posts: 71 |
Re: Project: FiveD on Arduino November 15, 2010 08:39PM |
Registered: 14 years ago Posts: 71 |
Re: Project: FiveD on Arduino November 16, 2010 03:38PM |
Registered: 17 years ago Posts: 900 |
Re: Project: FiveD on Arduino November 16, 2010 04:13PM |
Registered: 16 years ago Posts: 438 |
Re: Project: FiveD on Arduino November 16, 2010 04:19PM |
Registered: 16 years ago Posts: 438 |
Re: Project: FiveD on Arduino November 16, 2010 06:56PM |
Admin Registered: 17 years ago Posts: 7,881 |
Re: Project: FiveD on Arduino November 18, 2010 10:04AM |
Registered: 14 years ago Posts: 8 |
Re: Project: FiveD on Arduino November 18, 2010 11:25AM |
Registered: 15 years ago Posts: 356 |
Re: Project: FiveD on Arduino November 18, 2010 01:47PM |
Registered: 14 years ago Posts: 71 |
Re: Project: FiveD on Arduino November 18, 2010 06:34PM |
Registered: 15 years ago Posts: 356 |
Re: Project: FiveD on Arduino November 19, 2010 04:46AM |
Registered: 14 years ago Posts: 8 |
Re: Project: FiveD on Arduino November 19, 2010 10:16AM |
Registered: 16 years ago Posts: 438 |
Re: Project: FiveD on Arduino November 19, 2010 10:25AM |
Registered: 15 years ago Posts: 356 |
// G28 - go home case 28: if (next_target.seen_X) { zero_x(); axisSelected = 1; } if (next_target.seen_Y) { zero_y(); axisSelected = 1; } if (next_target.seen_Z) { zero_z(); axisSelected = 1; } if (next_target.seen_E) { zero_e(); axisSelected = 1; } if(!axisSelected) { zero_x(); zero_y(); zero_z(); } startpoint.F = SEARCH_FEEDRATE_X; break;
// G92 - set home case 92: /* wait for queue (all movements) to complete */ for (;queue_empty() == 0 {} if (next_target.seen_X) { startpoint.X = current_position.X = 0; axisSelected = 1; } if (next_target.seen_Y) { startpoint.Y = current_position.Y = 0; axisSelected = 1; } if (next_target.seen_Z) { startpoint.Z = current_position.Z = 0; axisSelected = 1; } if (next_target.seen_E) { startpoint.E = current_position.E = 0; axisSelected = 1; } if(!axisSelected) { startpoint.X = current_position.X = \ startpoint.Y = current_position.Y = \ startpoint.Z = current_position.Z = \ startpoint.E = current_position.E = 0; } break;
Re: Project: FiveD on Arduino November 19, 2010 02:08PM |
Registered: 14 years ago Posts: 71 |
Re: Project: FiveD on Arduino November 21, 2010 03:24AM |
Registered: 17 years ago Posts: 1,094 |
Re: Project: FiveD on Arduino November 22, 2010 07:10AM |
Registered: 14 years ago Posts: 8 |
Re: Project: FiveD on Arduino November 23, 2010 07:00AM |
Registered: 15 years ago Posts: 356 |
Re: Project: FiveD on Arduino November 24, 2010 12:14PM |
Registered: 16 years ago Posts: 293 |
Re: Project: FiveD on Arduino November 30, 2010 04:55AM |
Registered: 15 years ago Posts: 356 |
while ((c = format[i++])) { if (j) { switch(c) { case 'l': j = 4;
while ((c = format[i++])) { if (j) { switch(c) { case 'l': j = 4; break;
Re: Project: FiveD on Arduino November 30, 2010 11:01AM |
case 104: temp_set(next_target.P, next_target.S); if (next_target.S) { enable_heater();<= id add this. power_on(); } else { disable_heater(); } break;
#define TEMP_THERMISTOR #define TEMP_PIN_CHANNEL AIO0_PIN #define ANALOG_MASK MASK(TEMP_PIN_CHANNEL) #define NUM_TEMP_SENSORS 1 #ifdef TEMP_C struct { uint8_t temp_type; uint8_t temp_pin; uint8_t heater_index; } temp_sensors[NUM_TEMP_SENSORS] = { // type pin heater { TT_INTERCOM, 0, 1 } }; #endif #define NUM_HEATERS 1 // #define HEATER_SANITY_CHECK #ifdef HEATER_C struct { volatile uint8_t *heater_port; uint8_t heater_pin; volatile uint8_t *heater_pwm; } heaters[NUM_HEATERS] = { // port pin pwm { &PORTD, PIND6, &OCR0A } };
Re: Project: FiveD on Arduino November 30, 2010 11:15AM |
Registered: 15 years ago Posts: 356 |
Re: Project: FiveD on Arduino December 01, 2010 07:48PM |
Registered: 17 years ago Posts: 1,094 |