Tutorials

Shift registers and seven segment displays in Arduino

In previous tutorials I showed how to use seven segment displays, how to use shift registers and how to daisy chain shift registers, and talked a bit about persistence of vision.  In this tutorial we’re going to combine shift registers and seven segment displays to make an Arduino control two four-character seven-segment displays, a task that (at first glance) might not seem possible.

(more…)

Tutorials

How to setup NodeMCU drivers and Arduino IDE

The first time using a new microcontroller is what I call funstrating, especially if you don’t have clear instructions.  We’ve done the hard work of figuring out the NodeMCU drivers and NodeMCU Arduino IDE setup for you.  Read on for the two steps that have to be done only once.  More helpful info at the end, too.ELEC-0108 nodemcu (more…)

shared anodes and cathodes preview
Tutorials

Shared Anodes and Cathodes

Shared anodes and cathodes are a common technique used to control lots of LEDs with a small number of microcontroller pins.  I’m going to talk about why share anodes and/or cathodes.  Then I’ll show an example of shared anodes, an example of shared cathodes, and finally combine the two for some more impressive results.

(more…)

ELEC-0116 shift register
Tutorials

How to daisy chain 74hc595n shift registers

In the previous post we learned how to use a 74hc595n shift register.  I mentioned briefly that shift registers could be daisy chained – connected end to end – to increase the number of available connections without using extra resources on the Arduino.  In this post we’ll cover why daisy chain shift registers, how to plug them together, what changes in the code, and show some examples in a video at the end. (more…)