Exact match. Not showing close matches.
PICList
Thread
'[SX] Newbie from BS2 to SX Microcontroller'
2008\04\27@151102
by
sadhusumann/a
|
|
I am trying to use SERIN command in SX/B to get the data from the GPS module. And then I am trying to use SEROUT command to read the GPS data into my computer from the SX controller. For BS2, I used, SEROUT 16 (pin),(baud),(variable) ,16 being the pin number. This statement in BS2 will help me read the GPS data into my computer. But I am not able to conceive which pin to be used with SEROUT to do the same in SX28 controller. And my SX is connected to PC by a serial cable and an SX Blitz key interfacing the serial cable and the stamp. And I am using the SX Tech Board, SX28 and also SX Blitz Key (serial). Thanking you,
Hi,
I am a mechanical engg. I had a prior experience of working with the Basic Stamp2 and a newbie to SX. So I hav a question regarding the serial communication in SX28 microcontroller.
Suman Sadhu
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=265994
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)
2008\04\27@164117 by PJ Allenn/a
|
|
You'll have to get an SX-Key (it's more sophisticated than a Blitz) to do DEBUGging like with a Stamp. With a Blitz, all you can do is Program the SX; it isn't a troubleshooting aid.
You cannot use the SX-Blitz to communicate with the PC.
SX/B Help should fill you in on the other SEROUT details.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=265994#m266008
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)
2008\04\27@170122 by sadhusumann/a
|
|
Sorry, in my previous post I wrongly stated that i am using SX Blitz key. But instead I am using the SX Key.
So my question is how to communicate with PC with SX microcontroller and debug.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=265994#m266011
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)
2008\04\27@171034 by PJ Allenn/a
|
|
There's a whole Chapter 5 on it in the wonderful manual -- http://www.parallax.com/Portals/0/Downloads/docs/prod/sx/sxkeyman2_0.pdf
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=265994#m266012
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)
2008\04\27@201550 by robotworkshopn/a
|
|
You should pretty much be able to pick the pins that you want to use for your serial in and output. The SX chips are flexible and don't force you to use specific pins for this.
Just realize that the SX-Blitz and SX-Key devices are primarily for programming the SX chips. The SX-Key allows for debugging but that isn't going to provide the output to HyperTerminal that you are after. Just ignore the SX-Blitz and SX-Key for now and just use them for getting new code into your SX chip.
Getting the SX chip to send data to your PC running a HyperTerminal session is easy! You'll probably want to add a MAX232 or other line driver to get the SX processor to use the proper voltage levels for RS232 communications (and also invert the signal). Once that is done just use the SX/B serial commands to send out the data.
I did something very similar for my SC-01 to SpeakJet translator program that appeared in the December 2007 issue of SERVO magazine. I sent out debug info which I watched in a HyperTerminal session to see how the translation was going. You can see the code at:
http://www.servomagazine.com/media-files/813/SC01TOSJ_POLLED.SXB
The code for debugging should provide an example to get you started.
Robert
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=265994#m266034
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)
2008\04\28@010140 by sadhusumann/a
|
|
Thank you very much for all the replies. Now I can see how to debug the SX data n view it in hyperlink.
Suman Sadhu
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=265994#m266060
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)
More... (looser matching)
- Last day of these posts
- In 2008
, 2009 only
- Today
- New search...