Pages: [1]   Go Down
Author Topic: Using a 74HC590  (Read 1614 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 76
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,
Im having a painful time trying to get a 74HC590 to simply count the number of pulses.

Outline :

My ideas was to use it to count the output from a sensor and then collect the data to the arduino (the arduino isnt fast enough because it running serveral scripts)

Problem :

The curcuit seems to count like crazy (but too quick to tell if its actually counting up in binary)

Why?!?!?

So i've rigged this up :

LEDs on output Q0 to Q4 (just for testing) (pins 15,1,2,3)
GND (pin 8 )
_RCO (not connected)
_MRC (pin 9) to GND
CPC (pin11) & CPR (pin 13) tied together to switch to +5v
_OE (not connected)
Vcc (+5V from arduino)

All power is supplied by the arduino

Questions :

Have a pinned it out right?
Do i need to use a PWM (pulse signal) on th eclocks? I have 555 chips so could set one up if needed.


I dont have a osciliscope and im finding it a pain to sort. Any help would be great.
Eventually i want to use the curcuit to count the pulses from a optointeruptor.

Thanks in advance
Rob
 
« Last Edit: April 07, 2011, 06:28:01 am by mellink » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8975
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

>  _MRC (pin 9) to GND

Uh, _MRC is an 'active low' signal so you are doing a Master Reset of the Counter all the time?  Try a pull-up on that pin.

>  _OE (not connected)

If you don't pull this low you won't see any outputs.  Try holding that one low.

You also don't mention _CE  (Counter Enable).  You should tie that low.

I don't know if it is true of 74HC chips (High-power CMOS?) but for most CMOS chips you have to provide inputs for every input pin.  If you let the input float it MAY cause an internal short and fry the chip.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: