Posts with «arduino» label

Turn Your Electronics Project into a Sellable Product

Do you dream of developing a hot, new hardware gadget and bringing it to market? Maybe your goal is to make the world better with your product, or perhaps you just want to get filthy rich selling your product. Developing a project prototype using an Arduino, Raspberry Pi, or other […]

Read more on MAKE

The post Turn Your Electronics Project into a Sellable Product appeared first on Make: DIY Projects and Ideas for Makers.

A DIY digital Arduino clock designed for and by teachers

Project-based lessons are a great way to introduce students to the world of electronics. Clearly Jenna Debois agrees, as she has built a DIY classroom clock based on an Arduino Nano. What’s even cooler is that it’s optimized for teachers! 

The device is made using laser-cut wood pieces, NeoPixels, a real-time clock module, and packs plenty of customizable features like:

  • An additional digit that keeps track of the block or period- an especially useful feature for rotating block schedules
  • The ability to program holidays into the code to prevent the block from advancing on days when school is not in session
  • LED digits that fade from green to red as the end of the period or block approaches so that a single glance can convey the remaining class time
  • A countdown timer triggered 6 minutes before the period ends that flashes between the time and the remaining time- a useful feature for signaling cleanup time
  • Other light effects that can be triggered during lunch, free periods, after school, or other special occasions

Debois not only created a step-by-step guide, but also shared all the documentation on GitHub and a detailed video of the build process.

Hackaday Prize Entry: 8-Bit Arduino Audio for Squares

A stock Arduino isn’t really known for its hi-fi audio generating abilities. For “serious” audio like sample playback, people usually add a shield with hardware to do the heavy lifting. Short of that, many projects limit themselves to constant-volume square waves, which is musically uninspiring, but it’s easy.

[Connor]’s volume-control scheme for the Arduino bridges the gap. He starts off with the tone library that makes those boring square waves, and adds dynamic volume control. The difference is easy to hear: in nature almost no sounds start and end instantaneously. Hit a gong and it rings, all the while getting quieter. That’s what [Connor]’s code lets you do with your Arduino and very little extra work on your part.

The code that accompanies the demo video (which is embedded below) is a good place to start playing around. The Gameboy/Mario sound, for instance, is as simple as playing two tones, and making the second one fade out. Nonetheless, it sounds great.

Behind the scenes, it uses Timer 0 at maximum speed to create the “analog” values (via PWM and the analogWrite() command) and Timer 1 to create the audio-rate square waves. That’s it, really, but that’s enough. A lot of beloved classic arcade games didn’t do much more.

While you can do significantly fancier things (like sample playback) with the same hardware, the volume-envelope-square-wave approach is easy to write code for. And if all you want is some simple, robotic-sounding sound effects for your robot, we really like this approach.

The HackadayPrize2016 is Sponsored by:

Filed under: Arduino Hacks, digital audio hacks, The Hackaday Prize

Quickie USB Keyboard Device

There are a ton of applications that we use that can benefit from keyboard shortcuts, and we use ’em religiously. Indeed, there are some tasks that we do so often that they warrant their own physical button. And the only thing cooler than custom keyboards are custom keyboards that you’ve made yourself.

Which brings us to [Dan]’s four-button Cherry MX USB keypad. It’s not really all that much more than four keyswitch footprints and an AVR ATmega32u4, but that plus some software is all you really need. He programs the Arduino bootloader into the chip, and then he’s using the Arduino Leonardo keyboard libraries. Bam! Check out the video below.

We see this design much more as a demo or collection of building-blocks than necessarily a one-size-fits-all solution. You might need five buttons, or want a different layout, or… It’s all open-source, so go nuts. And you’re not limited to key-clicks either — mouse buttons or even multiple scripted actions are within easy reach.

Building a special-function USB keypad or gaming device used to be hard work. But today between hardware and software design availability, it’s child’s play. Whether you need a footboard, a single-handed chording keyboard, or even just to update an old typewriter, the ability to control the input device that we use for eight hours per day is liberating. Experiment!


Filed under: Arduino Hacks, peripherals hacks

540 LEDs On A Geodesic Sphere

[burgerga] loves attending Music Festivals. He’s also a MechE who loves his LED’s. He figured he needed to put it all together and do something insane, so he build a huge, 15″ geodesic sphere containing 540 WS2812B addressable LED’s. He calls it the SOL CRUSHER. It sips 150W when all LED’s are at full intensity, making it very, very, bright.

As with most WS2812B based projects, this one too is fairly straightforward, electrically. It’s controlled by four Teensy 3.2 boards mounted on Octo WS2811 adapter boards. Four 10,000 mAh 22.2V LiPo batteries provide power, which is routed through a 5V, 30Amp heatsinked DC-DC converter. To protect his LiPo batteries from over discharge, he built four voltage monitoring modules. Each had a TC54 voltage detector and an N-channel MOSFET which switches off the LiPo before its voltage dips below 3V. He bundled in a fuse and an indicator, and put each one in a neat 3D printed enclosure.

The mechanical design is pretty polished. Each of the 180 basic modules is a triangular PCB with three WS2812B’s, filter capacitors, and heavy copper pours for power connections. The PCB’s are assembled in panels of six and five units each, which are then put together in two hemispheres to form the whole sphere. His first round of six prototypes set him back as he made a mistake in the LED footprint. But it still let him check out the assembly and power connections. For mechanical support, he designed an internal skeleton that could be 3D printed. There’s a mounting frame for each of the PCB panels and a two piece central sphere. Fibreglass rods connect the central sphere to each of the PCB panels. This lets the whole assembly be split in to two halves easily.

It took him over six months and lots of cash to complete the project. But the assembly is all done now and electrically tested. Next up, he’s working on software to add animations. He’s received suggestions to add sensors such as microphones and accelerometers via comments on Reddit. If you’d like to help him by contributing animation suggestions, he’s setup a Readme document on Dropbox, and a Submission form. Checkout the SolCrusher website for more information.

Thanks [Vinny Cordeiro], for letting us know about this build.


Filed under: led hacks
Hack a Day 12 Jun 12:00

Dtto is a self-reconfigurable modular robot

An entry in this year’s Hackaday Prize, Dtto is a snake-like robot designed to be modular and self-reconfigurable.

Inspired by Bruce Lee’s famous water quote, Dtto can transform into various shapes by changing the position and connection of its 3D-printed modules. As Hackaday points out, each section of Dtto is a double-hinged joint. When two come together, magnets help them align. A servo-controlled latch solidly docks the sections, which then work in unison. Impressively, it can connect and separate segments autonomously – without any human intervention. Creator Alberto believes the versatility of the bot will enable it to perform rescue missions, explore unknown environments, and operate in space.

The open-source robot consists of an Arduino Nano, a Bluetooth HC-06 module, an NRF2401+ radio transceiver, two SG92R Tower Pro servos for main movement, three Tower Pro SG90 micro servos for coupling, and a WS2812 RGB LED. For its latest iteration, the Maker has made a few design improvements to allot for 25% more internal space, a data bus connecting the two blocks and Tower Pro MG92B motors. Future modules will even include a built-in camera, an ultrasonic sensor, a gyroscope, an accelerometer, and a magnetometer, to name just a few. Until then, you can follow along on its project page and check out a few of its videos below.

Foxes Like Beacons explores alternative navigation systems

Jochen Maria Weber’s Foxes Like Beacons is an exploratory project using open data of public radio stations with inexpensive, low-power signal detection in order to create an open positioning system. According to the designer:

Today’s satellite based GPS enable and augment uncountable everyday processes, ranging from logistics to fitness trackers and even intimate dating applications. These proprietary systems are mostly invisibly controlled and curated by governments, military and economic actors. Since GPS ubiquitously affect our interactions and experiences with our environment, economy and privacy, Foxes Like Beacons questions this present model, thus opening up space for speculations about alternative navigation systems and new models for interaction.

Open data about public radio stations, transceivers and open source signal detection can be used to calculate geo positions.

So, Jochen developed three example devices based on the same technical structure using very low-power, open and off-the-shelf technology. This consists of an omnidirectional antenna, a 4.3″ TFT screen, a compass, gyroscope and barometric altitude sensor, a radio frequency tuner, a battery, an Arduino Nano (for signal processing), and a Rasperry Pi 2.

Precision and miniaturization can be extremely increased using customized parts, and by building on the distributed infratructure of public broadcast radio, Foxes Like Beacons is not subject to any kind of central control or curation.

First, Device No.1 measures the received signal strengths and decodes the identifiers of minimum three stations. Open data about their transceiver locations and respective transmission power is used to calculate distance to each transceiver and which can therefore be triangulated, in order to get a users geo location. Incorporating more stations leads to a higher resolution and more accurate geo locations.

Next, Device No.2 enables users to navigate by pleasing of sound rather than geographical information, following “geo-acoustic” maps. It automatically adjusts the volumes of simultaneously played stations according to proximity.

Finally, Device No.3 speculates about further applications by analyzing and interpreting signal modulations which occur due to factors like electromagnetic radiation, weather, and geographic conditions. These modulate radio signals in characteristc ways which can be interpreted and incorporated in navigation/exploration.

Foxes Like Beacons is part of the ongoing project “Stupid, Messy Networks,” which investigates the process of digital networks becoming ubiquitous infrastructures and moreover how these new infrastructures empower or constrain actors in economical, political and social interactions.

(via Creative Applications)

Makers bring the “Push Button, Receive Bacon” meme to life

Push Button, Receive Bacon” is a popular catchphrase and graffiti tag often spotted next to the graphic instruction on hand dryers. Well, the Hammerspace Workshop team has decided to bring that meme to life with their latest project for the upcoming Maker Faire Kansas City.  In order to raise awareness of the link between bacon and hand health (kidding, of course), they’ve modified the standard bathroom accessory to display wait time and provide its user with a dose of bacon-related pop culture knowledge before dispensing.

A multi-segment display was CNC routed in the shape of bacon and populated with 10mm LEDs. A standard bacon dispenser relay board controls this display. To entertain and inform the user, a variety of bacon themed pop music will be dispensed immediately and continuously until bacon has been provided. An Adafruit audio FX board stores and plays back the .ogg files containing the bacon related wisdom and culture.

The Push Button – Receive Bacon machine has an extended magazine to supply bacon strips on command. For this prototype we have used a Sharper Image CD Power Tower to hold the bacon strips until they can be used to save a hand. The shelves are constructed of plasma cut stainless steel and held in place with 3D-printed clips that mount into the original device as if the bacon shelf was a jewel case. The tabs that are already present in the tower provide a kind of encoder to ensure repeatable precision and smooth delivery of the bacon. The folding flap design allows for tighter clearance between the bacon magazine and the bacon encrispenator.

And finally, the bacon motivator receives the bacon from the encrispenator and uses vibrational motivation to deliver the hot bacon down a custom engineered stainless chute.

The user then receives the bacon from the bacon nozzle in the usual fashion. After applying the bacon to both palms, the bacon may be eaten to replace lost electrolytes.

You can read more about the project on Make:, and see it in acton below.

Arduino Pro Mini powers this Pac-Man festival totem

Electric Daisy Carnival Las Vegas is just days away, and YouTuber “Korberos” is ready. The Maker has created an LED Pac-Man totem using 967 lines of code, 256 NeoPixels wired in succession and laid out in a game-inspired map, and an Arduino Pro Mini.

The controller and game lights are powered by a 5V power bank with 10,000mAh of storage, while blue EL wire lights (for the “walls”) are powered by a 12V supply coming from eight AA batteries wired in serial. A MAC7219 7-segment display shows the current level and score.

According to Korberos, two libraries were used in the project: FastLED to control the LED strips and LedControl2 to handle the scoreboard.

Build your own life-size, multipurpose robot with Arduino

If you’ve always wanted a bot for a friend, personal assistant or butler, you’re in luck. John Choi, a Carnegie Mellon University computer science and arts student, has managed to build his own life-size robotics platform for about $2,000. Sure, a price tag like that may not seem “cheap” but in comparison to other research-grade platforms out there, it’s a bargain.

Ideal for Makers, students, educators, artists and researchers alike, the Multipurpose Mobile Manipulator Mk 1 is capable of playing the piano, drawing pictures, preparing meals, watering plants, and engaging in toy sword duels, among many other things.

The Multipurpose Mobile Manipulator is divided into three major parts: the base, the arms, and the chest. The base contains motors for mobility and batteries to power the robot, enabling it to navigate around. The arms contain adaptable grippers, shoulder and elbow joints, and an extensible limb for grabbing and moving things with its environment. Meanwhile, the chest connects all of these together with control electronics and serves as a platform for an intelligent laptop-for-a-face. An Arduino Mega at its heart makes interfacing with sensors and actuators super easy, while the robot’s functionality can also be expanded by simply attaching new electronics and sensors to its mounting areas.

The open-source platform is compatible with Windows, Mac and Linux, and supports Python 2.7 and Arduino libraries. According to Choi, libraries for Unity, Processing, ROS, MATLAB, C++, and Scratch are also in the works.

Those interested in building their own should check out Choi’s incredibly-detailed 80-step tutorial, and watch the robot take on some tasks below. Prepare to be amazed!