Show Posts
Pages: [1] 2
1  Using Arduino / Programming Questions / Re: Finding Wire.h library? on: December 28, 2012, 07:36:50 pm
Thanks Paul, that solved it! Must've screwed something up in my first install.
2  Using Arduino / Programming Questions / Re: Finding Wire.h library? on: December 28, 2012, 06:16:46 pm
Good idea. Here's what I'm looking at. I can post the contents of the "lib" file too, if you're interested, though I have not been able to find the "Wire.h" file inside

3  Using Arduino / Programming Questions / Re: Finding Wire.h library? on: December 28, 2012, 05:34:50 pm
In my "arduino-1.0.1-Windows"  folder, there is no "libraries" folder. Is there somewhere else I should be looking?
4  Using Arduino / Programming Questions / Finding Wire.h library? [solved] on: December 28, 2012, 04:09:34 pm
Hey everyone, I'm trying to find the wire.h library on a Windows computer, but I can't seem to locate it? I think I know how to find it on a mac (Arduino --> Show package contents), but I can't locate it on my Windows partition.

The reason I ask is that I'm having trouble getting some code to recognize "Wire" commands, despite including both Wire.h and Arduino.h.

Thanks!
5  Using Arduino / Project Guidance / Re: Arduino Sunrise Clock Radio on: December 01, 2012, 04:50:34 pm
I'm using Florinc's Bookclock code, on a arduino uno rev. 3. The code is too long to post in a forum reply, but here's a link to it: http://code.google.com/p/wiseclock2/downloads/detail?name=BookClockTimeSet.zip&can=2&q=
6  Using Arduino / Project Guidance / Re: Arduino Sunrise Clock Radio on: November 30, 2012, 09:38:02 pm
Hey everyone, I thought I would unearth this thread to ask for some more guidance. I recently had time to work on the project again, and I'm still having issues with the code.

I managed to get florinc's test code working for the 3208 (so the matrix works), but I still get nothing from to bookclock code that I'm using. The bookclock code compiles, and the time is displayed in the serial monitor, but the display still refuses to light up.

Anyone have any ideas?
7  Using Arduino / Project Guidance / Re: Arduino Sunrise Clock Radio on: October 09, 2012, 10:17:17 pm
Thanks for the reply! Yeah, I did select the correct chip on the matrix (tried a few different configurations, too). I'm still having trouble with the test code, I deleted all the DEBUGPRINT lines, but now I have this error: "Documents/Arduino/libraries/myfont/myfont.h:9: error: expected initializer before 'myfont'"

I wish I knew what that meant, should I edit the myfont document somehow?
8  Using Arduino / Project Guidance / Re: Arduino Sunrise Clock Radio on: October 09, 2012, 06:58:43 pm
I now have the buttons hooked up properly (I believe), and I connected the arduino anolog zero pin to vcc, which seemed to calm the endlessly scrolling "current state = 0" in the serial monitor.

I'm still not having any luck with the led matrix. The test code you posted won't work for me, I got a number of errors when trying to compile it, one of which is that "DEBUGPRINT is not declared in this scope" Am I missing libraries for it? The normal bookclock code compiles and uploads without issue.

I have had success with the test code found on this page, with the outputs changed to match the pins used by the bookclock.

Here are some pics of the serial monitor and my breadboard setup, if they're any use.

9  Using Arduino / Project Guidance / Re: Arduino Sunrise Clock Radio on: October 08, 2012, 06:20:56 pm
@dc42

Thanks for the tip, a time signal receiver would certainly be cool, but I'm pretty committed to going the ds1307 route.

@florinc

Thanks! I now have the RTC displaying the correct time on the serial monitor! So far I haven't been able to get the matrix to light up (besides with test code). I don't have a tilt switch of any kind hooked up, and the serial monitor reads "current state is 0". Could that be preventing the display from lighting? I also haven't been able to upload the "quotes" text file (I'm on a mac). Maybe that's the issue?

I'm also having trouble with the setup buttons, should I wire them (with pull-up or pull-down resistors) as always high or always low? I couldn't tell from the code. Thanks for your help!
10  Using Arduino / Project Guidance / Re: Arduino Sunrise Clock Radio on: October 05, 2012, 07:18:02 pm
Thanks, should I use a pull up or a pull down resistor with those pins?

I'm also wondering how to make the RTC be recognized by the arduino, as it seems the Wiseduino for which this code is meant for has the RTC integrated, and therefore doesn't specify which pins it needs to be hooked up to. Any advice would be greatly appreciated!
11  Using Arduino / Project Guidance / Re: Arduino Sunrise Clock Radio on: October 03, 2012, 08:36:37 pm
Hey everyone, I have an update, with more questions. Let me know if this is the wrong venue for these questions!

I successfully acquired my RTC, LED matrix, FM Shield, and a few other things, and now I'm working on getting the RTC and the Matrix to play nice together.

I'm using Florinc's Bookclock code, which seems like a good jumping off point (link here). But I'm wondering which pins in that code are meant to be hooked up to the matrix? I've used this resource to successfully test the matrix before, but I do not know if I should change which digital pins I'm using.

Also, can anyone tell where the buttons need to be hooked up to? I'm a novice at deciphering code.

Thanks!
12  Using Arduino / LEDs and Multiplexing / Re: Powering Sure 3208 from Arduino? on: September 01, 2012, 08:06:07 pm
That's the one! I have the red version. Thanks so much for your reply, now I can move forward!
13  Using Arduino / LEDs and Multiplexing / Powering Sure 3208 from Arduino? on: August 31, 2012, 06:24:13 pm
Hi everyone,

I purchased an Sure 3208 to use with what will eventually be an Arduino Sunrise Alarm clock, but now that I have it in my hands, I'm not sure how to power the board. I've been using this resource to see how to hook it up: http://scuola.arduino.cc/en/content/interfacing-arduino-uno-sure-electronics-led-dot-matrix-based-ht1632c-controller
But I was hoping I wouldn't have to use an external 5v power source.

Can I power this board from one of the arduino pins, or is that too much for the Arduino to handle?

Thanks for your help!
14  Using Arduino / Project Guidance / Re: Arduino Sunrise Clock Radio on: August 09, 2012, 11:53:09 pm
Okay, thanks for all the tips guys. I've ordered the RTC and the LED matrix, so I'll get started on putting those together once they've arrived.

At this point I'm leaning more towards the radio shield, as I often prefer to wake up to the news, and I don't want to have to rely on an internet connection. Also, while the x-10 idea is tempting (and I'm not ruling it out), ideally I want to keep the system fairly self-contained.

Again, thanks for the info/links.

I'm sure I'll be back with more questions.
15  Using Arduino / Project Guidance / Re: Arduino Sunrise Clock Radio on: August 08, 2012, 04:05:34 pm
Thanks for all the replies!

To clarify, by "at least two alarm settings" I meant that I would prefer to have two different alarms, a weekend and a weekday alarm for example, that I could leave set to different times and then be able to switch back and forth without manually changing the alarm time.

@DVDdoug, your clock sounds cool! I agree, I would like to try to integrate everything with one microcontroller. The x-10 modules are interesting, but I'm afraid I know very little about them. Do you know of a specific unit that can slowly dim-up? I tried my luck googling, but I couldn't find the right thing.

@Crossroads: Thanks for the tip on the FM/AM shield. It looks like it's the right tool for the job, if a little pricey.

Does anyone know of any pre-existing code to get some of the pieces working together? For example, how to interface the radio shield with the arduino, some pushbuttons, and to display the frequency on the LED matrix? I'm afraid I'm very new to programing.

Also, I'm not sure what the right approach is to get this project going. Is it a good idea to go step-by-step as I integrate each feature? For example, should I start with the RTC and the matrix, and work on getting the time displayed correctly before adding the sunshine alarm and the radio, or is better to integrate everything all at once? I guess I'm looking for a place to start.

Thanks!
Pages: [1] 2