Reader connection problems

Talk about the videos and projects (SIM reader, payphones...)

Moderators: adafruit_support_bill, adafruit

Reader connection problems

Postby Myrmidon » Thu Jul 31, 2008 10:03 am

Hello all.

Just homebrewed the sim reader and i have the device connected up, i'v tried com port 4 and 5 of my laptop but i get this error on both occasions:

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

Any ideas?

I'm using the windows pysim and a usb to serial cable with all drivers installed.
User avatar
Myrmidon
 
Posts: 27
Joined: Tue Jul 22, 2008 10:50 am

Postby adafruit » Thu Jul 31, 2008 4:05 pm

it means either your sim reader is not assembled/functioning correctly
or
your sim card is broken
User avatar
adafruit
 
Posts: 10485
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby tc » Fri Aug 01, 2008 11:22 pm

I get the same error. I don't see any prob with the assembly it looks exactly like the picture. Tried 2 diff sims same error with each.
tc
 
Posts: 3
Joined: Thu Jul 31, 2008 11:02 pm

Postby adafruit » Sun Aug 03, 2008 11:46 am

make sure its powered
make sure its not the serial cable
make sure its the right COM port

if you can post a very clear photo showing the top and bottom of the kit it would be useful to debug
User avatar
adafruit
 
Posts: 10485
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby tc » Sun Aug 03, 2008 7:33 pm

Was the cable. I grabbed it from work. I think it was for a UPS so maybe it wasnt normal. Got a usb-serial cable from bestbuy used now it works fine.
tc
 
Posts: 3
Joined: Thu Jul 31, 2008 11:02 pm

Postby Myrmidon » Mon Aug 04, 2008 7:24 am

After checking my wiring, i noticed a slight error with my crystal wiring so i changed it. Hooked it back up, but i'm still getting the same error.

EDIT: Also, after this error if i click on connect again i get this additional error:

Traceback (most recent call last):
File "pySimReader.py", line 267, in buttonConnectReader
File "pySIMserial.pyc", line 111, in connectReader
File "pySIMserial.pyc", line 143, in openSession
File "serial\serialutil.pyc", line 166, in __init__
File "serial\serialwin32.pyc", line 49, in open
serial.serialutil.SerialException: could not open port COM4: (5, 'CreateFile', 'Access is denied.')
User avatar
Myrmidon
 
Posts: 27
Joined: Tue Jul 22, 2008 10:50 am

Re: Reader connection problems

Postby pedrosa » Wed Apr 29, 2009 8:30 pm

i everybody

i have just made my simreader in the array test plate, and it just doesn't come alive.
the computer (xpsp3) doesn't detect it.
any good ideas?

BR
pedrosa
pedrosa
 
Posts: 2
Joined: Wed Apr 29, 2009 6:53 pm


Return to Citizen Engineer (retired forum)

Who is online

Users browsing this forum: No registered users and 0 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]