Direction sense is done through pin 2. If you want to add you have to apply a logic 1 (that is your V+). But if you want to subtract you have to apply a logic 0 (that is 0V). Now I hope your issue is solved. But if not, let me know.
If this is you issue then post what hall sensor you want to use (the model or the datasheet). Logic 0 is 0V and logic 1 is V+ of the 7000as.
Have you think about using encoders? You could use a differential encoder.
T7000as ... nice product, and very intuitive & simple interface. Good choice. How much does it cost btw ?
But clearly the trouble you are facing requires a creative & elegant/ fairly failsafe solution. Which should work at almost any speed of reel-out/ reel-in.
Let me see what I can think of.. give me a little time.
cheers!
LoL !! nice pic. Now you're just showing off... is that a Marlin ?!??!
Ok here's the thing. Concept to start with --
Your fundamental problem is determining direction. The actual number of revolutions is easy.
So here's what is possible.
You need 2 hall sensors and 2 small magnets.
Place the hall sensors approx 90o apart on a circle, and the magnets approx 180o apart on the same circle.
The sensors should be fixed, since they will have wires going to them, but the magnets can be attached to your reel so that they rotate with it. Attach them so that they at one facing North out, and one facing South out.
Both the Hall sensors should be facing the same way. BTW these sensors need to be the "switching" kinds, not the "linear magnetic" sorts. AH1751 is one such which can be obtained from Digikey for around $0.30 in small quantities.
Okay... now we need to add a D-Flip Flop.
All you need to do is feed the outputs of one sensor (they will need a resistor connected to +V battery) to the "D" input, and the other sensor to the "Clock" input.
The output of the D-FF will be a signal which tells you the direction. Connect that to your 7000as Direction input.
(note that a D-FF has 2 outputs which are opposite of each other. If the direction turns out to be wrong, just flip to the other output).
Now connect either one of the hall-sensors ALSO to the Count input of the 7000as.
But here's the nice part.... These D-FF's come in pairs in that chip. Since you want 1 count per 2 revs, you can use that 2nd DFF to DIVIDE your count value by 2 !! Very standard concept for a D-FF. You can divide the Hall output BEFORE you connect to the 7000as Count input and get EXACTLY what you want.
I believe the total cost of this whole thing would be under $2.. excluding you battery/ power source.
Want a complete component's & circuit diagram ?
Thanks dude.. but not close to Ft L. I'm about 12 time zones away
Ok.. here's the circuit. Needs to be connected up the way I explained above. I am quite sure it will work, though I have not actually tested it out or anything.
It will work for extremely high speeds & extremely low speeds equally well.
The voltage is given as +5v, which is sometimes a challenge for simple circuits. I could suggest an alternate part number for a variable voltage .. something like CD4013 maybe. What power are you expecting to use ? Dry cells ? We would need to adjust a bit for that.
cheers!
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?