Hello ,
can someone can help me understadn the logic beyond the pullups?
this is what I know (please correct me if I’m wrong):
- usually the Arduino\pi is the server and the sensor device is the client
meaning that the scl go from the arduino\pi to the device.
2.the sda goes both-ways - the arduino\pi “ask” something and the devcie return to him an “answer”.
-
all the data\clock will will be 5V (assuimg the Arduino is 5V and the device is 5V also).
-
I understand I need to use pullups to avoid “noise” in the system.
if I’m correct until here this is the main question:
noraml states on the line:
“0” - Arduino is sending “0” and the device get “0”
“1” - Arduino is sending “1” (which is 5V) and the device is getting 5V
what if the arduino is sending “0” and there is noise of 1V on the line , how does the pullups help me?