Posts | Comments

Planet Arduino

Archive for the ‘simon says’ Category

How much easier would life be if you could just grab hold of whatever mechanism you wanted to manipulate, move it like you want, and then have it imitate your movements exactly? What if you could give a servo MIDI-like commands that tell it to move to a certain location for a specific duration? Wonder no more, because [peterbiglab] has big-brained the idea into fruition.

With just one wire, an Arduino, and some really neat code, [peter] can get this servo to do whatever he wants. First he tells the Arduino the desired duration in frames per second. Then he grabs the horn and moves it around however he wants — it can even handle different speeds. The servo records and then mimics the movements just as they were made.

The whole operation is way simpler than you might think. As [peterbiglab] demonstrates in the video after the break, the servo knows its position thanks to an internal potentiometer on the motor’s rotor. If you locate the pot output pin on the control board and run a wire from there into an Arduino, you can use that information to calibrate and control the servo’s position pretty easily. There are a ton of possibilities for this kind of control. What would you do with it? Let us know in the comments.

If you want to try this with a bunch of servos at once, might as well build yourself a little testing console.

Via r/duino

Jan
10

A Business Card that plays Simon Says

arduino hacks, business card, misc hacks, simon says Comments Off on A Business Card that plays Simon Says 

BusinessCard_01_08

When your name is Simon and you want to build your own circuit board business card, it makes perfect sense to incorporate a game of Simon Says, and that’s exactly what [Simon] did with his Business Card.

You may see a resemblance to the Engineer’s Emergency Business Card; that’s because [Simon] took inspiration from that card to build his own.  The game of Simon Says is played via 4 low-profile pushbuttons and 4 0805 LEDs.  The microcontroller of choice to run the game is an ATtiny45 set up to work with the Arduino IDE.  But with only 5 pins available for I/O, [Simon] had to give up 4 pins to the LEDs and configure the remaining pin as an analog input.  The buttons are tied into a voltage divider that feeds the analog input, so depending which button is pressed, a different voltage is read in, thus a value from 0 to 1023 determines which button was pressed.

One of the great things about this write-up is that it goes through the process of etching PCBs at home using the toner-transfer method.  We’re not sure how many home-etched business cards he’s willing to pass out, but surely whoever does get the card, will never forget his name.


Filed under: Arduino Hacks, misc hacks
Feb
02

Music challenge has you flapping your wrist to make sounds

Accelerometer, arduino hacks, music, musical hacks, Piezo, simon says Comments Off on Music challenge has you flapping your wrist to make sounds 

glove-based-music-challenge

This glove controller let you play a musical game. The challenge is to perform the correct wrist motions at the right tempo to play the intro to the song Where is my Mind by the Pixies. This is demonstrated in the video clip after the break.

We often see flex sensors used on the fingers of glove projects, but this one does it all with an accelerometer. That module, along with the Piezo buzzer used for playback are affixed to the small breadboard on the back side of his hand. Rubber bands connect the Arduino to his third and forth fingers. The tempo and rhythm are pre-programmed but the tone generated is based on the gravity reading at the start of each note. If you don’t have your hand positioned correctly the wrong tone will be played.

The code was published in link at the top. It would be fun to see this altered as a hacked Simon Says game.


Filed under: arduino hacks, musical hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook