[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1568838 [View]
File: 23 KB, 361x361, 770429e8-d55c-457f-9235-2e388da1ae01.jpg [View same] [iqdb] [saucenao] [google]
1568838

On my 3d printer I have this switch which gets pressed by fillament to signal to the printer it hasn't ran out, but sometimes i get a false positive that the fillament ran out even though it did not and when i checked with a multimeter, the switch was pressed and and closed, so how in the fuck did PI get an open reading?
the reading is done on gpio on a raspberry pi, which pulls an input pin high, and the endstop keeps it pulled to ground in low state and it filament runs out it opens and the the raspberry reads the pin as high (with nothing to pull it low)and stops printing
so with a simple system like that how in the fuck am i getting false positives?

Navigation
View posts[+24][+48][+96]