DS2401 + Multiplex

Are there any problems with the following setup:

Arduino

Multiplexer

X st Phone connectors 3.5 mm (Ex 3 * 3 Connectors)

Phone plug whit DS2401

Can I with the above setup and in the program loop and read the ID of the DS2401. For example, to program the TIC-TAC-TOE if about half of the DS2401 ID = black and half ID = white.

Programming is no problem, but want to check that I'm going in the right lanes on the hardware part.

/ Nimos

a diagram will help I think. but if they are all connected in parallel yes it should work.
But check for the max slave number allowed with the pull up resistor.

Read the One wire protocol I think that can help you :slight_smile:

think to use the sleeve (ground) and the tip (OW) contacts of a stéréo jack and not the ring because short circuit can occur when introducing the plug in the socket
or simply use mono jack :slight_smile:

Thanks for the quick reply!

I read through the Read the One wire protocol that you linked to and found...

Think I'm so sure it will work so I will order some parts so I can start testing the concept!

/ Nimos