[ 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.1456569 [View]
File: 9 KB, 738x572, baffling_confusion.png [View same] [iqdb] [saucenao] [google]
1456569

>>1456285
What the hell, how would pic related be always on. Recheck your wiring.
Also use something like 100k resistor for pulldown.

What now is happening - due to button bouncing during actual time when sensor is initialising it probably locks up. Some ICs do not take lost power during power on too kindly.
And since your sensor and probably code locks up, you can thank retards that wrote arduino core libraries and disabled watchdog.

Also before you read sensor check if it actually responds with tcs.begin(), maybe use it in a loop

>>1456473
>not even properly showing bouncing effect just some voltage dip which is way above high state threshold
>literally using delay in code for button debouncing
Entire video is just painful to watch

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