Go Down

Topic: Simple easy programmable muliti day alarm clock. (Read 6 times) previous topic - next topic

lost_and_confused

Good news!

I can compile the sketch.

Now, I just have to buy the PHI-2 and display and actually start to build it.


liudr


Good news!

I can compile the sketch.

Now, I just have to buy the PHI-2 and display and actually start to build it.




Good for you! I've been busy with my work and didn't have time to do a screen shot of my folders.

lost_and_confused

Way back near the top a "variable brightness" was mentioned for the LCD.

I am about to complete building my alarm clock and have the same problem.

On the PHI-2 shield, there is a position for the backlight brightness resistor.

What I am thinking of doing is building a VCO which is controlled by a LDR.

As it gets darker, the frequency reduced.  As it gets lighter/brighter, the frequency increases.

That way the backlight adjusts to the ambient light.

The "VCO" would simply be a 555 as an astable oscillator with the LDR controlling the frequency.


lost_and_confused

Here is a couple of piccies of the project to date:

Yes, it isn't fully built - as in there are no switches, or LEDs, but it "works" - as in the display shows things and the menus work.

The time, however, doesn't work.

Excuse the blurriness, but camera shake happens.

The board is a "UNO COMPATIBLE" and so I hope that the straps are correct.

Notice the time!  Weird.

I compile the sketch with the correct-ish time set and send it to the board.  Then re-compile it and send it again with the clock init() thing disabled.

Same result.

Going through the motions of setting the time doesn't change anything.


Other notes:
For now there is no EPROM, no RTC chip and no battery.

Do I really need these to simply make the clock work?

liudr

I need to see under the display. The jumpers were in the right places already. Was that you who posted on my blog saying inserting an EEPROM solved the problem? I'd like to that if that was you. There's no need for such optional part. The EEPROM that stores alarm was inside your arduino.

Go Up