Autor Thema: pull up resistor with easy e-4 to utilize NPN sensors as digital input  (Gelesen 4666 mal)

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Is this possible? I wish to use an NPN flow sensor with an Easy E4-UC-RC1.
Thank you

Offline w.sprungmann

  • Full Member
  • ***
  • Beiträge: 205
Antw:pull up resistor with easy e-4 to utilize NPN sensors as digital input
« Antwort #1 am: Mai 04, 2023, 07:33:25 Vormittag »
Hi Simon,
the controller can only pnp.
otherwise use an optocoupler, see drawing

Sincerely Wilhelm
« Letzte Änderung: Mai 04, 2023, 07:39:21 Vormittag von w.sprungmann »

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:pull up resistor with easy e-4 to utilize NPN sensors as digital input
« Antwort #2 am: Mai 04, 2023, 19:12:12 Nachmittag »
Hi Simon,
the controller can only pnp.
otherwise use an optocoupler, see drawing

Sincerely Wilhelm


vIELEN dANKE, Wilhelm!!!

Offline weiss_nix

  • Sr. Member
  • ****
  • Beiträge: 599
  • it has to be easy, it's a easy!
Antw:pull up resistor with easy e-4 to utilize NPN sensors as digital input
« Antwort #3 am: Mai 06, 2023, 17:01:49 Nachmittag »
... for my part I see no reason why the easy with pullup resistor and NPN transistor should not work!?! Only the input signal is inverted!
Sollte ich (gefährliches) Halbwissen verbreiten, beuge ich demütig mein Haupt mit der Gewissheit versagt zu haben!
WICHTIG: Sämtliche Programme dienen lediglich der Veranschaulichung von Funktionen und sind nicht für den Produktiveinsatz geeignet!

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:pull up resistor with easy e-4 to utilize NPN sensors as digital input
« Antwort #4 am: Mai 09, 2023, 18:23:01 Nachmittag »
Das ist auch wunderbar! Vielen Danke! Mein optokoppler wird mehrere tage nicht ankommen. Ich werde diesen Pullup-Widerstand ausprobieren.

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:pull up resistor with easy e-4 to utilize NPN sensors as digital input
« Antwort #5 am: Mai 11, 2023, 18:41:50 Nachmittag »
... for my part I see no reason why the easy with pullup resistor and NPN transistor should not work!?! Only the input signal is inverted!

Es Klappt!!! Vielne Danke!

Offline weiss_nix

  • Sr. Member
  • ****
  • Beiträge: 599
  • it has to be easy, it's a easy!
Antw:pull up resistor with easy e-4 to utilize NPN sensors as digital input
« Antwort #6 am: Mai 12, 2023, 09:08:12 Vormittag »
Hello Simon,
I am very happy that my suggestion helped you! You might want to tell us which resistors you used and how your circuit is now set up!?!

Best regards
Sollte ich (gefährliches) Halbwissen verbreiten, beuge ich demütig mein Haupt mit der Gewissheit versagt zu haben!
WICHTIG: Sämtliche Programme dienen lediglich der Veranschaulichung von Funktionen und sind nicht für den Produktiveinsatz geeignet!

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:pull up resistor with easy e-4 to utilize NPN sensors as digital input
« Antwort #7 am: Mai 23, 2023, 22:05:36 Nachmittag »
I am using 1/2 watt 510 ohm resistor between the VCC and the input terminal. I will post pictures of the installation shortly!

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:pull up resistor with easy e-4 to utilize NPN sensors as digital input
« Antwort #8 am: Mai 23, 2023, 23:19:41 Nachmittag »
I am using 1/2 watt 510 ohm resistor between the VCC and the input terminal. I will post pictures of the installation shortly!

In the following pictures are shown the input pullup resistor I am using for the NPN flowmeter input to the EASY input 1 for the frequency counter input, and the voltage divider bridge I am using for the 4 4-20mA level sensors serving the analog inputs 5-8.

The pin-out from left to right on the breakout terminal strip is as follows:
1. the output signal from the NPN flow sensor (with resistor from the +vcc terminal #3)
2. the -12vdc to the flow sensor
3. the +12vdc to the flow sensor, and the +vcc for the level sensors; jumped to terminal #4)
4. jumped +12vdc for the remaining level sensors
5-8 are -12vdc via a resistor bridge to the feedback side of the level sensors

The resistors are 1/2 watt 510 ohm.

Please lmk if you see any problems with this. It is currently functioning; seemingly without problems.

Thank you again for your guidance!

Simon

Offline Simon Tyrcha

  • Jr. Member
  • **
  • Beiträge: 35
Antw:pull up resistor with easy e-4 to utilize NPN sensors as digital input
« Antwort #9 am: Mai 23, 2023, 23:20:55 Nachmittag »
the assembled unit