Feeding analog voltages to digital microcontroller inputs already got us some interesting effects, but what about leaving an input pin entirely disconnected? All of a sudden microcontrollers become sensitive to the weather outside, and the clothes we wear—or any other source of electrostatic. The easy way to deal with this is to always ensure that […]
While digital inputs on microcontrollers are meant to be fed digital input signals, what will actually happen if we feed them a real world input voltage? And what is a Schmitt Trigger, and what is it good for anyway?
Reading basic digital input with a microcontroller is fairly straightforward—at least as long as you really keep things simple and don’t do some of the advanced stuff following in the next few episodes.