From the course: Learning Arduino: Foundations

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Troubleshooting: Arduino wiring

Troubleshooting: Arduino wiring - Arduino Tutorial

From the course: Learning Arduino: Foundations

Troubleshooting: Arduino wiring

- [Instructor] Another issue when working with Arduino is something called a floating pin. A floating pin simply means a digital input pin acts as if it is an unconnected pin, so it's not connected to either voltage or a ground. And this will cause the pin to randomly return either zero or one, low or high. Kind of fluctuates between the two values. Now, sometimes this issue may also happen even if you have the circuit connected and this is what I'm going to cover in this video. So using this same circuit setup, if you see that the LED is always on or the LED may blink erratically, regardless if the push button is being pressed or not. And if you check the serial monitor in Arduino software, you can see it showing a value of one all the time or sometimes you might even see it fluctuating between zero or one in a very random pattern. This may happen if you have the wiring in the wrong place as you can see on the screen. For…

Contents