It’s a well-known fact of engineering: LEDs make everything look better. And that means a Fading LED is even better. Using Arduino’s analogWrite(), fading a LED is just a matter of a loop. If you use delay(), you can’t easily add other actions. What can you do? Well, Fading a LED with millis() is pretty simple. Here’s the code to do it and a quick explanation.
Ben Krasnow from Applied Science on YouTube uses his Electron Microscope to compare spinning media. The part of the video that caught my attention is the Vinyl Record. Not only does he show the groove and needle, but he puts it in motion! It’s a great look at how this technology works.
Additionally, I loved how he went into detail about how to prep the record for use in the electron microscope. (Spoiler: he had to make the record and needle conductive.) After the vinyl, he also compares a CD and DVD. The twist is that he also shows how a Capacitance Electronic Disc (CED) compares to the vinyl. You never heard of a CED?
If you enjoy Electron Microscope pictures like I do, then you’ll enjoy this video.
Pulse Width Modulation (PWM) makes it possible to dim lights, control the speed of motors, and (with the help of filters) generate analog reference voltages. When measuring the voltage or current of a PWM signal, there are unique challenges. You can use this tutorial to measure PWM current with a modified moving average (MMA).
How a Brushed DC Motor works and how to use them
This Addohms Electronics Motor Tutorial goes into the third dimension. Using a 3D model, we show what makes a brushed DC motor, well, a “brushed motor.” (Hint: It’s the brushes!) Then, as usual, we break down two simple ways to control them with a microcontroller like the Arduino. You can use a single BJT Transistor (remember those from #10?), build a discrete H-Bridge to go in both directions, or use a popular H-Bridge chip like the L293D or L298D. (Notice the ‘D’!)
The video starts with a couple of (mixed) motor examples. Do you know what a “stator” or “rotor” is? If not, that’s okay because that’s one of the first things we explain. After that, we add part like the commutator and brushes to make the Brushed DC Motor. After that is control with a transistor and an explosive reason you need a protection diode. 🙂 Then we show how an H-Bridge Works. Lastly, the advantages and disadvantages of this motor type.
Engineers are notorious introverts. An untrue generalization is that introverts hate being social. Like all humans, introverts are social creatures. We just prefer only to discuss the topics which are of interest to us. We will listen to anything. This social media guide for engineers explains why and how you can participate in social media, without being social.
Let’s address something head-on. Gone are the days of just “here’s what I ate” or “I’m in the bathroom” social posts. Social media channels are mature platforms for communication. Sure, junk still exists. However. You can filter out the signal from the noise when you following my social media guide for engineers. Continue Reading »
Continue Reading »
While I bought my 3D printer a couple of years ago, in March of this year, it only had 75 hours of use. Since March, my counter is over 300 hours. Why? After spending some time doing the right tweaks my printer is printing crazy good. Here are some of my 3D printer tips.
Maybe you’re in the market for a printer, use one at school, get access to one through a maker space, or (like me) used to use yours for a desk ornament, these 3D printer tips are likely to help.
Whenever someone sends me some code that doesn’t work, there are a few common Arduino programming mistakes that I check. Some of these mistakes I make myself. In most cases my code will compile just fine. Sometimes, these mistakes won’t generate any compiler error.
When my Arduino code is acting up, these are the first things I check. Here are my 5 common Arduino programming mistakes, I use to debug non-working code. Continue Reading »
Continue Reading »