Hi all
I am building a anemoter for my nephew and need alittle help with the electronics. I have seen a few different ideas on the net but desided to make one using bits i no i had around already.For the rotary pickup i am using a brushless DC PM Motor from a old hard drive. My problem is i want to connect it to a pic 16f876a and measure the pulses that it gives off as the wind rotates it.
I put the motor on a scope and rotated it and it generates a sine wave form which increases in frequancy and voltage the faster you turn it, from my basic understanding on micro pics i need to turn the sine into a square wave and keep its voltage between 0v-5v.
Can i use a schmitt trigger to do this.
i found a few ideas on the net and draw up diagram, can any one tell me if im close to solving the problem or should i just give up now.
thanks for any help any one can give me.
regards jason
I am building a anemoter for my nephew and need alittle help with the electronics. I have seen a few different ideas on the net but desided to make one using bits i no i had around already.For the rotary pickup i am using a brushless DC PM Motor from a old hard drive. My problem is i want to connect it to a pic 16f876a and measure the pulses that it gives off as the wind rotates it.
I put the motor on a scope and rotated it and it generates a sine wave form which increases in frequancy and voltage the faster you turn it, from my basic understanding on micro pics i need to turn the sine into a square wave and keep its voltage between 0v-5v.
Can i use a schmitt trigger to do this.
i found a few ideas on the net and draw up diagram, can any one tell me if im close to solving the problem or should i just give up now.
thanks for any help any one can give me.
regards jason