Posts with «arduino hacks» label

Mini Library for Kids Gets Blinky Lights and Solar Upgrade

Reading is big in Québec, and [pepelepoisson]’s young children have access to a free mini library nook that had seen better days and was in dire need of maintenance and refurbishing. In the process of repairing and repainting the little outdoor book nook, he took the opportunity to install a few experimental upgrades (link in French, English translation here.)

The mini library pods are called Croque-Livres, part of a program of free little book nooks for children across Québec (the name is a bit tricky to translate into English, but think of it as “snack shack, but for books” because books are things to be happily devoured.)

After sanding and repairs and a few coats of new paint, the Croque-Livres was enhanced with a strip of WS2812B LEDs, rechargeable battery with solar panel, magnet and reed switch as door sensor, and a 3.3 V Arduino to drive it all. [pepelepoisson]’s GitHub repository for the project contains the code and CAD files for the 3D printed pieces.

The WS2812B LED strip technically requires 5 V, but as [pepelepoisson] found in his earlier project Stecchino, the LED strip works fine when driven directly from a 3.7 V lithium-polymer cell. It’s not until around 3 V that it starts to get unreliable, so a single 3.7 V cell powers everything nicely.

When the door is opened, the LED strip lights up with a brief animation, then displays the battery voltage as a bar graph. After that, the number of times the door as been opened is shown on the LED strip in binary. It’s highly visual, interactive, and there’s even a small cheat sheet explaining how binary works for anyone interested in translating the light pattern into a number. How well does it all hold up? So far so good, but it’s an experiment that doesn’t interfere at all with the operation of the little box, so it’s all good fun.

Hack a Day 28 Jun 21:00

Calcuino is an Arduino Calculator

All by itself, a calculator based on an Arduino isn’t necessarily very novel. However, [Volos] has a nice board that, of course, looks like a calculator. There are 16 keys and an LED display. But it seems to us the real value would be using this as a base for other projects.

As an inexpensive development board, it’s handy to have a simple processor with a keyboard and a display. There’s some extra I/O pins and the first example in the video below shows using the setup as a simple organ, for example. We’d love to see an option to replace the LED with an LCD and maybe even some different CPU options, as well.

The board is essentially an Arduino with a standard USB to serial chip and a MAX7219 display driver. Of course, you could breadboard up all of these things, but it wouldn’t be as neat looking. One unusual thing about the keyboard is that it is not multiplexed. Each button has a label that indicates what Arduino pin it connects with. So key 6 connects to pin 6 and pin A2 connects to the key marked =/A2.

With the availability of inexpensive PC boards, we’re seeing many nice designs out there that would be easy to repurpose for other things. For example, we thought this board would easily run the Kim Uno, with some modifications to the I/O routines. Might even be able to work out a clone of an even older computer to fit on the board.

Hack a Day 28 Jun 15:00

DIY TV-B-Gone is A-OK

Where won’t they put a TV these days? We’ve even seen one creeping behind semi-transparent mirror film in the ladies’ room of a sports bar, though that one didn’t last long. Up until that moment, we had never wished so hard for a TV-B-Gone, especially one as small and powerful as this DIY version by [Constructed].

The best thing about [Constructed]’s DIY TV-B-Gone is the strength of signal, though the size is nothing to sneeze at. That’s a 10-watt array or IR LEDs out of a security camera, and you can see how much brighter it is than a single IR LED in the video after the break.

Packed inside this minty enclosure is an Arduino Nano, which holds all the TV power-off codes known to hackers and fires them off in quick succession. [Constructed] salvaged a MOSFET from an electronic speed controller to drive that LED array, and there’s a voltage booster board to raise the 3.7V lithium battery to 5V. [Constructed] hasn’t really had the chance to test this out in public what with the global pandemic and all, but was able to verify a working distance of 40 feet inside the house.

Don’t care for such a raw look? Hide your zapper inside a toy, like this sonic screwdriver version.

Score Big Against Boredom with Tabletop Bowling

Bowling has been around since ancient Egypt and continues to entertain people of all ages, especially once they roll out the fog machine and hit the blacklights. But why pay all that money to don used shoes and drink watered-down beer? Just build a tabletop bowling alley in your spare time and you can bowl barefoot if you want.

Those glowing pins aren’t just for looks — the LEDs underneath them are part of the scoring system. Whenever a pin is knocked out of its countersunk hole, the LED underneath is exposed and shines its light on a corresponding light-dependent resistor positioned overhead. An Arduino Uno keeps track of of the frame, ball number, and score, and displays it on an LCD.

The lane is nearly six feet long, so this is more like medium-format bowling or maybe even skee-bowling. There are probably a number of things one could use for balls, but [lainealison] is using large ball bearings. Roll past the break to see it in action, but don’t go over the line!

Can’t keep your balls out of the gutter? Build a magic ball and make all wishful leaning more meaningful as you steer it down the lane with your body.

Capture the Flag, Along with the Game Data

With events of all sizes on hold and live sports mostly up in the air, it’s a great time to think of new ways to entertain ourselves within our local circles. Bonus points if the activity involves running around outside, and/or secretly doubles as a team-building exercise, like [KarelBousson]’s modernized version of Capture the Flag.

Much like the original, the point of this game is to capture the case and keep it for as long as possible before the other team steals it away. Here, the approach is much more scientific: the box knows exactly who has it and for how long, and the teams get points based on the time the case spends in any player’s possession.

Each player carries an RFID tag to distinguish them from each other. Inside the case is an Arduino Mega with a LoRa shield and a GPS unit. Whenever the game is afoot, the case communicates its position to an external Raspi running the game server.

If you haven’t met LoRa yet, check out this seven-part introductory tutorial.

Arduino Magnetic Board is Anything but Boring

Magnets (especially those ball magnets!) are endlessly fascinating, aren’t they? It’s almost dangerous to combine them with LEDs, because how are you supposed to get anything done with something like [andrei.erdei]’s Arduino Magnetic Board beckoning from beyond your keyboard?

This tons-of-fun board uses ball magnets to light up RGB LEDs as they roll around on the sexy Plexiglas field. Underneath the LED matrix is an orchestra of 36 reed switches — those little glass gas-filled grains of rice with axial leads that snap together or fly apart in the presence of magnetic fields. The LEDs are controlled with an Arduino Pro Mini, and so is the 8Ω speaker for sound effects.

[andrei.erdei] has already developed a few applications for this delightful desk toy, and they’re all on GitHub. There’s a chase game that involves tilting the board to catch the next red dot with the magnet, a light painting game, and a sequencer that mimics the ToneMatrix. Roll past the break to check out the series of short demo videos.

Want to play with reed switches but can’t source any at the moment? You could just make them yourself.

Arduino Reduces Heating Costs

While almost everyone has a heater of some sort in their home, it’s fairly unlikely that the heat provided by a central heating system such as a furnace is distributed in an efficient way. There’s little reason to heat bedrooms during the day, or a kitchen during the night, but heating systems tend to heat whole living space regardless of the time of day or the amount of use. You can solve this problem, like most problems, with an Arduino.

[Karl]’s build uses a series of radiator valves to control when each room gets heat from a boiler. The valves, with a temperature monitor at each valve, are tied into a central Arduino Mega using alarm wiring. By knowing the time of day and the desired temperature in each room, the Arduino can control when heat is applied to each room and when it is shut off, presumably making the entire system much more efficient. It also has control over the circulating pump and some of the other boiler equipment.

Presumably this type of system could be adapted to a system which uses a furnace and an air handler as well, although it is not quite as straightforward to close vents off using a central unit like this as it is to work with a boiler like [Karl] has. With careful design, though, it could be done. Besides replacing thermostats, we can’t say we’ve ever seen this done before.

Thanks to [SMS] for the tip!

Hack a Day 17 Jun 00:00

Electronic Connect Four Has No Pieces to Lose

Recreating classic games in software is a great way to get better at coding or learn to code in the first place. If you do it in hardware though, you’ll gain a lot more than coding skills. Just ask [Kelly] and [Jack] did, when they built this Arduino-based electronic Connect Four for a school project.

We love that their interpretation manages to simplify game play and make it more fun than the original version. All the players have to do is turn it on and start pushing the arcade buttons along the bottom to choose the column where they want to make a play. The LEDs animate from top to bottom to imitate the plastic disc dropping down through the board. If a win is detected — four in a row of the same color going any direction — the board fills up with the winning color and the game starts over.

The state machine doesn’t currently do anything about tie situations, so there’s a reset button hidden on the side. As [Kelly] and [Jack] explain in their walk-through video after the break, that is something they would like to address in the future, along with making it possible to choose whatever battle color you want. We think a reset animation that mimics the look of the discs spilling out the bottom would be cool, too.

If you’ve never implemented a game on hardware before, something like this might be a bit daunting. May we suggest a game of 4×4 Tic Tac Toe instead?

Light Up the Night with a Tetrahedral LED Hat

People get into electronics for all kinds of reasons, but we would guess that the ability to blink the blinkenlights is probably pretty high on the survey results. [Kuchbert] has been going to Deichkind shows for the last decade and has wanted to build one of the German techno-rap band’s signature tetrahedral LED hats for about as long.

Up inside the hat is an Arduino Nano driving WS2812B LEDs and a portable battery to power everything. Thanks to an HC-05 Bluetooth module, the show can be controlled with an Android app. The many, many holes in the acrylic panels were milled out, but they could just as easily be laser-cut, or if you have infinite patience, drilled by hand. The code is coming once it has been cleaned up a bit. Everything else you’d need is already there waiting. This helmet even has its own lil’ music video, which we’ve carefully beat-matched in after the break.

Naturally, this makes us think of all the Daft Punk helms that have blinked by on this blog over the years. This hand-soldered one might be the most meticulously made.

Rotary Controller Dials in PC Volume

As wonderful as mechanical keyboards are, most of the pre-fab and group buy models out there have zero media controls. If you want rotary encoders and OLED screens to show what function layer you’re working in, you’ll probably have to build your own keyboard from the ground up.

Hackaday alum [Cameron Coward] got around this problem by building an electromechanical buddy for his keyboard that works as a volume control. Now that we don’t rely on them to make phone calls, rotary dials are a fun throwback to a time that seems simpler based on its robust and rudimentary technology. This one is from a lovely burnt orange Bell Trimline phone, which was peak rotary dial and one of the idea’s last gasps before tone dialing took over completely.

Operationally speaking, [Cameron] is reading in the dial’s pulses with an Arduino Nano and using a Python script to monitor the serial connection and translate the pulses to volume control. We like that this is isn’t a volume knob in the traditional sense — it’s a game of percentages. Dialing ‘2’ gives 20% volume across all programs, and ‘8’ raises it to 80% of maximum. Need to mute? Just dial ‘0’, and you’ll begin to understand why people wanted to move on from rotary dialing. It won’t take that long, but it’s not instant. Check out the demo after the break.

This isn’t the first time we’ve seen a rotary dial used to control volume, but that’s one of the minor selling points of this rotary cell phone.