A Slim 7400 Logic VGA Board For All Your Retro Needs

Over the years we’ve seen a number of hackers generate VGA with 74xx logic chips, but they’ve generally not been the most practical of builds. Often put together as part of a competition or purely for the challenge, these circuits are usually implemented in a mass of jumper wires and often take up multiple breadboards. Not exactly something you can toss in a drawer when you’re done with it.

But the Vectron VGA Plus, created by prolific hacker [Nick Bild], manages to improve on things considerably. Designed specifically to be smaller and simpler than its predecessors, the custom PCB contains far fewer chips than we’re used to seeing for this kind of thing. At the same time it provides a handy header row along the bottom that allows the user to connect whatever they’re working on, from microcontrollers to retro computers.

When your breadboard looks like this, it’s time for a PCB.

It looks like the PCB could still be shrunk down considerably if you’re really looking to maximize desk space, but we imagine for his purposes, [Nick] felt this was more than compact enough. Especially when you look at what the same circuit looked like during the breadboard phase. Yikes.

So, what did it take to simplify this 640 x 480 VGA interface? The short answer is adding more RAM. Wherever possible, dedicated hardware was replaced with software operations that could be performed by the externally connected device. [Nick] has provided some sample code for the Arduino that lets the microcontroller push data into the board’s memory and take control.

We can trace the origins of this project back a few years, to when [Nick] was working on adding an LCD to his homebrew 6502 computer. A few months later he put together the earlier version of this board, the Vectron VGA, before switching gears and handing VGA generation duty over to a FPGA. We’re excited to see the next evolution of this project, and given the track record of this particular hacker, we shouldn’t have to wait long before it hits our inbox.

Getting Familiar With Round Displays

Once upon a time, maker projects were limited to using simple character displays or those salvaged from popular Nokias, largely due to cost. These days, a small OLED or LCD is available for just a few bucks. However, you can go fancier, and [Mr. Volt] does just that with an exploration of nice round displays.

Using round displays doesn’t have to be hard, with plenty of great products on the market. [Mr. Volt] goes through various options, from the cheap bare screens you can hook up to a microcontroller, to larger models designed for direct use with the Raspberry Pi or even straight HDMI inputs. Many are quite high resolution, and look particularly beautiful when driven with appropriate artwork.

However, there are a few tricks that come in handy when you’re going away from traditional rectangular screens. Screen mounts on some models may not be directly aligned with the center of the circular display, which can lead to results that look off if not accounted for.

It’s also important to remember that round displays are still driven like square displays, using Cartesian coordinates. Trying to use software with interface elements around the edges can be trying, as many end up rendered off-screen. Instead, circular displays are best used to display purpose-made content, rather than used with traditional software expecting a rectangular screen.

Fundamentally, round displays are a neat thing to have, as they allow for the construction of elegant projects that don’t have to abstract a circle with cheats like obscuring bezels or housings. Video after the break.

Continue reading “Getting Familiar With Round Displays”

Treasure Hunting With A Handful Of Common Components

Sometimes simpler is better — when you don’t need the the computational power of an onboard microcontroller, it’s often best to rely on a simple circuit to get the job done. With cheap Raspberry Pis and ESP32s all over the place, it can be easy to forget that many simpler projects can be completed without a single line of code (and with the ongoing chip shortage, it may be more important now than ever to remember that).

[mircemk] had the right idea when he built his simple induction-balance metal detector. It uses a couple of 555 timers, transistors, and passives to sense the presence of metallic objects via a coil of wire. He was able to detect a coin up to 15 cm away, and larger objects at 60cm — not bad for a pile of components you probably have in your bench’s spare parts drawer right now! The detector selectivity can be tuned by a couple of potentiometers, and in true metal detector fashion, it has a buzzer to loudly blare at you once it’s found something (along with a LED, in case the buzzer gets too annoying).

All in all, this metal detector looks like a terribly fun project — one perfectly suited to beginners and more seasoned hackers alike. It serves as a great reminder that not every project needs WiFi or an OLED display to be useful, but don’t let that stop you from overdoing things! If touchscreens are more your speed, [mircemk] has got you covered with a smartphone-integrated version as well.

Continue reading “Treasure Hunting With A Handful Of Common Components”

A close-up view of surface-mount components on a circuit board

Smaller Is Sometimes Better: Why Electronic Components Are So Tiny

Perhaps the second most famous law in electronics after Ohm’s law is Moore’s law: the number of transistors that can be made on an integrated circuit doubles every two years or so. Since the physical size of chips remains roughly the same, this implies that the individual transistors become smaller over time. We’ve come to expect new generations of chips with a smaller feature size to come along at a regular pace, but what exactly is the point of making things smaller? And does smaller always mean better?

Smaller Size Means Better Performance

Over the past century, electronic engineering has improved massively. In the 1920s, a state-of-the-art AM radio contained several vacuum tubes, a few enormous inductors, capacitors and resistors, several dozen meters of wire to act as an antenna, and a big bank of batteries to power the whole thing. Today, you can listen to a dozen music streaming services on a device that fits in your pocket and can do a gazillion more things. But miniaturization is not just done for ease of carrying: it is absolutely necessary to achieve the performance we’ve come to expect of our devices today. Continue reading “Smaller Is Sometimes Better: Why Electronic Components Are So Tiny”

Liberating The ESP8266 From Its Development Board

While the ESP32 is clearly a superior piece of hardware, we think you’ll agree that the ESP8266 is just too useful not to have a dozen or so kicking around the parts bin at any given time. Cheap, easy to use, and just enough capabilities to bring your projects into the wonderful world of IoT. But if you really want to get the most out of it, you’ll eventually have to skip the development board and start working with the bare module itself.

It can be a scary transition, but luckily, [Ray] has collected some notes that should prove helpful for anyone looking use modules like the ESP-12F in their own custom PCBs. From different tips on making sure the power-hungry modules get enough juice, to cost cutting measures that help reduce the ancillary parts needed in your circuit design, it’s a worthwhile read for new and experienced ESP8266 wranglers alike.

An auto-reset circuit with the CH340C

For example, [Ray] talks a bit about using the infamous GPIO10 pin. This pin is on the rear of the ESP8266 module, and on many development boards, it isn’t even connected. That’s because its internally hooked up to the ESP8266’s SPI flash chip, and using it can cause problems if you’re not careful. But as explained in the blog post, as long as you make sure the flash mode is set to “dual IO” (DIO), then GPIO10 can be used just like any other free pin.

We also really liked the tip [Ray] shares at the end for making your boards more easily programmable. Sure you can leave an unpopulated header on the board, or fiddle with some pogo pin setup, but his edge connector approach is quite clever. Just slip the programmer on for the initial burn, and then after that you can update over the air.

There’s no denying how easy it is to throw something together with an ESP8266 development board, but we’ve covered so many incredible projects that have made use of the bare module’s diminutive dimensions that you’ll ultimately be missing out if you don’t cut out the middle-man.

Dream Bigger, Predict The Future

I’d love to tell you that I’m never wrong, but I’ve been wrong a lot. Remember the Arduino? When it was brand new, I thought it was some silly collection of libraries and a drop-down menu for people who are too lazy to just type out their own #include statements. Needless to say, it launched about a million hacks and brought microcontroller programming into the mainstream. Oops.

Similarly, about fifteen years ago, I saw an educational project out of MIT’s Media Lab. It consisted of a bunch of blocks that had LCD screens on them and would interact with each other when put together. The real hook, though, was that each block had an accelerometer inside, so you could “pour water” out of one block into another, for instance.

At that time, accelerometers were expensive, even in quantities. Even one of these cubes must have cost $100 at the time, much less a whole set. Accelerometers were so expensive that I wouldn’t have thought about incorporating one into a project, much less a dozen, so I ignored them for hacker purposes. Then came the cellphone and economies of scale. Today, even in chip shortage times, they’re readily available for around $2 each, making them useful for exactly this kind of “frivolous” use.

From the Arduino experience, I learned to never underestimate the impact of what seem to me to be “small” conveniences. (And maybe more so, the value of the tremendous common effort from the community.) From the MIT accelerometer story, the moral is that some parts will get drastically cheaper in the future, so you shouldn’t necessarily exclude the cool new sensor from your design repertoire. After all, ten years ago, nobody would have thought that we’d have laser time-of-flight rangefinders for less than a hamburger.

What new components are fantastically useful, or full of potential, that might be cheap enough in the future to make them also worth looking into? Swing by Hackaday tomorrow morning and join in the conversation!

Is A Diode A Switch?

Many hardware people around these parts will be familiar with devices used as switches, using at least three-terminals to effect this, an input, an output and a gate. Typical devices that spring to mind are bipolar transistors, triacs and and ye olde triode valve. Can you use a diode to switch a signal even if it has only two terminals? Of course you can, and it’s a tried and trusted technique very common in test equipment and circuits that handle RF signals. (Video, embedded below.)

The trick is that diodes block current in one direction but allow it to flow in the other, denoted by the deliberately obvious symbol. So your DC signals can’t swim upstream, but the same isn’t true for AC. Signals can be passed “the wrong way” through a diode by inducing small fluctuations in the current. Put another way, if you bias the diode into conduction, changes in the downstream voltage level result in changes in the current flowing through the diode, and the (smaller) AC signal gets through. But if you take away the bias, by turning off the DC bias voltage source, the diode switches back to non-conducting, blocking the signal. And that makes a diode a DC controlled switch for AC signals.

While [IMSAI Guy] demonstrates this with a signal diode, as he explains, one would typically use a PIN diode, which has an extra intrinsic (undoped) region between the P and the N, allowing the device to fully turn off, reducing leakage significantly.

Of course, we’ve covered diodes many times from different angles, there is always something to learn. Checkout how high voltage diodes are constructed, diodes detecting ionising radiation, and finally this great series about our new favourite two-terminal device.

See, the humble diode can be fun after all!

Continue reading “Is A Diode A Switch?”