Could someone help me with something like this? I wanted to add DS18N20 thermal sensor (http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf) via 1-wire interface and when I'm trying to connect it to ATZB-24-A2 (http://www.farnell.com/datasheets/1738045.pdf), which is using ATMEGA 1281 processor, this way
or this way
I'm receiving random bytes on COM terminal (I'm using FTDI chip). What could happen and how to fix it?
EDIT: I'm not even configuring anything in my software, it just starting mess without my interfere.