A Lot Of Effort For A Pi Laptop

Building a Raspberry Pi laptop is not that uncommon. In fact, just a few clicks from any of the major electronics suppliers will have the parts needed for such a project speeding on their way to your house in no time at all. But [joekutz] holds the uncontroversial belief that the value in these parts has somewhat diminishing returns, so he struck out to build his own Pi laptop with a €4 DVD player screen and a whole lot of circuit wizardry to make his parts bin laptop work.

The major hurdle that he needed to overcome was how to power both the display and the Pi with the two small battery banks he had on hand. Getting 5V for the Pi was easy enough, but the display requires 8V so he added one lithium ion battery in series (with its own fuse) in order to reach the required voltage. This does make charging slightly difficult but he also has a unique four-pole break-before-make switch on hand which doesn’t exactly simplify things, but it does make the project function without the risk of short-circuiting any of the batteries he used.

The project also makes use of an interesting custom circuit which provides low voltage protection for that one lonely lithium battery as well. All in all it’s a master course in using some quality circuit-building skills and electrical theory to make do with on-hand parts (and some 3D printing) rather than simply buying one’s way out of a problem. And the end result is something that’s great for anything from watching movies to playing some retro games.

Continue reading “A Lot Of Effort For A Pi Laptop”

Circuit Impedance Calculations Without Cumbersome Simulations

Using circuit simulating software like SPICE can be a powerful tool for modeling the behavior of a circuit in the real world. On the other hand, it’s not always necessary to have all of the features of SPICE available all the time, and these programs tend to be quite expensive as well. To that end, [Wes Hileman] noticed an opportunity for a specific, quick method for performing impedance calculations using python without bulky, expensive software and came up with a program which he calls fastZ.

The software works on any network of passive components (resistors, capacitors, and inductors) and the user can specify parallel and series connections using special operators. Not only can the program calculate the combined impedance but it can perform frequency analysis at a specified frequency or graph the frequency response over a wide range of frequencies. It’s also running in python which makes it as simple as importing any other python package, and is also easy to implement in any other python program compared to building a simulation and hoping for the best.

If you find yourself regularly drawing Bode plots or trying to cobble together a circuit simulation to work with your python code, this sort of solution is a great way to save a lot of headache. It is possible to get the a piece of software like SPICE to to work together with other python programs though, often with some pretty interesting results.

Rapid Charging Supercapacitors

Battery technology is the talk of the town right now, as it’s the main bottleneck holding up progress on many facets of renewable energy. There are other technologies available for energy storage, though, and while they might seem like drop-in replacements for batteries they can have some peculiar behaviors. Supercapacitors, for example, have a completely different set of requirements for charging compared to batteries, and behave in peculiar ways compared to batteries.

This project from [sciencedude1990] shows off some of the quirks of supercapacitors by showing one method of rapidly charging one. One of the most critical differences between batteries and supercapacitors is that supercapacitors’ charge state can be easily related to voltage, and they will discharge effectively all the way to zero volts without damage. This behavior has to be accounted for in the charging circuit. The charging circuit here uses an ATtiny13A and a MP18021 half-bridge gate driver to charge the capacitor, and also is programmed in a way that allows for three steps for charging the capacitor. This helps mitigate the its peculiar behavior compared to a battery, and also allows the 450 farad capacitor to charge from 0.7V to 2.8V in about three minutes.

If you haven’t used a supercapacitor like this in place of a lithium battery, it’s definitely worth trying out in some situations. Capacitors tolerate temperature extremes better than batteries, and provided you have good DC regulation can often provide power more reliably than batteries in some situations. You can also combine supercapacitors with batteries to get the benefits of both types of energy storage devices.

Chaotic Oscillator From Antique Logic

While working on recreating an “ancient” (read: 60-year-old) logic circuit type known as resistor-transistor logic, [Tim] stumbled across a circuit with an unexpected oscillation. The oscillation appeared to be random and had a wide range of frequency values. Not one to miss out on a serendipitous moment, he realized that the circuit he built could be used as a chaotic oscillator.

Chaotic systems can be used for, among other things, random number generation, so making sure that they do not repeat in a reliable way is a valuable property of a circuit. [Tim]’s design uses LEDs in series with the base of each of three transistors, with the output of each transistor feeding into the input of the next transistor in line, forming a ring. At certain voltages close to the switching voltages of the transistors, the behavior of the circuit changes unpredictably both in magnitude and frequency.

Building real-life systems that exhibit true randomness or chaotic behavior are surprisingly rare, and even things which seem random are often not random enough for certain applications. [Tim]’s design benefits from being relatively simple and inexpensive for how chaotic it behaves, and if you want to see his detailed analysis of the circuit be sure to visit his project’s page.

If you want to get your chaos the old fashioned way, with a Chua circuit, look out for counterfeit multipliers.

Circuit Simulation In Python

Using SPICE to simulate an electrical circuit is a common enough practice in engineering that “SPICEing a circuit” is a perfectly valid phrase in the lexicon. SPICE as a software tool has been around since the 70s, and its open source nature means there are more SPICE tools around now to count. It also means it is straightforward enough to use with other software as well, like integrating LTspice with Python for some interesting signal processing circuit simulation.

[Michael]’s latest project involves simulating filters in LTspice (a SPICE derivative) and then using Python/NumPy to both provide the input signal for the filter and process the output data from it. Basically, it allows you to “plug in” a graphical analog circuit of any design into a Python script and manipulate it easily, in any way needed. SPICE programs aren’t without their clumsiness, and being able to write your own tools for manipulating circuits is a powerful tool.

This project is definitely worth a look if you have any interest in signal processing (digital or analog) or even if you have never heard of SPICE before and want an easier way of simulating a circuit before prototyping one on a breadboard.

New Circuits With Old Technology

Before the invention of transistors, vacuum tubes ruled the world. The only way to get amplification or switching (or any electrical control of current) back then was to use tubes. But some tube design limitations were obvious even then. For one, they produce an incredible amount of heat during normal operation, which leads to reliability issues. Tubes were difficult to miniaturize. Thankfully transistors solved all of these issues making vacuum tubes obsolete, but if you want to investigate the past a little bit there are still a few tubes on the market.

[kodera2t] was able to get his hands on a few of these, and they seem to be relatively new. This isn’t too surprising; there are some niche applications where tubes are still used. These have some improvements over their ancestors too, operating at only 30V compared to hundreds of volts for some older equipment. [kodera2t] takes us through a few circuits built with these tubes, from a simple subminiature vacuum tube radio to a more complex reflex radio.

Taking a walk through this history is an interesting exercise, and it’s worth seeing the ways that transistor-based circuits differ from tube-based circuits. If you’re interested enough to move on beyond simple radio circuits, though, you can also start building your own audio equipment with vacuum tubes.

Continue reading “New Circuits With Old Technology”

Hexagons – The Crazy New Breadboard

A breadboard is a great prototyping tool for verifying the sanity of a circuit design before taking the painstaking effort of soldering it all together permanently. After all, a mistake in this stage can cost a lot of time and possibly material, so it’s important to get it right. [daverowntree] wasn’t fully satisfied with the standard breadboard layout though, with fixed rows and columns. While this might work for most applications, he tried out a new type of prototyping board based on hexagons instead.

The design philosophy here revolves around tessellations, a tiling method for connecting the various components on this unique breadboard rather than using simple rows. The hexagons are tessellated across the board, allowing for some unique combinations that might make it slightly more complicated, but can have some benefits for other types of circuits such as anything involving the use of a three-wire device like a transistor.

The post is definitely worth a read, as [daverowntree] goes through several examples of this method of prototyping where the advantages are shown, like a voltage follower circuit and some other circuits involving transistor biasing. If you’re OK with the general design of breadboards, though, and just wished you didn’t have to do anything after the prototyping stage, we’ve got some help for you there as well.