Skip to main content
9 events
when toggle format what by license comment
Jul 23, 2023 at 12:58 comment added 6v6gt @Iliketurtles It is clearly getting worse. What you are now describing is either a problem with the IDE installation or the USB functionality of your NodeMCU. It must have worked better before for you to have seen the "garbage" characters which you reported originally. Maybe open a new topic exclusively for this latest problem.
Jul 23, 2023 at 5:43 comment added Iliketurtles I have a slight problem: I have kind of soldered the pins in place and that includes an analogue pin(A0(again from the pin marking on the board)), as well as its gnd and +5v pins. I am also getting this problem where the port dropdown is greyed out
Jul 16, 2023 at 3:52 comment added 6v6gt @Iliketurtles Yes. const int reedSwitchPin = 4; is correct. So you then connect the anemometer to the pin marked D2 on your nodeMcu board. If you have anything else connected to other pins on your nodeMcu, say a led, then temporarily disconnect these. If you still have problems then select the baud rate which gives the most understandable output on the serial console and add this output to your original question.
Jul 16, 2023 at 0:00 comment added Iliketurtles oh, so i should say in the code to use const int reedSwitchPin = 4;
Jul 14, 2023 at 12:29 comment added 6v6gt @Iliketurtles You appear to have difficulty with the two different pin numbering system in use on the nodeMcu. Search for a nodeMcu pinout diagram to see the translation between the GPIO and "D" pins. In the case here const int reedSwitchPin = 2; the 2 is a GPIO pin. On the nodeMcu board this is labeled D4. Try the suggestion I gave in my answer .
Jul 14, 2023 at 10:33 comment added Iliketurtles I wasn't the one that voted down but just saying that I thing I was using D2 not D4, at least hardware wise. should I try using D4 because D2 was the one I was using before?
Jul 14, 2023 at 5:58 comment added the busybee Whoever voted down, please add a comment, why.
Jul 14, 2023 at 4:01 history edited 6v6gt CC BY-SA 4.0
added 124 characters in body
Jul 14, 2023 at 3:26 history answered 6v6gt CC BY-SA 4.0