7 years, 7 months ago.

Problems when communicating with UART& I2C interfaces

Hello guys,

please I need Help! I have NUCLEOF401RE board which I want to connect it with - DHT22 (Temperature & Humidity sensor) via PA_8 as GPIO where DHT22 spits out a digital signal on the data pin. using this code https://developer.mbed.org/teams/Skovbrynet/code/DHT22tester/ - BMP180 (Pressure & Temperature sensor) via I2C interface (PB_8/ I2C_SCL, PB_9/I2C_SDA). using this code https://developer.mbed.org/users/mikawataru/code/nucleo_BMP180/ - ESP8226 (wifi module) via UART_1 interface (PA_9, PA_10). using this code https://developer.mbed.org/teams/components/code/HelloESP8266Interface/ I working with Ubuntu, mbed OS.5, and minicom as serial console. I am getting no values/ results carried out from the serial interface or from the I2C interface!

from the DHT22 sensor I got this output:

/media/uploads/Mias/bildschirmfoto_vom_2016-09-05_13-25-49.png

from the BMP180 I got this output:

/media/uploads/Mias/bildschirmfoto_vom_2016-09-05_13-57-19.png

from the ESP8226 I got this output:

/media/uploads/Mias/bildschirmfoto_vom_2016-09-08_13-56-10.png

So in all cases I am getting no results! the baudrate is always set to 9600 in all of the examples.

Anyone knows what might be the problem?

Be the first to answer this question.