RFID system with mixed communication protocols

Hi, my name is TougHD and I am in dire need of Your help.

I have had an idea where it is possible to automate a production line. The goal would be to read from six sites, and store the information timestamped in a computer, hopefully in MS excel.

The reading is composed from 2 parts:

-the first is made with a photoelectric sensor, which gives digital output. (with this we measure if an item has passed the sensor).

-the second part is solved with an RFID(Radio Frecvency Identifier) reader. (with this we distinguish different workers in different sites, ie: XXX in on the 4. site).

The solution that I was thinking of is having a hardware configuration of:

-6 ID-12LA RFID readers(RFID Reader ID-12LA (125 kHz) - SEN-11827 - SparkFun Electronics) with 6 Arduino Nano (communicating with asyncronous TTL(Serial)).

-a Controllino MAXI(http://controllino.biz/controllino/maxi/) (equal to Arduino MEGA) connected to the 6 Nano through I2C.

-12 photoelectric switches connected directly to Controllino MAXI.

-a Router that connects the Controllino(Ctrl) and the PC (the Ctrl is connected to the router through Ethernet which uses the SPI bus).

I wonder if this configuration is going to work or it might need some extra items.
Let me know what do You think of this project.

Also if further clarifications are needed feel free to ask, I am all yours. :slight_smile:

Is this in a factory environment?
How long are the wires between the various components?

Using I2C, SPI and TTL signals on long cables is going to result in signal integrity issues.

I see no reason why it shouldn't work, with the appropriate code on each Arduino. It's not a trivial task to get all the code right, but if you work on in one part at a time, it is certainly possible.

mikb55:
Is this in a factory environment?
How long are the wires between the various components?

Using I2C, SPI and TTL signals on long cables is going to result in signal integrity issues.

Yes, it's some kind of a factory environment but it is more likely a warehouse, where vegetables are processed.

The maximum wire length is going to be around 5 m.

I2C at 100 kHz is there anything that needs to be taken for consideration?

I2C at 100 kHz is there anything that needs to be taken for consideration?

Reality. 100000 times per second to do what?

TougHD:
Yes, it's some kind of a factory environment but it is more likely a warehouse, where vegetables are processed.

The maximum wire length is going to be around 5 m.

I2C at 100 kHz is there anything that needs to be taken for consideration?

Maybe I expressed myself a little blurry.

What I have tried to ask is operating the I2C bus at 100kHz with a cable length of 5 m is a good idea?

What do you think will it work like this or some changes are needed?

Thank you for your precious time.