Maker Pro
Maker Pro

LED seven segment counter

D

Darlapphood

Jan 1, 1970
0
I have a counter i want to increment with a normally open output wire fro
a pnp sensor. When i activate the sensor the counter counts at a
incredible rate. Could anyone help me with this?
 
C

Chris

Jan 1, 1970
0
Darlapphood said:
I have a counter i want to increment with a normally open output wire from
a pnp sensor. When i activate the sensor the counter counts at an
incredible rate. Could anyone help me with this?

A "PNP sensor" traditionally means a three wire sensor (V+, OUT, and
GND) whose output is the collector of a PNP transistor whose emitter is
tied to V+. This means you need a load (typically a resistor) to GND
in order for the circuit to complete, like this (View in fixed font or
M$ Notepad):

V+
.------------o
|
.----o------.
| | |
| '----. |
| | |
| |< |
| -| |
| |\ |
| | |
| | |
| | | Out Vr
| '-------o-----o
| | |
| PNP Sensor| .-.
| | | | 1K
'----o------' | |
| '-'
| GND |
'-------------o----'
created by Andy´s ASCII-Circuit v1.24.140803 Beta www.tech-chat.de

A couple of questions, if you would:

* What's your power supply voltage? Is it regulated?

* Is your counter a mechanical counter, an electronic counter, a CMOS
or TTL counter IC, or what?

* Is this an electrically noisy environment?

* Specifically what is your PNP sensor (as in make and model), and what
load is it driving? A resistor or what?

This would give you a start on a discussion about your problem, instead
of just waiting for us to guess what you mean. You'd be amazed at how
many people on s.e.b. will be willing to help, if you provide a good
problem description.

Chris
 
I

Impmon

Jan 1, 1970
0
I have a counter i want to increment with a normally open output wire from
a pnp sensor. When i activate the sensor the counter counts at an
incredible rate. Could anyone help me with this?

Sounds like you need a debouncing circuit. Can be as simple as a
couple NAND gates in series. Also if the sensor doesn't offer both
high and low (ie low and open) then you will need a pullup resistor
either to VCC or ground to compenstate for open connection.
 
D

Darlapphood

Jan 1, 1970
0
fr=

A "PNP sensor" traditionally means a three wire sensor (V+, OUT, and
GND) whose output is the collector of a PNP transistor whose emitter is
tied to V+. This means you need a load (typically a resistor) to GND
in order for the circuit to complete, like this (View in fixed font or
M$ Notepad): This schematic is correct exactly!!

V+
.------------o
|
.----o------.
| | |
| '----. |
| | |
| |< |
| -| |
| |\ |
| | |
| | |
| | | Out Vr
| '-------o-----o
| | |
| PNP Sensor| .-.
| | | | 1K
'----o------' | |
| '-'
| GND |
'-------------o----'


Here are my answers thx so much for help ^^

* What's your power supply voltage? 9v Is it regulated? ??

* Is your counter a mechanical counter, an electronic counter, a CMOS
or TTL counter IC, or what? counter is 4029 ic and decoder 4511 to seve segment

* Is this an electrically noisy environment? no

* Specifically what is your PNP sensor (make inductive proximity switch) and what
load is it driving? dont understand this A resistor or what? i just pu
the output directly into the input of the 4029 is this wrong? I'm a supe
beginner =(
 
R

Rikard Bosnjakovic

Jan 1, 1970
0
Please learn how to write replies. Don't write within other people's
quotes, it's almost impossible to find the text you write.
 
D

Darlapphood

Jan 1, 1970
0
Inductive proximity switch DC 10-30v model AE1-AP-1A

I just put the output directly into the input of the 4029 (CLK)is thi
wrong? I'm a super
beginner =(
I just want to increment to counter once per sensor activation
Do i need to setup some sort of relay or i've heard people talk about
pull up. I want to understand but I dont.I need specific part numbers an
names of components because im wicked new at this.

Could i trigger some sort of event with the sensor that increments th
counter once?

Please any help is very much appreciated. Thanks.
 
Top