Написание библиотек для Arduino IDE

Lion777
Offline
Зарегистрирован: 20.05.2016

ну так я объяснил почему так не делал, в даташите всеравно рекомендуют 5кОм

xDriver
xDriver аватар
Offline
Зарегистрирован: 14.08.2015

Я так и знал, что дойдем до даташита, можно ссылку ?

я как не попадал на море даташитов про этот датчик, про  подтягивающий +5 так и не нашел, номинал , нужен/не нужен.

в типовых схемах, да ....

без ироний, без подкола... чесна ..

Lion777
Offline
Зарегистрирован: 20.05.2016

Microprocessor and DHT11 of connection typical application circuit as shown above, DATA pull the microprocessor I / O ports are connected. 1. Typical application circuit recommended in the short cable length of 20 meters on the 5.1K pull-up resistor, the resistance of greater than 20 meters under the pull-up resistor on the lower of the actual situation. 2. When using a 3.5V voltage supply cable length shall not be greater than 20cm. Otherwise, the line voltage drop will cause the sensor power supply shortage, caused by measurement error. 3. Each read out the temperature and humidity values are the results of the last measurement For real-time data, sequential read twice, but is not recommended to repeatedly read the sensors, each read sensor interval is greater than 5 seconds can be obtainedaccurate data.

если больше 20м кабель, то еще ниже номинал должен быть

xDriver
xDriver аватар
Offline
Зарегистрирован: 14.08.2015

пожалуйста, мне нужен 

Datasheet

или ссылки на него, цитаты, да же, с уважаемого мной, сайта ДиХалта, или иного не надо.

ну что так трудно поделится информацией ?

откуда этот отрывок ?

и так на минуточку, мы про DHT11 или про DHT22, или про все вместе ?

xDriver
xDriver аватар
Offline
Зарегистрирован: 14.08.2015

да сам, нашел, почитал, это относительно DHT11.

у меня вопрос, с темы не съзжаем ?  или это конец топика ?

или пошло измерения, чего бы там не было ?

b707
Offline
Зарегистрирован: 26.05.2017

xDriver пишет:

у меня вопрос, с темы не съзжаем ?  или это конец топика ?

xDriver - ничего другого и не следовало ожидать, если человек, не понимая железа, начинает библиотеку писать

Lion777
Offline
Зарегистрирован: 20.05.2016

DHT22

https://akizukidenshi.com/download/ds/aosong/AM2302.pdf

3 страница

Special instructions of the single-bus communication: 1.Typical application circuit recommended in the short cable length of 30 meters on the 5.1K pull-up resistor pullup resistor according to the actual situation of lower than 30 m. 2.With 3.3V supply voltage, cable length shall not be greater than 100cm. Otherwise, the line voltage drop will lead to the sensor power supply, resulting in measurement error. 3.Read the sensor minimum time interval for the 2S; read interval is less than 2S, may cause the temperature and humidity are not allowed or communication is unsuccessful, etc.. 4.Temperature and humidity values are each read out the results of the last measurement For real-time data that need continuous read twice, we recommend repeatedly to read sensors, and each read sensor interval is greater than 2 seconds to obtain accuratethe data.

 

---

DHT11

https://akizukidenshi.com/download/ds/aosong/DHT11.pdf

3 страница

---

DS18b20 (протокол 1-wire)

https://cdn.sparkfun.com/datasheets/Sensors/Temp/DS18B20.pdf

4 страница