Shop OBEX P1 Docs P2 Docs Learn Events
Absolute beginner — Parallax Forums

Absolute beginner

EscamoteurEscamoteur Posts: 12
edited 2008-02-20 16:36 in General Discussion
Hi,

what is the minimum of electronic components that I need to get the SX running and be able to comunicate with SX-Key. If I understood it right, the SX itself has no EEPROM integrated, where do I store my program / data?

As there is no a BASIC compiler for the SX (and I heard that with that IRQs are possible what I really happy to hear) is there any reason I should stay with the BASIC Stamp modules??

Best

Thomas

Comments

  • loojadeloojade Posts: 30
    edited 2008-02-16 14:04
    I'm a beginner too, but I can answer about something...

    AT minimum you need a SX chip (you can use internal clock generator if you don't need a very good accuracy). You can buy the tool kit at following link: SX Tech Tool Kit LITE

    Then the program you write by assembly or SX-B (basic) is stored in to the internal flash memory. For your data there is of corse a RAM.
    If you need to store some datas also without power supply, You have to use a EEPROM or similar devices.

    Loojade
  • ChrisPChrisP Posts: 136
    edited 2008-02-16 15:08
    There is absolutely a fantastic basic compiler SX-B thats free to download here, a full development package and not just a compiler! Program storage is internal to the SX, however you cannot write to it from whatever program your running, only when writing your program with the SX key. The tool kit lite is highly recommended. The professional development board is a fantastic tool for making all kinds of interesting and useful circuits with most of the components on board already. Just jumper em in.
  • SteelSteel Posts: 313
    edited 2008-02-19 22:29
    The Great thing about the SX is how simple it is to hook up.

    If you want to use an internal oscillator;

    You need a GND going to VSS.· You need 3.3V-5V going to VDD.· You will want to tie the RST pin to·VDD (with a 10k resistor).

    You will want a 4 pin header that connects to OSC1, OSC2, VDD,VSS.

    If you look in the manual, there is a 'programming interface' picture that shows this.· It is al you need.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2008-02-20 16:36
    I do sympathize with wanting to save money, but if you haven't eventually you are going to want to buy an SX-28 demo board and Guenther's text if you want a good series of tutorials and a reliable reference.

    You can program and operate the SXes with just a 5 volt regulator, a reset circuit, and the internal 4mHz oscillator. I believe the SX-Key manual shows a minimum circuit on page 13 or so.

    Their is SX/B that is Basic for the SX and SX/Asm that is Assembler for the SX. Both are included in one software package called the SX-Key IDE.

    The SX-28 has 2k of 12bit program memory and the SX-48 has 4k of 12bit program memory. Sometimes this is referred to as internal EEPROM. In addition there are 8-bit SRAM registers for storing variables and other temporary items. The SX-48 has 262 available and the SX-28 has roughly half that.

    The really nice thing abou the SXes is that they are cheaper than the BasicStamp at this point. You can buy a demoboard for about $20USD.· And of course, the DIPs are roughly $3-4 each.

    And finally, SX/C for C programers is available in Beta form.· If you took a look a PICs, all this software and support would cost you big big bucks.l

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PLEASE CONSIDER the following:

    Do you want a quickly operational black box solution or the knowledge included therein?······
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan

    Post Edited (Kramer) : 2/20/2008 4:41:45 PM GMT
Sign In or Register to comment.