pstolarz / OneWireNg

Arduino 1-wire service library. OneWire compatible. Dallas thermometers support.
BSD 2-Clause "Simplified" License
89 stars 20 forks source link

Library cannot work with Arduino Opta #63

Closed MarlinNano closed 6 months ago

MarlinNano commented 6 months ago

I tried connecting a DS18B20 sensor to an Arduino Opta using this library. The problem is that the OneWire protocol is half duplex, while the Arduino Opta only has digital inputs, not outputs (the only outputs it has are the four relays). Arduino Opta datasheet

pstolarz commented 6 months ago

Yes, it looks like you are right. The device doesn't offer general purpose GPIOs.

uzi18 commented 6 months ago

What about aux connector?

MarlinNano commented 3 months ago

What about aux connector?

I think it will be possible using the AUX connector, however until now I don't think Arduino has released a 1-Wire expansion board for the OPTA. I found this cool little breakout board someone made that enabled serial and I2C for the OPTA, here is the link.

pstolarz commented 3 months ago

Looking at the Opta schematics I see some IN_x pins are connected directly to STM32H PFx pins which serve as generic I/O. So what's the problem to use them for 1 write bit banging?