06-06-2011 09:43 AM - edited 06-06-2011 09:47 AM
Hello there,
I wish to know how to communicate(read and write) and connect AT24C01A EEPROM using Labview via RS232 without using any NI USB-8451 device.
Many Thanks!
Walter.
06-06-2011 12:36 PM
The serial port can't be used to communicate with AT24C01A EEPROM because it's voltage levels are not compatible with AT24C01A . If your PC has a parallel port you can easily use it to interface with the AT24C01A
06-06-2011 03:35 PM
@kamdy wrote:
...If your PC has a parallel port you can easily use it to interface with the AT24C01A
Well, you'd need additional stuff, like pull-up resistors, and potentially a voltage regulator depending on the motherboard manufacturer's choice of voltage for the parallel port.
Re: initial post...
As the datasheet indicates, that EEPROM is an I2C-like device. I say "like" because it pretends to be an I2C device without actually coming out and admitting it. To directly control the parallel port in LabVIEW you need to use the Port I/O VIs. Why do you not want to use the 8451? Is it because of cost? If so, there are cheaper alternatives on the market. Did you try to Google for I2C adapters?
06-07-2011 01:40 AM
Hi smercurio_fc
Actually, top management decides to switch everything in LabVIEW but initially are in VC++ platform and the R&D teams managed to make it via RS232 and too bad, all the R&D teams are layoff so everything is gone....
Walter.
06-07-2011 04:56 AM
Hi,
In this case, if possible for me to use PXI6229 to access (read & write) AT24C01A EEPROM?
Walter.
06-07-2011 10:45 AM
@WalterLee wrote:
Hi smercurio_fc
Actually, top management decides to switch everything in LabVIEW but initially are in VC++ platform and the R&D teams managed to make it via RS232 and too bad, all the R&D teams are layoff so everything is gone....
Walter.
Well, the software platforms isn't the real issue here - it's the hardware interface. Can you make it work with RS232? Yes. However, not directly. As noted, the serial port voltages are not compatible with the voltage requirements of the EEPROM. Thus, you'd need voltage converters.
The 6229 can certainly be used. Essentially you'd be doing "bit-banging".