A DIY DIN rail mounted rack of PLC components for home automation

2024 Home Sweet Home Automation: A DIY SCADA Smart Home

A SCADA-style display of icons and control buttons
Touch-screen control and monitoring

Supervisory control and data acquisition, or SCADA, systems sit in the background in industrial settings, performing all kinds of important jobs but in an ad-hoc setup, depending on the precise requirements of the installation. When we think about home automation systems, they’re pretty much the same deal: ad-hoc systems put together from off-the-shelf components and a few custom bits thrown in. [Stefan Schnitzer] clearly has significant knowledge of SCADA in an industrial setting and has carried this over into their home for their entry into the Hackaday 2024 Home Sweet Home Automation Contest. Continue reading “2024 Home Sweet Home Automation: A DIY SCADA Smart Home”

Playing ZX Spectrum’s Manic Miner On The Arduino Uno

Composite output shield with audio driver and controller inputs for Arduino Uno (Credit: Scott Porter)
Composite output shield with audio driver and controller inputs for Arduino Uno (Credit: Scott Porter)

Although it seems many have moved on to 32-bit MCUs these days for projects, there is still a lot of fun to be had in the 8-bit AVR world, as [Scott Porter] demonstrates with a recent Arduino Uno project featuring his game engine running a port of the Manic Miner game that was originally released in 1983 for the ZX Spectrum. For the video and audio output he created an add-on board for the Uno that creates a composite signal using two resistors, along with an audio driver circuit and control inputs either from the onboard buttons or from a NES controller. Audio can be sent either over the composite output or via the audio jack.

A demonstration of the game is provided in a number of videos on [Scott]’s YouTube account, which shows off a few levels, at 256×256 resolution. It contains all 20 original levels, with a few quality of life upgrades with animation. It also features original music, which may or may not work for you, but music can be turned on or off in the main menu. Compared to the 3.5 MHz Z80 MPU in the ZX Spectrum, the 16 MHz AVR of the Uno is a lot beefier, which raises the hope that a color version like the ZX Spectrum one is also in the future, even if it may require an add-on board with a framebuffer. As [Scott] notes, the weakness of the Uno is that the ZX Spectrum has significantly more RAM, which limits what can be done.

Thanks to [256byteram] for the tip.

Continue reading “Playing ZX Spectrum’s Manic Miner On The Arduino Uno”

Ultra-Basic Thermal Camera Built Using Arduino Uno

Thermal cameras can cost well into the five-figure range if you’re buying high-resolution models with good feature sets. New models can be so advanced that their export and use is heavily controlled by certain countries, including the USA. If you just want to tinker at the low end, though, you don’t have to spend a lot of scratch. You can even build yourself something simple based on an Arduino Uno!

The build uses Panasonic’s cheap “Grid-EYE” infrared array as the thermal sensor, in this case, a model with an 8×8 array of thermopiles. It’s not going to get you any fancy images, especially at long range, but you can use it to get a very blocky kind of Predator-vision of the thermal radiation environment. It’s a simple matter of hooking up the Grid-EYE sensor to the Arduino Uno over I2C, and then spitting out the sensor’s data in a nice visual form on a cheap TFT screen.

It’s a great introduction to the world of thermal imaging. There’s no better way to learn how something works by building a working example yourself. We’ve featured a few similar projects before, too; it’s all thanks to the fact that thermal sensors are getting cheaper and more accessible than ever!

Servo Claw Game Puts Your Muscles To The Test

As fun as claw games are, the jaws are always disappointingly weak, and you usually end up with bupkis. What if the jaws were completely within your  control? That’s the idea behind [Upside Down Labs]’ muscle-controlled servo claw game.

While electromyography (EMG) is great for identifying neuro-muscular abnormalities and allows for amazing prosthetic limbs to work, it can also be used for fun. As you’ll see in the video after the break, accurate block-stacking (and possible candy-grabbing) depends on teamwork and tensed muscles.

Though the user provides the muscle, the brains behind this operation is an Arduino Uno with a Muscle BioAmp shield stacked on top, which [Upside Down Labs] also created. This shield makes it ridiculously easy to connect EMG sensors and other I²C devices like screens and, well, servo claws. From there, it’s really just a matter of printing the claw, connecting it to a 9g servo, and using an accompanying kit to prepare the skin and connect the muscles to the Arduino. Be sure to check it out in tense block-stacking action after the break.

If you want to listen in on your muscles, look no further than the BioAmp EMG Pill.

Continue reading “Servo Claw Game Puts Your Muscles To The Test”

Hackaday Prize 2023: Uno Plus+ Updates A Classic

As an introduction to embedded electronics and programming in a straightforward environment, there isn’t much out there that can hold a torch to the Arduino Uno. Cheap (especially if you count the clones), easy to find, and quick to deploy, with countless support libraries, it’s a go-to for many a hack. This scribe simply can’t remember how many he’s bought, hacked, and deployed over the years. But can it be improved? [John Loeffler] thinks so, and his 2023 Hackaday Prize entry, the Uno Plus+ could be the one.

If this is too much bling for you, there is a version with LEDs adjacent to non-illuminated headers.

After clearing the top deck of extraneous components (by shoving them on the bottom) there was much more space to expand the header labeling, so there can be no accidental misplacement of those DuPont wires this thing will inevitably sprout randomly.

The board also has an additional Stemma/Qwiic connector and a Neopixel LED for indication duties. Also sitting on the PCB bottom are a ton of opamps, to drive the header indicators. Yes, this board has a full set of colour-coded LED bling indicators, showing the logical state of each and every pin on all headers, giving an easy way to check the desired activity is occurring. Plus it looks cool. Illuminated headers? YES!

Think the Uno too light on resources to perform any meaningful modern workloads? Think again!

Hackaday Prize 2023: 65uino 6502 Learning In A Familiar Package

[Anders Nielsen] presents his entry for the 2023 Hackaday Prize: The 65uino. Which as you might be able to guess, is a 6502-based microcomputer wedged into an Arduino Uno form factor (well, almost wedged in, but we’ll let it slide) The premise is simple, older micros are easier to understand, the board can be build up from new-old or salvaged stock, and that’s more chips on boards and less sitting on a dusty shelf. After all, even though the 6502 in its original form is long obsolete, it’s far better to be pushing some electrons around, than sitting there decaying.

The OLED frame buffer is bigger than the host’s entire RAM. No problem!

From an educational perspective, the first lesson is the hand-soldering of through-hole DIP components and a smattering of straightforward surface mount parts in their supporting roles.  Then on to setting up the cc65 toolchain. To say this is a pure 6502 system is a little misleading, it actually uses the 6507 device variant, which is a die-bond variant of the same device but with only 28 of the pins utilized.

The use of the 6532 RIOT (RAM-I/O-Timer) chip provides two 8-bit ports of GPIO as well as a timer and 128 bytes of SRAM, making the design more compact. There is a socket that will accept a 24 or 28-pin E(E)PROM device, with the extra four pins removable and the PCB snapped off if fitment into a standard ‘Uno case is desirable. Neat!

Full hardware build and PCB design (using KiCAD) are available on the 65uino GitHub page. Just remember folks, with everything minimal 6502 related — some assembly required :D

We see the 6502 a lot, let’s be fair. But why not? Here’s a slightly more practical board with a bit more resources, an absolute beast of a luggable dual-6502 machine, and yet another 6502 verilog implementation ready to be dropped into a spare corner of a FPGA project that needs a little extra.

Peek Behind The Curtain Of This Robotic Mouse

At first glance, this little animatronic mouse might seem like a fairly simple affair. A door opens, our rodent friend pops its head out, looks around, and goes back in. But just like in The Wizard of Oz, a strategically placed curtain is hiding the impressive array of gadgetry that makes the trick possible.

Creator [Will Donaldson] has put together a fantastic write-up of just what went into creating this little fellow, and we think you’ll be surprised at just how serious the mechanics involved are. Take for example the rig that provides horizontal motion with a NEMA 17 stepper motor mated to a 200 mm leadscrew and dual 8 mm rail assembly that would like right at home as part of a 3D printer.

The star of the show rides atop a beefy sliding carriage assembly made of printed components and acrylic, which is linked to the door via a GT2 timing belt and pulley in such a way that it automatically opens and closes at the appropriate time. To inject some life into the puppet, [Will] stuffed it with a pair of SG90 servos in a sort of pan-and-tilt arrangement: the rear servo turns the mouse’s body left and right, while the forward one moves the head up and down.

An Arduino Uno controls the servos, as well as the stepper motor by way of a TB6600 controller, and optical limit switches are used to make sure nothing moves out bounds. [Will] is keeping the CAD files and source code to himself for the time being, though we imagine a sufficiently dedicated mouseketeer could recreate the installation based on the available information.

This would appear to be the first animatronic mouse to grace the pages of Hackaday, but we’re certainly no strangers to seeing folks imbue inanimate objects with lifelike motion.

Continue reading “Peek Behind The Curtain Of This Robotic Mouse”