Quiet Your Car The Cheap And Effective Way

If you’ve been on the Earth for a couple of decades or more, or have just grown up riding around in some older metal, you’d know that cars can be incredibly noisy. If you’re unfamiliar, buy yourself a nice car like a 2000 Honda Civic, strip out all the carpet and interior panels, and go for a drive. Huge amounts of research and development have gone into making modern cars as quiet and comfortable as possible. Through the correct use of sound deadening materials and techniques, a car can be made much quieter and audio quality from the sound system can be improved too. [camerajack21] decided to get to work on their Volkswagen to see what could be done.

The project in question pays special attention to the door panels. These are where the primary speakers are housed, and there were issues with rattles if the speakers were allowed to operate at frequencies below 100 Hz. Weather stripping, foam, and improved fasteners were pressed into service to reduce this issue.

Think of a musical bell. If you touch a small part of the bell with just your finger, it no longer can ring true. You don’t need to wrap your entire hand around a bell to keep it from ringing. Your finger is not absorbing sound, just preventing the bell from ringing.

Focus then moved to the body panels. Special sound deadening material (in this case, Silent Coat brand) was then applied to the insides of the doors and trunk to bring the sound level down. The key to effective application of such materials is not to waste money covering entire panels – the Reddit comments are particularly enlightening here. It only takes a small amount of material to stop a panel from vibrating, with most testing suggesting anymore than 30% coverage of a panel brings diminishing returns.

With your car’s sound environment tidily improved, you might be looking for ways to improve your sound system. There’s plenty of ways to go about it – you can even use guitar effects.

Vector Network Analyzer Uses SoC FPGA

If you are working with AC circuits a vector network analyzer (VNA) is quite handy. As an entry to the InnovateFPGA competition for students, [Evgenii Vostrikov], [Danila Nikiforovskii], and [Daniil Smirnov] created a VNA using a DE10-Nano, high-speed analog to digital and digital to analog converters, and a circulator. Most of the details are in the video below, and on the project’s GitHub page.

The DE10-Nano has a dual-core ARM processor and an Altera FPGA in one package. That allows you to use the CPUs where that makes sense and still leverage the FPGA where you need high performance.

The circulator uses an op-amp to allow the test signal to route to the device under test, while steering any reflected signal back to the device for measurement. The design also uses a lock-in amplifier, something we’ve talked about a few times recently. This allows less expensive converters to generate magnitude and phase information.

Judging by the fan in the video, we suspect the setup gets a little toasty. The GitHub page has a lot of Russian on it, so we aren’t sure how much we could puzzle out since our Russian skills were mostly from watching the Adventures of Moose and Squirrel.

If you are interested in a VNA, they aren’t as expensive as they used to be. Particularly, if you roll your own and already have some things in your junk box.

Continue reading “Vector Network Analyzer Uses SoC FPGA”

Pic16maze secret maze game

PIC16Maze Upgrades Secret Maze Game

We really like it when a reader is inspired by something they see on Hackaday, build on it, and let us know so we can pass it on. In this case, [Vegipete] made a secret maze game using a minimal number of parts and some neat software trickery.

It’s built around an 8-pin PIC16F18313 microcontroller, uses a joystick for input, and nine WS2812 LEDs to display the player and the surrounding maze walls. His inspiration was [David Johnson-Davies’] minimalist secret maze game built around the 8-pin ATTiny85. In that one, [David] cleverly used charlieplexing to get four pins to control four LEDs and four pushbuttons. [Vegipete’s] use of the WS2812 LEDs allowed him to control the LEDs with just one pin, and also get color while using three pins for the joystick and its button. He may use another pin in the future for sound and vibration.

He goes into some detail on the WS2812 protocol, how communication is done with the LEDs using just one pin and different pulse-lengths to represent 0 and 1. We’ll leave you to see his post for more depth but basically, he introduces a module on the PIC called the Configurable Logic Cell (CLC) which makes this easy and frees up processor cycles for the user’s code to do other things.

Secret maze wall bitsHis source code is available on request but he does detail a neat software trick he uses for rotating the view. It may be confusing for some but as you move through the maze, your viewpoint rotates so that up is always the direction you’re facing. Luckily, the walls surrounding the user can be represented using 8-bits, four for east, west, north, and south, and four more for the corners. The maze is stored as a bitmap and from it, 8-bit values are extracted for the current position, each bit representing a wall around the position. To rotate the walls to match the user’s current orientation, the bits are simply shifted as needed. Then they’re shifted out to set each LED. Check it out in the video below.

It works very well despite the minimal interface and part count.

Continue reading “PIC16Maze Upgrades Secret Maze Game”

Diagram generated by QElectroTech

QElectroTech: An Open Source Wiring Diagram Tool

There’s a few open source options out there for creating electrical schematics. KiCad and Fritzing are two that will take you from schematic capture to PCB layout. However, there’s been limited options for creating wiring diagrams. Often these are created in Microsoft’s Visio, which is neither open source nor well suited for the task.

QElectroTech is an open source tool for drawing these types of diagrams. It consists of two tools: an element editor for creating schematic symbols and a diagram editor for creating your drawings. Libraries of common symbols are also included, along with the IEC 60617 standardized symbols.

Being a schematic editor, QElectroTech does a good job of drawing clean connections between components. Connections are automatically routed at 90 degree angles and are easy to drag around. Systems made up of more than just electrical connections are also a good fit for the software. Here you can see piping and manual valves as well as electronic sensors and actuators all in the same diagram.

Next time you need to document the wiring of something, QElectroTech is a good option to try. It’s been around since 2008 it is under active development, and there are Windows, OSX and Linux version (including a PPA for nightly builds) available.

Breadboarding: Git For A/B Testing Actual Bread

We will be the first to admit, we like to use Git for a lot of things that are probably off the beaten path. But now thanks to [hendricius] you can find out how to make your own bread on GitHub. Let’s get one thing straight. This isn’t the breadmaker fad from a while back, although we are surprised we don’t see more hacked together breadmakers with Internet connectivity. This is old-fashioned bread baking with a bowl, some ingredients, and an oven or another heat source.

You might think this is just using Git as a repository for recipes, but it is more than that. According to [hendricius]:

Learn how to master the art of baking the programmer way. If you love programming, you will also enjoy breaking some bread. A/B test, iterate and ultimately become a self-taught baker. This repository is dedicated to becoming your bread manifesto with useful tricks and hacks. Furthermore, the goal is to illustrate how easy making bread is and that you can get started today without expensive tools.

Continue reading “Breadboarding: Git For A/B Testing Actual Bread”

The Metabolizer Turns Trash Into Treasure

The amount of stuff we humans throw away is too damn high, and a bunch of it harms the ecosystem. But what are you gonna do? [Sam Smith] thinks we can do better than shoving most of it in a landfill and waiting for it to break down. That’s why he’s building The Metabolizer. It’s a series of systems designed to turn household trash (including plastic!) into useful things like fuel, building materials, and 3D prints.

The idea is to mimic the metabolism of a living organism and design something that can break down garbage into both useful stuff and fuel for itself. [Sam] is confident that since humans figured out how to make plastic, we can figure out a system to metabolize it. His proof-of-concept plan is to break down waste into combustible, gaseous fuel and use that fuel to power a small engine. The engine will power an open-source plastic shredder and turn a generator that powers an open-source plastic pellet printer like the SeeMeCNC Part Daddy.

Shredding plastic for use as a biomass requires condensing out the tar and hydrocarbons. This process leaves carbon monoxide and hydrogen syngas, which is perfect for running a Briggs & Stratton from Craigslist that’s been modified to run on gaseous fuel. Condensation is a nasty process that we don’t advise trying unless you know what you’re doing. Be careful, [Sam], because we’re excited to watch this one progress. You can watch it chew up some plastic after the break.

If [Sam] ever runs out of garbage to feed The Metabolizer, maybe he could build a fleet of trash-collecting robots.

Continue reading “The Metabolizer Turns Trash Into Treasure”

Optocouplers: Defending Your Microcontroller, MIDI, And A Hot Tip For Speed

Deep in the heart of your latest project lies a little silicon brain. Much like the brain inside your own bone-plated noggin, your microcontroller needs protection from the outside world from time to time. When it comes to isolating your microcontroller’s sensitive little pins from high voltages, ground loops, or general noise, nothing beats an optocoupler. And while simple on-off control of a device through an optocoupler can be as simple as hooking up an LED, they are not perfect digital devices.

But first a step back. What is an optocoupler anyway? The prototype is an LED and a light-sensitive transistor stuck together in a lightproof case. But there are many choices for the receiver side: photodiodes, BJT phototransistors, MOSFETs, photo-triacs, photo-Darlingtons, and more.

So while implementation details vary, the crux is that your microcontroller turns on an LED, and it’s the light from that LED that activates the other side of the circuit. The only connection between the LED side and the transistor side is non-electrical — light across a small gap — and that provides the rock-solid, one-way isolation.

Continue reading “Optocouplers: Defending Your Microcontroller, MIDI, And A Hot Tip For Speed”