Bet You Didn’t Know Arduinos Are Psychic

Are you running out of ways to entertain yourself and your family? If you’ve read all the books and watched all the movies, it might be time to explore the psychic abilities of silicon. [Hari Wiguna] has just the trick to keep them guessing for a good long time.

This trick doesn’t take much, just a couple of Arduinos, some momentary buttons, a number pad, and a large helping of math. As you can see in the demo after the break, there is nothing connecting the two, not even 802.11(n). On the randomizer Arduino, [Hari] generates random numbers with the push of a button until the audience sees one they like. Then [Hari] locks in the number with the other button.

What happens next is key: the randomizer generates another random number, but uses it as a hint to set a sentinel digit. The randomizer Arduino subtracts the larger of the two digits in the number from nine and stores the result as the flag. When the next number comes up that has the flag digit in the correct place, the number after that will be the random number chosen at the beginning.

The psychic Arduino’s secret is that it knows the first guess it receives is special. It does the same sentinel digit math as the randomizer, so when the guesser enters the guess with the sentinel digit, it knows the next number entered is the winner. Clear as mud? Check out the second video below where [Hari] explains the trick, a new take on a magic classic.

Looking for a more exciting way to generate random numbers? Try using fish tanks, lava lamps, or muons from outer space.

Continue reading “Bet You Didn’t Know Arduinos Are Psychic”

Artistic Robot Has Paints, Will Travel

Creativity is a very human trait, and one that many try to emulate with robots. Some focus on the cerebral side of things, working with neural networks and machine learning to produce new artistic output. Others work on the mechanical side, building ‘bots that can manipulate tools in the real world for artistic purposes. [Technovation]’s latest build falls into the latter category – a small Arduino-powered ‘bot that likes to paint.

The robot moves around on two wheels, each driven by a stepper motor for accurate movement. The paintbrush itself is controlled with another stepper, which rotates it between the paint pots and the canvas. A servo is used to dip the brush into pots, and to apply it to the canvas. An Arduino Uno runs the show, with the robot currently programmed to paint random lines of various colors on the canvas.

By virtue of its roving design, it could theoretically paint on arbitrarily large canvasses. It’s a platform that could prove highly capable when paired with a neural network and perhaps some machine vision to allow it to concoct more complex artworks. We’ve seen other paint bots before, too. Video after the break.

Continue reading “Artistic Robot Has Paints, Will Travel”

3D Print Your Way To A Modular MIDI Playset

Have you ever wanted to experiment with MIDI, but didn’t know where to start? Or perhaps you didn’t think you could afford to properly outfit your digital beat laboratory, especially given the average hacker’s penchant for blinkenlights? Well worry no more, as [Johan von Konow] has unveiled a collection of DIY MIDI devices that anyone with a 3D printer can build on the cheap.

The LEET modular synthesizer is made up of a keyboard, drum pad, chord keyboard, arpeggiator and a step sequencer that plug into your computer and interface with industry standard digital audio workstation (DAW) programs. The down side is that they don’t do anything on their own, but this simplification allowed [Johan] to really streamline the design and bring the cost of the build down to the bare minimum.

Integrated wire channels mean no PCB is required.

You don’t need to build all the components either, especially if you’re just testing the waters. The keyboard is a great starting point, and even if you have to buy all the components new from eBay, [Johan] says it shouldn’t cost you more than $10 USD to build. You just need an Arduino Pro Micro, some tact switches, and a section of WS2812 RGB LED strip. There’s an excellent chance you’ve already got some of that in the parts bin, which will make it even cheaper.

There is one missing element though: the PCB. But not because you have to source it yourself. Like his clever Arduboy clone we covered earlier in the year, the 3D printed bodies for all of the LEET devices have integrated wiring channels that serve as a stand-in for a traditional circuit board. Simply place all your components, push some stiff 0.3 mm diameter wire down into the channels, and solder the ends. It’s a very neat approach, and something we could see becoming more popular as desktop 3D printers become an increasingly common sight in the home workshop.

Continue reading “3D Print Your Way To A Modular MIDI Playset”

Gyroscope Level Is Digital

A spirit level, you know the kind of level with a little bubble in a tube of fluid, is a basic construction tool. [DesignBuildDestroy] took an Arduino, a gyroscope chip, and an OLED, and made a 3D printed level with no bubble, but it does have a nice digital display.

It is funny when you realize that at one time a gyroscope was a high tech item reserved for missiles and aircraft. Now you can grab a six-axis sensor for pennies. Even, better, the code used in the project can offload the Arduino for a lot of processing.

Continue reading “Gyroscope Level Is Digital”

Dad Scores Big With DIY Indoor Hockey Game

We suppose it’s a bit early to call it just yet, but we definitely have a solid contender for Father of the Year. [DIY_Maxwell] made a light-up hockey game for his young son that looks like fun for all ages. Whenever the puck is hit with the accompanying DIY hockey stick (or anything else), it lights up and produces different sounds based on its acceleration.

Inside the printed puck is an Arduino Nano running an MPU6050 accelerometer, a 12-NeoPixel ring, and a piezo buzzer. [DIY_Maxell] reused a power bank charging circuit to charge up the small LiPo battery.

The original circuit used a pair of coin cells, but the Arduino was randomly freezing up, probably because of the LEDs’ current draw. Be sure to check out the video after the break, which begins with a little stop motion and features a solder stand in the shape of a 3D printer.

Got a house full of carpet or breakables? You could always build an air hockey table instead.

Continue reading “Dad Scores Big With DIY Indoor Hockey Game”

Mix It Up With A Multi-Volume Controller

What’s the use of waiting around for something to break in order to hack into something else? As long as it’s just sitting around not being used, who cares? [OmniSaiRen] had a  Behringer MIDI controller just taking up space. Instead of selling it, they decided to build it into something they would definitely use — a multi-volume controller with mute keys and other useful macros.

After gutting the case, [OmniSaiRen] gave it a couple coats of glossy white paint that looks really nice with the black keycaps and knobs. The plan was to use the original encoders, but [OmniSaiRen] replaced them with potentiometers when they couldn’t get the encoders working with the Arduino Nano. We are sad to report that Cherry Blues only made it to the build because they have all black housings and were also lying around taking up space, but maybe [OmniSaiRen] will grow to love them.

If you’re tired of all the mousing and clicking it takes to turn down this or that volume, you need to build one of these things. It runs on deej, an open source volume mixer that works with Linux and Windows, so what are you waiting for? If you only want a single hardware volume knob, you can’t go wrong dialing it in rotary style.

Via r/duino

Minimalist Low Power Supercapacitor Sensor Node

One of the biggest challenges for wireless sensor networks is that of power. Solar panels usually produce less power than you hoped, especially small ones, and designing super low power circuits is tricky. [Strange.rand] has dropped into the low-power rabbit hole, and is designing a low-cost wireless sensor node that runs on solar power and a supercapacitor.

The main components of the sensor node is an ATMega 328P microcontroller running at 4Mhz, RFM69 radio transceiver, I2C temperature/humidity sensor, 1F supercapacitor, and a small solar panel. The radio, MCU, and sensor all run on 1.5-3.6V, but the supercap and solar panel combination can go up to 5.5V. To regulate the power to lower voltage components a low-drop voltage regulator might seem like the simplest solution, but [strange.rand] found that the 3.3V regulator was consuming an additional 20uA or more when the voltage dropped below 3.3V. Instead, he opted to eliminate the LDO, and limit the charging voltage of the capacitor to 3.6V with a comparator-based overvoltage protection circuit. Using this configuration, the circuit was able to run for 42 hours on a single charge, transmitting data once per minute while above 2.7V, and once every three minutes below that.

Another challenge was undervoltage protection. [strange.rand] discovered that the ATmega consumes an undocumented 3-5 mA when it goes into brown-out below 1.8V. The small solar panel only produces 1 mA, so the MCU would prevent the supercapacitor from charging again. He solved this with another comparator circuit to cut power to the other components.

We see challenges like these a lot with environmental sensors and weather stations with smaller solar panels. For communication, low power consumption of a sub-Ghz radio is probably your best bet, but if you want to use WiFi, you can get the power usage down with a few tricks.