Shop OBEX P1 Docs P2 Docs Learn Events
read SIM card wif BS2p40 — Parallax Forums

read SIM card wif BS2p40

PHM102PHM102 Posts: 27
edited 2006-09-12 15:00 in BASIC Stamp
hi guys! i am having difficulty in using bs2p40 to receive phonebook from sim card... can anyone help me on the programming part? i tried to use shiftin command . However, when i debug, it appears in bits not words or numbers.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-09-07 19:44
    Without code and a schematic there will be little we can derive from that since the SHIFTIN/SHIFTOUT commands do not cause data to be displayed in BINARY on the DEBUG screen.· The DEBUG command is in control of the formatting of the data to the display.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • PHM102PHM102 Posts: 27
    edited 2006-09-08 05:37
    connectionofthesimcardle3.th.png

    this is a brief connection on how i connect the sim card to the bs2p40..do you have an suggestion or and command you recommended to try out or do i need to add on some other hardware before i connect to the basic stamp?
  • PHM102PHM102 Posts: 27
    edited 2006-09-08 13:00
    http://www.circuitcellar.com/renesas2005m16c/winners/1680.htm

    This is one of the project related to the sim card connection.. but they are using m16c chip. will this help my project ?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-09-08 17:40
    Where is your BASIC Stamp code?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • PHM102PHM102 Posts: 27
    edited 2006-09-12 06:28
    Figure_01.gif

    Figure_02.gif

    this is for the basic stamp one... but i do not know how to concert into bs2p40..


    ·
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-09-12 15:00
    The code appears to write 32 Bytes from the card into the BS1 EEPROM, but other than that it doesn't appear to do anything useful, such as making the data available or displaying it anywhere.· The electrical connections should be straight forward.· PWR should be Vin.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.