FTDI problem

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
rhbiz
 
Posts: 5
Joined: Sat May 15, 2010 11:17 am

FTDI problem

Post by rhbiz »

I recently purchased two sim card reader kits from you.
One I assembled and am using with a usb-serial converter
and a nine-volt battery. It operates very well.

The other I intend to put in a smaller case and decided to
use an FTDI cable. I consequently did not install the nine
volt battery connector nor the serial connector. I also ordered
an FTDI TTL-232 5V cable from you.

I received the FTDI TTL-232 cable and attached it to the second
sim card reader. The led lights but it will not read the sim card.
After attaching the nine volt battery and using it with the FTDI
cable, it works. The Vista computer I have it attached to sees
the FTDI cable as a 3 volt cable. This leads me to believe that
I have a 3 volt cable rather than a 5 volt cable.

What solution can you suggest?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: FTDI problem

Post by adafruit »

the 'voltage' of the cable isnt the the power output, its always 5v, the 3v is the logic levels. check your soldering and/or just use a 9V

rhbiz
 
Posts: 5
Joined: Sat May 15, 2010 11:17 am

Re: FTDI problem

Post by rhbiz »

Sorry, I misread that. I do have 5volts on pin 3 and
have resoldered all connections and checked for solder
bridges. No joy.

As I mentioned I have built another sim reader which I use with
a usb-serial adapter and a 9-volt battery. It works fine. However,
if I try to use the FTDI cable and no battery with it, it doesn't work.
Add the battery and it works. Two units, one cable with 5 volts,
LEDs light with just the FTDI cable. There is some other problem
here.

Any other ideas?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: FTDI problem

Post by adafruit »

what 'doesnt work'? the cable isnt found or is the software not reading the card?

rhbiz
 
Posts: 5
Joined: Sat May 15, 2010 11:17 am

Re: FTDI problem

Post by rhbiz »

Here is the message I receive.

Traceback (most recent call last):
File "pySimReader.py", line 267, in buttonConnectReader
File "pySIMserial.pyc", line 111, in connectReader
File "pySIMserial.pyc", line 160, in openSession
TypeError: ord() expected a character, but string of length 0 found

Thanks!

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: FTDI problem

Post by adafruit »

try posting up a photo of your completed kit?

rhbiz
 
Posts: 5
Joined: Sat May 15, 2010 11:17 am

Re: FTDI problem

Post by rhbiz »

Here's front and back of both kits discussed.
Attachments
simrdr2.jpg
simrdr2.jpg (120.47 KiB) Viewed 3015 times
simrdr1.jpg
simrdr1.jpg (115.05 KiB) Viewed 3015 times

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: FTDI problem

Post by adafruit »

hmm not sure what to say - it -should- work and we've had tons of them be fine but for some reason the SIM isnt happy :(

rhbiz
 
Posts: 5
Joined: Sat May 15, 2010 11:17 am

Re: FTDI problem

Post by rhbiz »

Okay. Thanks for the effort anyway.
:D

MitchV
 
Posts: 9
Joined: Tue Feb 09, 2010 3:35 pm

Re: FTDI problem

Post by MitchV »

The exact same thing happened to me, same error on 64-bit Windows 7with the FTDI cable. I soldered on the 9-pin connector and powered from a battery and it worked.

The only thing I'm getting is from SIM->SIM Information, this error :

Traceback (most recent call last):
File "pySimReader.py", line 301, in menuSIMInfo
File "pySIMinfo.pyc", line 187, in __init__
File "pySIMinfo.pyc", line 193, in createWidgets
File "pySIMinfo.pyc", line 62, in __init__
File "pySIMinfo.pyc", line 103, in createWidgets
File "pySIMserial.pyc", line 295, in sendAPDUmatchSW
RuntimeError: Status words do not match. Result: 0, Expected: 9000

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: FTDI problem

Post by adafruit »

yeek your SIM is talking but its sending strange data. it may not work. do you have nother SIM you can try?

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”