hi... today start mess the 74hc595 need make 2 huge 7 segment displays but, before, start learn basics of it.
i have sketck , wiring diagram nick gammon;
http://www.gammon.com.au/forum/?id=11518
i make couple of misses when connect ic... read again schem , seems working, weird problem.
the diagram is;
the sketch is;
so, there no pwm output, on , off...
but in moments leds, remain small current flowing...
my question is... whath can make ic works properly?
i have 0.1uf pin 16 gnd schem.
i have 10k on pin 10 gnd, schem
i have conected 16 , 10 547 5vcc
and 8 , 13 547 gnd
its seems im missign here.
i hope 1 here can point me on right direction.
thanks in advance.
-alex.
i have sketck , wiring diagram nick gammon;
http://www.gammon.com.au/forum/?id=11518
i make couple of misses when connect ic... read again schem , seems working, weird problem.
the diagram is;
the sketch is;
code: [select]
/*
en este programa comenzaremos probar el shift register,
para poder usarlo cuando sea conveniente.
*/
#include "spi.h"
const byte latch = 10;
byte c = 0;
void setup() {
spi.begin ();
}
void loop() {
c++;
digitalwrite (latch, low);
spi.transfer (c);
digitalwrite (latch, high);
delay (1000);
}
so, there no pwm output, on , off...
but in moments leds, remain small current flowing...
my question is... whath can make ic works properly?
i have 0.1uf pin 16 gnd schem.
i have 10k on pin 10 gnd, schem
i have conected 16 , 10 547 5vcc
and 8 , 13 547 gnd
its seems im missign here.
i hope 1 here can point me on right direction.
thanks in advance.
-alex.
quote
its seems im missign here.you missing posting adequate photograph of setup. can see wires circuit , identify them schematic?
no?
then nether can else.
the schematic not show leds , current limiting resistors either.
one thing can spot wires on 0.1uf capacitors way long, need short possible. not enough sole cause of problems not helping.
Arduino Forum > Using Arduino > LEDs and Multiplexing > 74HC595 led at medium brigth? No PWM [Solved] wrong size resistor duhh
arduino
Comments
Post a Comment