> I try a lot of codes
Huh, funny strategy.
> but were very complex for me to understand.
First you must understand how the bus is working: SPI for example are
simple coupled shift registers. The I2C is also clk synced, but a little
more tricky at transacting the bus (START, STOP, CLOCK STRETCHING). And
at the one-wire you must have a more sophisticated FSM to control the
interactions and the protocol.
> I have 5 specified sensor which comunicate trought OneWire, I2C and SPI.
And what will happen with the data you aquired?
What sensors do you have?