IoT Smart Plant Watering Kit Grove LED button intermittently lit

I just got done wiring up the plant watering kit and I decided to make some 2f to 1m dupont jumpers for my 3.3v pin. The schematic had me cut the grove connections and do this anyway so i figured it was safe. I recently rewired the kit to fit in a 3d printed box and now the Blue led grove button will not work, well not all the time. I bumped the box and it turned on, then bumped it again and it the led isnt lit again. I checked my ground, the LED pin is set to OUTPUT in the code, I checked to see if I had 3.3v at my jumper and everything checked out. I even took some 2 to 1 lever wire connections and checked to see if it was a bad ground or wire. Sometimes it will be dimly lit and after reading about the input_pullup, which the button that the LED is on is coded, I am wondering if there is anyway that the input_pullup code can be messing with the LED pin even though they are on separate pins?

I am thinking that maybe the LED being an OUTPUT on pin D5 shorted somehow and now I have a dead pin and am going to try another pin but I cant think of anything else that I can do to test it out and confirm what is going on.

I cannot read the frizzy thing but it appears it will not work, What powers the Arduino, 5V on Vin will not work. No clue to what all the fancy blocks are. A regular annotated schematic would be much better for many of us.

The arduino is being powered by a open ended 5 volt usb power supply that plugs into the wall. I am not sure how to make schematics, this is what I went off of. At this point it will work over the cloud and when I push the button it works just the LED doesn't light up. I think it may be the wire going to the LED output.

Your approach indicates you need to purchase a lot of spare Arduinos and other parts. Get a copy of the Arduino cookbook, skim it then read pertinent sections related to your project. By the time you get through that your existing problem will be easy to solve. Watch a few tutorials on basic electronics in between chapters of the Arduino Cookooko.

1 Like

I am getting there. By doing a lot of tutorials and really trying to dig into the IoT cloud because interconnecting devices fascinates me. So I changed the wire in the sketch and on the board and now the LED works. Not sure what caused it but I am happy that I was right after reading about digital input and output.

1 Like

Thanks for the advice I am going to get that book because I tend to have a lot of questions.

1 Like

Let us know how it goes, There are actually several updates on it, but all are very good. I still have it handy after several years, it is a great reference for me. You may be able to check it out of the library, not sure where you are at. I expect you will have a lot more complicated questions after you get through it which will be good.

I will definitely come back and revisit this conversation. I prefer books like that because its all compiled into one source plus, like you said, it can be a reference that is straight to the point instead of endless Google sites that are not exactly what you are looking for or end up being misinformation. Matter of fact, I am going to go and buy a copy of it right now and start this adventure the way I should have, from the ground up.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.