J
James
Guest
Up till now, I have made a couple of projects for a kit car such as a shift
light and a speed-dependant switch, but these have all used the freq-voltage
convertor > comparator method with some trial and error. While I've had some
success, I am wondering if I would be better placed to "go digital" and use
some of the pic/basic chips I have seen.
For instance, if there is a programming language that is basic-esque (I'm ok
at vb, not c though) I assume it would be (for a 4 mark shift light):
if pulse/sec > 83 then output1 = on
if pulse/sec > 91 then output2 = on
if pulse/sec > 100 then output3 = on
if pulse/sec > 108 then output4 = on
obviously thats VERY over simplistic but you get the drift!
Anyway, any good sites I should be looking at? How would I interface a
pulsed signal into the chip, and are there "counter" type options so I could
bung the current count into a variable for comparison? Also, there seem to
be hundreds of different chips available...
I am in the UK and I see Maplins do a couple of Basic "student" kits, would
these be any good?
Cheers,
James.
light and a speed-dependant switch, but these have all used the freq-voltage
convertor > comparator method with some trial and error. While I've had some
success, I am wondering if I would be better placed to "go digital" and use
some of the pic/basic chips I have seen.
For instance, if there is a programming language that is basic-esque (I'm ok
at vb, not c though) I assume it would be (for a 4 mark shift light):
if pulse/sec > 83 then output1 = on
if pulse/sec > 91 then output2 = on
if pulse/sec > 100 then output3 = on
if pulse/sec > 108 then output4 = on
obviously thats VERY over simplistic but you get the drift!
Anyway, any good sites I should be looking at? How would I interface a
pulsed signal into the chip, and are there "counter" type options so I could
bung the current count into a variable for comparison? Also, there seem to
be hundreds of different chips available...
I am in the UK and I see Maplins do a couple of Basic "student" kits, would
these be any good?
Cheers,
James.