I am not a brainiac to find out witch byte i need to access to get the output.
Can anyone please help me with this problem.
Explore... Chat... Share...
Moderator: Mmiscool
Write:
B 0100 1000, IC address (address pin to Gnd).
B 0000 0001 set pointer to config register.
B 1100 0001 config bits 15:8 – set to read AIN0
B 1000 0011 config bits 7:0
End:
EDIT: A delay is needed here. I'm currently using 15ms but less will work you will need to test.
Write:
B 0100 1000, IC address (address pin to Gnd).
B 0000 0000 set pointer to conversion register.
End:
Read:
B 0100 1000, IC address (address pin to Gnd).
ADS sends back 2 bytes (MSB first) containing the value of the conversion register.
To read again
Read:
B 0100 1000, IC address (address pin to Gnd).
ADS sends back 2 bytes (MSB first) containing the value of the conversion register.
100 = AIN0
101 = AIN1
110 = AIN2
111 = AIN3
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]