-->
Page 2 of 2

Re: ESP8266 I2C Master to Atting85 I2C Slave issue....need h

PostPosted: Fri Jan 08, 2016 7:01 pm
by Greg1978
Lol...I just realized I did the entire image using a picture of it wired up wrong. When the GND was wired up correctly it still was not working.

I even dug out the oscilloscope and noticed that the slave never responded.

Well I burned a new boot loader onto he Attiny85 to run at 8mhz instead of 1mhz and now it is working.

Any way to make it work with the Attiny85 running at 1mhz instead of 8mhz?

Re: ESP8266 I2C Master to Atting85 I2C Slave issue....need h

PostPosted: Sat Jan 09, 2016 11:20 am
by martinayotte
Looking quickly at the code found https://github.com/rambo/TinyWire/blob/master/TinyWireS, it rely on micros() function to do the timing, but this function is in attiny85 environment itself, and probably need to be tweak for 1MHz operation.
Maybe there are already some #defines related to that.

Re: ESP8266 I2C Master to Atting85 I2C Slave issue....need h

PostPosted: Tue Dec 05, 2017 3:24 pm
by Rovale
Has anybody been able to make this setup work? Here the NodeMcu discovers the ATTiny85 I2C slave only every now and then (after resetting or when I remove and replace a wire).

I tried pull-up resistors, but then the I2C slave is never discovered.