> I've got a situation where I need to sense maybe 24 contact closures to > "ground" and drive about 24 open drain outputs. The sense and drive > circuitry needs to be on an isolated supply to avoid a ground loop with > the equipment that is driving it (referenced to its ground). It seems like > the simplest way to get data back and forth is to use a UART in a PIC on > the floating side and two opto-couplers, one in each direction to talk to > a UART on the nonfloating side. > > Any ideas for something simpler? I don't get the full picture. Is there one "ground" to which the switches close, or one per switch? Idem for the OC outputs? -- Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist