Development of an inexpensive card reader interface for microcomputers and a simple optoelectronic circuit to determine the accelaration of gravity g