What Is There To Know About Resistors?

Resistor: A passive chunk of material that resists the flow of electrical current. A terminal is connected to each end you’re done. What could be simpler?

It turns out it’s not so simple at all. Temperature, capacitance, inductance and other factors all play a part in making the resistor a rather complex component after all. Even its uses in circuits are many, but here we’ll just focus on the different types of fixed-value resistors, how they’re made, and what makes them desirable for different applications.

Let’s start with a simple one, and one of the oldest.

Continue reading “What Is There To Know About Resistors?”

Retrotechtacular: Home Video Recording

The news has been full of reports that the last company manufacturing consumer VCRs will cease making them this year. I think most of us are surprised that the event is only happening now. After all, these days, video recording is likely to be on a hard drive, a USB stick, or on a server somewhere. Even recording to DVDs seems a bit quaint these days.

VCR-03Back before there were web sites, people had to get information from magazines like Popular Electronics, Radio Electronics, and a few others. In the late 1960s and early 1970s, it was common to see these magazines predict that this would be the year of the home video recording system. For example, in 1971, [Lou Garner] wrote: “…they [Sony] hope will put home videotape playing in the same living room as conventional high-fidelity sound systems.” You should know that the video cassette he was talking about was 8 inches wide by 5 inches deep (a big larger than a VHS tape) and contained 3/4 inch magnetic tape (VHS used 1/2 inch tape). The 32-pound player had a retail price of about $350 (about $2,000 in today’s dollars; remember gas was $0.36 a gallon and eggs were $0.53 a dozen). It would be several years before VHS and Betamax would duke it out for home supremacy.

Continue reading “Retrotechtacular: Home Video Recording”

From Project To Kit: After The Sale

However you sell your kits online, you’ll have to find a means of shipping them to the customer. For an online operation this unseen part of the offering is more important than any other when it comes to customer satisfaction, yet so many large players get it so wrong.

This is the final article in a series looking on the process of creating and selling a commercial kit from a personal electronic project (read all the posts in this series). We’ve looked at the market, assembling the kit and its instructions, and how to set up an online sales channel. In this part we’ll look at what happens when you’ve made the sale, how to get it safely to the customer and how to keep the customer happy after the sale by offering support for your products. We’ll also give a nod to marketing your site, ensuring a fresh supply of customers.

Continue reading “From Project To Kit: After The Sale”

How To Use Docker To Cross Compile For Raspberry Pi (and More)

It used to be tedious to set up a cross compile environment. Sure you can compile on the Raspberry Pi itself, but sometimes you want to use your big computer — and you can use it when your Pi is not on hand like when on an airplane with a laptop. It can be tricky to set up a cross compiler for any build tools, but if you go through one simple step, it becomes super easy regardless of what your real computer looks like. That one step is to install Docker.

Docker is available for Linux, Windows, and Mac OS. It allows developers to build images that are essentially preconfigured Linux environments that run some service. Like a virtual machine, these images can run together without interfering with each other. Unlike a virtual machine, Docker containers (the running software) are lightweight because they share the same underlying kernel and hardware of the computer.

The reality is, setting up the Raspberry Pi build environment isn’t any easier. It is just that with Docker, someone else has already done the work for you and you can automatically grab their setup and keep it up to date. If you are already running Linux, your package manager probably makes the process pretty easy too (see [Rud Merriam’s] post on that process). However, the nice thing about the images is it is a complete isolated environment that can move from machine to machine and from platform to platform (the Windows and Mac platforms use a variety of techniques to run the Linux software, but it is done transparently).

Continue reading “How To Use Docker To Cross Compile For Raspberry Pi (and More)”

How The Human Brain Stores Data

Evolution is one clever fellow. Next time you’re strolling about outdoors, pick up a pine cone and take a look at the layout of the bract scales. You’ll find an unmistakable geometric structure. In fact, this same structure can be seen in the petals of a rose, the seeds of a sunflower and even the cochlea bone in your inner ear. Look closely enough, and you’ll find this spiraling structure everywhere. It’s based on a series of integers called the Fibonacci sequence. Leonardo Bonacci discovered the sequence while trying to figure out how many rabbits he could make starting with just two. It’s quite simple — add the right most integer to the previous one to get the next one in the sequence. Starting from zero, this would give you 0-1-1-2-3-5-8-13-21 and so on. If one was to look at this sequence in the form of geometric shapes, they can create square tiles whose sides are the length of the value in the sequence. If you connect the diagonal corners of these tiles with an infinite curve, you end up with the spiral that you saw in the pine cone and other natural objects.

fib_01
Source via Geocaching

So how did mother nature discover this geometric structure? Surely it does not know math. How then can it come up with intricate and sophisticated structures? It turns out that this Fibonacci spiral is the most efficient way of squeezing the most amount of stuff in the least amount of space. And if one takes natural selection seriously, this makes perfect sense. Eons of trial and error to make the most copies of itself has stumbled upon a mathematical principle that permeates life on earth.

fb_02
Source via John Simmons

The homo sapiens brain is the product of this same evolutionary process, and has been evolving for an estimated 7 million years. It would be foolish to think that this same type of efficiency natural selection has stumbled across would not be present in the current homo sapiens brain. I want to impress upon you this idea of efficiency. Natural selection discovered the Fibonacci sequence solely because it is the most efficient way to do a particular task. If the brain has a task of storing information, it is perfectly reasonable that millions of years of evolution has honed it so that it does this in the most efficient way possible as well. In this article, we shall explore this idea of efficiency in data storage, and leave you to ponder its applications in the computer sciences.

Continue reading “How The Human Brain Stores Data”

Circuit Design? Spread The Joy

Accountants and MBAs use spreadsheets to play “what if” scenarios with business and financial data. Can you do the same thing with electronic circuits? The answer–perhaps not surprisingly–is yes.

Consider this simple common emitter amplifier (I modeled it in PartSim, if you’d like to open it):

In this particular case, there are several key design parameters. The beta of the transistor (current gain) is 220. The amplifier has an overall voltage gain of about 3 (30/10). I say about, because unless the transistor is ideal, it won’t be quite that. The supply voltage (Vcc) is 12 volts and I wanted the collector voltage (VC) to idle at 6V to allow the maximum possible positive and negative swing. I wanted the collector current (IC) to be 200mA.

Continue reading “Circuit Design? Spread The Joy”