STM32 Draws On Scope

Drawing on an oscilloscope’s XY mode isn’t a new idea. However, if you’ve ever wanted to give it a go, you’d be hard-pressed to find more information than the nearly hour-and-a-half video about the topic from [Low Byte Productions]. You can check out the video below.

If you prefer to jump straight into the code, there’s a GitHub page. While the code is specific to the STM32, you can apply the ideas to anything.

Continue reading “STM32 Draws On Scope”

Laser Augmented Reality Glasses Show You The Way

Tech companies like Google and Microsoft have been working on augmented reality (AR) wearables that can superimpose images over your field of view, blurring the line between the real and virtual. Unfortunately for those looking to experiment with this technology, the devices released so far have been prohibitively expensive.

While they might not be able to compete with the latest Microsoft HoloLens, these laser AR classes from [Joel] promise to be far cheaper and much more approachable for hackers. By bouncing a low-power laser off of a piezo-actuated mirror, the hope is that the glasses will be able to project simple vector graphics onto a piece of reflective film usually used for aftermarket automotive heads-up displays (HUDs).

Piezo actuators are used to steer the mirror.

[Joel] has put together a prototype of what the mirror system might look like, but says driving the high-voltage piezo actuators poses some unique challenges. The tentative plan is to generate the vector data with a smartphone application, send it to an ESP32 microcontroller within the glasses, and then push the resulting analog signals through a 100 V DC-DC boost converter to get the mirror moving.

We’ve seen the ESP32 drive a laser galvanometer to play a game of Asteroids, but recreating such a setup in a small enough package to fit onto a pair of glasses would certainly be an impressive accomplishment. Early tests look promising, but clearly [Joel] has quite a bit of work ahead of him. As a finalist for the Rethink Displays challenge of the 2021 Hackaday Prize, we’re looking forward to seeing the project develop over the coming months.

Building A Vector Graphics Machine From Scratch Including The CRT

Over the years we’ve seen quite a few projects involving vector graphics, but the spaceship game created by [Mark Aren] especially caught our eye because in it he has tackled building a vector display from scratch rather than simply using a ready-made one such as an oscilloscope. As if the vector game itself wasn’t interesting enough, the process of designing the electronics required to drive a CRT is something that might have been commonplace decades ago but which few electronics enthusiasts in 2020 will have seen.

In his write-up he goes into detail on the path that took him to his component choices, and given the unusual nature of the design for 2020 it;s a fascinating opportunity to see the job done with components that would have been unheard of in the 1950s or 1960s. He eventually settled on a high voltage long-tailed pair of bipolar transistors, driven by a single op-amp to provide the differential signal required by the deflection electrodes. The mix of old and new also required a custom-fabricated socket for the CRT. On the game side meanwhile, an ATmega328 does the heavy lifting, through a DAC. He goes into some detail on DAC selection, having found some chips gave significant distortion.

All in all this is an impressive project from all angles, and we’re bowled over by it. Of course, if you fancy a play with vector graphics, perhaps there’s a simpler way.

Scopetrex Is A Game Console… For Your Oscilloscope!

You’ve always wanted a game console at your bench, but maybe you haven’t had space for a monitor or TV set? Wouldn’t it be useful if the screen you do have on your bench could also play games? [Tube Time] has fixed this problem, with Scopetrex, a vector graphic console for your oscilloscope. In fact, it’s better than just a console, because it’s a clone of the legendary Vectrex, the vector-based console with built-in CRT screen from the 1980s.

The board itself is a slightly enhanced version of the original, offering not extra functionality but the ability to substitute some of the parts for more easily found equivalents. It gives full control over display size and brightness, can use the cheaper 6809E processor and AY-3-9810 sound chip if necessary, and only needs a single 5 volt supply. There’s also a custom controller board, which is handly Vectrex-compatible. All you will need to play Vectrex games on your ‘scope once you’ve built this board, are a copy of the Vectrex ROM, and some games.

The Vectrex holds an enduring fascination for our community, and has appeared here many times. Particularly memorable is a CRT replacement, and then of course there’s the never-released mini Vectrex prototype.

Thanks [Justin List] for the tip.

Ocelot Arcade System Illustrates The Scope Of Vector Graphics

Who knows how far the Vectrex system, or vector graphics gaming in general could have gone if not for the crash of ’83? The console wars might have been completely different if not for this market saturation-based reset button.

[Matt Carr] doesn’t own a Vectrex, but he does have a Tektronix 465 oscilloscope. After an intense labor of love and documentation, he also has a shiny new vector graphics arcade system that he built himself. It’s based on a dsPIC33 and uses a dual-channel DAC to produce wire frame 3-D graphics and send X-Y coordinates to the ‘scope via phono outputs. The PIC’s internal DAC is meant for audio and didn’t do so well with graphics, so [Matt] used a TLV5618A piggybacked on the PIC’s DAC pins.

The Ocelot doesn’t take cartridges, though it might someday. For now, changing games means getting out the PICkit. There are currently two to choose from: Star Lynx, an awesome flying shooter where you get to save a feline population, and Mattsteroids, which is exactly what it sounds like. There’s only one Ocelot in existence, and although it isn’t for sale, [Matt] has terrific technical documentation should you care to replicate it. One thing you might not be able to replicate is the awesome vintage advert he made for the Ocelot, which is cued up after the break.

Don’t have a ‘scope? You can do vector graphics on a CRT with an FPGA.

Continue reading “Ocelot Arcade System Illustrates The Scope Of Vector Graphics”

Extracting A Vector Font From A Vintage Plotter

There is a huge variety of hardware out there with a font of some form or other baked into the ROM. If it’s got a display it needs a font, and invariably that font is stored as a raster. Finding these fonts is trivial – dump the ROM, render it as a bitmap, and voilà – there’s your font. However, what if you’re trying to dump the font from a vintage Apple 410 Color Plotter? It’s stored in a vector format, and your job just got a whole lot harder.

The problem with a vector font is that the letters aren’t stored as individual images, but as a series of instructions that, when parsed correctly, draw the character. This has many benefits for generating characters in all manner of different sizes, but makes the font itself much harder to find in a ROM dump. You’re looking for both the instructions that generate the characters, as well as the code used to draw them, if you want a full representation of the font.

The project begins by looking at what’s known about the plotter. The first part of any such job is always knowing where to look, of course. It’s quickly determined that the font is definitely stored in the main ROM, and that there is no other special vector drawing chip or ROMs on board. The article then steps through the search process, beginning with plaintext searches of the binary dump, before progressing to a full disassembly of the plotter firmware. After testing out various assumptions and working methodically, the vector data is found and eventually converted into a modern TrueType font.

In the end, the project is successful, and it’s a great guide on how to approach similar projects. The key is to lay out everything you know at the start, and use that to guide your search step by step, testing and discarding assumptions until you hit paydirt. We’ve seen similar works before, like this project to dump the voice from an ancient Chrysler Electronic Voice Alert.

Light-Painting Robot Turns Any Floor Into Art

Is [SpongeBob SquarePants] art? Opinions will differ, but there’s little doubt about how cool it is to render a pixel-mapped time-lapse portrait of Bikini Bottom’s most famous native son with a roving light painting robot.

Inspired by the recent trend of long exposure pictures of light-adorned Roombas in darkened rooms, [Hacker House] decided to go one step beyond and make a lighted robot with less random navigational tendencies. A 3D-printed frame and wheels carries a pair of steppers and a Raspberry Pi. An 8×8 Neopixel matrix on top provides the light. The software is capable of rendering both simple vector images and rastering across a large surface to produce full-color images. You’ll notice the careful coordination between movement and light in the video below, as well as the impressive turn-on-a-dime performance of the rover, both of which make the images produced so precise.

We’ve covered a lot of light-painting videos before, including jiggering a 3D-printer and using a hanging plotter to paint. But we haven’t seen a light-painter with an essentially unlimited canvas before. We’d also love to see what two or more of these little fellows could accomplish working together.

Continue reading “Light-Painting Robot Turns Any Floor Into Art”