Attiny85 ADC Pin besides PB3

Hi,
I try to connect RF433, LCD(I2C) and Soil moisture sensor to Attiny85.

I can't get RF433 working beside PB3(Pin3) and also my analog soil sensor only work with this pin otherwise it'll read only 0/1. PB0 and PB2 for i2c lcd.

Thanks;

Pin 3 is the only pin where the ADC3 is on Pin3
ADC1 is on pin PB2
ADC2 is on pin PB4

ADC0 is on the reset pin, so you cant use that, unless you disable it as reset pin.

PB0 and PB1 have no connection to the Analog to Digital Converter

Pinlayout of the ATTINY 85
                                         +-------+
             (PCINT5/RESET/ADC0/dW) PB5 -| 1   8 |- VCC
PIN 3 (PCINT3/XTAL1/CLKI/OC1B/ADC3) PB3 -| 2   7 |- PB2 (SCK/USCK/SCL/ADC1/T0/INT0/PCINT2) PIN 2 
PIN 4 (PCINT4/XTAL2/CLKO/OC1B/ADC2) PB4 -| 3   6 |- PB1 (MISO/DO/AIN1/OC0B/OC1A/PCINT1) PIN 1 PWM
                                    GND -| 4   5 |- PB0 (MOSI/DI/SDA/AIN0/OC0A/OC1A/AREF/PCINT0) PIN 0 PWM
                                         +-------+

It seems like the board is not suitable for the project.

1 Like

Thanks, I manage to change ADC to PB4. and keep PB3 for my rf433 radio

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.