Loading...
  Show Posts
Pages: [1] 2
1  Using Arduino / Project Guidance / Re: Can't write multiple pins HIGH why? on: February 18, 2013, 07:46:31 pm
Here you guys go!

The video didn't come out the best but the hint is there.

http://youtu.be/-ls5GGaD9IM

Picture of the plexi https://docs.google.com/file/d/0Bx_sFejXsULPczZRYzRyMUd1bTg/edit?usp=sharing

Picture of the LED holder https://docs.google.com/file/d/0Bx_sFejXsULPMW5YMXdtWW9tLWs/edit?usp=sharing

Picture of the board https://docs.google.com/file/d/0Bx_sFejXsULPMWljTTdEU2wyRHc/edit?usp=sharing
2  Using Arduino / Project Guidance / Re: Can't write multiple pins HIGH why? on: February 16, 2013, 04:32:44 pm
I will when I get home. I finished the project thanks to you guys in the nick of time!

Lance
3  Using Arduino / Project Guidance / Re: Can't write multiple pins HIGH why? on: February 11, 2013, 10:04:51 pm
Thanks for the help first of all! I know it can be a pain sometimes but I have corrected the coded/wiring and am pretty happy how this came out. This way it goes through the letters then turns it all on one letter at a time holds for a second then takes each letter down one at a time and then rinse and repeats.

Any other tips for this?

Code:
int ledI = 13;
int ledL = 12;
int ledO = 11;
int ledV = 10;
int ledE = 9;
int ledY = 8;
int ledo = 7;
int ledU = 6;

void setup() {               
 
  pinMode(ledI, OUTPUT); 
  pinMode(ledL, OUTPUT);
  pinMode(ledO, OUTPUT);
  pinMode(ledV, OUTPUT);
  pinMode(ledE, OUTPUT);
  pinMode(ledY, OUTPUT);
  pinMode(ledo, OUTPUT);
  pinMode(ledU, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
  delay(1000);
  digitalWrite(ledI, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledI, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledL, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledL, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledO, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledO, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledV, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledV, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledE, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledE, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledY, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledY, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledo, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledo, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledU, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledU, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledI, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledL, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledO, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledV, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledE, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledY, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledo, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledU, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledI, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledL, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledO, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledV, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledE, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledY, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledo, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(500);
  digitalWrite(ledU, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(500);
 
}
4  Using Arduino / Project Guidance / Re: Can't write multiple pins HIGH why? on: February 11, 2013, 09:45:17 pm
Ok I see what I did... put each resistor on the same line as the led so essentially muting the resistor. This correct?  smiley-eek-blue
5  Using Arduino / Project Guidance / Re: Can't write multiple pins HIGH why? on: February 11, 2013, 09:28:33 pm
The LED's are working just fine what did I do?!  smiley-money
6  Using Arduino / Project Guidance / Re: Can't write multiple pins HIGH why? on: February 11, 2013, 09:14:54 pm
I put one LED to one pin.

https://docs.google.com/file/d/0Bx_sFejXsULPZm9BMFloRW5UWjQ/edit?usp=sharing
7  Using Arduino / Project Guidance / Re: Can't write multiple pins HIGH why? on: February 11, 2013, 08:49:57 pm
Retro

I deleted all delays and it blinked for a tiny fraction of a second but was almost unnoticeable so I deleted the delay after the low and it blinks left to right really fast which is not what I want. Thoughts?

Code:
int ledI = 13;
int ledL = 12;
int ledO = 11;
int ledV = 10;
int ledE = 9;
int ledY = 8;
int ledo = 7;
int ledU = 6;

void setup() {               
 
  pinMode(ledI, OUTPUT); 
  pinMode(ledL, OUTPUT);
  pinMode(ledO, OUTPUT);
  pinMode(ledV, OUTPUT);
  pinMode(ledE, OUTPUT);
  pinMode(ledY, OUTPUT);
  pinMode(ledo, OUTPUT);
  pinMode(ledU, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
  delay(1000);
  digitalWrite(ledI, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledI, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledL, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledL, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledO, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledO, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledV, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledV, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledE, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledE, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledY, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledY, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledo, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledo, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledU, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(500);               // wait for a second
  digitalWrite(ledU, LOW);    // turn the LED off by making the voltage LOW
  delay(500);               // wait for a second
  digitalWrite(ledI, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(50);
  digitalWrite(ledI, LOW);    // turn the LED off by making the voltage LOW
 
  digitalWrite(ledL, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(50);
  digitalWrite(ledL, LOW);    // turn the LED off by making the voltage LOW
 
  digitalWrite(ledO, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(50);
  digitalWrite(ledO, LOW);    // turn the LED off by making the voltage LOW

  digitalWrite(ledV, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(50);
  digitalWrite(ledV, LOW);    // turn the LED off by making the voltage LOW

  digitalWrite(ledE, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(50);
  digitalWrite(ledE, LOW);    // turn the LED off by making the voltage LOW
 
  digitalWrite(ledY, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(50);
  digitalWrite(ledY, LOW);    // turn the LED off by making the voltage LOW
 
  digitalWrite(ledo, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(50);
  digitalWrite(ledo, LOW);    // turn the LED off by making the voltage LOW
 
  digitalWrite(ledU, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(50);
  digitalWrite(ledU, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);
}
8  Using Arduino / Project Guidance / Re: Can't write multiple pins HIGH why? on: February 11, 2013, 08:40:17 pm
Awesome thanks!  smiley-eek
9  Using Arduino / Project Guidance / Re: Can't write multiple pins HIGH why? on: February 11, 2013, 08:23:55 pm
Hey the delay is just the default blink I was going to slim it down but was halted in the code development! My wife would fall asleep LOL

The last two lines is what I was having issues with. Dunno why I didn't copy them in first!


Code:
int ledI = 13;
int ledL = 12;
int ledO = 11;
int ledV = 10;
int ledE = 9;
int ledY = 8;
int ledo = 7;
int ledU = 6;

void setup() {               
 
  pinMode(ledI, OUTPUT); 
  pinMode(ledL, OUTPUT);
  pinMode(ledO, OUTPUT);
  pinMode(ledV, OUTPUT);
  pinMode(ledE, OUTPUT);
  pinMode(ledY, OUTPUT);
  pinMode(ledo, OUTPUT);
  pinMode(ledU, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
  delay(100);
  digitalWrite(ledI, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(ledI, LOW);    // turn the LED off by making the voltage LOW
  delay(3000);               // wait for a second
  digitalWrite(ledL, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(ledL, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledO, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledO, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledV, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledV, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledE, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledE, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledY, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledY, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledo, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledo, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledU, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledU, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledI, ledL, ledO, ledV, ledE, ledY, ledo, ledU, HIGH);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledI, ledL, ledO, ledV, ledE, ledY, ledo, ledU, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}
10  Using Arduino / Project Guidance / Re: ARDUINO as a RPM limiter on: February 11, 2013, 07:34:20 pm
I would be interested in this for an automotive application any way to get over the overheating issue?

Lance
11  Using Arduino / Project Guidance / Can't write multiple pins HIGH why? on: February 11, 2013, 07:32:55 pm
Here is my code:

Code:
int ledI = 13;
int ledL = 12;
int ledO = 11;
int ledV = 10;
int ledE = 9;
int ledY = 8;
int ledo = 7;
int ledU = 6;

void setup() {               
 
  pinMode(ledI, OUTPUT); 
  pinMode(ledL, OUTPUT);
  pinMode(ledO, OUTPUT);
  pinMode(ledV, OUTPUT);
  pinMode(ledE, OUTPUT);
  pinMode(ledY, OUTPUT);
  pinMode(ledo, OUTPUT);
  pinMode(ledU, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
  delay(100);
  digitalWrite(ledI, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(ledI, LOW);    // turn the LED off by making the voltage LOW
  delay(3000);               // wait for a second
  digitalWrite(ledL, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(ledL, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledO, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledO, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledV, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledV, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledE, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledE, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledY, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledY, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledo, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledo, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
  digitalWrite(ledU, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(3000);               // wait for a second
  digitalWrite(ledU, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

I then wanted the led I, L, O, V, E, Y, o, U to write high and tried to use digitalWrite but it errored on me. What should I use in its place?

Thanks
12  Using Arduino / General Electronics / Re: Need help populating Arduino r3 proto shield. on: November 20, 2012, 07:36:35 am
James,

   So it looks like I can continue on with my proto board bootloader installation shield to burn the bootloader but in order to install a program on the new chips I still have to remove the ATmega from the Arduino.

   Could you steer me in a direction of reading about how to program any chip without an arduino platform?

Lance
13  Using Arduino / General Electronics / Re: Need help populating Arduino r3 proto shield. on: November 19, 2012, 11:06:42 pm
Thanks a ton I will research tomarrow after work. My head hurts after reading Sociology topics.   smiley-sleep
14  Using Arduino / General Electronics / Re: Need help populating Arduino r3 proto shield. on: November 19, 2012, 10:35:06 pm
James,

   Yes I suppose that is what I was trying! Am I far off on this?

Lance
15  Using Arduino / General Electronics / Re: Need help populating Arduino r3 proto shield. on: November 19, 2012, 08:20:35 pm
James,

    I purchased about five ATmega328's that has a blank bootloader. Then I wanted to avoid pulling the arduino's ATmega out to program the chips 1-5. Figured I would create this shield to burn the bootloader as well as burn the program I wanted to use that chip(1-5) for. I.E. the 4x4 cube present, or the relay box I have. I guess what I have created is JUST the bootloader shield NOT a full on programming shield.

Lance
Pages: [1] 2