Does anyone know what the maximum current a GPIO input can handle?
Here is a screenshot of the home sensors schematic and the sensor PCB (R1 = 100 ohm).
The reason I am asking is I replaced the controller ( Itsy Bitsy 32u4 3v ). Then I the ran test code and it worked properly with the sensors disconnected. Then I bench-connected the sensor. The output voltage is 2.74V with the blocked and 100mV unblocked. The test code properly reads the GPIO pins (.1 blocked and 0 unblocked ). Then installed the sensors the test code failed. So I removed the sensors and ran the test code. It did not work.
This is the code that is failing.
while(digitalRead(CCW_Home_Pin))
Since was working before I connected, the sensor then failed after connecting the sensors. It still fails even when the sensors are disconnected!!!
So something is blowing the GPIO sensor pins. Does anyone have a clue on what is might be happening?
Comments