Posts with «mega» label

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

1,156 LEDs make up these dual acrylic light-up panels

What does one do with over 1,000 LEDs, white acrylic, and 288 IR sensors? If you’re Redditor “jordy_essen,” you create an interactive light panel.

In one mode, the user pull a reflective tool across the sensors to draw a paths, with potentiometers implemented to select the color. It can also be set up to play a sort of whack-a-mole game, where one has to activate the sensor in the same area where it illuminates.

For this amazing device, jordy_essen uses not one, or even two, but six Arduino Mega boards to drive the LEDs directly — in turn controlled by a webpage running on a Raspberry Pi. If that wasn’t enough hardware, an Uno is tasked with taking inputs from the color potentiometers. 

It’s a brilliant project in any sense of the word!

Pingo, the motion-detecting ping pong ball launcher

If you want to “enhance your athletic training regimen,” or perhaps just have a bit of fun with robotically launched ping pong balls, then be sure to check out the Pingo apparatus shown in the video below. This robot moves back and forth on four DC motor-powered wheels, searching for targets with an ultrasonic rangefinder.

When something comes into view, Pingo adjusts its ping pong launching tube’s angle to match the target distance, then loads a ball and flings it into the air with a pair of spinning disks. 

The device is controlled by an Arduino Mega and uses a half-dozen DC motors, a pair of steppers, and even a servo to accomplish its mission.

Arduino Blog 11 Mar 20:32
arduino  mega  robots  

Mechanical 7-segment display made with micro servos and an Arduino Mega

Flip displays are an interesting piece of technology, physically moving segments into place that stay put until other information is needed. Michael Klements has been especially fascinated by these devices, and after inspiration from another project, he decided to craft his own.

His version utilizes 14 micro servos to flip segments into a visible position, then rotate them to 90° when no longer needed. This “off” mode displays a slimmer profile, and the sides and back are painted black, making them much less visible.

An Arduino Mega, with 15 possible PWM outputs, is used to control the servos, while a hobby RC-style battery eliminator circuit provides power to the motors. 

Be sure to check out the build process and in-action shots below! 

The ZT-2020 is a portable SunVox synth

SunVox synth software allows you to create electronic music on a wide variety of platforms. Now, with his ZT-2020 project — which resembles a miniature arcade game — YouTuber “fascinating earthbound objects” has a dedicated input scheme.

This cabinet prominently features a wide array of buttons, a directional input from a PlayStation controller, and 16 potentiometer knobs. There’s also a screen on top for video output. 

Inside a Raspberry Pi runs SunVox, while most of the buttons and all of the input knobs are connected to an Arduino Mega. The Mega plays the role of MIDI controller as well, passing digital music info along to produce beautiful electronic music!

Arduino Blog 11 Feb 19:41

OmBURo is an Arduino-controlled unicycle robot with an active omnidirectional wheel

Omni wheels normally contain a number of rollers arranged on their circumference, allowing them to slide left and right and perform various tricks when combined with others. The rollers on UCLA researchers Junjie Shen and Dennis Hong’s OmBURo, however, are quite different in that they are actually powered, enabling a single wheel to accomplish some impressive feats on its own.

These powered rollers give OmBURo the ability to move in both longitudinal and lateral directions simultaneously, balancing as a dual-axis wheeled inverted pendulum. 

Control is accomplished via an Arduino Mega along with an IMU and encoders for its two servo motors —one tasked with driving the wheel backwards and forwards, the second for actuating the rollers laterally via helical gears and a flexible shaft. 

As seen in the video below, the robot can follow different paths via remote control, and even balance on an inclined plane. More informaton on the impressive build is available in the Shen and Hong’s research paper here.

A mobility mechanism for robots to be used in tight spaces shared with people requires it to have a small footprint, to move omnidirectionally, as well as to be highly maneuverable. However, currently there exist few such mobility mechanisms that satisfy all these conditions well. Here we introduce Omnidirectional Balancing Unicycle Robot (OmBURo), a novel unicycle robot with active omnidirectional wheel. The effect is that the unicycle robot can drive in both longitudinal and lateral directions simultaneously. Thus, it can dynamically balance itself based on the principle of dual-axis wheeled inverted pendulum. This letter discloses the early development of this novel unicycle robot involving the overall design, modeling, and control, as well as presents some preliminary results including station keeping and path following. With its very compact structure and agile mobility, it might be the ideal locomotion mechanism for robots to be used in human environments in the future.

Prototype room-scale, shape-changing interfaces with LiftTiles

Shape-shifting interfaces, which could be deployed to create dynamic furniture, structures or VR environments, have great potential; however, creating them is often quite difficult. To simplify things, researchers from the University of Colorado Boulder have developed “LiftTiles,” modular blocks that raise to the desired height (between 15 and 150 centimeters) via air pressure and then collapse under spring force when needed.

Each pneumatic tile costs under $10 USD, weighs only 10kg each, and supports up to 10kg of weight. To demonstrate their design, the team used solenoid valves to inflate blocks and servo motors to open release valves that allow the blocks deflate and compress. 

The system is based on an Arduino Mega board, along with an SR300 depth camera to measure the height of each section and client software running on a control computer. 

More details can be found in the project’s research paper.

Hundreds of LED triangles combine for brilliant interactive display

If you need another idea for how to creatively diffuse LED lighting, then look no further than the “Light Me Up!” project by Hyewon Shin, Eunjeong Ko, and Junsung Yi. 

Their setup uses 312 3D-printed and laser-cut light triangles, each of which contains a trio of RGB LEDs. Users select the desired light by pressing the triangles themselves, via buttons concealed beneath the main assembly. Several Arduino boards are used to control the massive structure.

With such an involved triangular display, a number of interesting 3D-like shapes and even words can be created by users. Alternatively, smaller triangle arrangements can also be constructed using the same build concepts. 

This project has several triangles that form a hexagonal shape. So you can create stereoscopic patterns according to how you design light! Just press each piece and various colors will be gradated, and when the color you want comes out, just hit the hand you pressed and it will continue to shine beautifully with the color you wanted!

Check out its triangular luminescence in the videos below!

Take your X-Plane 11 experience to new heights with this 3D-printed simulator

Apparently not satisfied to simulate flights on a single PC monitor, Ryan H came up with his own custom, 3D-printable cockpit setup for the Garmin G1000 avionics suite that uses a 12.1” LCD panel for flight data and a large number of additional inputs. The system is designed around the X-Plane 11 flight simulator, all controlled by an Arduino Mega with SimVim firmware.

The auxiliary display/inputs assemblies use the Arduino as an interface, enabling it to handle 32 tactile switches plus one standard and five dual rotary encoders via five CD74HC4067 16-channel multiplexers.

Build cost is around $250 per screen. 3D-print files and other information are available on Thingiverse

Bob Clagett made an LED Christmas tree video game for his entire town to play

Bob Clagett likes making holiday decorations. This year, however, he wanted to create something that didn’t just look nice, but was also interactive. What he came up with is a giant Christmas tree that is actually a video game!

His tree-shaped matrix uses seven rows of RGB LEDs attached to the top of the structure to drop simulated snowflakes, represented by white lights. The player moves a dot on the bottom right and left to dodge these falling flakes via a pair of large arcade-style buttons. When the controlling Arduino Mega sees that the player’s position is the same as a snowflake, the game ends.

As Clagett’s community can attest, the project looks like a lot of fun! Code for the build is available on GitHub.

To make our Christmas tree game light up in the way that we intend, we have to be able to control each LED in an entire strand of lights. Traditional lights just have power run to colored bulbs, which blink or stay lit all together. We found a strand of individually addressable LEDs that are made for outdoor use. This means that each light has a small circuit board attached to each bulb that will receive power and a data signal from a micro-controller. I’m using an Arduino as the micro-controller to send out a signal to each specific light among the many strands.

Our game is very simple, there is a “player” that is restrained to the lowest level of lights in our tree-shaped matrix. That “player” can move left or right to avoid falling “snow.” When the game is played, the player will move while white “snow” lights fall randomly from the top of the tree-shaped matrix. If the “player” and the “snow” occupy the same space on the matrix in the arduino code, you lose. When the game isn’t being played, I used a simple LED flash library to create a Christmasy-looking color series that flashes until someone activates the game.

Now that the game code is working, the lights are blinking appropriately, and the control buttons are moving the “player” around, it’s time to make it look like a tree. To do this, Josh and I drilled holes at even space along some thin PVC material and fed in the lights. Covering those light boards with ping pong balls will help diffuse the LED light and give the whole tree a polished and clean look. These seven LED light boards are then connected to a hub at the top of a 10-foot metal pole. To keep the pole firmly planted on the ground, I poured a bucket of concrete and fixed a pole holder into it.