Posts with «arduino» label

An Arduino Final Countdown Timer

While playing a game called slither.io, Nathan Ramanathan was asked by his father to turn on a wet grinder for “exactly 45 minutes.” As explained, this device uses stones to grind rice into dough, producing material for delicious-looking Dosa cakes.

Deliciousness aside, Ramanathan would rather have the grinder stop automatically than wait around for it, and came up with his own Arduino Uno-based outlet timer controlled via smartphone over Bluetooth. As a bonus, it plays “The Final Countdown” by Europe when only a few seconds remain. 

His write-up includes some discussion about multitasking and the perils of using the delay() function, so be sure to check that out if you’d like more information. Also, when dealing with outlet/mains power, use extreme caution and get help from someone qualified if needed.

DIY panoramic thermal imaging

Using an Arduino Nano and two rotary stages, this Maker hacked together a panoramic thermal imaging camera.

After ordering and finally receiving a thermopile (infrared thermometer) in the mail, the author of this project set to work to construct his own scanning thermometer. This type of setup acts like an IR camera, but instead of taking one instantaneous picture, it stores thermal data points that are then resolved into a coherent image.

Though the panoramic results can be fantastic, since the thermometer has to be rotated to each point individually via stepper motors on the rotary stages, a single image capture can take over an hour.

You can find more details of the build here.

Introducing the Arduino MKRFOX1200

On Arduino Day, we announced the latest member of the Arduino MKR family: the MKRFOX1200. This powerful IoT development board offers a practical and cost effective solution for Makers looking to add Sigfox connectivity to their projects with minimal previous networking experience.  

The MKRFOX1200 shares several similarities with other MKR products, like the MKR1000 and MKRZero, including a compact form factor (67 x 25mm) and a Microchip SAM D21 32-bit Cortex-M0+ microcontroller at its core. The recently unveiled board also features an ATA8520 module for long-range, low-energy consumption, and is capable of running for over six months on two standard AA 1.5V batteries.

Designed for Makers ready to take their IoT projects into the real world, the MKRFOX1200 comes with a GSM antenna that can be attached to the board and a two-year subscription to the Sigfox network. This provides users with full access to Sigfox’s efficient messaging system (up to 140 messages per day), cloud platform, webhooks, APIs, as well as the new Spot’it geolocation service.

MKRFOX1200 can be used in a wide variety of settings, from agriculture (livestock management, smart irrigation and weather stations), to smart cities (dumpster monitoring, air quality networks, street lighting or parking lot tracking), to utility metering and other industrial applications.

“Sigfox loves Makers,” says Nicolas Lesconnec, Head of Developer Relations. “Sigfox aims to empowers billions of new IoT solutions. We’re proud to partner with Arduino, the leading open-source electronics platform, to offer the simplest way to connect anything.”

Sigfox currently operates in over 30 countries, with more to follow in the next few years. (Use this map to see whether it has been deployed or is rolling out in your area.) The first version of the MKRFOX1200 is compatible with Sigfox Radio Configuration Zone 1 (868MHz, 14dBm), meaning it is only supported in network-covered regions of Europe, the Middle East, and South Africa.

Interested? You can find the MKRFOX1200’s specs here, and watch Massimo Banzi’s overview below. The board is now available on Arduino’s European online store!

Arduino Blog 18 Apr 12:14

Pablo Odysseus is an autonomus bot that rakes art in the sand

For this year’s Hackaday Prize, hacker “Ulysse” has designed an autonomous beach art rover using an Arduino Mega and a pair of Micros.

While walking along the shore, the footprints you leave behind are mildly interesting, and perhaps you might go to the effort of scraping a pattern in the sand if you were feeling rather creative. If, however, you wanted to make drawings on a massive scale, Ulysse’s robot “Pablo Odysseus” looks like an elegant solution.

The Arduino-powered rover uses two wheelchair motors to propel it along the beach, as well as a rake to leave a mark as to where it’s been. Navigation is provided by a GNSS receiver (a more general term for “GPS”), a digital compass, and an odometer set up on each of the motors. Meanwhile, USB dongles enable it to communicate wirelessly with a smartphone and laptop.

Now, Ulysse can simply program in an artistic pattern, and Pablo will take care of the rest! You can see more about this project on Hackaday.io and GitHub.

 

This Maker built a game board that lights up correct moves

Want to help familiarize someone with the rules of checkers? Tired of cheating opponents? Well, Bogdan Berg has just the thing for you!

After discussing the idea for an electronic board that teaches kids how to play chess, Berg decided to make this a reality. Hall effect sensors on each square tell the Smart Game Board—rather the Arduino Mega controlling the board—where pieces are, and when one is picked up, LEDs highlight what moves are possible. These lights can also show the pieces’ starting positions, assisting novice players in this important part of the game.

Currently, the device is programmed to play the international version of checkers, but there’s no reason other games like chess and tic-tac-toe couldn’t be added as well. You can see more about this project, which took about six months to complete, in Berg’s write-up here.

Multi-player retro gaming on an Arduino VGA console

When you’re introduced to an Arduino Uno, perhaps you want to take button inputs, control a few LEDs, or move a hobby servo motor. These boards are quite good at that, but with some creative coding, they can actually control a VGA monitor and even play low-resolution games like Pong, Snake or Tetris.

Using Sandro Maffiodo’s VGAx libraries, Instructables user Rob Cai built his own gaming setup, wiring the controls into two separate units. Now, while the base unit hooks up to the actual screen and takes inputs from player one, the second allows player two to participate as well.

I decided to split it in two units: one with a potentiometer and four buttons for the single player games, the other with one button and the second potentiometer for the second player. Thus in total you need 5 buttons, two potentiometers, a VGA connector (DSUB15 female) and, of course, an Arduino! Most importantly, there is no need of supporting IC or special shields!

Want to make one of your own? Check out the DIY VGA console in action below, and find more details on the project’s Instructables write-up. Smaffer’s VGAx libraries can be found here.

Pi Time – A Fabric RGB Arduino Clock

Pi Time is a psychedelic clock made out of fabric and Neopixels, controlled by an Arduino UNO. The clock started out as a quilted Pi symbol. [Chris and Jessica] wanted to make something more around the Pi and added some RGB lights. At the same time, they wanted to make something useful, that’s when they decided to make a clock using Neopixels.

Neopixels, or WS2812Bs, are addressable RGB LEDs , which can be controlled individually by a microcontroller, in this case, an Arduino. The fabric was quilted with a spiral of numbers (3.1415926535…) and the actual reading of the time is not how you are used to. To read the clock you have to recall the visible color spectrum or the rainbow colors, from red to violet. The rainbow starts at the beginning of the symbol Pi in the center, so the hours will be either red, yellow, or orange, depending on how many digits are needed to tell the time. For example, when it is 5:09, the 5 is red, and the 9 is yellow. When it’s 5:10, the 5 is orange, the first minute (1) is teal, and the second (0) is violet. The pi symbol flashes every other second.

There are simpler and more complicated ways to perform the simple task of figuring out what time it is…

We are not sure if the digits are lighted up according to their first appearance in the Pi sequence or are just random as the video only shows the trippy LEDs, but the effect is pretty nice:

 


Filed under: Arduino Hacks, led hacks
Hack a Day 17 Apr 03:00

Hacker U.

If you go to the University of South Florida, you can take the “Makecourse.” The 15-week program promises to teach CAD software, 3D printing, Arduino-based control systems, and C++. Don’t go to the University of South Florida? No worries. Professor [Rudy Schlaf] and [Eric Tridas] have made the entire course available online. You can see several videos below, but there are many more. The student project videos are great, too, like [Catlin Ryan’s] phase of the moon project (see below) or [Dustin Germain’s] rover (seen above).

In addition to a lesson plan and projects, there’s a complete set of videos (you can see a few below). If you are a regular Hackaday reader, you probably won’t care much about the basic Arduino stuff and the basic electronics–although a good review never hurts anyone. However, the more advanced topics about interrupts, SDCards, pin change interrupts might be just the thing. If you ever wanted to learn Autodesk Inventor, there are videos for that, too.

If you don’t need any of the instruction offered, this would still make a great program to offer at a local hacker space or anywhere else where you want to teach build to build. You can see from the variety of student projects that it is well-balanced and lets students focus on areas where they are most interested.

So much educational material is online now that it is hard to find time to see even a fraction of it. We love EdX, for example, but who has the time to take even a fraction of the classes offered? We always love seeing student projects–they give us ideas. [Bruce Land’s] classes, in particular, are always inspirational.


Filed under: 3d Printer hacks, Arduino Hacks

Lift takes finger tracking accuracy to a new level

Using a pair of Arduino MKR1000s, researchers at the University of California, Irvine and FX Palo Alto Laboratory have come up with a new way to track 10 fingers to within less than two millimeters.

In this technique, called “Lift,” a normal DLP projector is used to display a series of tiny encoded images onto any flat surface. Instead of using an external vision system, or even an accelerometer, Lift employs tiny light sensors on each finger to detect this pattern, then relay this information to the MKR1000 mounted on each wrist. From there, the Arduino is able to translate these light signals into positional data with an average accuracy of 1.7 millimeters and an average refresh rate of 84Hz.

By projecting encoded visible patterns onto an object’s surface (e.g. paper, display, or table), and localizing the user’s fingers with light sensors, Lift offers users a richer interactive space than the device’s existing interfaces. Additionally, everyday objects can be augmented by attaching sensor units onto their surface to accept multi-touch gesture input.

You can find a quick summary of this project here, and download the team’s entire paper to learn more.

Photos: Shang Ma

Arduino Blog 14 Apr 02:21

Turning a Wii Nunchuk into an RC car controller

With the help of an Arduino, this dad turned a Wii Nunchuk into a wireless remote for a kid’s RC car.

The Wii Nunchuck has been a favorite control device for hackers since it’s debut in 2006. And why not, it has a simple design with a directional joystick, and can output signals via the I2C protocol. For this project, software engineer “trandi” used an Arduino Pro Mini to translate these signals into 9600bps serial signals needed for the wireless module he was using. The car is also hacked with a corresponding receiver, a TI Stellaris Launchpad, and a motor controller.

Perhaps what’s most interesting, however, is that it’s somewhat of a continuation of a project that he took on in 2013, repairing his then 18-month-old son’s toy car. Now several years older, maybe he has a new appreciation for this device and his dad’s skill! You can see more in trandi’s write-up here.