Magari a qualcuno può interessare ...
... ho trovato QUESTO integrato della Maxim (DS2480B) che permetti di gestire vari device 1-wire interfacciandosi con la MCU attraverso una normale seriale (ovvero il chip si occupa di tutta la gestione del 1-wire, dell'adattamento delle velocità tra il bus seriale e quello 1-wire, ecc. ecc.).
Viene così descritto da Maxim:
• Simplifies the Design of a Low-Cost, Universal
RS-232 COM Port to 1-Wire® Interface
True-Ground
o Interface to an RS-232 COM Port for Reading
and Writing 1-Wire Devices
o Works with Bipolar as well as Unipolar Logic
Signals
o Slew Rate Controlled 1-Wire Pulldown and
Active Pullup to Accommodate Long Lines
and Reduce Radiation
o Communicates at Data Rates of 9.6kbps
(default), 19.2kbps, 57.6kbps, and 115.2kbps
o Self-Calibrating Time Base with ±5%
Tolerance for Serial and 1-Wire
Communication
o User-Selectable RXD/TXD Polarity
Minimizes Component Count When
Interfacing to 5V Based RS232 Systems or
Directly to UARTs
o Smart Protocol Combines Data and Control
Information Without Requiring Extra Pins
o Compatible with Optical, IR, and RF to
RS232 Converters• Single Product Supports Various iButton® or
1-Wire Device Types for Easy System Integration
o Supports Reading and Writing at Standard
and Overdrive Speeds
o Provides Strong Pullup to 5V for Temperature
and EEPROM 1-Wire Devices
o Programs 1-Wire EPROM Devices with
External 12V Power Supply
o Programmable 1-Wire Timing and Driver
Characteristics Accommodate a Wide Range
of Slave Device Configurations at Standard
Speed
o Operates Over 4.5V to 5.5V from -40°C to
+85°C
... e, molto probabilmente, nel caso di più devices 1-wire sullo stesso bus, semplifica parecchio il software, evitando di doversi portare dietro tutta la gestione di detto bus, permettendo di fare tutto con comandi dati via seriale.
Solo per completezza segnalo che MikroE ci ha fatto una delle sue tante Click board, la UART 1-Wire Click
Guglielmo