Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi,
DHT11 has four pins namely DATA LINES,VDD,GND... Data lines are single wire each but in both ways. Refer the datasheet. It clearly says complete data transmission is of 40 bits. So, no analog pins out from DHT11 sensor.
Most microcontrollers have multiple uses for various pins. For example, the ubiquitous ATmega328 uses PORT C for analog input. It also uses PORT C bits 4 and 5 for I2C SDA and SCL in digital mode. A quick reference to the data sheet for the processor you are using should reveal whether an analog pin can alternatively be configured as a digital pin.
It is not clear whether OP wants to share a just added I2C device with an analog port in use, both working alternately, or if the issue is how to configure the muxes of the microcontroller - as all we are guessing. A few more words spent would avoid this thread become useless.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.