Shop OBEX P1 Docs P2 Docs Learn Events
Cyril+z basic stamp 2, GPRS shield — Parallax Forums

Cyril+z basic stamp 2, GPRS shield

libadmanlibadman Posts: 36
edited 2014-01-21 09:45 in General Discussion
Hi there I'm using a GPRS Shield that I wish to connect to the basics stamp to ,I have successfully done that and are able to communicate however a control+Z is required in order to send a text message, The issue is, on normal terminals when you press controll+Z it creates a special character, then it's sent to the program you're using which lets the program know that's z is the end of programming, if I attempt to have the bs2 pass the ASCII equivalent for that symbol it translate to other characters, even if I send it in hex dec bin, same it translate into other characters. So my question would be is there anything I could do even custom custom characters that will make my basic stamp output the symbol for control+Z, seeing that the basic stamp does not recognize the Ctrl+z as an ASCII character. Thanks

Comments

  • FranklinFranklin Posts: 4,747
    edited 2013-12-08 11:39
    Are you sending a hex 1A? That is the code for Ctrl-Z. If you are could we see your code? Don't forget to use the [code] tags.
  • libadmanlibadman Posts: 36
    edited 2013-12-08 15:55
    I was sending it but it was not working, however it is now, I was not allowing enough pause between the actual message string an the sub(Ctrl-z), so a simple pause 500 allowed enough time to process the next command which was the ctrl-z
    Thank you
  • macrobeakmacrobeak Posts: 354
    edited 2013-12-08 17:52
    libadman,
    Always interested in a GSM/GPRS application.
    If it is not too much trouble, please can you share your GPRS shied details, connection details and coding?
    Many thanks.
  • libadmanlibadman Posts: 36
    edited 2014-01-21 09:45
    Sorry I just saw this reply.... I am using sim900 gsm shield from andruino... it uses 5 volt power supply, and simple at commands. As for the connection I made a custom cable to connect directly to the "uart"? of the gsm shield, I only used the rx,tx lines and a ground connection oh and also 1 more pin to power on/off the unit via micro-controller. I have tons of pictures and several code blocks and full programs to communicate with the shield mostly on bs2 but also have some on the andruino uno and a bit on a samsung controller as well as a windows program just not the propeller yet and its driving me crazy!!!! Im sorry about how poorly I've constructed this response, I will update this reply with proper text response, pictures and schematics with explanation in detail in a day or so. If you or anyone has any direct questions just ask and I will promptly reply. btw on windows and bs2 I can do anything with the shield (i.e) trigger actions based on text or call, automatically send text and call in certain situations, however the bs2 does not have enough memory to do much at all I used 2 basic stamp 2 boards and it still was just not enough memory which is why I switched to the propeller. I use att for service, oh the basic stamp works fine for gps application like tracking a car...... ttfn
Sign In or Register to comment.