Show Posts
Pages: 1 [2] 3 4 ... 6
16  Forum 2005-2010 (read only) / Exhibition / Re: [Request] Has anyone made a "Message Wand"? on: May 18, 2010, 09:13:09 pm
Yeah I've been trying to re-code it so that it will accept longer messages, but I haven't gotten it right yet. I don't know exactly what's going on, because in theory it should work, but something funky is happening on the ATMega's side of the process. If you or anyone else can figure it out i'd be appreciative
17  Forum 2005-2010 (read only) / Exhibition / Re: [Request] Has anyone made a "Message Wand"? on: May 18, 2010, 04:36:57 pm
Okay, can you tell me your current setup? i have it all being controlled from pins 2-13, with an LED and a resistor going from the digital output pin to ground. The LED's are all to be arranged in the same order as the output pins. Pictures or a description of the problem?

Also, try shortening the message. I noticed that longer messages can mess up the code (anyone know why?) and it won't run.
18  Forum 2005-2010 (read only) / Exhibition / Re: [Request] Has anyone made a "Message Wand on: May 16, 2010, 08:22:50 pm
The code is poorly annotated and I don't have time now to go through and annotate it all, but if you take a long look at it you should be able to figure it out. it's pretty basic. If you have any specific questions, I'll be happy to help.

Code:

  //These are arrays that contain the individual letters that may be written.
int _[] = {
  0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,};
int A[] = {
  1,1,1,1,1,1,1,1,0,0,0,0, 0,0,0,0,0,0,1,0,1,1,0,0, 0,0,0,0,0,0,1,0,0,0,1,0, 0,0,0,0,0,0,1,0,0,0,0,1, 0,0,0,0,0,0,1,0,0,0,1,0, 0,0,0,0,0,0,1,0,1,1,0,0, 1,1,1,1,1,1,1,1,0,0,0,0,};
int B[] = {
  1,1,1,1,1,1,1,1,1,1,1,1, 1,0,0,0,0,0,0,1,0,0,0,1, 1,0,0,0,0,0,0,1,0,0,0,1, 1,0,0,0,0,0,0,1,0,0,0,1, 1,0,0,0,0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1,1,1,1, 1,1,1,1,1,1,1,1,0,0,0,0, 0,0,0,1,1,1,1,1,1,1,1,1, 0,0,0,0,0,0,1,1,1,1,1,0, 0,0,0,0,0,0,0,1,1,1,0,0,};
int letterpause = 30;  //Time between letters
int columntime = 15;  //Time between the parts of the letters
int buttonIn = 1;
int pressed = 0;

void setup()
{
  pinMode(2, OUTPUT);
  pinMode(3, OUTPUT);
  pinMode(4, OUTPUT);
  pinMode(5, OUTPUT);
  pinMode(6, OUTPUT);  
  pinMode(7, OUTPUT);
  pinMode(8, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(11, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(13, OUTPUT);
}

void writeletter(int letter[])  //Create a function that displays the current letter
{
  int i;
  for (i=0; i<12; i++)  //Go through the individual bits of the letter one at a time to display the first part of the letter
  {
    digitalWrite(i+2, letter[i]);  
  }
  delay(columntime);
  for (i=0; i<12; i++)
  {
    digitalWrite(i+2, letter[i+12]);    //Go through the next part of the letter, and keep going until the letter is complete
  }
  delay(columntime);
  for (i=0; i<12; i++)
  {
    digitalWrite(i+2, letter[i+24]);
  }
  delay(columntime);

  for (i=0; i<12; i++)
  {
    digitalWrite(i+2, letter[i+36]);
  }
  delay(columntime);

  for (i=0; i<12; i++)
  {
    digitalWrite(i+2, letter[i+48]);
  }
  delay(columntime);

  for (i=0; i<12; i++)
  {
    digitalWrite(i+2, letter[i+60]);
  }
  delay(columntime);

  for (i=0; i<12; i++)
  {
    digitalWrite(i+2, letter[i+72]);
  }
  delay(columntime);
  for (i=0; i<12; i++)
  {
    digitalWrite(i+2, 0);
  }
  delay(letterpause);
}

void loop(){
    writeletter(I);    //Go through the letters you want to write
    writeletter(_);
    writeletter(L);
    writeletter(O);
    writeletter(V);
    writeletter(E);
    writeletter(_);
    writeletter(A);
    writeletter(R);
    writeletter(D);
    writeletter(U);
    writeletter(I);
    writeletter(N);
    writeletter(O);
    writeletter(Ex);
    delay(100000);
 }
19  Forum 2005-2010 (read only) / Exhibition / Re: [Request] Has anyone made a "Message Wand"? on: May 11, 2010, 04:23:15 pm
I made one too, it's really easy to do with the Arduino. Hope you can get enough resources to build your own, it's a fun project. (mine was slower than a normal POV so I could write in longer exposure photographs, but you can easily change the delay to make it faster/slower as you want). If you want code I can post it

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1242879841
20  Forum 2005-2010 (read only) / Exhibition / Re: NRL Satellite (ARDUINO IN SAPCE!) on: May 12, 2009, 10:29:36 pm
"one small step for man, one giant leap for... Ardu-kind"
21  Forum 2005-2010 (read only) / Exhibition / Re: My First Arduino Build on: May 11, 2010, 04:29:00 pm
I'm surprised your LEDs didn't burn out by now, without resistors and whatnot. If you're just starting out I can't blame you--everyone's blown up a few electronic components before. But you should always include current limiting resistors with an LED so that you don't fry either your arduino or your LED
22  Forum 2005-2010 (read only) / Exhibition / Re: Arduino game using a servo on: December 14, 2009, 06:59:10 pm
Quote
"Ass for Jef DiMarco"

Ehem... typo I hope? Roll Eyes

Whoops, sorry for the typo. But i agree with lefty on this one, i used potentiometers to control my servos; it seemed... cleaner. Then i experimented with an accelerometer, gyro, and whatever else analog output sensor I could find
23  Forum 2005-2010 (read only) / Exhibition / Re: Arduino game using a servo on: December 10, 2009, 10:58:03 pm
@someoneknows:

face to palm connection has been made. I was thinking of making an arduino controlled servo-powered marble labyrinth game like you did, because i thought it would be original. Turns out, there's no such ting as an original idea =P

still going to go thorough with the project, though, because i started already.

Ass for Jef DiMarco, i actually made my own version of your game today (hastily) to show my engineering teacher that i have recently learned how to control servos. Neat stuff.
24  Forum 2005-2010 (read only) / Exhibition / Light Writer on: May 20, 2009, 11:24:01 pm
This is a project i cobbled together over the last weekend, just finishing it up now. It's a handheld POV device for use when taking pictures with extremely long exposure times (think 10+ seconds). It's just a neat tool for photography.

Link to project: http://randomthingsitinker.blogspot.com/2009/05/light-writer.html

(I'm working on getting a momentary pushbutton or two in there to

A: start the sequence
and
B: change the sequence to say something else)
25  Forum 2005-2010 (read only) / Exhibition / Re: Gurubot8- a guarding robot that will protect... on: May 10, 2009, 06:13:01 pm
face to palm connection has been established.

so do you have any code for it yet? any new pictures? i do remember you putting this up a while ago--any progress?
26  Forum 2005-2010 (read only) / Exhibition / Re: Life Clock on: May 11, 2009, 10:19:52 pm
wow, i'm impressed. I like how your project got increasingly more complicated!

as a sidenote... any figures in terms of total cost?
27  Forum 2005-2010 (read only) / Exhibition / Re: Management of robot ABB IRB6640 whith Arduino. on: May 06, 2009, 09:39:43 pm
very impressive! how did you get access in the first place to program such a high-tech robotic arm like that?
28  Forum 2005-2010 (read only) / Exhibition / Re: "Puff" -   Fire extinguisher Robot on: May 02, 2009, 12:29:41 pm
Ah, cool! i like it a lot... does it shoot automatically under certain conditions or do you control it?
29  Forum 2005-2010 (read only) / Exhibition / Re: "Puff" -   Fire extinguisher Robot on: May 01, 2009, 08:37:57 pm
very neat! what system do you use for him to be able to breath fire? can he do more than one fire breath without having it reloaded?
30  Forum 2005-2010 (read only) / Exhibition / Re: Turret on: April 26, 2009, 04:08:37 pm
I'm impressed! i think i might do a project like this now, but when i can afford it =P

so did you use something to track movement, then orient the barrel toward that? what did you use to do that?
Pages: 1 [2] 3 4 ... 6