Backyard UFO Is Out Of This World

Halloween may be over for another year, but UFOs in your yard are cool year-round. This one might take the cake. [frydom.john]’s excellent UFO is fully programmable and contains about 2000 addressable RGB LEDs, smoke, a laser-lit ramp, and of course, an alien crew.

Under the hood of the wooden frame, you’ll find a Teensy 4.1 running the blinkenlights. There’s also a hacked smoke machine, because what’s a UFO without smoke or fog emanating from underneath? There are six PC fans to blow it around and recycle it, and the ramp runs on a linear actuator.

[frydom.john]’s project notes (PDF), which they refer to as ‘scrappy/hacky’ are also available. We beg to differ a bit on the scrappy/hacky part; it’s 60 pages long and full of photos and diagrams and charts. Even so, it may not be enough for you to replicate this extraterrestrial vehicle, so [frydom.john] is open to questions. Be sure to check this thing out after the break.

Want to have your UFO lift off of the ground? It’s possible with the Coandă effect.

Continue reading “Backyard UFO Is Out Of This World”

Using Nuclear Decay As Random Number Generator Source For An MCU

Although there are many ways to get a random number generator (RNG) set up on a microcontroller, it’s hard to argue with the sheer randomness of the various kinds of radiation zipping all around us from nuclear decay events. For [gbonacini] the purchase of a Geiger counter first in 2022 was the reason to tinker with using these as the source for an RNG, which simply runs a counter until a Geiger counter event occurs that ‘selects’ a number and the counter is reset to zero.

With the next version of this system the hardware and layout has changed somewhat, using a commercial handheld Geiger counter (GMC-320+) and its audio output as a generic input for any MCU. The (pulsed) audio signal is amplified with an opamp (left unspecified) that connects to a GPIO pin of the MCU (RP2040-based Pico W). Here the same algorithm is used to create a continuous queue of randomly picked numbers, which can also be queried via the WiFi interface with a custom protocol, essentially making it a network-connected RNG that could be used by other network-connected appliances.

C++ source is provided for the Pico W example, but it should be easy enough to adapt to other platforms. The GMC-320+ is also among the more affordable Geiger counters out there, even if it’s somewhat bulky to pair with just a single MCU, making a more basic Geiger counter module better for a permanent installation. Either way you should get pretty good RNG this way without splurging on exotic hardware.

Thanks to [navigator] for the tip.

Hot Wheel Car Becomes 1/64 Scale Micro RC Car, Complete With Camera

If you enjoy watching skilled assembly of small mechanical systems with electronics to match, then make some time to watch [Max Imagination] transform a Hot Wheels car into a 1/64th scale RC car complete with video FPV video feed. To say the project took careful planning and assembly would be an understatement, and the results look great.

The sort of affordable electronics available to hobbyists today opens up all kinds of possibilities, but connecting up various integrated modules brings its own challenges. This is especially true when there are physical constraints such as fitting everything into an off-the-shelf 1/64 scale toy car.

There are a lot of interesting build details that [Max] showcases, such as rebuilding a tiny DC motor to have a longer shaft so that it can drive both wheels at once. We also liked the use of 0.2 mm thick nickel strips (intended for connecting cells in a battery pack) as compliant structural components.

There are actually two web servers being run on the car. One provides an interface for throttle and steering (here’s the code it uses), and the other takes care of the video feed with ESP32-CAM sending a motion jpeg stream. [Max]’s mobile phone is used to control the car, and a second device goes into an old phone-based VR headset to display the FPV video feed.

Circuit diagrams and code are available for anyone wanting to perhaps make a similar project. We’ve seen micro RC builds of high quality before, but integrating an FPV camera kicks things up a notch. Want even more complex builds? All the rules change when weight reduction is a non-negotiable #1 priority. Check out a micro RC plane that weighs under three grams and get a few new ideas.

Continue reading “Hot Wheel Car Becomes 1/64 Scale Micro RC Car, Complete With Camera”

Adding Temperature Sensor Functionality To The CH32V003 MCU

As cheap as the WCH CH32V003 MCU is, its approximately $0.10 price tag looks far less attractive when you need to start adding on external ICs for missing basic features, such as temperature measurement. This is a feature that’s commonly found on even basic STM32 MCUs. Fear not though, as [eeucalyptus] shows, you can improvise a working solution by finding alternative sources that can act as a thermometer.

Plot of the temperature measurement using the improvised CH32V003 -based temperature sensor. (Credit: eeucalyptus)
Plot of the temperature measurement using the improvised CH32V003 -based temperature sensor. (Credit: eeucalyptus)

The CH32V003 is a low-end, 32-bit RISC-V-based MCU by the China-based Nanjing Qinheng Microelectronics, commonly known abbreviated as ‘WCH’, and featured on Hackaday previously. Although it features a single-core, 48 MHz CPU, its selection of peripherals is fairly basic:

So how do you create an internal temperature sensor using just this? [eeucalyptus] figured that all that’s needed is to measure the drift between two internal clocks – such as the LSI and HSI – as temperatures change and use this to calibrate a temperature graph.

Unfortunately, the LSI isn’t readily accessible, even through the Timer peripheral. This left the AWU (automatic wake-up unit) which also uses the LSI as a clock source. By letting it go to sleep and wake up after N LSI cycles, the AWU enabled indirect access to the LSI.

Internal diagram of the CH32V003 MCU. (Credit: WCH)
Internal diagram of the CH32V003 MCU. (Credit: WCH)

After calibrating against room temperature (~22 °C) and ice water (0 °C), a temperature plot was obtained, which could conceivably be somewhat accurate. As [eeucalyptus] warns, this is a kind of calibration that likely differs per MCU, and no attempt to quantify the absolute accuracy of this method has been made yet. Even so, as a crude temperature measurement, it might just be good enough.

Building Penny’s Computer Watch From Inspector Gadget

When you help your bumbling Uncle Gadget with all kinds of missions, you definitely need a watch that can do it all. Penny’s video watch from Inspector Gadget has a ton of features including video communication with Brain and Chief Quimby, a laser, a magnet, a flashlight, a sonar signal, and much more.

To round out her Penny costume, [Becky Stern] has created a 3D printed version of Penny’s incredibly smart watch. It listens for Penny’s iconic phrase — come in, Brain! — and then loads a new picture of Brain on the rounded rectangle TFT display. Inside the watch is an Arduino Nicla Voice, which has to be one of the tinier machine learning-capable boards out there.

[Becky] created the watch case in Tinkercad and modified a watch band from Printables to fit her wrist. With such a small enclosure to work with, [Becky] ended up using that really flexible 30 AWG silicone-jacketed wire for all the fiddly connections between the Arduino and the screen.

After getting it all wired up to test, she found that the screen was broken, either from pressing it into the enclosure, or having a too-close encounter with a helping hands. Let that be a lesson to you, and check out the build video after the break.

More interested in Uncle Gadget’s goodies? Check out these go-go-Gadget shoes and this propeller backpack for skiers.

Continue reading “Building Penny’s Computer Watch From Inspector Gadget

Teensy Stands In For The Motorola 68k

While it might not seem like it today, there was a time in the not-too-distant past where Motorola was the processor manufacturer. They made chips for everything, but the most popular was arguably the 68000 or 68k. It’s still has a considerable following today, largely among retrocomputing enthusiasts or those maintaining legacy hardware. For those wanting to dip their toes into this world, this Motorola 68000 emulator created by [Ted Fried] may be the thing needed to discover the magic of these once-ubiquitous chips.

The emulator itself runs on a Teensy 4.1, a 32-bit ARM microcontroller running at 600 MHz — giving it enough computing power to act as a cycle-accurate emulator not only for the 68000 CPU but also the local bus interface, in this case for a Mac 512K. This capability also makes it a drop-in replacement for the 68000 in these older Macs and the original hardware in these computers won’t notice much of a difference. A few tricks are needed to get it fully operational though, notably using a set of latches to make up for the fact that the Teensy doesn’t have the required number of output pins to interface one-to-one with the original hardware.

While the emulator may currently be able to replace the hardware and boot the computer, there is still ongoing development to get every part of the operating system up and working. The source code is available on the project’s GitHub page though so any updates made in the future can be found there. And if you have a Mac 128k and still haven’t upgraded to the 512k yet, grab one of these memory switching modules for the upgrade too.

Continue reading “Teensy Stands In For The Motorola 68k”

“Cheap Yellow Display” Builds Community Through Hardware

For the most part, Hackaday is all about hardware hacking projects. Sometimes, though, the real hack in a project isn’t building hardware, but rather building a community around the hardware.

Case in point: [Brian Lough]’s latest project, which he dubs “CYD,” for the “cheap yellow display” that it’s based on; which is a lot easier to remember than its official designation, ESP32-2432S028R. Whatever you call it, this board is better than it sounds, with an ESP32 with WiFi, Bluetooth, a 320×480 resistive touch screen, and niceties like USB and an SD card socket — all on aforementioned yellow PCB. The good news is that you can get this thing for about $15 on Ali Express. The bad news is that, as is often the case with hardware from the Big Rock Candy Mountain, the only documentation available comes from a website we wouldn’t touch with a ten-foot pole.

To fix this problem, [Brian] started what he hopes will be a collaborative effort to build a knowledge base for the CYD, to encourage people to put these little gems to work. He has already kick-started that with a ton of quality documentation, including setup and configuration instructions, tips and gotchas, and some sample projects that put the CYD’s capabilities to the test. It’s all on GitHub and there’s already at least one pull request; hopefully that’ll grow once the word gets out.

Honestly, these look like fantastic little boards that are a heck of a bargain. We’re thinking about picking up a few of these while they last, and maybe even getting in on the action in this nascent community. And hats off to [Brian] for getting this effort going.

Continue reading ““Cheap Yellow Display” Builds Community Through Hardware”