Quote:
|
Originally Posted by Abwehr
Hi,
Given the problems I've had writing working code for direction sensing with the hall-effect sensors in the kit (and apparently Kevin Watson is having the same problems), I was wondering if there was some kind of very simple circuit I could build that translates the different pulse widths into a single digital channel (if 0, forward, if 1, reverse), thus making the programming identical to that of to that of a quadrature encoder.
|
Building custom circuits out of discreet ICs is kind of passé these days. A bit of Verilog code and a small gate array, like a Xilinx Spartan 3, could easily discriminate between the two pulses. It would be very fun (for me, anyways) if teams got a
FPGA demonstration board in the KOP that would allow them to easilly build such circuits.
-Kevin