Show Posts
Pages: 1 2 3 [4] 5 6 7
46  Forum 2005-2010 (read only) / Troubleshooting / Re: Library from Library on: March 31, 2010, 09:49:08 am

Looking into the EEPROM library code, it's basically aliasing some core functions, so it was easier to use those directly  smiley
47  Forum 2005-2010 (read only) / Troubleshooting / Library from Library on: March 31, 2010, 09:04:11 am
I'm creating a small library from which I want to use the EEPROM library but I'm getting a compile error in my library on the include line
#include <EEPROM.h>

error: EEPROM.h: No such file or directory

I can use the EEPROM fine from my sketch with the same include.

Is this behaviour supported, or must all libraries be self contained?

48  Forum 2005-2010 (read only) / Troubleshooting / Re: Creating Libraries on: March 31, 2010, 05:19:32 am
I was having the same problem in v14 but moving to v18 it worked as expected!
49  Forum 2005-2010 (read only) / Troubleshooting / Re: What have they used? on: February 04, 2010, 07:38:13 am
They look like audio leads from CD drives - usually a 3 or 4 pin .1" molex on each end....

Not the best by any means, but if you happened to have a boxfull to hand, why not...
50  Forum 2005-2010 (read only) / Development / Re: arduino with internal oscillator on 1Mhz on: December 03, 2009, 04:52:54 am
Marvin Martian, why do you think you would need to reprogram the bootloader?

Because of what mungbean said earlier:
As I understand it, clock speed is hard-coded into the bootloader, so changing the crystal isn't enough to change the speed.  You would need to program a new bootloader in as well.

So I'm still confused as to whether this is or is not necessary  :-/

51  Forum 2005-2010 (read only) / Development / Re: arduino with internal oscillator on 1Mhz on: December 02, 2009, 12:17:51 pm
But without the capability to reprogram the bootloader that's going to be a bit awkward. Ho hum.

52  Forum 2005-2010 (read only) / Development / Re: arduino with internal oscillator on 1Mhz on: December 02, 2009, 07:54:41 am
I've got a stand alone battery prowered 328 project that runs off 3 AAs - it "works ok" but reading here is sounds like I'm on the edge of it running successfully at 16MHz.

I was considering dropping the crystal down to 8MHz to give me a wider power margin - Comms is not an issue as I'm programming the 328 in an Arduino then taking it out and dropping it in my PCB.

But it sounds like just changing the crystal won't work either and it will require a software tweak too - is that correct?

53  Forum 2005-2010 (read only) / Development / Re: Super bright LED array? on: November 26, 2010, 11:27:59 am
You could probably do this with just a few standard ultrabright LEDs withough resorting to the high power route

Something like this will kick out 30 candelas for a few 10's of mA

Of course you may end up with a directional light source. You don't say how long you need it to last, but you could probably drive a few of these for a day on 3 AAs

If your eyes are accustomed to a dim room these would definitely make you squint
54  Forum 2005-2010 (read only) / Development / Re: Donut shaped PCB in Eagle? on: August 25, 2010, 07:01:21 am
Thanks - I was looking at one of the ultra cheap proto places ( but I guess this might be what they mean by "Drills line and long slot can't be accepted"...

55  Forum 2005-2010 (read only) / Development / Donut shaped PCB in Eagle? on: August 23, 2010, 03:06:31 pm
I want to create a donut shaped PCB - circular with a big hole in the middle. Is it just a case of adding circles for the outer and inner dimensions to the dimension layer and the actual board will be defined as the bit between them?

56  Forum 2005-2010 (read only) / Development / Re: 4.5v as a power source? on: December 18, 2009, 07:45:06 am
Thanks for the input. I appreciate the circuit can be designed to run at a lower voltage, but this requires additional components/cost/space and also possibly modifying the bootloader for lower crystal frequencies, as the other thread covered...
57  Forum 2005-2010 (read only) / Development / 4.5v as a power source? on: December 16, 2009, 05:43:31 am
Following on from this thread
I was investigating how to run a 328 from as simple mobile supply as possible.

According to spec, 4.5v (from 3 AAs) should be too low for 16Mhz operation, but my project "works" (I put it together before discovering this limitation!).

So I've just been doing a little experiment -  basically I've been letting the batteries run flat to see when in conks out.

Last night it was down to 3.4v and still going strong - which should be WAY out of spec on the speed grade!

Unfortunately I forgot to turn it off when I went to bed and at some point it passed the threshold. But I got about 3 days continuous use which is not bad at all, and perfect for the application.

Obviously this is a statictical sample of one, but it's got me wondering if a 4.5v battery pack is actually a viable power source in the real world...?

What is the actual effect of running too low? Does the timing just become unreliable (which s not an issue in this case), or is there a more serious consequence?


58  Forum 2005-2010 (read only) / Development / Re: Eagle help - rotating parts on: December 11, 2009, 05:52:26 am
Ah brilliant - I saw the angle drop down but it only had 90 / 180 / 270 in - didn't think of typing!  :smiley

59  Forum 2005-2010 (read only) / Development / Eagle help - rotating parts on: December 11, 2009, 03:36:44 am
Hi - quick Eagle (lite) Q - is it possible to rotate components other than 90 degree increments? I'd like to be able to be able to use an abritrary number of degrees. Can't seem to find anything in the menus.

60  Forum 2005-2010 (read only) / Interfacing / Re: SoftPWM Library on: March 18, 2010, 08:37:35 am
That's neat - I was just writing some code to manage the fade up & down when switching the LEDs too - but using the built in PMW so was limited to the 6 lines. Yours is much better!
Pages: 1 2 3 [4] 5 6 7