Uh, is this the right place to post about the SX
Ravenkallen
Posts: 1,057
I recently won a SX microcontroller and serial SX key in a contest, only problem is that i have no idea how to get started. I know you have to download the programming editor and compiler, but how do you deal with serial programing interface....I don't even have a serial port on my laptop. Do you need to buy a serial to USB converter? Any help would be more than appreciated.
Comments
To get started you'll need the SX-Key software which you can find here:
http://www.parallax.com/tabid/460/Default.aspx
The first download is what you want. It will install the whole development environment for the SX chips. You can either program the chips in assembly or SX/B. (There is also a C compiler but I never really got into that).
The easiest way to get started is to use SX/B and wire up some of the example projects in the help file. The code for each one is there ready to download to the chip. Once you get some known projects working then you can start using them for whatever you want.
The SX chips are great little chips (fast too) and I've used them in quite a few projects. In particular I've used them in interfacing and also as intelligent co-processors for robot projects. In my latest Propeller based robot I am using an SX48 as a co-processor to handle all the lighting, power management, Keypad reading, and some sensor management. I was able to re-use a lot of code already written for a similar co-processor that I made for another robot. There were a couple articles I wrote fro SERVO where the SX28 helped interface things. One was a speech translator to let a SpeakJet emulate an old SC-01 chip. The other was an encoder processor that would scale encoder values to help match up existing controllers with newer encoders.
Very useful chips.
Robert
You can program in BASIC using SX/B -- I recommend the 2.0 beta release (which is not really beta, but an essentially finished product). See the stickies at the top of the SX forum page. SX/B is nice because it makes it much easier to manage port settings, startup (initialization code) and interrupt timing, but you can still easily mix in assembly where that kind of tight code/timing is required.
http://www.parallax.com/Store/Accessories/CablesConverters/tabid/166/CategoryID/40/List/0/SortField/0/Level/a/ProductID/378/Default.aspx