Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4817

General • Re: 15 inputs that output 15 outputs using a Pico and seral to parallel converter?

$
0
0
I now have my Pico connected to a breadboard and have run 15 switches to inputs GP0 to GP15.

Is there someway to scan and read all 15 input switches, maybe define a 15 bit binary word/value that's the inputs, then as each input changes it makes the 15 bit binary word/value change. And could this value be sent out as a serial data to a serial to parallel converter?
Yes, and that would be quite easy as each input has an effective binary value by virtue of being an input on GPIO 0 to 14.

It would be the quickest and easiest solution to use two Pico, one for parallel input and one for parallel output, but the multiplexed solution suggested by 'gordon77' would allow you to implement it all on one Pico, will only require one program.

Button matrix input is fairly easy to do; just make sure you don't have two or more pins driving the matrix as outputs at the same time.
Why not use a Pi 5? Plenty of GPIO pins! /s

Statistics: Posted by ame — Wed Aug 21, 2024 7:54 pm



Viewing all articles
Browse latest Browse all 4817

Trending Articles