Posts with «arduino» label

DrumKid is a handheld aleatoric drum machine

Hearing live music is certainly enjoyable, but if the musician is using a drum machine, things can eventually get static. To add a bit more spontaneity into this class of robo-musician, Matt Bradshaw has created DrumKid — a handheld, battery-powered unit that uses random numbers to determine the rhythm and sound of a beat.

The device goes through a drum sequence, with a series of LEDs to indicate its progression, but also inserts randomly generated drum hits to the original beat. It features a variety of controllable parameters to alter how it sounds when played live via four knobs and six buttons.

The DrumKid was developed on an Arduino Uno and breadboard, then transferred to a PCB for the final version that will be for sale later this year. More info on the build is available in Bradshaw’s project write-up, while code and design files are on GitHub if you’d like to make your own!

Arduino Blog 17 Sep 20:23

Mini Tetris cabinet commands waitstaff to fetch more water and coffee

Remembering to refill water and coffee cups at regular intervals certainly has to be a challenge for restaurant waitstaff, but not for servers at one diner thanks to Mark Wilson’s, “TetrisWaterRun” project.

Wilson’s device takes the form of a miniature arcade cabinet, with two “players” named H2O and JOE controlling Tetris playfields.

As each block drops, some complete a line, while others leave spaces, eventually stacking up to a yellow warning level, along with a red section for overdue. Each game/playfield is started with its interface button, which also lights up intermittently to indicate drink warnings. A buzzer is included, so that there’s even less of an excuse for unfilled drinks. The build was prototyped on an Arduino Uno and now runs on a Nano for space savings, with a 320×480 LCD screen displaying the game.

Merge Week: 1 week, 4 developers, resolved issues for all!

The holidays are over and we’re back at work, so it’s time to clean up the house. To get ready for autumn, our amazing dev team has decided to devote an entire week to resolve as many of the open issues on the Arduino IDE repository and related projects (cores, libraries, etc.) as possible.

Starting this Monday, the dev team will be going through the open issue log — analyzing requests, fixing them where immediately possible, and in some cases, reaching out to the original submitter to establish if they are still seeing an issue or if it can be closed out. If you do receive such a notification in your GitHub account (with a subject starting with [arduino/Arduino] …), please help us help you by responding accordingly.

Big thanks to all of you who’ve contributed in the past and continue to submit the issues you find within the Arduino IDE for resolution. We appreciate your support and acknowledge your patience while waiting for them to be fixed.

Let’s watch that open issue counter fall by the day!

Robo-snake slithers across the ground under Arduino control

What has a dozen servos, a camera, and an Arduino Mega for a brain? Nevon Projects’ snake-bot, of course! 

This impressive robot uses a total of 12 servos for locomotion and can travel across a variety of surfaces under the control of Android app, or autonomously via a sensor mounted to a smaller servo on the head.

The snake’s electronics are split up between a head section that houses batteries and the sensor, and a tail bearing electronics including the Arduino. 

The project is available as a kit, or could certainly provide inspiration for your own project if you want to start from scratch. Check it out oscillating across the ground on tiny rollers in the video below, along with a surprising transformation into a square shape at just before the 1:45 mark.

Arduino Blog 13 Sep 21:10

A low-cost, 3D-printed transhumeral prosthesis

To help a patient in his country with a congenital limb deficiency, Buzi Nguyen has designed a 3D-printed transhumeral—above the elbow—prosthesis prototype. The device features 10 degrees of freedom, including independent control of four fingers and a thumb, along with movement capabilities for the wrist and forearm.

The prosthesis is powered by a number of Arduino boards and a Raspberry Pi, and equipped with computer vision to track and choose grip patterns for object handling. It can also potentially be operated via brain-computer interface and electromyography.

A demonstrate of all the currently supported features can be seen in the video below.

Exploring a classic physics problem with Arduino

As described in this project’s write-up, “The brachistochrone curve is a classic physics problem, that derives the fastest path between two points A and B which are at different elevations.” In other words, if you have a ramp leading down to another point, what’s the quickest route?

Intuitively—and incorrectly—you might think this is a straight line, and while you could work out the solution mathematically, this rig releases three marbles at a time, letting them cruise down to the Arduino Uno-based timing mechanism to see which path is fastest. 

The ramps are made out of laser-cut acrylic, and the marbles each strike a microswitch to indicate they’ve finished the race. The build looks like a great way to cement a classic physics problem in students’ minds, and learn even more while constructing the contraption!

The Ifs: Coding for kids, reading skills not required

Learning about how computers work and coding skills will be important for future generations, and if you’d like to get your kids started on this task—potentially before they can even read—the Ifs present an exciting new option. 

The Ifs are a series of four character blocks each with their own abilities, such as reproducing sound, movement, or sensitivity to light and darkness.

Children can program the blocks to accomplish tasks based on instructions that snap onto the top of each using magnets, and the whole “family” can communicate and work together to accomplish more advanced actions as a team. 

As outlined in more detail on this project page, the devices were developed using Arduino technology, and you can sign up here to be notified when they’re ready for crowdfunding.

The Ifs are full of sensors and actuators but they need some instructions in order to function. 

Programming is as simple as placing physical blocks in their heads with the help of magnets. No screens are involved. Each block has a different image serving as an intuitive symbol to represent an instruction. This makes the game suitable for children from the age of three, even before learning to read or write.

We only need different color pieces that are placed on their heads. The different color pieces are instructions that are combined as if it were a code, from being able to light them when it’s dark to making them communicate with each other. This allows kids to play with loops, statements, algorithms while also inventing their own stories. Their imagination is the only limit.

Machine Learning with Microcontrollers Hack Chat

Join us on Wednesday, September 11 at noon Pacific for the Machine Learning with Microcontrollers Hack Chat with Limor “Ladyada” Fried and Phillip Torrone from Adafruit!

We’ve gotten to the point where a $35 Raspberry Pi can be a reasonable alternative to a traditional desktop or laptop, and microcontrollers in the Arduino ecosystem are getting powerful enough to handle some remarkably demanding computational jobs. But there’s still one area where microcontrollers seem to be lagging a bit: machine learning. Sure, there are purpose-built edge-computing SBCs, but wouldn’t it be great to be able to run AI models on versatile and ubiquitous MCUs that you can pick up for a couple of bucks?

We’re moving in that direction, and our friends at Adafruit Industries want to stop by the Hack Chat and tell us all about what they’re working on. In addition to Ladyada and PT, we’ll be joined by Meghna NatrajDaniel Situnayake, and Pete Warden, all from the Google TensorFlow team. If you’ve got any interest in edge computing on small form-factor computers, you won’t want to miss this chat. Join us, ask your questions about TensorFlow Lite and TensorFlow Lite for Microcontrollers, and see what’s possible in machine learning way out on the edge.

Our Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, September 11 at 12:00 PM Pacific time. If time zones have got you down, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.

Hackaday Links: September 8, 2019

We start this week with very sad news indeed. You may have heard about the horrific fire on the dive boat Conception off Santa Cruz Island last week, which claimed 33 lives. Sadly, we lost one of our own in the tragedy: Dan Garcia, author of the wildly popular FastLED library. Dan, 46, was an Apple engineer who lived in Berkley; his partner Yulia Krashennaya died with him. Our community owes Dan a lot for the work he put into FastLED over the last seven years, as many an addressable LED is being driven by his code today. Maybe this would be a good chance to build a project that uses FastLED and add a little light to the world, courtesy of Dan.

In happier news, the biggest party of the hardware hacking year is rapidly approaching. That’s right, the 2019 Hackaday Superconference will be upon us before you know it. Rumor has it that there aren’t that many tickets left, and we haven’t even announced the slate of talks yet. That’s likely to clean out the remaining stock pretty darn quickly. Are you seriously prepared to miss this? It seems like a big mistake to us, so why don’t you hop over and secure your spot before you’re crying into your Club-Mate and wondering what all the cool kids will be doing in November.

Of course one of the highlights of Superconference is the announcement of the Hackaday Prize winner. And while we naturally think our Prize is the best contest, that doesn’t mean there aren’t others worth entering. MyMiniFactory, the online 3D-printing community, is currently running a “Design with Arduino” competition that should be right up the alley of Hackaday readers. The goal is simple: submit a 3D-printed design that incorporates Arduino or other electronics. That’s it! Entries are accepted through September 16, so you’ve still got plenty of time.

Sometimes you see something that just floors you. Check out this tiny ESP32 board. It doesn’t just plug into a USB port – it fits completely inside a standard USB Type A jack. The four-layer board sports an ESP32, FTDI chip, voltage regulator, an LED and a ceramic antenna for WiFi and Bluetooth. Why would you want such a thing? Why wouldn’t you! The board is coming soon on CrowdSupply, so we hope to see projects using this start showing up in the tipline soon.

Here’s a “why didn’t I think of that?” bench tip that just struck us as brilliant. Ever had to probe a board to trace signal paths? It’s a common enough task for reverse engineering and repairs, but with increasingly dense boards, probing a massive number of traces is just too much of a chore. Hackaday superfriend Mike Harrison from “mikeselectricstuff” makes the chore easier with a brush made from fine stainless wires crimped into a ring terminal. Attached to one probe of a multimeter, the brush covers much more of the board at a time, finding the general area where your trace of interest ends up. Once you’re in the neighborhood you can drop back to probing one pad at a time. Genius! We’d imagine a decent brush could also be made from a bit of coax braid too.

Another shop tip to wrap up this week, this one for woodworkers and metalworkers alike. Raw materials are expensive, and getting the most bang for your buck is often a matter of carefully laying out parts on sheet goods to minimize waste. Doing this manually can be a real test of your spatial relations skills, so why not automate it with this cut list optimizer? The app will overlay parts onto user-defined rectangles and snuggle them together to minimize waste. The program takes any units, can account for material lost to kerfs, and will even respect grain direction if needed. It’s built for wood, but it should prove useful for sheet metal on a plasma cutter, acrylic on a laser, or even PCBs on a panel.

Three dozen servos create animated artwork

Servo motors form the basis of many Arduino projects, but few use them in as interesting a manner as Doug Domke’s piece of electronic art.

The device features 36 servo motors arranged on a pegboard to produce various patterns, and can even be used in an interactive mode where it follows a person’s hand around with the help of ultrasonic sensors. 

Everything is driven by an Arduino Uno along with three 16-channel PWM control modules, and popsicle sticks show the servo movement to onlookers. 

Details, including Arduino code, can be found in the Domke’s write-up. To really appreciate this project’s visuals, be sure to take in the coordinated movements in the video below!