I am very new in the arduino world, I am a french 20 student in Mathematics and physics, and I am having problems with my uv sensor (si1145). I am working with an arduino Uno, exactly the same way this man explained is his video : Arduino UV Index Meter - Working with Ultraviolet Light - YouTube Time code : 24m52s.
Unfortunately, when I open my monitor after uploading the code ( which is si1145test ), I have "didn't find any si1145'.
Any ideas why ? I join a photograph of the code in the topic.
Thank you very much for any help you could give me, and thank you for the time you can give me.
So I've just ran the i2c scanner program. I have on my monitor : Scanning...
Unknown error at address 0x02
No I2C devices found.
I wired my si1145 exactly the same way the video told me. I have no idea why it does not work.
Besides, I noticed that my si1145 does not stand on its own on the "small pimples" provided. That is to say that if I turn my sensor over completely, my sensor falls off, do you think that's where it comes from ?
Is that possible that my si1145 is faulty ?
thank you for the help you are giving me.
EDIT : when I play a bit with the si1145, I can have : Scanning...
I2C device found at address 0x60 !
done
And my code is working. So, I think that was a false contact with the small pimples that aimed at holding the si1145 on the shield. When I received it, I separated the 6 pimples which created irregular spaces between the pimples, and what created the false contact.
Thank you for your help !! I really appreciated it
Idahowalker:
When you ran the I2C scanner program, what was the thingies I2C address?
you are right, thx, but it is maybe the reason why my sensor was not detected. I had to play a bit with its position to get a signal.
I'll try to solder them then.
Thank you for your help.
Idahowalker:
I do not think you are legally or morally bound to solder the pins onto the module.
I think your false kindness that you hide behind a heavy and insistent sarcasm will play tricks on you, sir. If you read my comments, you would have known that I am French, that I am 20 years old, and that I study maths and physics, not arduino !
There's no point in gently "making fun" of the incompetence of others in areas that I haven't mastered. I am interested in arduino for a project, I asked you for help with great humility, so please, you don't need to assert your superiority because you helped me, and perhaps because I ask "stupid questions" that are not stupid because I try to learn.
On that note, I thank you very much for your help all the same, and wish you all the best for the future.
Idahowalker:
I always solder pins to headers.
Looked inside your computer? How many parts are not soldered onto the board?
Oi!, leave all the electronics in your car unsoldered and hit a bump in the road!!
Is it really a discussion of should the pins be soldered onto a module? You really don't know?
Oh My Gosh, I apologize for not getting that this was a real question and acting like it was a joke.