Max cable length for DS18b20 and AM2301
Posted: 16 Aug 2022, 12:38
What are the experiences of the Dear Colleagues from the forum? What is the max cable length for DS18b20 and AM2301?
For SOnnOff, extension cords as long as 5 m are available (on Ali for example).
Something does not bother me that ESP is working properly then.
I am thinking of using a shielded headphone cable with each wire individually shielded.
The data cable, of course, pull-up to 3.3V.
Is the length of 3 m too long?
And one more question.
Do I connect several DS18b20 (4-5 pcs) to one GPIO or each to a separate one?
And can I connect both DS18b20 and AM2301 to the same GPIO? Or each type to separate GPIO?
For SOnnOff, extension cords as long as 5 m are available (on Ali for example).
Something does not bother me that ESP is working properly then.
I am thinking of using a shielded headphone cable with each wire individually shielded.
The data cable, of course, pull-up to 3.3V.
Is the length of 3 m too long?
And one more question.
Do I connect several DS18b20 (4-5 pcs) to one GPIO or each to a separate one?
And can I connect both DS18b20 and AM2301 to the same GPIO? Or each type to separate GPIO?