Go Down

Topic: Connections between pcf8593 and arduino (Read 106 times) previous topic - next topic

Chineloso70

May 17, 2019, 06:09 pm Last Edit: May 17, 2019, 06:12 pm by Chineloso70
Hello,
I intend to use this ic, pcf8593, as an event counter for arduino (the specific reasons do not seem to me relevant to the question).
Before doing the actual thing, I tried to detect the ic i2c addres with a standard "i2c scan" code for ardunio, but neither my arduinos can detect the ic.
I am only connecting the power (vdd and vss pins) and the i2c pins (sda and scl). I am currently using 10k pull-up resistors.
Does anyone know what I'm doing wrong?
Datasheet is attached under the name "datasheet (4)"

Thanks for the attention

Grumpy_Mike

#1
May 17, 2019, 11:00 pm Last Edit: May 17, 2019, 11:05 pm by Grumpy_Mike
Quote
Does anyone know what I'm doing wrong?
No because you have not told us what you are doing. Your general word description doesn't sound wrong as far as it goes but if that is all you have done then you have not done enough.

For example what have you connected the ~Reset line to? Have you got a crystal connected to pins 1 & 2?

A schematic and a photograph of your attempt at realising the schematic would give us something to go on.

Quote
the specific reasons do not seem to me relevant to the question
Often these can reveal things that you have wrong that you don't even consider you have wrong, or maybe it will help us to find a better way to do what you want to do. If you knew all that you woud't be asking a question here would you?

Chineloso70

Turns out reset pin needs a low pulse at start

wvmarle

#3
May 18, 2019, 07:05 pm Last Edit: May 18, 2019, 07:07 pm by wvmarle
the specific reasons do not seem to me relevant to the question
I am curious what event counter functions this chip offers that the TC1 input of the Arduino does not.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

Go Up