Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / OSX 10.4.10 "can't create EEPROM.o" on: June 26, 2007, 10:45:39 am
Hiya .I'm running Arduino 008 on a MacPro, os 10.4.10.  

As an admin on the machine I can compile fine.  However, as a non-admin user, I get the following error on startup, and whenever I try to compile :

"Assembler Messages:
FATAL : can't create EEPROM.o: Permission denied"

I assume it has to do with ... permissions.. but I've searched and found nothing similar to this.  What ought I make writable to this user?
2  Forum 2005-2010 (read only) / Interfacing / Re: SparkFun's Real Time clock Module on: December 11, 2007, 11:52:23 am
Yeah, I know I'm setting the right time initially, as it runs correctly for a few hours before acting all funny.  Crossing my fingers right now, since I've left it going all day, maybe it actually stayed consistent this time.

you were right, i wasn't setting the time correctly (as I earlier attested, oops).  the following code allowed me to set it correctly (almost 24 hours of the right time now)

sorry for the noise.

#include <Wire.h>

void setup()


 Wire.send(0x80 | 0x02);    

3  Forum 2005-2010 (read only) / Interfacing / SparkFun's Real Time clock Module on: December 11, 2007, 05:08:34 am
Hello all.

I know there are a few threads about this component, but I'm having some weirdness that I haven't seen mentioned elsewhere.

I'm using the Sparkfun Real Time Clock Module with an older (pre-NG) Arduino.  

With Wire.h, I'm able to communicate with the clock, set the time and read it, but after a few hours, the clock seems to go all crackers on me.  

Typically what I have observed is this : after running well for a few hours, at the change of a new hour (has happened at 12h, 14h, and 6h), the clock will jump to 2h, for no apparent reason.

I'm using code I found in the playground ( at, relevant bit is near the bottom of the page):

#include <Wire.h>

int second = 0;    
int minute = 0;
int hour =0;
int day_of_week=0;
int day = 0;
int month = 0;
int year = 0;

void setup()


void loop()
  // reset register pointer

  // request 7 bytes from ds1307
  Wire.requestFrom(104, 7);    
  second = Wire.receive();      
  minute = Wire.receive();      
  hour = Wire.receive();        
  day = Wire.receive();        
  month = Wire.receive();      
  year = Wire.receive();  

  // Convert all the BCD values that might have "tens" to decimal
  int hours=hour/16* 10 + hour % 16;
  int minutes=minute/16 * 10 + minute % 16;
  int days=day/16 * 10 + day % 16;
  int months=month/16 * 10 + month % 16;

  Serial.print( hour );
  Serial.print( minutes );
  //no need to rush


I'm using pull-up resistors in there, the circuit is built as it ought be, yet the clock (actually 2 different ones) consistently gives me this problem.

Any ideas what is going on? Is it a code issue? A problem with using this older board? An issue with the clock modules (somehow I think that is unlikely)?

I have posted a similar topic at sparkfun in case it's a clock issue, but i have a feeling it's either in my code, or because of the older board.  I'll be testing out an NG this afternoon (no fancy Decimilia for me yet!), but curious if anyone has any insight into this.
4  Forum 2005-2010 (read only) / Workshops / Re: Workshop in Oslo, Norway, Feb 24-26 on: February 06, 2010, 05:43:01 pm
Here's a brief description at the Atelier Nord site

Hope some of you can make it!
5  Forum 2005-2010 (read only) / Workshops / Workshop in Oslo, Norway, Feb 24-26 on: January 27, 2010, 09:15:36 am

I'll be running an intro Arduino/electronics workshop at Atelier Nord in Oslo, Norway from Feb 24-26.

We'll be going from basic electronics to serial communication.. and beyond! I'll be basing the content off ITPs Physical Computing course.

No experience necessary, I'll update the post more as we finalize details.
6  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Generating Composite Video on: May 10, 2007, 03:49:13 pm
Hi everyone,

I just stumbled on this thread while looking into something else entirely (curse you stream of consciousness browsing).

Some of us did this a few years ago with a pair of PIC 18f452s in CSS C at 40MHz.  One PIC set up the video environment, and on interrupt we used a second one to read inputs and do our "drawing" routines.  

As I recall, it was a pretty crude effort, but it worked well enough for our purposes.  You can look at the project notes and code here :

Pages: [1]