Search found 3 matches

by tpires
Tue Oct 06, 2020 6:18 pm
Forum: Hardware
Topic: ESP32 reading from Attiny85 sensor through I2C protocol
Replies: 5
Views: 5864

Re: ESP32 reading from Attiny85 sensor through I2C protocol

boarchuz wrote:
Tue Oct 06, 2020 12:57 pm
Also the Tiny at 5V could well be a problem: a logic high on the I2C bus may not be high enough.
Investigate powering it from 3v3 or using level shifters.
Hi, thanks for the answer as well. Please check my answer to the previous reply, all help is very well received! :)
by tpires
Tue Oct 06, 2020 6:14 pm
Forum: Hardware
Topic: ESP32 reading from Attiny85 sensor through I2C protocol
Replies: 5
Views: 5864

Re: ESP32 reading from Attiny85 sensor through I2C protocol

First of all, I2C needs pullup resistors to Vcc to work. Suggest you add two resistors (anywhere between say 2.2K to 10K) to the SCL and SDA lines to 3.3V. If that doesn't work: Can you expand a bit on what results you *do* get? Do you have a logic analyzer or scope to look at the signals? I've tri...
by tpires
Mon Oct 05, 2020 3:02 pm
Forum: Hardware
Topic: ESP32 reading from Attiny85 sensor through I2C protocol
Replies: 5
Views: 5864

ESP32 reading from Attiny85 sensor through I2C protocol

Hi all, I'm having difficulties connecting a ESP32 to an attiny85 through i2C protocol. The attiny was programmed with an Arduino UNO (in arduino IDE) and is programmed to read a current and send two bytes with the reading upon request as follows: //UPLOAD TO ATTINY85 in order to pass on readings fr...