Posts with «arduino» label

An Automated Paper Cutter

Are scissors and manual paper cutters not working for you? Well, “Mr Innovative” has the solution in the form of an Arduino-driven device that cuts paper to length automatically. 

As you can see in the video below, a user simply inputs the length of paper and the number of strips needed via a series of buttons and a tiny OLED display, and the automated machine does the rest.

The system works by pulling paper inserted into the machine’s body at precise intervals using a stepper motor and rollers. When in place, a second stepper moves a razor blade over the paper, cutting it into perfect strips for whatever craft project you have in mind. An Arduino Mega controls the device, along with a pair of stepper drivers via designed PCB-shield. Code and PCB files are available here for download.

SmartCash can sort and give out change

If you run a small business where transactions are made, handling out coins is a necessary part of the job. While a cash register does the trick, perhaps you could try out the SmartCash device—a cylindrical electromechanical system running on an Arduino Mega—to help you count coins and make change.

Aside from sorting coins, there’s the added benefit that customers will want to come and try it out, maybe even using more cash (and letting you as the owner avoid pesky credit card charges). 

SmartCash is currently designed to work with Euro coins ranging from 5 cents to 2€. Build information is available in this write-up and on the project’s official site. You can also see it in action in the first video below, or how it’s assembled in 3D CAD in the second.

13 Year Old Italian Students Make a Smart Ardubike

The final project ensured a safety system for the bike using lights, turn signals and a fall alert based on a compass position control.

Read more on MAKE

The post 13 Year Old Italian Students Make a Smart Ardubike appeared first on Make: DIY Projects and Ideas for Makers.

MAKE » Arduino 15 Jun 14:00

A Crash Course In Reliable Communication

It’s probably fair to say that anyone reading these words understands conceptually how physically connected devices communicate with each other. In the most basic configuration, one wire establishes a common ground as a shared reference point and then the “signal” is sent over a second wire. But what actually is a signal, how do the devices stay synchronized, and what happens when a dodgy link causes some data to go missing?

All of these questions, and more, are addressed by [Ben Eater] in his fascinating series on data transmission. He takes a very low-level approach to explaining the basics of communication, starting with the concept of non-return-to-zero encoding and working his way to a shared clock signal to make sure all of the devices in the network are in step. Most of us are familiar with the data and clock wires used in serial communications protocols like I2C, but rarely do you get to see such a clear and detailed explanation of how it all works.

He demonstrates the challenge of getting two independent devices to communicate, trying in vain to adjust the delays on the receiving and transmitting Arduinos to try to establish a reliable link at a leisurely five bits per second. But even at this digital snail’s pace, errors pop up within a few seconds. [Ben] goes on to show that the oscillators used in consumer electronics simply aren’t consistent enough between devices to stay synchronized for more than a few hundred bits. Until atomic clocks come standard on the Arduino, it’s just not an option.

[Ben] then explains the concept of a dedicated clock signal, and how it can be used to make sure the devices are in sync even if their local clocks drift around. As he shows, as long as the data signal and the clock signal are hitting at the same time, the actual timing doesn’t matter much. Even within the confines of this basic demo, some drift in the clock signal is observed, but it has no detrimental effect on communication.

In the next part of the series, [Ben] will tackle error correction techniques. Until then, you might want to check out the fantastic piece [Elliot Williams] put together on I2C.

[Thanks to George Graves for the tip.]

New automatic parachute system, for a water rocket

Primary image

What does it do?

Detects rocket launch, apogee and descend to open a parachute

Hello!

After the previous successful but heavy automatic parachute system*

*(If you didn't see the previous article please visit it here, as it has all the explanations about the electronics and way of working. All improvements are based on that one)

Cost to build

$100, 00

Embedded video

Finished project

Number

Time to build

20 hours

Type

URL to more information

Weight

500 grams

read more

Meme Weaver guides users through fabric creation

We all need to wear clothes, but where do they come from? If you answered “the mall,” then perhaps it’s time to play a couple rounds on the “Meme Weaver.” 

As seen here, this project by the husband and wife team of David Heisserer and Danielle Everine prompts users to adjust levers correctly in order to control how yarn travels through the machine, weaving fabrics together that reveal poems, quotes, and other interesting sayings.

Control for the device—which in turn “commands” humans via a series of audio-visual cues—is accomplished using an Arduino Mega, along with an Adafruit Audio FX sound board. 

Part mechanized tool and part arcade game, Meme Weaver is an interactive machine that weaves poems. Meme Weaver is a complex instrument with large-scale elements of a traditional loom – beams, rollers, yarns, shuttle, beater – with people operating individual treadles. Blinking lights and buzzers create an arcade game feel by lending a bit of Dance Dance Revolution ambiance to the loom.

We have chosen to weave a collection of memes, poems, quotes and maxims from a wide range of authors. The selections include personal favorites, well-known classics and contemporary works within the theme of knowledge sharing. The scroll will be written with poems that remind us that we are standing on the shoulders of giants when we make new technologies.

More info is available on the Meme Weaver’s website , or you can see it on display at the Northern Spark art festival in Minneapolis on June 1516th.

Poetry is the Fruit of this Loom

We’d wager that most people reading these words have never used a loom before. Nor have most of you churned butter, or ridden in a horse-drawn wagon. Despite these things being state of the art technology at one point, today the average person is only dimly aware of their existence. In the developed world, life has moved on. We don’t make our own clothes or grow our own crops. We consume, but the where and how of production has become nebulous to us.

[David Heisserer] and his wife [Danielle Everine], believe this modern separation between consumption and production is a mistake. How can we appreciate where our clothing comes from, much less the people who make it, without understanding the domestic labor that was once required to produce even a simple garment? In an effort to educate the public on textile production in a fun and meaningful way, they’ve created a poetry printing loom called Meme Weaver.

The Meme Weaver will be cranking out words of woolen wisdom at the Northern Spark Festival taking place June 15th and 16th in downtown Minneapolis. If any Hackaday readers in the area get a chance to check out the machine, we’d love to hear about it in the comments. Take photos! Just don’t blame us if you have a sudden urge to make all of your clothing afterwards.

Equal parts Guitar Hero and Little House on the Prairie, the Meme Weaver merely instructs the user on how to weave the fabric, it doesn’t do it for them. Lights and sounds provided by an Arduino Mega and Adafruit FX board indicate which levers to pull, with the end goal being the creation of a two-inch wide strip of hand-woven fabric that contains a poem or quote. The act of weaving the fabric by hand combined with the personalized nature of the text is intended to create a meaningful link between the finished product and the labor used to create it.

But how does it work? The operation of the machine seems mysterious to modern eyes, which arguably reinforces the point [David] and [Danielle] are trying to make in the first place. The levers on the front are moving heddles on the opposite side of the machine, which control the path the yarn takes through the loom.

By raising and lowering the white yarn, it’s possible to print text in what is essentially an ultra-low-resolution dot matrix. When the heddle levers are locked into place (thanks to electromagnets triggered by microswitches), the user then passes the shuttle through the loom, and finally pulls the lever that tightens up the completed line with what’s known as the beater. If that seems complex to your modern mind, imagine trying to explain an Arduino to somebody in the 1800’s.

If all this talk of weaving has caught your interest, you could always 3D print yourself a loom of your own. Then when you get tired of doing it by hand, you can upgrade to a Raspberry Pi powered version and start the whole cycle over again.

Automatic Sunglasses For the Lazy Hacker

[Andreas] may have created the ultimate lazy hacker accessory: automatic sunglasses, or “Selfblending sunglasses” as he creatively titled his video. If you can’t tell from the name, these are glasses that you never have to take off. If the light is dim, they move away from your eyes. Going back outside to bright light? The glasses move to protect your eyes.

The glasses consist of a couple of micro servos which move tinted lenses toward or away from the user’s eyes. A side-mounted Arduino Uno reads a CdS cell light sensor and drives the servos.  Why an Uno rather than a much more wearable Arduino Nano? It’s what [Andreas] had lying around.

Yes, a good portion of the fun of this build is [Andreas’] comedy. But the best part comes when he tests the glasses out — in an actual car on the highway. The glasses work better than expected — moving the lenses into and out of [Andreas] field of view as he drives through tunnels. You can actually see how surprised [Andreas] is that it works so well.

These aren’t the first automatic sunglasses we’ve seen, nor are they the most peril-sensitive. Still, it’s a fun project and the video gave us a few chuckles.

Hack a Day 14 Jun 06:00

Simplifying Basic LED Effects

There was a time when having a blinking blue LED on a project was all you needed to be one of the cool kids. But now you need something more complex. LEDs should not just snap on, they should fade in and out. And blinking? Today’s hotness is breathing LEDs. If that’s the kind of project you want, you should check out [jandelgado’s] jled library.

At first glance, an Arduino library for LED control might seem superfluous, but if you are interested in nice effects, the coding for them can be a bit onerous. If you don’t mind stopping everything while you fade an LED on (or off) then sure, you just write a loop and it is a few lines of code. But if you want to have it happen while other things continue to execute, it is a little different. The library makes it very simple and it is also nicely documented.

Obviously, to create a special effect LED, you need to create a JLed object. Then you can use modifier methods on that object to get certain effects. The only overhead is that you need to call the update method on the LED periodically. Here is one of the examples from the project:

#include <jled.h>

// connect LED to pin 13 (PWM capable). LED will breathe with period of
// 2000ms and a delay of 1000ms after each period.
JLed led = JLed(13).Breathe(2000).DelayAfter(1000).Forever();

void setup() { }

void loop() {
   led.Update();
}

Pretty easy and readable. Just remember that some Arduinos can’t do PWM on pin 13, so you might have to adjust. Our only complaint is that you have to update each LED. It would be nice if the JLed constructor kept a linked list of all LED objects so you could have a class method that updates all of them with one call. In the examples, the author keeps all the LEDs in an array and steps through that. However, that would be easy to fork and add. Oh wait, we did it for you. The library does do a lot of work, including taking advantage of higher PWM resolution available on the ESP8266, for example.

The library can turn an LED on or off (including delays), blink or breathe an LED forever or for a certain number of times, or fade an LED on or off. In addition to the presets, you can provide your own brightness function if you want to do some kind of custom pattern. You can modify most actions by specifying a delay before or after, a repeat count (which can be forever) and you can also tell the library that your LED is active low, so you don’t have to mentally remember to flip everything around in your code.

Rocket science? No. But we like it. Blocking for an LED effect is bad and this makes fancy asynchronous LEDs simple. Why not use it? Recent IDEs can install it from the manage library dialog, so it takes just a second.

Really, libraries are a key to building systems simple. Why not stand on the backs of others? Some of our favorites handle SPI and proportional integral derivative (PID) control.

Hack a Day 14 Jun 00:00

Pull small planes around with this Arduino Mega-based tug

While there are many ways to move an airplane on the ground, Anthony DiPilato decided to build a “tug” of his own.  

The treaded device looks like a tiny tank, and when it slides under the aircraft’s front wheel it locks in place, allowing a 5,200-pound plane to be pulled around courtesy of the RC system’s wheelchair motors. Onboard, an Arduino Mega serves as the brains of the operation along with an H-bridge for motor control. User interface is handled by DiPilato’s iPhone via Bluetooth.

For small aircraft, a towbar is sufficient, but for larger aircraft a power assisted tug is necessary for maneuvering the aircraft. Commercially available aircraft tugs are considerably expensive, so many people use small tractors or golf carts to pull their aircraft.For this project I wanted to see if I could build a remote controlled aircraft tug for a reasonable price.

The goal was to design a remotely controlled tug capable of pulling a Cessna 310 with an estimated weight of 5,200 lbs while keep the cost under $1,000.

Build details can be found in his blog write-up. The Arduino code is available on GitHub, as well as the iOS program. Finally, you can see the tug in action in the first video below, while the second clip shows how the locking mechanism works.

Arduino Blog 12 Jun 17:07