
Median vs. Average, Arduino Calculations
If we want to average a set of numbers, we add them together, then divide by the number in the set. 150 + 200 + 0 = 350 / 3 = 116 Average I’m using int and dropping the fractional parts. Use
If we want to average a set of numbers, we add them together, then divide by the number in the set. 150 + 200 + 0 = 350 / 3 = 116 Average I’m using int and dropping the fractional parts. Use
Calling all Model Railroaders (ok, it’s not just for Model Railroading)! Remember our Scale Speedometer and Crossing Light project? We used IR transceivers in the track to detect a train passing overhead. Perfect for block detection and other projects. We
Two common ways of using a transistor is as an analog amplifier, or a digital switch. We are most interested in the digital switch mode of a transistor in our projects. Many times, an Arduino, or other microcontroller, is not
One of our favorite new toys is the ESP8266 WiFi module. A very powerful microcontroller in it’s own right, it’s easily programmed with the Arduino IDE, and uses the same code we have come to know and love. Update: Now
If you need to switch a dc load, a MOSFET is a very useful component. Typically carrying much more current than a standard transistor, and better performance characteristics, like a high impedance gate that draws very little current. BJT’s are
Recent Comments