Intermediate Concepts: Building Discrete Transistor Gates

[Simon Inns] has put together a lesson in digital logic which shows you how to build your own gates using transistors. The image above is a full-adder that he fabricated, then combined with other full adders to create a 4-bit computer.

Don’t know what a full adder is? That’s exactly what his article is for, and will teach you about binary math and how it is calculated with hardware. There’s probably at least a week’s worth of studying in that one page which has been further distilled into the five-minute video after the break. Although building this hardware yourself is a wonderful way to learn, there’s a lot of room for error. You might consider building these circuits in a simulator program like Atanua, where you can work with logic gate symbols, using virtual buttons and LEDs as the outputs. Once you know what you’re doing with the simulator you’ll have much more confidence to start a physical build like the one [Simon] concocted.

Finding this project a little too advanced? Check out our Beginner Concepts articles to help get you up to speed.

Continue reading “Intermediate Concepts: Building Discrete Transistor Gates”

Beginner Concepts: Powering Your Projects

Powering your gadgets generally seems like a necessary evil. To help with this [Felipe La Rotta] made a really nice bench power supply using a PC power supply and a LM317 adjustable voltage regulator. PC power supplies are an example of a switched power supply(more on that later).  The LM317 is a type of linear voltage regulator that allows for adjusting the output voltage by varying some resistors. Whats the best way to power your circuits? well that depends…

Continue reading “Beginner Concepts: Powering Your Projects”

Beginner Concepts: LPT Instead Of UC

We see it all the time, a post based on an Arduino board with multiple comments calling it overkill. How exactly should you control your homemade peripherals if you’re not using a microcontroller (uC)? [JKAbrams] and [Tim Gremalm] answered that question with this printer port (LPT) adapter. They wanted an indicator light when someone in an IRC room was talking to them. By connecting a blue rotating light through a relay to the output of this fob they’ve done just that, but there’s room for much more.

The adapter uses a Darlington transistor array IC to protect the computer. A resistor between the LPT and the base pin on the chip ensures that current flow will be well within the safe levels for the computer. The Darlington transistor amplifies the output using an external power supply in order to drive heavier loads.

If you want a deeper understanding of the printer port check out this tutorial. LPT ports are becoming less common and that’s why so many projects are migrating over to USB (plus there’s no need for external power with most USB connected projects) but if you’ve got one, it’s probably not being used for anything else.

Beginner Concepts: 555 Push Button Toggle

PIC, AVR, and Arduino are ubiquitous in projects these days and a lot of the time it’s easy to over-complicate things with their use. In this case, [Tod] wanted to use a momentary tactile switch to turn something on and off. Instead of going with a microcontroller he built the circuit around a 555 timer. What he really needed in this case is a flip-flop but lacking a chip for that he went with the 555 because it has one built-in. Three resistors and a capacitor later he’s in business, adding another resistor and a transistor to deal with the load switching. We’ve embedded video of the circuit controlling an LED after the break. This IC ends up in a lot of projects so dig through your parts bin and give this circuit a try.

Continue reading “Beginner Concepts: 555 Push Button Toggle”

Ethernet For Hackers: Equipment Exploration

Last time, we talked about the surface-level details of Ethernet. They are fundamental to know for Ethernet hacking, but they’re also easy to pick up from bits and pieces online, or just from wiring up a few computers in your home network. Now, there’s also a bunch of equipment and standards that you will want to use with Ethernet – easy to find whether used or new, and typically as easy to work with. Let’s give you a few beacons!

Routers And Switches

Whenever you see a box with a few Ethernet ports, it’s either referred to as a router, or a switch, sometimes people will even use the word “hub”! Fortunately, it’s simpler than it may seem. A router is a smart device, typically with an OS, that ties two or more networks together – routing packers from one network to another, and typically taking care of things like handing out local IP addresses via DHCP. A switch merely helps Ethernet devices exchange packets between each other on the same level – it’s typically nowhere near as smart as a router gets. Oftentimes, a home router will contain a switch inside, so that you can plug in multiple of your home devices at once. That’s the main difference – a switch merely transmits packets between Ethernet-connected devices, while a router is a small computer taking care of packet forwarding between networks and possibly including an Ethernet switch on the side.
Continue reading “Ethernet For Hackers: Equipment Exploration”

Matt Venn speaking at Supercon 2022

Supercon 2022: Matt Venn’s Tiny Tapeout Brings Chip Design To The Masses

Not that long ago, rolling your own printed circuit boards was difficult, time-consuming and expensive. But thanks to an army of cheap, online manufacturing services as well as high-quality free design software, any hobbyist can now make boards to rival those made by pros. A similar shift might be underway when it comes to chip design: affordable manufacturing options and a set of free software tools are slowly bringing custom chips into the realm of hackers and hobbyists. One of those working hard to democratize chip design is Matt Venn, who’s been telling us all about his current big project, called Tiny Tapeout, in his talk at Remoticon 2022.

Matt’s quest to bring IC design to the masses started in 2020, when the first open-source compatible Process Design Kit (PDK) was released to the public. A PDK is a collection of files, normally only available under strict non-disclosure agreements, that describe all the features of a specific chip manufacturing process and enable you to make a design. With this free PDK in hand and a rag-tag collection of free software tools, Matt set out to design his first chip, a VGA clock, which he taped out (released to manufacturing) in July 2020. Continue reading “Supercon 2022: Matt Venn’s Tiny Tapeout Brings Chip Design To The Masses”

Two circuit boards connected with wires

Glow In The Dark Computer Memory Illuminates The Fundamentals

Computer memory has taken on many forms over the years, from mercury-based delay-line tubes to handwoven magnetic core. These days, volatile storage using semiconductors has become ubiquitous with computing, but what if there was a better way? [Michael Kohn] has been working on a new standard for computer memory that uses glow in the dark stickers.

Clearly we jest, however we’re still mighty impressed by the demonstration. Eight delightful star-shaped phosphorescent stickers represent eight bits of memory, totaling one byte. The glow in the dark material is stuck to the inside of short cylinders, each of which contains a white LED and a phototransistor. The memory array is wired up to an iceFUN FPGA board, which is then connected via level shifters to a Western Design Center MENSCH single board computer.

Continue reading “Glow In The Dark Computer Memory Illuminates The Fundamentals”