Dan M
04-28-2006, 10:14 PM
Hello, I'm new to microcontrollers and I just picked up a Basic Stamp kit from radioshack. I bought it to interface with a GM 7 pin HEI module (actually 2 of them).
I know the stamp can send and recieve the signals I need, but I don't know if it can do it fast enough. Here's what has to happen:
sense trigger signal from pickup coil one (this is already a TTL logic level)
sense trigger signal from pickup coil two
calculate miliseconds between them
do a table lookup to determine how long to delay the next event
send TTL low to HEI module one (based on table lookup)
sense trigger signal from pickup coil one and calculate miliseconds between the previous signal
calculate miliseconds between them
do a table lookup to determine how long to delay the next event
send ttl low to HEI module two
lather, rinse, repeat http://forums.parallax.com/images/smilies/smile.gif
I have maybe 2-6 milliseconds to work with at maximum RPM (I think, I haven't measured this out yet)
Eventually there will be a third input, a vaccum (MAP) sensor that gets included in the table lookup portion.
Can my basic stamp handle prototyping something like this?
Thanks,
Dan
I know the stamp can send and recieve the signals I need, but I don't know if it can do it fast enough. Here's what has to happen:
sense trigger signal from pickup coil one (this is already a TTL logic level)
sense trigger signal from pickup coil two
calculate miliseconds between them
do a table lookup to determine how long to delay the next event
send TTL low to HEI module one (based on table lookup)
sense trigger signal from pickup coil one and calculate miliseconds between the previous signal
calculate miliseconds between them
do a table lookup to determine how long to delay the next event
send ttl low to HEI module two
lather, rinse, repeat http://forums.parallax.com/images/smilies/smile.gif
I have maybe 2-6 milliseconds to work with at maximum RPM (I think, I haven't measured this out yet)
Eventually there will be a third input, a vaccum (MAP) sensor that gets included in the table lookup portion.
Can my basic stamp handle prototyping something like this?
Thanks,
Dan