Hi All,
Using ShiftRegister74HC595.h for save ports in Arduino Uno.
With this library you can set each pin of HC595 individually (Q0 to Q7 or pin 15(0) and pin 1 to 7).
For now I'm using leds simulating the digital potentiometers UP/DOWN and chip select pins.
The problem is that the pin 12 is the output for latch of HC595, then when I push the button for to set the pins and light up the corresponding leds nothing happens or the wrong leds light up, if I place my hands over the wire of pin 12 the leds light up ok.
Seems that have a high frequency circulating by the wire
Some body have a clue?
ps: If I build this on the Mega 2560 the problem don't arise.
Do you have MRClear connected or pulled high, and OE/ connected to Gnd, or driven low?
Thanks for replay,
Yes pin 10 is connected direct to 5V and pin 13 direct to ground.
But if I use the Mega 2560 this not happens.
Sadly is not the case, I make a test with a multimeter in the continuity scale from 18 pin of CI and show 0 ohm to respective pin in the breadboard. Make this after a reinforcing of pin out in the Arduino's board.
I am new to Arduino and was thinking about some fuse bit or so but encountered nothing about.
I see that the pin 12 of Arduino is MISO/PCINT4 too but don't know if this can affect the working of this bit in the PORTB.
I have configured the pinMode(12, OUTPUT); too but nothing is changed.
I go to replace the ATMega 328pu and see if solve the problem.
Now I recorded the boot loader in a new ATMega 328pu and replaced the onboard ATMega 328.
Works in exact same with pin 12 with the problem...
Then, I replace the 74HC595 and the problem persists.
So the chalenge continues...
Well, how the pin 12 is MISO I have configured it how a digital in and solve the problem but the mystery continues...