Thanks Allan for your time in explaining things to me.
Today I have had some success with the LM2917. I made up a 2 lobe optical encoder disk and that worked fine with my modified power supply. If I had looked more carefully at the data sheets then I would have bought the 14 pin version with floating inputs. I copied the basic version as shown in the data sheet and it said the output with an 8 lobe encoder was 67hz/volt. Therefore 330hz would be 5v. With my 1 magnet in the collet holder and the hall effect sensor. at 10,000rpm I measured 168hz. Therefore 2 lobes would give me 336 hz and that should generate the 5V output I wanted. For simplicity I abandoned the hall effect in favour of the earlier inductive pickup and made a 2 lobe encoder and sure enough at 3,000rpm I get 1.70V and at 10,000rpm I get 6.15V. The main board I made has a preset resistor I can adjust to get 5V at 10,000rpm. So the next thing I plan to try tomorrow is the whole system using the LM2917. I will be back with results. Photos are of the 2 lobe encoders i am using.
This router is a very different performer than the larger washing machine motor and stops very quickly. Maybe 2 or 3 seconds
ps. Yes I do use the PICaxe Editor's Simulator. but I don't know and haven't found any instructions on how to insert or change values. I did prefer the older version because it stayed at the top of the screen instead of having to keep opening it every time I step. I will try to reload the older version as you suggest.
Thanks again Allan
Today I have had some success with the LM2917. I made up a 2 lobe optical encoder disk and that worked fine with my modified power supply. If I had looked more carefully at the data sheets then I would have bought the 14 pin version with floating inputs. I copied the basic version as shown in the data sheet and it said the output with an 8 lobe encoder was 67hz/volt. Therefore 330hz would be 5v. With my 1 magnet in the collet holder and the hall effect sensor. at 10,000rpm I measured 168hz. Therefore 2 lobes would give me 336 hz and that should generate the 5V output I wanted. For simplicity I abandoned the hall effect in favour of the earlier inductive pickup and made a 2 lobe encoder and sure enough at 3,000rpm I get 1.70V and at 10,000rpm I get 6.15V. The main board I made has a preset resistor I can adjust to get 5V at 10,000rpm. So the next thing I plan to try tomorrow is the whole system using the LM2917. I will be back with results. Photos are of the 2 lobe encoders i am using.
This router is a very different performer than the larger washing machine motor and stops very quickly. Maybe 2 or 3 seconds
ps. Yes I do use the PICaxe Editor's Simulator. but I don't know and haven't found any instructions on how to insert or change values. I did prefer the older version because it stayed at the top of the screen instead of having to keep opening it every time I step. I will try to reload the older version as you suggest.
Thanks again Allan