Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
0message.txt
Hi @ministerjohn98 your code is good for the job , but issues like this could be hardware related , you might want to verify your wiring or connections, or check your power supply too, or still still you check if your libraries are correctly installed or up to date or even compatible
Good morning, Sir. I have checked the libraries and updated them. Also, I have as well checked the wiring, but on my Serial Monitor it keeps showing “Sensor initialization failed”. What else should I do
Hi @ministerjohn98 Please cross check the slave address from the datasheet. Just make sure your i2c sensor initializes properly in case if you don’t receive data. I suggest using debugger to debug and see what’s going on in the code. Unfortunately, I haven’t had an opportunity yet to work on the sensor you mentioned.
CONTRIBUTE TO THIS THREAD