Clock for use as controler
gregfox
Posts: 68
Ive been learning the propeller off and on for a while now.
I want to make a clock with an output to turn a relay on or off. I want to be able to set an on and off time, and display it, and the time on an LCD.
Im wondering if anyone has any modules that may work, if not, I guess Ill start working from scratch.
Thanks!
I want to make a clock with an output to turn a relay on or off. I want to be able to set an on and off time, and display it, and the time on an LCD.
Im wondering if anyone has any modules that may work, if not, I guess Ill start working from scratch.
Thanks!
Comments
There are all sorts of LCD modules. Parallax sells some. Scott Edwards Electronics and Matrix Orbital make and sell lots of them. Some of them include interfaces for 4 x 4 keypads.
Hi Greg
Welcome to the forums. If I may critique your request:
There is not enough information to make assumptions about you skill level, past work, or fears. You did not provide enough information to get a different answer. Both Bits and Mike gave answers appropriate to your request, Mike has 18,000 more posts experience answering the question "What should I use?". This question could bear more detail.
Example:
relay - 5v 1A or 120V AC mains? How often will it switch?
time - try to track it yourself in software of use component like DS1302? What is your required response window, minutes or microseconds?
LCD - four digits only (HH:MM) or a 20x4 characters?
User input - one or two buttoms, or via connection to a PC via serial, etc? What will the user provide to the system as input, and how often?
And any other details that are critical....
Any hints to specifics for any of these points would allow folks to point you to different hardware and software modules, and attract responses from folks that have used them.
If you can't say what you want, you might have a harder time getting it.
Even on the prop, requirements and planning are the most critical part of a project, each minute spent planning saves hours of debugging and rework.
They need a transistor to drive the coil from a Prop.
I use a 3N4124 to drive the coil. One end of the coil connects with 5V the other end is connected to the transistor. A flyback diode goes across the coil. I use a 470 ohm resistor on the base of the transistor (between the Prop and the transistor).
I'm guessing there are lots of transistors that could do this.
I linked to a relay at Sparkfun. I've used the Sparkfun relay but I believe the same relays are available (and less expensive) at Digi-Key.
I've also used the Prop with these solid state relays. The Prop can control the SSR without a transistor.
Duane