Fading LED: analogWrite millis() Example

Add a fading LED without delay()

Fading LED millis() Example

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.

Continue Reading »

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?

Neither had I until Techmoan covered the RCA CED Videodisc on his YouTube channel. It appears over 1,700 movies were released in the United States alone. Check out the both videos for details on CED.

If you enjoy Electron Microscope pictures like I do, then you’ll enjoy this video.

 

Neil deGrasse Tyson’s 4th Nerdist Interview

Neridst Podcast
20-SEP-2016

You are probably familiar with Neil deGrasse Tyson. He is as brilliant as he is entertaining. That fact is why I was so excited when I saw his name pop-up on my queue for the Nerdist Podcast.

Nerdist Podcast

In the past, I suggested some electrical engineering podcasts. The Nerdist isn’t like those. Hosted by Chris Hardwick, each episode includes an interview. As the podcast’s name suggests, most of the guests have some roots in today’s nerd or geek culture. So while not an engineering podcast, there may be the occasional guest that interest you.

4 Great Things Neil deGrasse Tyson on Nerdist Said

This episode was the first time I took notes while listening to the Nerdist. Here are four quotes I captured, that make listening to the entire episode worthwhile.

(more…)

Measure PWM Current with a Modified Moving Average

How do you measure a signal that keeps changing?

Measure PWM Current with MMA

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).

Continue Reading »

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’!)

Tutorial Contents

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.

You can see the full Brushed DC Motor Tutorial on YouTube or on the AddOhms page.

Social Media Guide for Engineers, a How-To

Click here to find the 1 magic trick to using social media ;)

Social Media Guide for Engineers

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 »

3D Printer Tips I wish I knew 3 years ago

Here's how I stopped getting annoyed

3d printer tips by bald engineer

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.

Continue Reading »

5 Common Arduino Programming Mistakes

Code compiles but doesn't work? Check these 5 mistakes.

5 common arduino programming mistakes

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 »

3 Way Camera Shoe

Thingiverse.com
17-JUL-2016

DSLR Shoe AdapterWhen recording videos for either baldengineer.com or, more often, AddOhms, I need at least two things attached to my camera. I used a Canon T5i. The two devices I need to have connected are a shotgun microphone and a wireless receiver. In the past, I just let the remote’s wireless receiver dangle. That really bothered me.

I’m still surprised this DSLR shoe adapter didn’t already exist on Thingiverse. Anyway, I created one. Head over to Thingiverse to download it.