A breadboard with a few DIP chips

Minimalist 6502 System Uses A CPU And Not Much Else

A central processing unit, or CPU, is the heart of any computer system. But it’s definitely not the only part: you also need RAM, ROM and at least some peripherals to turn it into a complete system that can actually do something useful. Modern microcontrollers typically have some or all of these functions integrated into a single chip, but classic CPUs don’t: they were meant to be placed on motherboards along with dozens of other chips. That’s why [c0pperdragon]’s latest project, the SingleBreadboardComputer, is such an amazing design: assisting its 6502 CPU are just four companion chips.

The entire system takes up just one strip of solderless breadboard. Next to the CPU we find 32 KB of SRAM, 32 KB of flash and a clock oscillator. The fifth chip is a 74HC00 quad two-input NAND gate, which is used as a very tiny piece of glue logic to connect everything together. Two of its NAND gates are used for address decoding logic, allowing either the ROM or RAM chip to be selected depending on the state of the CPU’s A15 line as well as blocking the RAM during the low phase of the system clock. The latter function is needed because the address lines are not guaranteed to be stable during the low phase and could cause writes to random memory locations.

The remaining two NAND gates are connected as an RS-flipflop in order to implement a serial output. This is needed because the CPU cannot keep its outputs in the same state for multiple clock cycles, which is required for a serial port. Instead, [c0pperdragon] uses the MLB pin, normally used to implement multiprocessor systems, to generate two-clock pulses, and stores the state in the flipflop for as long as needed. A few well-timed software routines can then be used to transmit and receive serial data without any further hardware.

Currently, the only software for this system is a simple demonstration that sends back data received on its serial port, but if you fancy a challenge you could write programs to do pretty much anything. You could probably find some inspiration in other minimalist 6502 boards, or projects that emulate a complete motherboard in an FPGA.

A Hacker Walks Into A Trade Show: Electronica 2022

Last week, the world’s largest electronics trade fair took place in Munich, so I had to attend. Electronica is so big that it happens only once every two years and fills up 14 airplane hangars. As the fairly generic name suggests, it covers anything and everything having to do with electronics. From the producers of your favorite MLCC capacitors to the firms that deliver them to your doorstep, from suppliers of ASIC test equipment to the little shop that’ll custom wind toroids for you, that’s a pretty wide scope. Walking around, I saw tomorrow’s technology today from the big players, but I also picked up some ideas that would be useful for the home gamer.

When I first walked in, for instance, I ran into the Elantas booth. They’re a company that makes flexible insulation and specialty industrial coatings. But what caught my eye was a thermoformed plastic sheet with circuit traces on it. To manufacture them, they cut out copper foil, glue it to a flat plastic sheet with a glue that has a little give, and then put it all together into a vacuum former. The result is a 3D circuit and organically formed substrate in one shot. Very cool, and none of the tech for doing that is outside of the reach of the determined hacker.

The Cool Stuff

All of the stands, big or small, try to lure you in with some gimmick. The big fish, firms with deep pockets, put up huge signs and open bars, and are staffed by no shortage of salespeople in suits. The little fish, on the other hand, have to resort to showing you the cool stuff that they do, and it’s more often the application engineers sitting there, ready to talk tech. You can guess which I found more interesting.

For instance when I walked up to an obviously DIY popcorn popper that was also showing 5000 FPS footage of kernels in mid-pop, I had to ask. The company in question was a small UK outfit that made custom programmable power supplies and digital acquisition gear that interfaced with it. You could plug in their box to some temperature probes, fire off the high-speed video camera, and control the heating and cooling profile without writing any code. Very sweet. Continue reading “A Hacker Walks Into A Trade Show: Electronica 2022”

Start Your Engines: The FPV Contest Begins Now!

There are places that you can go in person, but for everything else, there’s FPV. Whether you’re flying race quads, diving the depths in a yellow submarine, or simply roving the surface of the land, we want to see your builds. If it’s remote controlled, and you feel like you’re in the pilot’s seat, it’s FPV.

That’s you in the car.

When you say “first person view” many of you will instinctively follow up with “flight” or “drone”. But given the ease of adding a camera and remote control to almost any vehicle, there’s no reason to only fly the FPV skies. (Of course, we want to see your crazy quadcopter builds too.)

We went looking for a few less-traditional examples to whet your appetite, and we found a lot. There are super-cute FPV bots for indoors and more robust tanks for cruising around the neighborhood. In the summer, you’ll probably need an FPV lawnmower, and for the winter, naturally, an FPV snowblower or a budget-friendly FPV snow-boat. Or skip the outdoors entirely and terrorize the pool with an FPV sub.

This contest isn’t exclusively about the vehicles either. If you’re working on the tech that makes FPV possible, we want you to enter. For instance, this simple quad/drone tracker will help keep your video feed running and your mind on flying. This cockpit will make the immersion more complete. And nobody likes the jello-cam effect that excess vibration can cause, so we’d like to see camera hacks as well.

And of course, your quads. Is your FPV quad too fast, too light, or does it fly too far? Show us. The contest starts now and runs until Jan 3, 2023, and there are three $150 shopping sprees courtesy of Digi-Key on the line. Get hacking!

An Open Source Modular Flexure Construction Set

Flexures are one of those innocent-looking mechanisms that one finds inside practically any kind of consumer device. Providing constrained movements with small displacements, complete with controlled tension, they can be rather tricky to design. GrabCAD designer [Vyacheslav Popov] hails from Ukraine, and due to the current situation there, plans to sell a collection of flexure building blocks became difficult. In the end, [Vyacheslav] decided to generously release his work open source, for all to enjoy. This collection is quite extensive, looking like it could solve a huge variety of flexure design problems. (Links to the first three sets: Set00Set01Set02 but check the author’s collection page for many others)

It’s not just those super-cheap mechanisms in throw-away gadgets that leverage flexures, it’s much more. The Mars rovers use flexure-based suspension, scientific instruments (interferometers and the like) make use of them for small motions where specific axis constraints are needed, and finally, MEMS accelerometers and gyroscopes are based entirely upon them. We’re not even going to try to name examples of flexures in the natural world. They’re everywhere. And, now we’ve got some more design examples to use, so why not flex your flexure muscles and send one to the 3D printer and have a play?

We see flexures here quite a bit, like this nice demonstration of achievable accuracy. Flexures can make some delicious mechanisms, and neat 3D printable input devices.

Thanks to [Addison] for the tip!

Spoofing LIDAR Could Blind Autonomous Vehicles To Obstacles

Humans manage to drive in an acceptable fashion using just two eyes and two ears to sense the world around them. Autonomous vehicles are kitted out with sensor packages altogether more complex. They typically rely on radar, lidar, ultrasonic sensors, or cameras all working in concert to detect the road conditions ahead.

While humans are pretty wily and difficult to fool, our robot driving friends are less robust. Some researchers are concerned that LiDAR sensors could be spoofed, hiding obstacles and tricking driverless cars into crashes, or worse.

Continue reading “Spoofing LIDAR Could Blind Autonomous Vehicles To Obstacles”

If Your Drone Flies, Eat It!

Over the years we’ve featured countless drone projects here at Hackaday, fixed wing, rotary wing, multi-rotor, and more. Among them all we think there may be a type that we’ve never seen, but that is about to change as it’s the first time we’ve brought you an edible drone.

Why might you need an edible drone, you ask? It’s not to conceal the evidence after closing an airport — instead it’s a research project from the Swiss Federal Institute of Technology to produce an efficient means of bringing sustenance to stranded climbers. The St. Bernard dogs are out of a job, it’s now done the modern way!

Jokes aside, this is clearly an experimental craft, a fixed-wing monoplane whose wings are made from rice cakes and gelatin. A stranded climber could certainly munch away at those airofoils, but we’re guessing a real device would need something a little more nutritious while retaining the light cellular structure.

This may be our first edible drone, but it’s not the first piece of edible technology we’ve brought you.

a 3d printed case, sitting on a table with cactuses in the background, with a 3d rendered holo assistant reflected in a cone of polycarbonate sheets from a flat HDMI display pointed up

Anime Inspired Holographic Virtual Assistant

[Jessp] has created a very cute and endearing DIY virtual assistant called Maria. The build combines a 3D printed housing that uses a modern take on the “Pepper’s Ghost” illusion to render a virtual, three-dimensional anime inspired assistant that can take commands to get information about the weather, play music or set timers.

The hub houses a Raspberry Pi 4B and a 3.2 inch LCD HDMI screen mounted flat on its back to render the perspective corrected “Maria” character using a technique borrowed from the Pepper’s Cone project. Polycarbonate sheets are formed into a cone, allowing for the 3D effect of rendering the virtual assistant model. A consumer grade mini USB microphone is used to receive voice commands along with a consumer grade USB speaker for audio feedback. The virtual assistant offloads the text to speech services to Google Cloud, along with using a weather API and Spotify developer account to for its musical options.

All source code is available on [Jessp]’s GitHub page, including build instructions and STL files for the housing. We’ve featured open source voice assistants in the past, including Mycroft and a even a HAL-9000 virtual assistant (running Kalliope) but it’s nice to see further experimentation in this space.

Continue reading “Anime Inspired Holographic Virtual Assistant”