10,000 inputs with shift registers.

I am building a custom sensor array composed of 10,000 infrared phototransistor.

This would require 1250 shift registers.

Given that would induce considerable latency to poll and would definitely exceed the RAM on a standard Arduino, my plan was to spread the processing across multiple Arduinos at 1000 inputs each (10 Arduinos total).

That doesn't bother me but 1250 shift registers / 10 still equals 125 per board which takes up a lot of real estate and extra soldering.

I am wondering if anyone knows of a shift register or package able to multiplex more inputs more efficiently, or a possible alternative solution?

Not sure, maybe a matrix would be more efficient.

Can you show a proposed schematic of one of the IR photo diode ccts.

What is your background?

What is the budget?

.

Slight typo I meant phototransistor not diode, but the schematic for a single element would be similar to:

I'm a hobbyists with 23 years doing electronics and programming, though only recently dipping my toes into embedded microcontrollers.

Budget I'd say I'd be willing to throw $500 at it.

Can't read an analogue sensor voltage with a digital shift register.
Leo..

Not trying to thanks.

I am only interested in logic high or low, just that phototransistors are more readily available to me and I already have it working small scale.

At 50 cents per part that would be over $500, but your prices must be quite a bit less than that including the PCB cost.

Suggest you use serial to parallel to enable VCC to one row of 8 transistors at a time, then read the result of that row.
Something like this, no time now (eye injection day) to add the photo transistors to the circuit.

For discussion only:


.

On second thought this would not work as shown, but something like this may work.

Maybe this one?

.

Got my eye done.

Not tested.

Edit:
May need to add a blocking diode to each photo-transistor

.

LarryD:
At 50 cents per part that would be over $500, but your prices must be quite a bit less than that including the PCB cost.

It's a conservative figure, by no means absolutely fixed just an ideal maximum.

I already have a stockpile of Arduinos, and I own a CNC router so plan on fabbing my own boards.
As for the rest of the discrete components it's amazing how cheaply you can get stuff from China.

Suggest you use serial to parallel to enable VCC to one row of 8 transistors at a time, then read the result of that row.
Something like this, no time now (eye injection day) to add the photo transistors to the circuit.

An amazingly simple solution, didn't think of using a shift out register together, that reduces part count quite a bit.

I hope you didn't spend too much time with that diagram it's more than I ever expected.

The diagram is from a 64 button keypad I made a while back.
I just swapped out the switches for photo-transistors.

For each 74LS595 you add to the cct. you get another 64 sensors.

Do you have a link to the photo-transistors?

.

I have not done the math but Crossroads offers a Bobuino 1284 PCB.

16K SRAM

.

LarryD:
Do you have a link to the photo-transistors?

You mean datasheet or actual supplier?

LarryD:
I have not done the math but Crossroads offers a Bobuino 1284 PCB.

16K SRAM

.

What would be the advantage of the Bobuino? If it's just the extra RAM I intend on using a Raspberry PI as my master, not only does it have plenty of RAM but also built in display support so I can easily output the data from the array.

Supplier link to the transistor.

Raspberry Pi ???
This is Arduino land.

LarryD:
Supplier link to the transistor.

That's just one of many on Alibaba/AliExpress, still fishing around but I would be getting 3mm infrared phototransistors.

Raspberry Pi ???
This is Arduino land.

Hey we're all friends here :slight_smile:

Find me a good Arduino with more RAM and HDMI output (heck 10,000 GPIO while your at it) and I'll be your best friend forever :stuck_out_tongue: