Show Posts
Pages: [1] 2
1  Using Arduino / Programming Questions / Re: shifter register on: November 29, 2012, 10:09:58 pm
running with pin 11 on the 595 to pin 3 on arduino pin 12 to + voltage and pin 14 to pin 2
2  Using Arduino / Programming Questions / Re: shifter register on: November 29, 2012, 10:02:19 pm
ok with the new shift register i can get it to work when i disconnect the latch pin from my arduino and it will run and then stop and then start again
3  Using Arduino / Programming Questions / Re: shifter register on: November 29, 2012, 03:33:16 pm
new shift registers come in today. Will make sure to check all wiring as well as change the delay and see if it works.
really appreciate all the help so far.
4  Using Arduino / Programming Questions / Re: shifter register on: November 27, 2012, 06:31:50 pm
added the capacitor with no change. shift registers ares cheap enough i decided to order a new batch and try again. waiting for the new ones to come in
5  Using Arduino / Programming Questions / Re: shifter register on: November 20, 2012, 09:37:41 pm
ok guess i will have to get me some capacitors
6  Using Arduino / Programming Questions / Re: shifter register on: November 20, 2012, 07:15:16 pm
my goal was to grasp the understanding of the shift register then move on to an 8x8 matrix with shift register.
7  Using Arduino / Programming Questions / Re: shifter register on: November 20, 2012, 07:13:40 pm
hmm i dont know i was just following a tutorial and its wiring diagram just to get a start on how the shift registers work and when i set it up it didnt work. So basically i am lost.
8  Using Arduino / Programming Questions / Re: shifter register on: November 19, 2012, 10:50:32 pm
so a capicotor between the latch pin and ground?
9  Using Arduino / Programming Questions / Re: shifter register on: November 19, 2012, 10:14:42 pm
what do you mean by that?
10  Using Arduino / Programming Questions / Re: shifter register on: November 19, 2012, 09:09:23 pm
when i direct drive the matrix i have no problems my 595's must be duds
11  Using Arduino / Programming Questions / Re: shifter register on: November 19, 2012, 07:34:20 pm
ok that makes sense and i think i have bad shift registers out of the ten i have none of them do the same thing when i run that test on just the hardware
12  Using Arduino / Programming Questions / Re: shifter register on: November 19, 2012, 07:08:13 pm

that is my wiring set up
13  Using Arduino / Programming Questions / shifter register on: November 19, 2012, 07:06:36 pm
i am attempting to get 8 leds to do a sweep with my arduino mega and an 74hc595n shifter regester after folling many tutorials and sample codes i get nothing.

Code:
int dataPin = 2;        //Define which pins will be used for the Shift Register control
int latchPin = 3;
int clockPin = 4;

int seq[14] = {1,2,4,8,16,32,64,128,64,32,16,8,4,2};       //The byte sequence

void setup()
{
    pinMode(dataPin, OUTPUT);       //Configure each IO Pin
    pinMode(latchPin, OUTPUT);
    pinMode(clockPin, OUTPUT);
}

void loop()
{
    for (int n = 0; n < 14; n++)
    {
        digitalWrite(latchPin, LOW);             //Pull latch LOW to start sending data
        shiftOut(dataPin, clockPin, MSBFIRST, seq[n]);          //Send the data
        digitalWrite(latchPin, HIGH);            //Pull latch HIGH to stop sending data
        delay(75);
    }
}

and i have the shift register connected to pins 2,3,4, but i get nothing out of it the code compiles to the board fine
14  Using Arduino / Programming Questions / Re: lcd menu on: November 14, 2012, 06:43:33 pm
from what i see its pulling it from one of the libraries defined at the top when i go to inspect those libraries to see where the menu is getting its input i am having no luck at finding where to edit the code to fit my device
anybody know of any one who has used this Arduino_LCD_Menu-Master before?
15  Using Arduino / Programming Questions / Re: lcd menu on: November 14, 2012, 02:31:12 pm
how do i set the values of the buttons so it recognizes which one is being pushed.
Pages: [1] 2