More (digital) input

Post Reply
duccio
Posts: 2
Joined: Sun Jan 26, 2020 12:11 pm

More (digital) input

Post by duccio » Sun Jan 26, 2020 12:16 pm

Hello,

I own a Controllino Mega and I'm actually using as digital input pins from A0 to I18 (19 total inputs).

I know I have available, as output, R0..R15 (16 relay) and D0..D23 (24 digital output).

In my project I really need more input. Is it possibile to use, for example, pins D0..D23 also as "input"?

If yes, how? And if not, how can I add more input to my Controllino Mega?

Thanks!

User avatar
Jarda
Posts: 44
Joined: Fri Dec 14, 2018 10:52 am

Re: More (digital) input

Post by Jarda » Mon Feb 10, 2020 11:55 am

Hello,
Unfortunately it is not possible to use outputs on screw terminals D0-D23 as inputs.

But you can use corresponding pins on the pinheader with some limitations. First of all voltage level is 5V only, then you have to configure the processor port properly as input and not as output and you have to count with the fact, that logic HIGH will activate also the corresponding output on the screw terminal.

For example: D0 on the screw terminal is corresponding with Arduino pin 2 and this pin is located at pinheader X1.

Best Regards
Jarda

Post Reply