7+ Python Engineering Modules for Electronics Engineers

Python is everywhere. Its capabilities continue to grow. Not only can you create simple scripts, but you can create full-blown applications with it. The core has been scaled down to run on 32-bit microcontrollers like the ESP32 and Adafruit Feather M0. You can even use Python engineer modules to design stuff like circuits. There are electronics Python modules that create schematics, simulate circuits, and make solving math a cinch. Here are some of the modules I found that make Python usable for (electronics) engineering.

Up front, make sure you have a functioning Python environment. Update the package manager “pip” since all of these electronics python modules rely on it. Speaking of dependences, you may need to also install third-party libraries for some of them. From what I can tell, these all should be platform independent. However, I only tested these electronic modules with 64-bit Windows.

Continue Reading »

Bald Engineer’s ESD Must-Haves | Workbench Wednesdays

element14 Presents on YouTube
2019-06-04

Electrostatic Discharge (ESD) damage can occur without you knowing it. That’s bad. However, the good news is that with little effort you can prevent it. Duratool has a kit of the most common ESD tools for any electronics workbench. It includes a large mat, grounding cable, wrist strap, ESD-safe cleaner, and a simple electronic tester. Don’t get shocked by ESD; add these simple tools to prevent it.

This review is on a kit that includes:

  • Large ESD Mat
  • Ground Cable
  • Wrist Strap
  • Wrist Strap Tester
  • ESD Mat Cleaner

Even if you aren’t interested in ESD, you might want to watch the first 30 seconds. 🙂

More info on element14

Health and Solder Fumes – Workbench Wednesdays

element14 Presents on YouTube
2019-04-10

An overlooked danger of electronics soldering is the fumes. While the smell and smoke may not be pleasant, the chemicals in the fumes can be harmful. Is solder made with lead(Pb) your only concern? Learn about where lead-free solder came from, what different flux types mean, and two ways to keep your air (and your lungs clean.)

In the video, I show a cheap “smoke eater” and a professional fume extractor. There is a cost difference of $50 and $700 between the two. However, either is better than having nothing.

Ask Questions on element14

7 MOSFET Myths and Misconceptions Addressed

Let's set some things straight

MOSFET Myths and Facts

The most popular AddOhms video is my short tutorial on MOSFET basics. In the years since I posted the video, people have sent me many questions. While answering those questions I’ve learned quite a bit as well. For example, in that video, I say that Vgs is the threshold to turn on the MOSFET. Well, it turns out, that is not entirely true. It is the threshold to turn it off! Oops. Minor point with a subtle difference, but a common MOSFET misconception.

In this post, I dispel that and other common myths and misconceptions around using MOSFETs. As with all engineering tips and tricks, this post is not a definitive guide to FETs. Instead, it is meant to be a guide to help you ask the right questions to design in the correct part.

1. Misconception: You don’t need resistors on the gate

Back when I made the AddOhms episode, I added a resistor to the MOSFET’s gate pin. Of course any time a resistor is shown in a schematic, people get worried about what complicated formula is needed to determine its value. For slow switching applications, like below 10 kHz, the resistor value doesn’t matter. Something in the 100 to 1000 KOhm range is fine.

P-Channel with series gate resistor

P-Channel with series gate resistor

So if the value does not matter, why have one? The gate of a MOSFET is a small capacitor. And what happens when applying a voltage to a capacitor? It starts charging.

Resistor-Capacitor Charging Curve: Voltage and Current

Resistor-Capacitor Charging Curve: Voltage and Current

The initial current is very high. It slows down as the capacitor charges. That initial current rush, also known as in-rush current, can be a problem. Even though it is a short time, there is a significant current surge which can damage an I/O pin. Depending on the size of the MOSFET’s gate capacitance, it may not be necessary to include that resistor. I wish I could say to “just” add it any time you use a MOSFET. If there is a high switching frequency, say 100 kHz or higher, then you have to worry about the RC charging curve created by the resistor and the gate capacitance.

Continue Reading »

Classic, vintage, or retro computer systems are well documented on sites like Wikipedia. Their historic position is well known. Their schematics are even published from original documentation. But how useful are those schematics in their current form? (Spoiler, not much.) Presented at KiCon 2019.

Download Slides (8mb)

Low side vs. High side transistor switch

Why do these both exist, how do they work, and when do you use them?

Low switch vs High switch Banner

A common task for a transistor is switching a device on and off. There are two configurations for a transistor switch: low side and high side. The location of the transistor determines the type of circuit and its name. Either transistor configuration can use a BJT or MOSFET.

In this post, I draw the configuration for both transistor types, talk about which requires a driver, and explain why you would use either. If you are new to transistors, check out the resource links at the bottom. I have a couple of videos I made and some from element14’s The Learning Circuit which do a great job introducing transistors.

Continue Reading »

KiCad KiCon 2019 BannerOn April 26th and 27th, the first year of KiCad KiCon kicks off in the Windy City. Join me and 26 others for talks about the open source electronics CAD tool. The list of speakers is impressive. There are many names which I follow on social media and some I recognize from the KiCad team. For example, Wayne Stambaugh is the KiCad project leader and has one of the keynote talks.

You can see the full list of KiCon talks here. And tickets are available here.

Bald Engineer’s Apple IIgs KiCon Talk

Here is the description for my KiCon talk.

While documentation exists for 1970’s and 1980’s calculators and computers, unfortunately they exist in bitmap formats. As I started converting parts of the Apple IIgs schematic to KiCad, I realized something. There are benefits to “preserving” historical schematics in a living, active, and open format. In this talk, I talk about my experiences in converting scanned PDFs into KiCad, the project behind that motivation, and to encourage help from others to preserve history with KiCad.

So what is it? Well, several months ago, I did a couple of Apple IIgs hardware live streams. I have a project in mind for the MEGA-II ASIC. But before I could move forward on the project, I wanted a modern version of the IIgs schematic.

While schematics for classic 8 (and 16-bit) computers are readily available, they are usually only in PDF format. Studying the design is like reading a book. While I am glad the PDFs are available, I would like to be able to do actions like a search.

In my talk, I’ll explain why we should be converting these classic schematics into an open format. Along the way, I’ll take the audience through my journey of using KiCad for this project. In the end, I’ll be asking for help to convert other classic computer schematics.

Where is KiCad KiCon 2019?

The location for the conference is mHUB in Chicago, IL. If you’re able to attend in person, I look forward to meeting you. If you’re not able to travel, I fully expect either a live stream or recorded versions of the talks to be available.

Learn more about KiCad KiCon 2019

Date: April 26, 2019—April 27, 2019
Event: KiCon 2019 - Preserving history with KiCad
Topic: Preserving history with KiCad
Venue: mHUB
Location: 965 W Chicago Ave
Chicago, IL 60642
Public: Public
Registration: Click here to register.

If I were a professional actor, I would feel typecast at this point in my career. Whenever someone wants to talk about Arduino, Oscilloscopes or Capacitors, they call me! In this case, element14 asked me to do two videos on how to replace multilayer ceramic capacitors (MLCCs) with Polymers.

Polymers are an interesting capacitor type. What is usually called a “polymer” is better a called a “polymer electrolytic.” The reason for that detail is the word “polymer” describes the cathode layer and not the dielectric.

For more details, why not check out this episode of element14 Presents’ The Learning Circuit! If you have questions about these capacitors, head over to element14 and leave me a comment there.

e14’s TLC #40

Date: February 13, 2019
Appearance: Polymer Capacitor Introduction on e14s The Learning Circuit
Outlet: element14 Presents' The Learning Circuit
Format: Vlog

Soldering Tool Upgrade Paths

element14 - Workbench Wednesdays
06-FEB-2019

Right after the digital multimeter, or DMM, a soldering iron is a must-have tool for electronics work. Like most tools, there is a vast variety of options available. In this episode of element14’s Workbench Wednesdays, I look at a range of instruments from Weller. They offer everything from a cheap $10 “fire starter” (sorry, it is what we call them!) all the way up to a full-blown surface mount rework station.

Whether you don’t have a soldering iron or you have a  $100 station, this video will show you options to consider when thinking about an upgrade.

After you watch the video, head over to element14 and tell me for you favorite solder tips! (Or your most burning questions!)

Send James your Solder Tips

 

 

Answering BJT questions with Karen on element14’s The Learning Circuit

element14's The Learning Circuit
2019-01-02

Over on element14, Karen hosts The Learning Circuit. It is a tutorial show geared towards learning STEM basics. So far she has covered subjects like soldering, diodes, and how to make a DIY electromagnet. She did a great job on introducing BJTs and how they work. While I thought she provided a clear explanation of the internal workings, some members of the element14 community still had questions.

She invited me on to revisit BJTs and transistors to (hopefully) clarify the connection between how transistors physically work and how to use them.