On 29.3.19 12:10, A. Dumas wrote:
> The Natural Philosopher wrote, on 29-03-2019 10:17:
>> Pi is not so easy to work with at hardware level. Linux in the way.
>> Possibly arduino instead?
>
> Yes. Although one 8-bit shift register that's not super super fussy
> about timings can even be bitbanged in Python, e.g. almost top google
> hit
>
https://circuitdigest.com/microcontroller-projects/raspberry-pi-74hc595-shift-r
egister-tutorial
> (The python gpio lib might have changed a bit (ha. ha.) since
> Jessie=what they're using there, idk.)
The OP wanted to read hundreds of inputs, so an output
example is of little value.
He should be a bit more specific:
- how many inputs really,
- are the inputs already in clean logic level,
- how fast is the data needed.
Hundreds of inputs may mean that Pi is simply
too small alone to get them in. The data may be
coming farther than a couple of inches from the
processor, and it needs precautions in order
not to blow up the whole thing on electrical
transients.
--
-TV
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|