Re: Can I do this with a uProcessor?



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.




I have a 15th switch that when switched causes the each switch to
activate a

Opps make the 15 port lines.

different set of devices (sort of like having 2 different banks). Could
I
use 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
proper
instruction?

This is simple code.

That's what i wanted to hear!

Thankjs for your help Moose - and i'll check out that other site. I'm glad
for any other advice as well.


.



Relevant Pages

  • Re: Can I do this with a uProcessor?
    ... You want to have 14 port connections to do this with so we now know ... This sounds like you want a micro with a built in DAC or an external ... How smoothly does it need to ramp and how ... switch in one position or another, and telling the PIC to execute the proper ...
    (sci.electronics.design)
  • Re: Tech EM Pop A Card Start Up
    ... >>> When yo uhit the reset bar manually, what relay is making it stop? ... >> Ok....you can tell when a switch is normally open or normally closed>> by ... >> ask....Have you done anything to the game to make it not work now>> rather ...
    (rec.games.pinball)
  • Re: TECH: EM help with Captain Fantastic - sorta long
    ... I inspected the 3 backbox connectors, ... The Game over latch relay is a double relay. ... By lightly cleaning every switch, ...
    (rec.games.pinball)
  • Re: Are you an EM expert? I need your advice
    ... the short answer is check the make-break score motor ... If you look at the circuit for the Bonus Unit Step Up Solenoid in the ... through a switch on the "300 AND 3 ADV." ... relay through score motor ...
    (rec.games.pinball)
  • Re: Tech: Em pinball
    ... > The Ball sitting in the outhole closes the switch to the outhole ... Other switches such as one on the game over relay could prevent ... I actuate the outhole switch in the trough. ... > The score motor will cycle and send a pulse to the outhole solenoid ...
    (rec.games.pinball)

Loading