-
Just thought of an easier way.
Get an AT89S52 ($2)
Get me to program it for you ($2)
Program would be something like:
.org H'00
Ljmp Start
.org H'100
Start:
mov P1,#0 ;everything is off
jnb P1.0,* ;JumpNotBitset, Port 1.0= if pin 1.0 is not set(Hi), jump here = wait till button is pressed.
setb P1.1 ;turn on(5V) port 1.1 (pin#2)
acall delay ; we make this delay to what you want
setb P1.2 ; next sequenced pin goes hi
acall delay
setb P1.3 ; we can set as many outputs as you want.
acall delay
sjmp start ; short jump back to start and wait again for a button press
Your 40 pin dip processor is easy to mount and use. The output pins will be either 0v- off, or 5V on.
So you can take the pin at 5V and turn on the led in an opto for AC power. This 5V will then turn on any power appliance or device you want to control.
Rick
-
@Stiffler
I just sent you a PM with my design idea.
ED
-
Grab an Arduino and a bunch of solid state relays. I can write the code if you like.
This space for rent.
-
Hi Everyone,
Thanks for the recommendations & help! ED has PM'd me about this, I'm going to start with his ideas first (although I'll probably try various methods & see what the different pros/cons are).
As for my budget, I could justify spending $100+ on R&D, but I'd like the finished product to come in under $50.
Thanks,
Eric
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules