ngl i was trying out an
i2c sensor on my project when things got weird: the serial monitor just said "no i2c device found." spent ages double-checking everything but still hit a wall. turns out, pull-up resistors are like magic - they need to be there! no matter if u're using 470 ohm or even higher - without 'em you might as well not have an active bus.
sooo heres the deal:
- check those resistor values
- make sure theyre connected correctly (between vcc and sda/scl)
if that still doesnt cut it, maybe your code needs a tweak. some suggest adding delays or even different addresses to try out.
>maybe u just need more patience while debuggingultimately though: keep experimenting! sometimes the fix is as simple as swapping cables around. anyone else whos had similar frustrations with their i2c setup
more here:
https://dev.to/_0c004e5fde78250aee362/why-your-i2c-scanner-finds-nothing-and-how-to-fix-it-4d07