new guy here....creating a counter circuit.

Status
Not open for further replies.

metalmckanical

New Member
Hello everyone. New to the site, seems very informative and helpful. I am also new to electronics.

I’m hoping you guys can help me out. I am building a counter circuit based off the Icm7225 triggered from an optical sensor such as a photomicrosensor from omron or other optical sensor. This is going to count how many rotations a shaft turns, basically a unit counter.
The data sheet say it counts with every negative transition. Does it mean it uses a neg. voltage -5v instead of a pos. voltage +5v ?
I plan on using something like this for a sensor.
would this sensor work? would it directly connect with the chip?
oh this sensor is a NPN should I use a PNP?
If possible would someone please draw a schematic showing how to make this counter? if drawing it is to big of a hassle I understand.

Thank you in advance, lots of questions I know.
I did search this forum but did not find the answer.

If anybody has questions about building computers or computer related questions please feel free to ask. hopefully I can help
 
The data sheet say it counts with every negative transition. Does it mean it uses a neg. voltage -5v instead of a pos. voltage +5v ?

No, what they are telling you is that the count increments when the incoming clock pulse goes negative (negative transition from logic high to logic low). As to the sensor:


Yes, the sensor out can directly drive the counter. You would likely want the EE-SX4070.

Ron
 
Last edited:
Negative transition is short for negative-going transition or, in this case, +5V to 0V.
 
Than you for clearing that up guys. So it's plug N play so to speak.
Is there anything else I should be aware of about this chip in order to run reliable for lengths of time in a noisy environment? (next to a DC motor)

Also whats a good program to draw schematics so I can post them if I need further help?


I'm sorry guys I just realized I posted this in the wrong forum. Is there a way to move it?
 
Last edited:
A good number of the folks here use:


Works well and can be had free. It can be had here. There is a learning curve but help here as well as online tutorials.

As to noise use shielded cables to your sensor(s) and make sure to place caps at the power pins of your chips. Just employ good design practices and if you have questions just ask here.

Ron
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…