Show Posts
Pages: [1] 2
1  Development / Suggestions for the Arduino Project / Re: KiCad files for Arduino boards on: March 11, 2014, 09:07:27 am
That's one point more for KiCad: easy and automatic schematic symbol creators, like the one found online. Just give the info needed and it makes the symbol for you, no need to draw pin by pin smiley Also it is easy to make custom part generators, as all KiCad file formats are text files, unlike Eagles closed binary formats.

Any way, I'm currently drawing some of the Arduino's symbols and footprints and once I'm done, I'll pass the file to public use.
2  Development / Suggestions for the Arduino Project / Re: KiCad files for Arduino boards on: March 05, 2014, 09:56:05 am
Quote
Not to mention the backwards usage of Eagle where you had to choose the part you are using when drawing the schematic
What? How do you create a schematic if don't start with a part?
Maybe my explanation was worded a little funny (English is my second language). What I mean is that what I remember of Eagle, you had to choose what footprint you want to use when drawing the schematic. In KiCad for example you just use the schematic symbols you want and after you have drawn a schematic, you can then associate each schematic part with a footprint of your choice. That way you can draw a schematic even without knowing what kind of footprints your parts will eventually have, for example I could use the same schematic for through hole mounted parts or SMD parts.

But this is getting off topic, which was Arduino boards as KiCad modules (aka footprints), so that they could be used when designing shields etc.
3  Development / Suggestions for the Arduino Project / Re: KiCad files for Arduino boards on: March 05, 2014, 03:49:36 am
I've spent 3+ years using it, upgraded to pro version, not gonna go back & learn another program now.

The size restriction was not  problem for a long time - prices for boards jump a lot once you pass 100mm x 100mm, so 80mm x 100mm was not an issue.
One schematic sheet only, 80 x 100 mm board and only with two copper layers. Not t mention the biggest limitation: "Use is limited to non-profit applications or evaluation purposes." I switched after a few years, as it was getting in the way of doing things.

Can't do much with it, some simple stuff yes. Not to mention the backwards usage of Eagle where you had to choose the part you are using when drawing the schematic (maube this has changed in the last 10 years, don't know).

Why impose limits, when there is a better option available that is open for everyone? Would love to see Arduino continue its open source nature by providing more usable information.

If nothing else, please do include drawings of the pinout dimensions, hole locations etc. on each product page.
4  Development / Suggestions for the Arduino Project / Re: KiCad files for Arduino boards on: March 04, 2014, 11:38:56 pm
I like Eagle, whether it is considered open source or not.
The problem is that it costs a lot and the size restriction etc. make it very limited for the free edition. Why support it, when Arduino and everything around it is open source?
5  Development / Suggestions for the Arduino Project / KiCad files for Arduino boards on: March 04, 2014, 03:42:29 pm
Hello

I would like to see Arduino make a change from supplying closed source Eagle files for their Arduino boards on the Arduino website to supplying footprints/modules/schematic parts for KiCad, which is an open source PCB design tool in wide use.

To this dae I've found a couple of 3rd party modules for Arduino MEGA boards, and all the else I have had to drawn myself. Which has been a pain, as there is no dimensioned drawings of the Arduinos available, they are only in the Eagle files (which I'm unable to open).

So, please please please support open source software, as it has no limitations like Eagle does.
6  Using Arduino / Programming Questions / Re: Question about using pointer reference & on: February 15, 2013, 09:32:12 am
I just didn't like "this_is_not_i" but I presume you don't normally do that. smiley
Haha, thought so smiley Yeah, don't normally do that, but when one is just testing one thing in coffeine high, things might get out of hand...
7  Using Arduino / Programming Questions / Re: Question about using pointer reference & on: February 14, 2013, 04:18:29 pm
Thank you for your response, very informative and easy to understand smiley

Seems that I've been doing the right thing, though not knowing it for sure.

About the variable names, could I ask what specifically was wrong with them and what would be the proper notation? I know they are not to some conventions and I just slapped them in a hurry to test things, normally I use caps in CONSTANTS and descriptiveVariableNames and name_my_functions so they are easy to distinguish from anothers. Maybe not right, but makes reading easier smiley
8  Using Arduino / Programming Questions / Question about using pointer reference & on: February 14, 2013, 03:37:55 pm
Hello

I've coded before with C++ on computers and have learned some things in a course once, though then they didn't teach to the 'whys' so much. This is why I'm not sure of some things and don't know the specifics behind some things.

My question is of using the reference (&) in a functions parameter list. The code below gives out an increasing reading so it works, but is this coding bad practice, okay to use, totally not how to do it and why so? I'm especially interested in the why part, like is this style hogging memory if I use it extensively or if it isn't suitable for some things.

I read the C programming Wikibook entry at http://en.wikibooks.org/wiki/C_Programming/Pointers_and_arrays and just got more confused.

I think this holds a truth:
Quote
C is known for giving you just enough rope to hang yourself

So thank you in advance.

My code:

Code:
void setup()
{
  Serial.begin(9600);
}

unsigned long i = 0;

void loop()
{
  increase(i);
  Serial.println(i);
  delay(500);
}

void increase(unsigned long &this_is_not_i)
{
  this_is_not_i++;
  return;
}

Result in serial monitor
Code:
1
2
3
4
5
etc.
9  Development / Other Software Development / Suggestion for SD library on: February 10, 2013, 08:23:07 am
Hello

I would suggest adding a function call SD.end() to the SD library. This would serve the same purpose as Serial.end() does on Serial connection. Basically a shutdown command for the SD card (and library).

Reason for this would be an ease of use and coding for projects that require swapping SD cards on the fly without powering down the Arduino. At the moment the current SD library doesn't like when the card is initialized, removed, reinserted and reinitialized (with the same or different card).

Thank you in advance.
10  Using Arduino / Storage / Re: Failed SD Initialisation Makes SPI Slow Speed on: January 23, 2013, 04:20:43 pm
Yup, known 'feature' of failed SD card initialization. One option is to change the library or make your own code to check for the fail.
11  Using Arduino / Storage / Re: Arduino SD library, SD.begin and ejecting the card on: January 23, 2013, 11:30:50 am
Have you tried to run an experiment like ejecting a crd many times to see if it all still works?

You could also look at the library to see what begin actually does and decide if you need to call it for each ejection.
Don't have an Arduino to play with (yet), but I do need to code for it, so testing is out at the moment.

I'll take a look at the library to see if I can figure it out.
12  Using Arduino / Storage / Re: Writing binary data from sd card to the Serial port. on: January 23, 2013, 11:29:29 am
thanks a lot i have tried that and it works for stings and integers (below 255) but it does not work for a scv file stored on an sd card.
Then use unsigned long or something else than an int.

Otherwise just use the SD library function to get the file size.
13  Using Arduino / Storage / Re: Arduino SD library, SD.begin and ejecting the card on: January 23, 2013, 03:53:39 am
Anyone, please?
14  Using Arduino / Storage / Re: Storing Data on: January 22, 2013, 05:24:45 pm
Why do you need to shut it down (or reset) 300 times a day? Why it can't stay on?

One option is to have a count for write times for certain address and once the counter hits the limit, the sketch changes the address it uses to write to the EEPROM.
15  Using Arduino / Storage / Re: Storing volatile data in Flash Memory on: January 21, 2013, 03:48:32 pm
Only option I can think of is to use an external memory module. May I suggest buying an SD card module (like the one Adafruit sells), hooking it up and then using Serial.read() and saving all the data to the card and after all the data is on the card, then access it through your program. Total cost around 20 USD and you can have gigabytes of storage.
Pages: [1] 2