Coding A Dynamic Menu For Character LCDs On Arduino

These days, there’s a huge variety of screens on the market for use with microcontrollers. OLEDs and graphic LCDs abound, while e-ink devices tempt the user with their clean look and low energy consumption. However, for many purposes, the humble HD44780 character LCD does the job just fine. If you’re using such a device, you might want to implement a simple menu system, and in that case, [MyHomeThings] has you covered.

The menu code is simple to modify and implement. It allows the user to define a certain number of menu items, along with button labels and functions to be executed with button presses. By default, it’s set up to work with  left and right function buttons, with up and down buttons to toggle through the menu’s various entries. This suits the commonly available Arduino shields which combine a 16×2 character LCD with a set of four tactile buttons in a cross formation. However, modifying the code to use an alternate button scheme would be simple for those eager to tweak things to their liking.

For the absolute beginner to programming, it’s a great way to put together a simple interface for your microcontroller projects. It’s the sort of thing you might use if you’d built a do-everything Arduino handheld device, as we’ve seen built before. If you find text menus too archaic for your purposes, though, be sure to sound off with your favourite solutions in the comments.

Arduino Announces Board Based On Raspberry Silicon

The Raspberry Pi Pico burst onto the microcontroller scene last month with much fanfare, and is already popping up in projects left, right and center. Notable for its high clock speed and exciting IO features, it’s a breath of fresh air in a market slowly weaning itself onto ARM architectures and away from 8-bit staples. Not one to miss out on a slice of the action, Arduino have announced their own upcoming board based on the Pico’s RP2040 chip.

The board is named the Arduino Nano RP2040 Connect, a moniker that’s not just a mouthful but likely to be confused with existing Arduino Nano products. It sports several differences to the Raspberry Pi Pico, namely packing WiFi, Bluetooth, and an IMU on board which should make developing motion-sensitive and IoT projects easier, particularly in cases where the Pico’s flexible IO could be useful.

Naturally, Arduino IDE integration will be a major plus point that gets many makers on board, and we can imagine there will be swift development of libraries leveraging the RP2040’s PIO subsystem. If you still haven’t gotten the low down on the Raspberry Pi Pico yet, though, never fear – our own [Elliot Williams] can tell you everything you need to know!

[Thanks to Darrell Flenniken for the tip, via Tom’s Hardware]

Stray Cat Shelter Is Nicer Than Our First Apartment

There are a lot of stray cats roaming around [Red Tie Projects’] neighborhood, and no one seems to care much about what happens to them. Fortunately for the cats, [Red Tie Projects] cares quite a lot, as evidenced by this colossal cat condo they built. The cats retain their freedom, but get food and a warm, sheltered bed whenever they decide to grace [Red Tie Projects] with their presence.

[Red Tie Projects] built this sturdy shelter from pallet wood and did a fine job of it, sealing all the seams and screws up with wood putty and waterproofing it with silicone. Inside there’s a heated pillow, a light, and a remote-controlled camera so RTP] can pan around and keep an eye on the cats. All the wires run out through a weatherproof junction box attached to the side and over to a control box made from an ATX power supply.

Most of the build is made from scrap, including the best part — an Arduino-driven motorized zip line for delivering food from the balcony to the cat porch. Details on the control box and the food delivery system are coming soon, as [Red Tie Projects] teases in the video after the break. We’re looking forward to seeing those. Oh, and don’t worry — there’s more than enough footage to cover the cat tax.

If [Red Tie Projects] ever takes any of those cats in, their demands will only increase. Maybe they can handle the sound of a motorized chair that follows the sun, since they’re tough street cats and all.

Continue reading “Stray Cat Shelter Is Nicer Than Our First Apartment”

Arduboy Gets Even Smaller With New Nano Edition

One of the selling points of the Arduboy is how slim [Kevin Bates] was able to get the Arduino-compatible game system, which is perhaps less surprising when you realize that it originally started out as a design for an electronic business card. But compared to the recently unveiled Nano version, it might as well be the old school “brick” Game Boy.

Now to be clear, [Kevin] isn’t looking to put these into official production. Though it does sound like the bare PCBs might be going up for sale in the near future. This was simply an experiment to see how far he could shrink the core Arduboy hardware while still keeping it not only playable but also code-compatible with the full-size version. While “playable” might be a tad subjective in this case, the video after the break clearly demonstrates that it’s fully functional.

Inside the 3D printed case is the same ATmega32U4 that powers the Arduboy, a 64×32 0.49″ OLED display, and a tiny 25 mAh pouch battery. There’s even a miniature piezo speaker for the bleeps and bloops. All of the pinouts have remained the same so existing code can be moved right over, though the screen is now connected over I2C. [Kevin] has released the schematics for the board in keeping with the general open nature of the Arduboy project, though for now he’s decided to hold onto the board files until it’s clear whether or not there’s a commercial future for the Nano.

We’ve seen attempts to shrink the Arduboy down before, most notably down to the point it could fit inside of a Dreamcast Visual Memory Unit, but the Nano certainly raises (or is that lowers?) the bar considerably.

Continue reading “Arduboy Gets Even Smaller With New Nano Edition”

Zoom Out Of The Classroom With A Mushroom Button

Considering the state of well, everything, we can’t tell you how glad we are to be out of school. That goes double for not being a teacher these days. [Elena] had some awesome light-up tactile buttons set aside for a killer Kerbal Space Program controller, but it’s funny how a pandemic will change your priorities. Instead, those buttons found a good home in this colorful and enticing Zoom control panel.

[Elena]’s ready pile of Arduinos yielded no Leonardos or Pro Micros, but that’s okay because there’s a handy bootloader out there that allows you to reprogram the USB interface chip of an Uno or a Mega and use it as a keyboard. After setting that up, it was mostly a matter of wiring all those latching and momentary buttons and LEDs to the Mega and making them look fantastic with a set of icons. (We all know the big red mushroom button is for aborting the call; so does it really need an icon?)

[Elena] was inspired by the Zoom call-terminating pull chain we saw a month or so ago as well as the pink control box that launched a thousand or so macro keyboards. Have you made your own sanity-saving solution for our times? Let us know!

Transmit Your Gaze To This Fiber Optic LED Lamp

Call us easily amused, but we think it’s pretty amazing what can be done with a microcontroller, some RGB LEDs, and a little bit of plastic. Case in point is [andrei.erdei]’s beautiful and quite approachable fiber optic LED lamp. It’s a desktop-friendly version of a similar piece [andrei] made that is roughly nine times the size of this one and hangs on the wall. The build may be simple, but the product is intricately lovely.

We really like the visual density of this lamp — it’s just the right amount of tubes and strikes a balance between being too sparse and too chaotic. As you might expect, there’s an Arduino and some RGB LED strips involved. But the key to this build is in the 16 pieces of side-glow plastic fiber optic tubing. Side-glow is designed to let light escape along the length of the tube as opposed to end-glow, which is made to minimize light loss from one end to the other like a data pipe. This allows for all sorts of fun effects, and you can watch [andrei.erdei] go slowly and soothingly through the different colors and modes in the demo video after the break. Make sure you watch long enough to see the tubes move like the old Windows 3D pipes screensaver

Already have too many knickknacks and wall hangings? You’re missing out on prime real estate — the ceiling. Check out this fiber optic ceiling installation that reacts to music.

Continue reading “Transmit Your Gaze To This Fiber Optic LED Lamp”

Upgrading An Old MIG Welder Wire Feeder With Arduino

Older industrial equipment is often a great option if you’re on a budget, and you might even be able to add some premium features yourself. [Brett] from [Theoretically Practical] has done with his old MIG welder, adding premium control features with the help of an Arduino.

The main features [Brett] were after is pre-flow, post-flow, and a spot welding timer. Pre-flow starts the flow of shielding gas a moment before energizing the filler wire, while post-flow keeps the gas going after the weld is complete. This reduces the chances of oxygen contaminating the welds. A spot welding timer automatically limits welding time, enabling consistent and repeatable spot welds.

The Miller S-22A wire feeder can have these features, but it requires an expensive and difficult to find control unit. All it does is time the activation of the relays that control the gas flow, power, and wire feeder, so [Brett] decided to use an Arduino instead. The welders control circuit runs at 24V, so an optoisolator receives the trigger signal, and relays are used for outputs. Potentiometers were added to the original control panel, and all the wiring was neatly fitted behind it. The upgrade worked perfectly and allowed [Brett] to increase the quality of his welds. See the video after the break for the full details.

Inverter welders can be picked up for ridiculously cheap prices, if you’re willing to live with the trade-offs. We’ve also seen some other DIY welder upgrades, on small and large machines.