We bet when [devttyS0] made his latest video about RF filter design (YouTube, embedded below), he had the old saying in mind: in theory, there’s no difference between theory and practice, but in practice, there is. He starts out pointing how now modern tools will make designing and simulating any kind of filter easy, but the trick is to actually build it in real life and get the same performance. You can see the video below.
One of the culprits, of course, is we tend to design and simulate with perfect components. Wires have zero resistance, capacitance, and inductance. Inductors and capacitance have no parasitic elements in our rosy design world. Even the values of components will vary from their ideal values and may change over time.
Continue reading “Real World RF Filter Design And Construction”
Lisp is one of those interesting computer languages that you either love or hate. But it has certainly stood the test of time. Of all the ancient languages that are still in practical use, only FORTRAN is older, and only by one year. If you ever wanted to learn Lisp, [Kanaka] has an interesting approach: Study how to build your own Lisp in your favorite language.
What if your favorite language is something obscure? [Kanaka’s] GitHub page has no fewer than 64 different implementations of Mal (Make a Lisp), each in a different language. Unsurprisingly, C and Python are on the list. However, so is Forth and Go and Awk. Not strange enough for you? How about Make? Yes, Make, like you use to build programs. Bash, Postscript, and even VHDL have entries, although–surprisingly–no Verilog; we don’t know why.
Each implementation of Mal is separated into eleven incremental, self-contained, and testable steps that demonstrate core concepts of Lisp. The last step can actually run a copy of itself–typical for a mind-bending language like Lisp. There is a guide to help you navigate through the process in the language of your choice. The suggestion is to not look at the code in the repository until after you’ve written it yourself. You can see [Kanaka] (also known as [Joel Martin]) giving a recent talk about the Mal process in the videos below.
Continue reading “Hack Your Own Lisp Language Using… Well… Anything”
A robot assistant would make the lives of many much easier. Luckily, it’s possible to make one of your own with few fancy materials. The [circuito.io] team demonstrates this by building a robot arm out of recyclables!
With the exception of the electronics — an Arduino, a trio of servo motors, and a joystick — the arm is made almost completely out of salvaged recyclables: scrap wood, a plastic bottle, bits of plastic string and a spring. Oh, and — demonstrating yet another use for those multi-talented tubers — a potato acts as a counterweight.
Instead of using screws or glue, these hackers used string made from a plastic bottle as a form of heat shrink wrap to bind the parts of the arm together. The gripper has only one pivoting claw for greater strength, and the spring snaps it open once released. Behold: your tea-bag dunking assistant.
Continue reading “Robot Arm From Recyclables”
If it’s been a few years since you’ve been to Disney World, you’re in for a surprise on your next visit. It seems the Happiest Place on Earth has become the Trackiest Place on Earth thanks to the Disney MagicBand, a multipurpose wristband that acts as your pass to all the Disney magic.
[Adam] recently returned from a Disney vacation and brought back his MagicBand, which quickly went under the knife for a peek at the magic inside. It turns out the technology is fairly mundane — a couple of flex PCBs with trace antennas and the usual trappings of an RFID transponder. But there’s also another antenna and a chip identified in a separate teardown as an NRF24LE1 2.4 GHz transceiver and microcontroller. The whole thing is powered by a coin cell, meaning the band isn’t just being interrogated by RFID – it’s actively transmitting and receiving.
What exactly it’s doing isn’t clear; Disney was characteristically cagey about specifics when [Adam] looked into the details, saying only that the bands “provide information that helps us improve the overall experience in our parks”. If you put aside the privacy concerns, it’s truly mind-boggling to think about the systems that must be in place to track thousands of these MagicBands around the enormous Disney property. And we can’t help but wonder if some of Disney R&D’s EM-Sense technology is at work in these wearables.
Thanks to [JohnU] for the tip.
It’s a staple of home CNC construction, the 3D mill built on the bench from available parts. Be the on a tubular, plywood, or extruded aluminum frame, we’ve seen an astonishing array of mills of varying levels of capability.
The norm for such a mill is to have a computer controlling it. Give it a CAD file, perform the software magic, press button, receive finished object (Or so the theory goes). It’s a surprise then to see a mill in which the input doesn’t come from a CAD file, instead all control is done by hand through the medium of a joystick. [Mark Miller]’s 3D printed freeform carving machine is a joystick-controlled mill with a rotary tool on an arm facing a rotatable bed, and it can perform impressive feats of carving in expanded foam.
You might ask why on earth you should make a machine such as this one when you could simply pick up a rotary tool in your hand and start carving. And you’d be right, from that perspective there’s an air of glorious uselessness to the machine. But to take that view misses the point entirely, it’s a clever build and rather a neat idea. We notice he’s not put up the files yet for other people to have a go, if someone else fancies making CNC software work with it then we’re sure that would be possible.
There is a video showing the basic movements the mill is capable of, which we’ve put below the break. Best to say, though, it’s one on which to enable YouTube’s double speed option.
Continue reading “Hackaday Prize Entry: A CNC Mill Without The C”
I have a bit of a love/hate relationship with the Arduino. But if I had two serious gripes about the original offering it was the 8-bit CPU and the lack of proper debugging support. Now there’s plenty of 32-bit support in the Arduino IDE, so that takes care of the first big issue. Taking care of having a real debugger, though, is a bit trickier. I recently set out to use one of the cheap “blue pill” STM32 ARM boards. These are available for just a few bucks from the usual Chinese sources. I picked mine up for about $6 because I wanted it in a week instead of a month. That’s still pretty inexpensive. The chip has a lot of great debugging features. Can we unlock them? You can, if you have the right approach.
For a few bucks, you can’t complain about the hardware. The STM32F103C8T6 onboard is a Cortex-M3 processor that runs at 72 MHz. There’s 64K of flash and 20K of RAM. There’s a
minimicro-USB that can act as a programming port (but not at first). There’s also many 5 V-tolerant pins, even though this a 3.3 V part.
You can find a lot more information on this wiki. The board is a clone–more or less–of a Maple Mini. In fact, that’s one way you can use these. You can use the serial or ST-Link port to program the Maple bootloader (all open source) and use it like a Maple. That is, you can program it via the USB cable.
From my point of view, though, I don’t want to try to debugging over the serial port and if I have the ST-Link port already set up, I don’t care about a bootloader. You can get hardware that acts as a USB to ST-Link device inexpensively, but I happen to have an STM32VLDISCOVER board hanging around. Most of the STM32 demo boards have an ST-Link programmer onboard that is made to use without the original target hardware. On some of the older boards, you had to cut traces, but most of the new ones just have two jumpers you remove when you want to use the programmer to drive another device.
The “blue pill” designation is just a common nickname referring to the Matrix, not the pharmaceuticals you see on TV ads. The board has four pins at one edge to accommodate the ST-Link interface. The pin ordering didn’t match up with the four pins on the STM32VLDISCOVER, so you can’t just use a straight four-pin cable. You also need to bring power over to the board since it will have to power the programmer, too. I took the power from the STM32VLDISCOVER board (which is getting its power from USB) and jumpered it to my breadboard since that was handy.
Continue reading “The $2 32-Bit Arduino (with Debugging)”
How do you like your Ham and Cheese sandwich? If you answered “I prefer it beefy”, look no further than [William Osman]’s Vin Diesel Ham and Cheese Sandwich! [Osman]’s blog tagline is “There’s science to do” but he is the first to admit this is science gone too far. When one of his followers, [Restroom Sounds], commented “Please sculpt a bust of [Vin Diesel] using laser cut cross-sections of laser sliced ham”, he just had to do it.
His friend [CameraManJohn] modeled the bust using Maya and [Osman] has provided links to download the files in case there’s the remote possibility that someone else wants to try this out. They picked the cheapest packs of sliced ham they could get from the supermarket — so technically, they did not actually laser slice the ham. For help with generating the slice outlines, they found the Slicer app for Autodesk’s Fusion 360 which did exactly what needed to be done. The app converts the 3D model into individual cross sections, similar to an MRI. It helps to measure the thickness of various samples of your raw material so that the Slicer output is not too stretched (or squished). The result is a set of numbered 2D drawings that can be sent to your laser cutter.
The rest of the video scores pretty high on the gross-o-meter, as [Osman] goes about laser cutting slices of ham (and a few slices of cheese), tasting laser cut ham (for Science, of course), and trying to prevent his computer from getting messed up. In the end, the sandwich actually turns out looking quite nice, although we will not comment on its taste. A pair of googly eyes adds character to the bust.
One problem is that the Slicer app does not optimise its results for efficient packing. with the smallest part occupying the same bounding box as the largest. This leads to a lot of wasted pieces of ham slices to be thrown away. [Bill] is still wondering what to do with his awesome sandwich, so if you have suggestions, chime in with your comments after you’ve seen the video linked below. If you know [Vin Diesel], let him know.
This isn’t [Osman]’s first adventure with crazy food hacks — here are a few tasty examples: a Toast-Bot that Butters For You (sometimes), a Laser-Cut Gingerbread Trailer Home, and a Pumpkin-Skinned BattleBot.
Continue reading “Sudo Make Me A Sandwich”