my shaft encoder project

Status
Not open for further replies.

Haidy

New Member
Hello all
i sent asking about how to make my counter works properly
well
now the matter became so horrible
i'll tell u what i did & need anyone to tell me comment & guide me coz this is my first practical work, im working lonely too, no team
plz dont laugh at me

i got an optocoupler & biased it , im sure of it's connection & it gives output pulses when the motor disc rotates btween it's both sides (photo diode & receiving transistor
the motor disc is simply a piece of strong paper that i made in form of circle & made it's edge like a gear ( i made 16 holes on the circumference)

output pulses from opto coupler i use it as the clock , input to my counter
the counter 74193 , i connected it as follows:
it's four input pins-----to ground
pin 16---vcc
pin8--- ground
load pin---vcc through 1kohm
clear pin-- to ground
i connected the four output pins to leds inorder to check the count

well,, im supposed to connect the carry pin to a second counter 74193 as a clock, so that each 16 pulse (each motor cycle) the second counter will count 1,,, & then i'll connect it to a decoder 7447 & seven segment

now i connected the whole circuit except the second counter
i thought of checking what i did first, b4 i continue

i connected the 1st counter directly to the decoder 7447
but hoplessly it didnt count at all
when i wasnt connecting the decoder, it was counting but stupidly
1 5 7 1 5 7
i connected a capacitor as the degnified sir told me, but still stupid count
it's awful in both cases
i dont know what to do!!!!!!!!!!

plz help meeeeeeeeeeeeeeeeeeeeee

im so sorry for making it long on u

waiting ur replies

bye
 
I replied to your previous thread. You should not have started a new thread.

I suggest that you attach your circuit diagram so we can see what you are doing.
 
Counter

Hello,,
can anyone plzzz,, tell me a number of a " Divide by 16 synchronous counter " IC???
 
Haidy,

If you are still around - if you only want to count each revolution of the shaft, why did you create 16 inpulses around the circle. Seems to me only one slit, hole, etc., would produce an opto-impulse with each revolution.

AllVol
 
Re:

Hello
thanx alot, u r right sure about this one hole
but..
notes for the projects given to us included that the disc must contain 1024 hole or 512 holes
and as this will b hard for us ( we in first year)
he kindly agreed to make the matter simpler by saying it's allowed the disc contains any 4n holes
any multiplied number by 4
that's it
thanx again
bye
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…