• 0
Meins321

Analog Discovery 2 as cheap PLC, i need single NOT connection

Question

Hello everyone,

i am very new to the analog discovery and i wanted to ask if i can use the digital i/o like a plc and connect one input inverted to another one?

Which means as fast as the input sees a high pulse it should give out a low pulse on another output..

 

Is that possible with 24V volt levels if i use optocouplers or solid state relays for insulation?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @Meins321,

The Analog Discovery 2 digital inputs are based on 3.3V CMOS logic with 5V tolerant inputs; there is some more details available in the Digital I/O section in the reference manual here: https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual, so you would need to get the 24V signals to much lower values.

That being said, I do not see a way to do this with a single pin. It may be possible to set this up with two possible pins, though I'm not seeing an easy way to do this. @attila, for when you get back from vacation, is setting up an inverting output something that can be done?

Thanks,
JColvin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now