Welcome! Log In Create A New Profile

Advanced

Need Help with first RepRap configuration (Prusa I3 Rework)

Posted by pushthatbolder 
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:19AM
see the marlin with the arduino symbol open that one
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:27AM
still nothing,

i click Sketch>add file > pins.h and it asks if i want to replace the existing Pins.h

but i cannot find it!
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:29AM
yes i have opened Arduino MArlin File but no luck, same storey
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:33AM
got me stumped coffee time,
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:34AM
if it helps i am using,
arduino 1.0.5 -r2
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:37AM
yes, coffee, shower, fetal position
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:42AM
if that list had a toggle option, we could see more files.
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:46AM
i started a new sketch, pressed add file and selected a copy of pins.h...

did it the first time and it was blank, nothing to see,
did it the second time and it said would i like to replace the other pins.h

see,, its invisible
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:46AM
arduino 1.0.5 -r2" whats running here,
Quote

i click Sketch>add file > pins.h and it asks if i want to replace the existing Pins.h
just shouldn't have to do that.
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:49AM
i shouldnt have to, but it says it is there but it is not there!!!

the only reference i can find is on the first marlin file

/* -*- c++ -*- */

/*
    Reprap firmware based on Sprinter and grbl.
 Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program.  If not, see [www.gnu.org].
 */

/*
 This firmware is a mashup between Sprinter and grbl.
  (https://github.com/kliment/Sprinter)
  (https://github.com/simen/grbl/tree)

 It has preliminary support for Matthew Roberts advance algorithm
    [reprap.org]
 */

/* All the implementation is done in *.cpp files to get better compatibility with avr-gcc without the Arduino IDE */
/* Use this file to help the Arduino IDE find which Arduino libraries are needed and to keep documentation on GCode */

#include "Configuration.h"
#include "pins.h"

#ifdef ULTRA_LCD
  #if defined(LCD_I2C_TYPE_PCF8575)
    #include 
    #include 
  #elif defined(LCD_I2C_TYPE_MCP23017) || defined(LCD_I2C_TYPE_MCP23008)
    #include 
    #include 
  #elif defined(DOGLCD)
    #include  // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)
  #else
    #include  // library for character LCD
  #endif
#endif

#if defined(DIGIPOTSS_PIN) && DIGIPOTSS_PIN > -1
#include 
#endif

#if defined(DIGIPOT_I2C)
  #include 
#endif
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 08:59AM
its not you i just downloaded it and opened all i get is the marlin file like you and nothing else
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:06AM
ok step back download it again, in download you see Marlin-marlin " extract that file to desktop once in the desktop open the marlin-marlin > marlin , you should see all the files scrol dwn till you see the marlin next to the Arduino symbol click that " fingers crossed
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:17AM
I downloaded again. from github.
still nothing
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:26AM
i hit it with a hammer,

tried to import pins.h,

it deleted pins.h from directory

redownloaded pins.h and extracted only this to desktop

open pins.h (desktopversion) into arduino IDE

asked if i wanted replace pins.h that was currently there

i said YES!

brings me to pins.h

if i click away, the pins.h file is lost,

but i think i am here, what do i need to edit now??

this??

#if MOTHERBOARD == 88

#define KNOWN_BOARD 1
#define AT90USB 1286  // Disable MarlinSerial etc.

#ifndef __AVR_AT90USB1286__
#error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
#endif

Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:31AM
it has placed itself back into sketch directory. which is great.
if i edit it now, it will save.
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:34AM
scroll dwn to line 465 "* Arduino Mega pin assignment"

and change it so it looks like
Quote

/****************************************************************************************
* Arduino Mega pin assignment
*
****************************************************************************************/
#if MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77 || MOTHERBOARD == 67 || MOTHERBOARD == 68
#define KNOWN_BOARD 33

//////////////////FIX THIS//////////////
//#ifndef __AVR_ATmega1280__
#ifndef __AVR_ATmega2560__
#error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
#endif
#endif


// uncomment one of the following lines for RAMPS v1.3 or v1.0, comment both for v1.2 or 1.1
#define RAMPS_V_1_3
// #define RAMPS_V_1_0
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:37AM
done, what now?
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:38AM
could we make extruder fan come from D9 ????
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:43AM
could we make extruder fan come from D9 " is the print cooling fan by defalt
now we on to the hard stuffspinning smiley sticking its tongue out back to the config.h file
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:43AM
WTF...

1) ignore jinx. he is leading you completely astray.

You do not need to change anything in pins.h unless you have a non standard board. Ramps is the most standard board out there.
It is in your list of file, the list of file is just really really long. (you may need to look at pins.h later for your LCD, but lets get basic stuff working first!)

2) Go back to start.

leave the LCD disconnected

Get a clean un modified copy of your firmware, load that into your arduino IDE

Open up the configuration.h tab

You only need to configure 4 thing at this stage

line 28 #define BAUDRATE 250000 you basically need to know what this line says to set up the host program the same.

Line 77#define MOTHERBOARD 7 you have type 33 so make this line read #define MOTHERBOARD 33

Line 137#define TEMP_SENSOR_0 -1 this defines what type of temperature sensor you have on the hot end. You have not mentioned what type of thermistor you have, but im presuming is a type 1 as your referenced the replikeo.com site, so im guessing this is where you got your printer. so change this to #define TEMP_SENSOR_0 1

Line 140#define TEMP_SENSOR_BED 0 same as the hot end but for the bed. Change to #define TEMP_SENSOR_BED 1

Save these changes.

Upload this to your board.

Close the arduino IDE

Open up you host program Repetier, connect to your reprap. remember to use the baud rate above.


Does it connect?

If so try sending a simple command to the printer M119 Does the printer give back an answer?

Once we have basic computer to board communications working we will move on.

I suggest you get things working in this order.

Basic communications
Thermistors reading correct room temp
Endstops working as they should, if these are wrong it can stop all movement.
basic movement of X stepper
Verify X moves right when told to move in +ve directions and left when moving in -ve directions.
repeat for Y axis. +ve the bed moves towards you and -ve the bed moves away from you (opposite of what you think it should be, but correct relative to the head)
Check positions of your ends stops, most are at the min locations but some suppliers put them at max.
Set your homing direction appropriately in firmware
Check that you can home X and Y axis
Basic movement of Z, does Z move up when told to move in +ve direction and -ve moves it down.
Set the Z endstop (for now I would set it 10mm above the bed for safety)
test out Z homing.
Once Z homing is working move it so the Z endstop is just above the bed. (presuming its not one of the silly printer with the endstop at the top)

then e steppers..
then heaters..

Then the LCD

Now you have to calibrate your printer

Then you will be printing.

Edited 2 time(s). Last edit at 08/27/2014 09:50AM by Dust.
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:49AM
Quote

WTF...

1) ignore jinx. he is leading you completely astray.
so you sayin we dont need to make the relevant changes to pins.h about which mega in use or which ramps set up to use. is that right Dust
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 09:58AM
hello guys, error message

ConfigurationStore.cpp: In function 'void Config_ResetDefault()':
ConfigurationStore.cpp:302: error: 'DEFAULT_LCD_CONTRAST' was not declared in this scope
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 10:18AM
nevermind
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 10:26AM
well am waiting for DUST to dust off his crystal ball
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 11:17AM
Never had to change pins.h for my i3 with RAMPS 1.4, just the Configuration.h

Steve
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 11:22AM
how you getting on
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 11:22AM
z axis are not running in sync.
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 11:26AM
motors are working except for extruder
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 11:39AM
m302 will allow cold extrusion i think
Re: Need Help with first RepRap configuration (Prusa I3 Rework)
August 27, 2014 12:10PM
extruder working, y axis working, z axis working, x axis working... went to print 20mm cube and whole machine started to squeeeeeEEEEElLLL
Sorry, only registered users may post in this forum.

Click here to login