read/write

Use this section to discuss your embedded Flowcode projects.
Post Reply
Sergejs
Posts: 143
http://meble-kuchenne.info.pl
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

read/write

Post by Sergejs »

Hello,

I can not write and read 24c32 IC with my Arduino NANO 328. Can any help me please?
Attachments
eeprom24c32_01.fcfx
(9.9 KiB) Downloaded 70 times

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: read/write

Post by BenR »

Hello,

Do you have external pull up resistors on the I2C clock and data connections?

Sergejs
Posts: 143
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

Re: read/write

Post by Sergejs »

No, I have not. What resistance is need to put resistors there?

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: read/write

Post by BenR »

4K7 or 10K should work if you have them.

You might also be able to use the internal pull up resistors on the arduino pins by writing a 1 to the corresponding bits of the port register using a C icon.

Sergejs
Posts: 143
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

Re: read/write

Post by Sergejs »

I have about million of resistors. I am radioamateur in past. But now I like to play with MCU :)

Post Reply