595 can not count... with Video...

I am using the Hello World program which something like 8-bit Counter.

The problem is, I found that the LED stop at the middle (ie. restart when counter to ~37)
However, when I add Serial.beign(9600) and start serial monitor the output at the same time.
The counter seems work normally....

I had tested various sample codes and still find the same problem, did I miss something important ?

Many Thx...

Yes, show your code.

I copy the code from

Are you sure?

Yes, because I did not know much about 595...

So, if it stops without the serial code but work with it them there is some error in there.

Here is the video.

Please give some advices...

looks a bit like a current supply problem?

is Vcc/ GND of the 595 really connected? are you using the appropriate resistors?

markbee

I had connected

Arduino +5V -----------> 595 ----------- VCC (pin 16) + MR pin 10
Arduino GND -----------> 595 ----------- GND (pin 08)

Since it did not have flicking... I did not connect the 1uF capacitor...

You have an application running in the background that is probing serial ports. When it opens the Arduino serial port, the board resets. The typical culprit is a mobile phone or PDA application.

Try disabling auto-reset...
http://www.arduino.cc/playground/Main/DisablingAutoResetOnSerialConnection

did you use another 595 and has it the same behaviour?

markbee

Thx to All....
I had worked out for several hours and did not solve the problem...
but finally, I had solved the problem.

The reset is due to the present of "Sony Ericsson PC Companion 2.0" in the system.
:slight_smile: