Maker Pro
Maker Pro

Reading data from AT21CS01 using an Arduino board

Ramkishor

Sep 11, 2022
3
Joined
Sep 11, 2022
Messages
3
I am trying to use the AT21CS01 Chip from the microchip. It's a single-wire memory chip. I am using it for the identification of my device. I am trying to read the data using an Arduino board. Please let me know how to use that chip.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
Do you know how to use a search engine (link)? On my search it is the 2nd entry from top.
 

Keonte45

Aug 29, 2022
82
Joined
Aug 29, 2022
Messages
82
Harald's reply may seem harsh to you but it's funny and he's right. There are things you just need to use a search engine. You can use Google or even try out YouTube.
 

kellys_eye

Jun 25, 2010
6,514
Joined
Jun 25, 2010
Messages
6,514
So many experimenters fail to appreciate the valuable resource that is the manufacturers datasheet! They are often the ONLY way to appreciate the full abilities of any component - they also commonly have hints and tips as well as schematics for common applications.
 

Ramkishor

Sep 11, 2022
3
Joined
Sep 11, 2022
Messages
3
I have tried all the things that I could. I tried most of the things available on the internet. While referring data sheet, the EEPROM has to drive the S/O pin to low after sending the reset command. But that's not happening. This is the waveform of the same. Please help me store and retrieve data from that EEPROM.
 

Attachments

  • IMG_20191127_124002 (1).jpg
    IMG_20191127_124002 (1).jpg
    349.6 KB · Views: 4

danadak

Feb 19, 2021
751
Joined
Feb 19, 2021
Messages
751
You need to post your code. What Arduino board are you using. How are you wiring
uop the EEPROM to the board, a schematic......

Help the forum help you with basic info....


Regards, Dana.
 

kellys_eye

Jun 25, 2010
6,514
Joined
Jun 25, 2010
Messages
6,514
If it's powered correctly, connected correctly and addressed correctly and you're not getting the right results then it's FAULTY!

We know 'nothing' of your situation/application re connection, power, control etc. This is something you have to fix yourself unless you publish EVERYTHING about it. The datasheet is very specific, very detailed and fully inclusive so read it again (and again) and check what the sheet says against everything you are doing.

In short RTFM.

Or it's bust!
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
1. Show us a schematic of your circuit.
2. Show us the relevant code section.
I am driving the S/O pin to 0v for T reset time
After that, you need to change the pin from output to input. Otherwise it will continue to drive the line High regardless of what the AT21 tries to do.
there are no available libraries for Arduino
Did you follow the link in my post #2?
 

tolgaatesci

Feb 7, 2023
1
Joined
Feb 7, 2023
Messages
1
I have tried many things for reading data from at21cs01 via Arduino. But i did not achieve. After that i bought DM160232 for this and i saw different signals for any different address like attach. I would like to ask how to read value from at21cs01 if you did successfully. Thanks in advance
 

Attachments

  • 06h.jpg
    06h.jpg
    341.9 KB · Views: 2
Top