Show Posts
Pages: [1] 2 3
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Mac Libraries on: November 18, 2009, 12:26:24 pm
In my opinion all the source files/libaries should be removed from the Mac OS X bundle to begin with.  End-users should never have to "show package contents" of an app to install or change files especially when there are many replacement sources/libraries for the default files included within the  arduino app.

All those source files should be placed in a new Arduino folder located at  "User's home folder"/Library/Application Support/Arduino. To avoid requiring an installer app to place those files there the Arduino IDE could simply copy the folders/source files in the app bundle to that location on startup if they are not already there. You would also want a menu option in the Arduino IDE to be able to select which arduino "default" libraries you want to use, i.e.:

./Application Support-/Arduino/Arduino-0017
./Application Support-/Arduino/MyCustomDefaultLibraries

In this case the user has the option of using Arduino-0017 or MyCustomDefaultLibaries.  Both folders would  consist of the following folders which are presently located INSIDE the application bundle:

Some details would still need to be worked out but that is the general ideas.  It would still keep it exactly the same simplicity for users who don't know anything about this but also allow for more advanced users to easily make modifications that don't have to be redone with every arduino update.
2  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: OS X Crash in FTDIUSBSerialDriver on: March 25, 2009, 09:26:24 pm
The one thing I would suggest is at least updating to the 2.2.10 FTDI driver.  The driver can be downloaded from
3  Forum 2005-2010 (read only) / Interfacing / Re: Xcode Integration on: March 20, 2009, 04:53:29 pm
I am working on full Xcode integration.  Previous attempts/solutions at Xcode integration used a makefile which is not the experience I was looking for.   This is not a simple task because most of what needs to change to make this happen is not publicly documented by Apple.  The goal is to allow an Xcode developer to build sketches in the same fashion as building an OS X native app.  
4  Forum 2005-2010 (read only) / Development / Re: DNS and DHCP Support with Ethernet Library on: October 21, 2009, 08:00:17 am
Is there any reason why this library shouldn't be included on the main Arduino page?

I have found this library to be very easy to use.  I am able to get results from without using any IP number or making any changes to the sample source code since it uses DNS and DHCP.  None of the other libraries listed for arduino do this without you having to make changes if they work at all.  I would like this library to be featured more prominently.
5  Forum 2005-2010 (read only) / Development / Re: DNS and DHCP Support with Ethernet Library on: September 10, 2009, 08:00:25 am
This is awesome stuff.  Keep up the good work. 8-)
6  Forum 2005-2010 (read only) / Development / Re: update problems arduino ethernet on: November 17, 2009, 01:31:04 pm
I added an updateLEDS routine to make the code easier to read. I also added the ability to specify an 'x' in your data file on the server to stop the arduino from polling the server.

boolean updateLEDS(char aChar)
     boolean isDone = false;
     switch (aChar) {
     case 'a':
       digitalWrite(2, HIGH);
     case 'b':
       digitalWrite(3, HIGH);
     case 'c':
       digitalWrite(4, HIGH);
     case 'd':
       digitalWrite(5, HIGH);
     case 'e':
       digitalWrite(6, HIGH);
     case 'x':
         isDone = true;
       // turn all the LEDs off:
       for (int thisPin = 2; thisPin < 7; thisPin++) {
         digitalWrite(thisPin, LOW);
  return isDone;

Replace the appropriate section of your code with the following.  It will poll the data file on the server every 5 seconds.  I verified this works and prints the appropriate character out from your server with my setup (atmega168 based).  

  Client client(server, 80);

    boolean sessionDone = false;
    boolean serverDone = false;
    char c;

    while ( !serverDone )  {
      if (client.connect()) {
        client.println("GET /~cameron5/test_etherent.html");
        while(!sessionDone  && !serverDone){  
          if (client.available()) {
            c =;
            serverDone = updateLEDS(c);
          if (!client.connected()) {
             sessionDone = true;
        }  // while(!sessionDone)
      } //if(client.connect())  
      else {
        Serial.println("connection failed");
      sessionDone = false;
7  Forum 2005-2010 (read only) / Development / Re: update problems arduino ethernet on: November 17, 2009, 09:07:26 am
On top of what Paul said, I would suggest using the ethernet library mentioned in this thread.  That ethernet library supports DNS and DHCP with the arduino ethernet shield and is much faster.  That way the only thing you have to hardcode in your code is the MAC address, everything else is gathered by the DNS and DHCP services built into that library.  See the WebClientWithDNSandDHCP example in the zip, it shows dumping the contents of a web page to the serial device.
8  Forum 2005-2010 (read only) / Development / Re: two server parsing ethernet shield on: November 16, 2009, 11:21:16 pm
Check this thread and use the ethernet library there.  Much easier to use and will allow you to easily connect and download data from two different servers.
9  Forum 2005-2010 (read only) / Development / Re: avr-gcc versions in Arduino on: March 17, 2009, 09:53:12 am
I checked both the 13 and 14 zips.  The fact that they are 63-64MB on the web site would indicate they are not symlinks.  The entire AVR MacPack that I believe Arduino is based on for the avr-gcc package is only 37MB zipped.  Everything in the Arduino 14 zip for Mac OS X EXCEPT for the tools folder is only 6MB UNZIPPED.  The tools folder should be about 37MB zipped..   So the Max the zip could be is 43MB.  
10  Forum 2005-2010 (read only) / Development / Re: avr-gcc versions in Arduino on: March 16, 2009, 11:08:31 am
There appears to be an "error" in the packaging/zipping process of the Mac OS X version of Arduino.  After further investigation, what should be symbolic links are being replaced with the original file/directory.  "tools->avr->avr" should be a symbolic link to either the avr-3 or avr-4 directory.  Instead it contains a duplicate copy of the avr-4 directory.  Similarly links in "tools->avr->bin" have been replaced with the originals.  

Correcting this will reduce the Mac OS X Arduino download zip by 25MB. :o

I was also able to find out that the reason why there is both avr-3 and avr-4 included is because gcc 3 is purported to produce smaller output than gcc 4 in some situations.
11  Forum 2005-2010 (read only) / Development / avr-gcc versions in Arduino on: March 13, 2009, 03:57:29 pm
Hello.  Looking at Arduino and I was wondering if someone could explain the reasoning for the 4 different versions of gcc included in Arduino (Mac OS X)?

12  Forum 2005-2010 (read only) / Development / Re: Custom Shield?? on: October 31, 2009, 08:07:11 am
You can find the layout of your arduino board by downloading the eagle files for the board you have from this page.  You can get the Eagle Light Edition to read those files from here.
13  Forum 2005-2010 (read only) / Development / Re: Custom arduino mega? Who could do this for me? on: October 25, 2009, 10:26:44 pm
I could help you design a board. In fact we are with a small group of 3, thinking about designing a Mega Arduino Motherboard. It will basicly be a square PCB with lots of build-in functionality such as Sound, Moter control, Input, Wireless* (optional, slots available) and are now thinking about adding a display port.
The board should be available from anything between $80 and $140. But you get a lot of stuff for that, plug and play.
You should also be aware of the ATNGW100.  Its $89 from Mouser or digikey.  Uses a AT32AP7000, 32MB SDRAM, 16 MB flash,  two Ethernet ports, SD and MMC card reader, and connectors for USB and JTAG.  Comes with linux pre-installed.
14  Forum 2005-2010 (read only) / Development / Re: Custom arduino mega? Who could do this for me? on: October 25, 2009, 10:17:16 pm
Well that's even better! My problem is that I have no idea how to go about designing a custom board and getting it built. If someone was willing to do the design for me, I'd be willing to pay a reasonable price. I'd imagine it would be fairly easy for someone who knows what they're doing.
If you just want to make PCB's and populate them yourself you can use a place like BatchPCB which is cheap but takes a while to get your boards back.  

To  actually create the files you need to send to a place like this so they can create the board for you you will need to use a program like Eagle PCB (there is a free version).  There are several tutorial on SparkFun on how to use Eagle to create your PCB:
Getting started with Eagle PCB and schematic capture
The basics of laying out a PCB with Eagle
How to create a custom footprint and part in Eagle PCB

If you want a place that is a step above a place like BatchPCB you can look at Advanced Circuits or Screaming Circuits.  With these places you can have them populate your boards as well.
15  Forum 2005-2010 (read only) / Exhibition / Re: XmegaDuino alpha 1 ready to test. on: December 06, 2010, 09:59:05 am
Did this project die?  The last update to it on the google site is from March 2010?
Pages: [1] 2 3