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 »
A couple of weeks ago I wrote about four current flow direction myths. As a follow up to that popular post, I decided to dedicate this month’s AddOhms electronics tutorial video to Current Flow. In episode #19, I tackle the question of which way does current flow.
You might have heard about “conventional flow” and “electron flow.” In conventional flow, we assume that current flows from the positive voltage towards the negative voltage. In digital, the “negative voltage” is usually called ground. However, that’s not how the electrons move nor is it how they carry the charge around a circuit path.
Electron flow is the description of how electrons carry a charge. Which is the negative voltage towards the positive? This confusion is a result of Ben Franklin mistakingly identifying how electrons moved so many years ago. Yet, we have kept the “positive” and “negative” labels as they are today.
The key though is that it doesn’t matter which method you use to analyze a circuit. Electrons move in a closed path. So whether they travel from positive to negative or from negative to positive, doesn’t matter!
AddOhms #19: Current Flow Direction
Almost all microcontroller (and microprocessor) development systems use some form of a bootloader. Often called firmware, mistakenly, the Arduino bootloader is one example. Since it is a rather popular platform, let’s use it as an example. Let’s talk about what a bootloader does and how it works.
When a microcontroller turns on, it only knows how to do one thing. Typically, that one thing is to run an instruction found at a specific memory location. Often this location address 0x0000, but not always. Usually, this memory location will contain a jump instruction to another place in memory, which is the start of the user program. The bootloader, however, exists in a slightly separate memory space from the user program.
On power-up or reset, a bootloader is a section of program memory that runs before the main code runs. It can be used to setup the microcontroller or provide limited ability to update the main program’s code.
A KiCad BOM is a list of all the parts your design is using. The term BOM, or bill-of-materials, is standard for supply chain management and does not just apply to electronics. KiCad’s eeschema has a BOM export feature. Unfortunately as of Version 4.0, this feature is still somewhat lacking. Given the limitations, here are some tips to take your KiCad BOM from Schematic to Mouser.
Spending a few extra minutes while capturing (drawing) your schematic thinking about your KiCad BOM can save you a ton of time later on. Moreover, as you build up a database of parts, these extra minutes turn into seconds. Here are a couple of ways to describe your parts, especially passive components, better while drawing schematics in KiCad.
I was invited to speak at the 11th Hardware Developers Didactic Galactic group at the Supplyframe office in San Francisco. I talked about the misconception that capacitors are a simple device.
Chris Gammell recorded the discussion and posted it via PHY Media. This video is about 50 minutes.
In this talk, I break down a few things to know about Ceramic, Aluminum, Tantalum, and Supercapacitors. You can see the full video via PHY Media’s YouTube Channel: They’re JUST Capacitors. For links and the slides, check out this post.
Electronic safety tips from mountain climbing? Yes! After spending two weeks in Europe for work, I had the chance to spend a weekend with friends in Germany. We hiked up Kampenwand in Bavaria. While working my way through the snow and rocks, I realized mountain climbing safety tips were the same as electronic safety tips. Really! Here’s how.
Grabbing a soldering iron and throwing polarized components around a circuit board is something I often do. So often, I don’t even realize I’m using some of these electronic safety tips. However, a new activity gives you a chance to exercise the safety portion of your brain. Especially when there are no guard rails.
While constantly wondering “why am I doing this again?” I thought about these 6 electronic safety tips that I learned while climbing a mountain.
Current flow (direction) is the topic I’m planning for my next AddOhms tutorial. While preparing the script, I started to realize there are some myths or misunderstandings about electricity and current flow.
Everyone probably knows Ben Franklin. He discovered electricity, of course! Yet, he didn’t. Franklin was the first to prove that lightning was composed of electricity with his famous kite experiment. He was also the first to provide electricity’s well-known labels: positive and negative. And somewhere in there Franklin became famous for “inventing” conventional current flow.
This convention creates a lot of confusion around conventional and electron current flow. It’s a concept that has been covered by many others and may even be covered by an Electronics Tutorial Video Series in the future.
Instead, I want to explore some common current flow myths even I believed at some point. Continue Reading »
Continue Reading »