Pages: [1]   Go Down
Author Topic: 595 can not count... with Video...  (Read 826 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using the Hello World program which something like 8-bit Counter.
http://www.arduino.cc/en/Tutorial/ShiftOut

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...
« Last Edit: June 09, 2011, 12:47:08 am by kokpat » Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, show your code.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I copy the code from
http://arduino.cc/en/Tutorial/ShftOut11
Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you sure?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is the video.



Please give some advices...
Logged

Hamburg, Germany
Offline Offline
Sr. Member
****
Karma: 6
Posts: 291
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

looks a bit like a current supply problem?

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

markbee
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 200
Posts: 12782
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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
Logged

Hamburg, Germany
Offline Offline
Sr. Member
****
Karma: 6
Posts: 291
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

markbee
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
 smiley-kitty
Logged

Pages: [1]   Go Up
Jump to: