Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Need an Arduino/Linux assistance
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  18 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
The_Digital_Dentist  
View profile  
 More options Aug 11 2012, 12:12 pm
From: The_Digital_Dentist <tyler.der...@gmail.com>
Date: Sat, 11 Aug 2012 09:12:07 -0700 (PDT)
Local: Sat, Aug 11 2012 12:12 pm
Subject: Need an Arduino/Linux assistance

What should be the easiest part of building my printer is turning out to be
the biggest PITA.

I've been trying to set up the Arduino IDE so I can flash the firmware on
the MegaMax 3D printer, which should be really simple, but I'm running into
one problem after another.  First newer versions of the IDE don't work with
the Mega4560 board even though it appears to be a couple years old, so I
had to track down and install an older version of the IDE.  Then I find
that I'm having compile problems because the older IDE isn't compatible
with latest C compiler I installed.  Then, after I track down the older,
compatible C compiler I find it is dependent on older GMP and other modules
and won't work with current versions.  It's like pulling potatoes except
that the string of dependencies on outdated software never seems to end.

So eventually I get what I think is all the out-dated software packages and
dependencies together, configure it, make it, and then install fails.  What
little documentation for all this that exists (except how to actually make
it work) is spread out in a 100 posts on 20 internet forums.

3 questions:

1)  Are there any one-stop-shopping sites anywhere with DLs for all the
necessary software and dependencies for any given Arduino board like the
Mega2560?

2)  Is all this because I'm using linux or is the situation the same for
all OSes?  

3) How the hell does anyone get ANYTHING working on an Arduino board?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Bean  
View profile  
 More options Aug 11 2012, 12:25 pm
From: Ron Bean <makersp...@rbean.users.panix.com>
Date: Sat, 11 Aug 2012 12:25:50 -0400
Local: Sat, Aug 11 2012 12:25 pm
Subject: Re: [MakerSpace] Need an Arduino/Linux assistance

>1)  Are there any one-stop-shopping sites anywhere with DLs for all the
>necessary software and dependencies for any given Arduino board like the
>Mega2560?

>2)  Is all this because I'm using linux or is the situation the same for  
>all OSes?

>3) How the hell does anyone get ANYTHING working on an Arduino board?

I'm running Ubuntu 12.04 (current version), and the version of the
Arduino IDE in their repository (1.0, slightly behind the current
release) supports the Mega 2560. What version of Linux are you running?

It might be worth setting up a spare machine (maybe at the space) with
Ubuntu just to try it out.

The IDE seems to work fine for the boards it supports. There's a config
file you can edit (and support files you can add) to support other
boards, but it doesn't always work, and I haven't found any
documentation for it.

BTW it's also possible to set up the Eclipse IDE to work with Arduino.
It's on my to-do list, but it does take some research to make sure
you're doing it right (Royce has it working). There are a few web pages
about it, some of which seem to be slightly out of date. Things to seem
to be improving, though.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
The_Digital_Dentist  
View profile  
 More options Aug 11 2012, 12:41 pm
From: The_Digital_Dentist <tyler.der...@gmail.com>
Date: Sat, 11 Aug 2012 09:41:53 -0700 (PDT)
Local: Sat, Aug 11 2012 12:41 pm
Subject: Re: [MakerSpace] Need an Arduino/Linux assistance

The Marlin page at GitHub says that you have to use version 0022 (and
someone on a forum said 0023 works) of the Arduino IDE to compile the
Marlin code because of some incompatibilities with more recent versions of
the IDE (I tested that idea and it's true- Marlin won't compile on Arduino
1.0.0 or 1.0.1).  What they don't tell you is that in order to get one of
those older versions of the IDE to work you also have to hunt down and
install a bunch of other out-dated software.

I'm running Ubuntu 12.04.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Bean  
View profile  
 More options Aug 11 2012, 1:31 pm
From: Ron Bean <makersp...@rbean.users.panix.com>
Date: Sat, 11 Aug 2012 13:31:18 -0400
Local: Sat, Aug 11 2012 1:31 pm
Subject: Re: [MakerSpace] Need an Arduino/Linux assistance

>The Marlin page at GitHub says that you have to use version 0022 (and
>someone on a forum said 0023 works) of the Arduino IDE to compile the
>Marlin code because of some incompatibilities with more recent versions of
>the IDE (I tested that idea and it's true- Marlin won't compile on Arduino
>1.0.0 or 1.0.1).

What specifically doesn't work? It might be easier to try to fix the
code.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pete Prodoehl  
View profile  
 More options Aug 11 2012, 2:58 pm
From: Pete Prodoehl <ras...@gmail.com>
Date: Sat, 11 Aug 2012 11:58:15 -0700 (PDT)
Local: Sat, Aug 11 2012 2:58 pm
Subject: Re: Need an Arduino/Linux assistance

There are known issues with the RepRap firmware(s) and the latest Arduino
IDE, so 0022 or 0023 is recommended.

(On Mac OS X all I had to do was download and run the older version, there
was no other mucking about.)

Did you try Sprinter as well as Marlin?

I'm hoping we can figure it out at the Meetup tomorrow.

Pete


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Bean  
View profile  
 More options Aug 11 2012, 3:20 pm
From: Ron Bean <makersp...@rbean.users.panix.com>
Date: Sat, 11 Aug 2012 15:20:58 -0400
Local: Sat, Aug 11 2012 3:20 pm
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance

>There are known issues with the RepRap firmware(s) and the latest Arduino
>IDE, so 0022 or 0023 is recommended.

Do you know what the issues are?
I wonder if anyone has tried compiling it under Eclipse.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Bean  
View profile  
 More options Aug 11 2012, 3:32 pm
From: Ron Bean <makersp...@rbean.users.panix.com>
Date: Sat, 11 Aug 2012 15:32:20 -0400
Local: Sat, Aug 11 2012 3:32 pm
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance
Interesting note from a year ago:
https://github.com/ErikZalm/Marlin/pull/36

It says the errors are all in the SDcard and LCD sections, due to
changes in the libraries. What happens if you comment out those
sections?

It might also be possible to compile with the old libraries.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Royce Pipkins  
View profile  
 More options Aug 11 2012, 3:36 pm
From: Royce Pipkins <royce.pipk...@gmail.com>
Date: Sat, 11 Aug 2012 14:36:52 -0500
Local: Sat, Aug 11 2012 3:36 pm
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance
How big is the code base? I had to change a few things in the 1.0 on
my code, but it wasn't that hard. Perhaps we can just change it match
the new libraries.

I can show you how to download a hex file without the IDE. But you do
have to be able to compile successfully before you'll get that hex
file.

On Sat, Aug 11, 2012 at 2:32 PM, Ron Bean

<makersp...@rbean.users.panix.com> wrote:
> Interesting note from a year ago:
> https://github.com/ErikZalm/Marlin/pull/36

> It says the errors are all in the SDcard and LCD sections, due to
> changes in the libraries. What happens if you comment out those
> sections?

> It might also be possible to compile with the old libraries.

> --

--
The real problem is not whether machines think but whether men do.
B. F. Skinner

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry [HM]  
View profile  
 More options Aug 11 2012, 5:49 pm
From: "Jerry [HM]" <whispers...@hotmail.com>
Date: Sat, 11 Aug 2012 16:49:19 -0500
Local: Sat, Aug 11 2012 5:49 pm
Subject: Re: [MakerSpace] Need an Arduino/Linux assistance

Usually libs that are NOT 1.0 compatible (or vise versa) need a few simple lines of code.. as the Arduino IDE has changed the names of some of the core files.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry [HM]  
View profile  
 More options Aug 11 2012, 5:50 pm
From: "Jerry [HM]" <whispers...@hotmail.com>
Date: Sat, 11 Aug 2012 16:50:37 -0500
Local: Sat, Aug 11 2012 5:50 pm
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance

maybe try updating those library that are older? (like the SDFAT lib (or whatever it is using)...same with the LCD libs..)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
The_Digital_Dentist  
View profile  
 More options Aug 11 2012, 6:15 pm
From: The_Digital_Dentist <tyler.der...@gmail.com>
Date: Sat, 11 Aug 2012 15:15:16 -0700 (PDT)
Local: Sat, Aug 11 2012 6:15 pm
Subject: Re: Need an Arduino/Linux assistance

I found this:

http://daid.mine.nu/~daid/marlin_build/

which some might find useful.  You select options and it will build the
Marlin hex file on-line and give you a hex file to DL and burn to your
controller board.
It only modifies the config.h file and not the pins.h file where you define
LCD connections, emergency stops, etc.
<http://daid.mine.nu/~daid/marlin_build/index.php?build=1&baudrate=115...>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Kramlich  
View profile  
 More options Aug 12 2012, 2:29 am
From: Gary Kramlich <gary.kraml...@gmail.com>
Date: Sun, 12 Aug 2012 01:29:57 -0500
Local: Sun, Aug 12 2012 2:29 am
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance

if you're on a debian based distro, "apt-get build-depends arduino" should
get you everything to build an old version (hopefully)

On Sat, Aug 11, 2012 at 5:15 PM, The_Digital_Dentist <tyler.der...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Rawson  
View profile  
 More options Aug 12 2012, 6:59 am
From: Jim Rawson <taxil...@gmail.com>
Date: Sun, 12 Aug 2012 05:59:48 -0500
Local: Sun, Aug 12 2012 6:59 am
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance

Nothing really to contribute here,except I noticed that Dentists don't use
the common idiom  " It's like pulling teeth", but instead use  "It's like
pulling potatoes".


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed Hagopian  
View profile  
 More options Aug 12 2012, 8:22 pm
From: Ed Hagopian <edhagop...@gmail.com>
Date: Sun, 12 Aug 2012 17:22:09 -0700 (PDT)
Local: Sun, Aug 12 2012 8:22 pm
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance

I'm rolling Marlin on mine with Arduino 022 on an Ardy Mega with Ramps 1.4 and it's been good. At least on a pc with windows.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
The_Digital_Dentist  
View profile  
 More options Aug 12 2012, 10:10 pm
From: The_Digital_Dentist <tyler.der...@gmail.com>
Date: Sun, 12 Aug 2012 19:10:43 -0700 (PDT)
Local: Sun, Aug 12 2012 10:10 pm
Subject: Re: Need an Arduino/Linux assistance

OK!  Now it's really ALIVE!  Special thanks to Gary for helping out at the
3D printing meetup at bucketworks.

For anyone interested, the compile problem was traced to a macro in the
Arduino IDE that defined a math rounding function.  It seems that the C
compiler also had a "round" function defined (maybe a recent addition?) and
the two were in conflict.  Gary commented out the Arduino macro and it
compiled just fine after that.

I have tweaked Marlin for the specifics of my machine and it seems to be
working now.  I can position all three axes, the endstops (min and max)
work fine, the LCD, encoder, and beeper all work.  SD card is detected, but
I haven't tested it further.  The kill switch doesn't seem to work.  

I loaded the calibration cube file from pronterface and hit print and the
machine took off and ran with it.

Time to mount the electronics in a box, wire the machine and dress the
cables and get it ready for the extruder.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Bean  
View profile  
 More options Aug 12 2012, 10:20 pm
From: Ron Bean <makersp...@rbean.users.panix.com>
Date: Sun, 12 Aug 2012 22:20:23 -0400
Local: Sun, Aug 12 2012 10:20 pm
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance

>The kill switch doesn't seem to work.

I'd suggest having it kill the power to the stepper drivers.
IMHO there shouldn't be any software in the loop.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
The_Digital_Dentist  
View profile  
 More options Aug 12 2012, 11:31 pm
From: The_Digital_Dentist <tyler.der...@gmail.com>
Date: Sun, 12 Aug 2012 20:31:58 -0700 (PDT)
Local: Sun, Aug 12 2012 11:31 pm
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance

I think it's just finding the right place in the firmware to put the pin
definition.  As far as I know it drives a hardware interrupt that kills
motors, extruders, hot ends and heated bed.  I'll let you know when I have
it working.

I'll post some video of it running shortly.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
The_Digital_Dentist  
View profile  
 More options Aug 12 2012, 11:33 pm
From: The_Digital_Dentist <tyler.der...@gmail.com>
Date: Sun, 12 Aug 2012 20:33:34 -0700 (PDT)
Local: Sun, Aug 12 2012 11:33 pm
Subject: Re: [MakerSpace] Re: Need an Arduino/Linux assistance

That's because pulling teeth is easier than debugging software (for me,
anyway).


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »