Hi guys and gals!
I've got a project where I have 4 outputs of a R/C controller (like a garage door opener keyfob)
And It has 4 data outputs, D1 to D4, each outputting 20ma of current into its own output.
I'm running low on pins of my microcontroller and so would like to convert these 4 separate outputs into 2 microcontroller inputs!
Ideally, I'd like the outputs to be as such:
0-0
0-1
1-0
1-1
But I'm not quite sure how to go about this?
Has anybody got a circuit drawn up or could possibly point me in the right direction here?
Thanks!
I've got a project where I have 4 outputs of a R/C controller (like a garage door opener keyfob)
And It has 4 data outputs, D1 to D4, each outputting 20ma of current into its own output.
I'm running low on pins of my microcontroller and so would like to convert these 4 separate outputs into 2 microcontroller inputs!
Ideally, I'd like the outputs to be as such:
0-0
0-1
1-0
1-1
But I'm not quite sure how to go about this?
Has anybody got a circuit drawn up or could possibly point me in the right direction here?
Thanks!