Re: Can I do this with a uProcessor?
- From: "tempus fugit" <toccata@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 21 May 2007 10:52:11 -0400
You didn't say how quickly it needs to react. Since a human is
pushing the switch, perhaps 20mS or so should be the required maximum
responce time.
It needs to switch a relay quickly enough so that it seems like stomping the
switch instantly causes the effect to go on. I didn't even know that
respsonse time was something that needed consideration (told you I was a
newb).
it would cause the PIC to:
1. clear any previous data in the PIC
2. latch a signal to the required output that would ramp up the control
voltage over a few ms.
This sounds like you want a micro with a built in DAC or an external
DAC connected to the micro. How smoothly does it need to ramp and how
linear etc?
I just want it to take a few ms to ramp up the relay driver before the relay
switches so that any capacitative clicks are avoided. I don't know if that
needs to be linear or smooth or what (help?)
How many output lines need to be ramped? Does only one
go high at a time?
Well this depends on how many micros I need to do the job. All the outs
would need to be ramped, but if possible, I would like to have 6 outputs -
one to each relay - an probably a max of 4 on at a time.
You can use fairly simple analog circuits to make a ramp. You also
didn't speak about how the signals ever go low again. I assume they
do this also with a ramp.
Hopefully yes. They will go low from requirement 1 - clear any previous data
in the PIC.
activate a
I have a 15th switch that when switched causes the each switch to
I
Opps make the 15 port lines.
different set of devices (sort of like having 2 different banks). Could
properuse a PIC to have the same function, kind of like having it latch that
switch in one position or another, and telling the PIC to execute the
That's what i wanted to hear!instruction?
This is simple code.
Thankjs for your help Moose - and i'll check out that other site. I'm glad
for any other advice as well.
.
- Follow-Ups:
- Re: Can I do this with a uProcessor?
- From: MooseFET
- Re: Can I do this with a uProcessor?
- References:
- Can I do this with a uProcessor?
- From: tempus fugit
- Re: Can I do this with a uProcessor?
- From: MooseFET
- Can I do this with a uProcessor?
- Prev by Date: Re: (WAY OT): Volunteer Spirit of America?
- Next by Date: Re: (WAY OT): Volunteer Spirit of America?
- Previous by thread: Re: Can I do this with a uProcessor?
- Next by thread: Re: Can I do this with a uProcessor?
- Index(es):
Relevant Pages
|
Loading