Shop OBEX P1 Docs P2 Docs Learn Events
SX questions for beginer — Parallax Forums

SX questions for beginer

Bert BoyeBert Boye Posts: 3
edited 2005-04-19 18:16 in General Discussion
I have been reading a lot of information of the SX and I decided to post these questions just to help me understand the SX.
·
My plan is to use SX in handheld measurement tool to measure volt from different sources in a range from 1 to 2 volts. I need to see the input on a LCD screen connected to SX. Since I need to calibrate all the different sources to 0 volt do I need a way to store the starting value and later bring it back.
·
First I think I need an A/D converter to convert the input to feed the SX.
·
Can SX do this for me?
Can SX store values that I can later get back? (will they still be there if I cut the power?)
Is it easy to incorporate a LCD?
·
I have no experience of programming SX, will it be easy to get it to work?
·
I hope some of you can help me to decide if SX is the way to go for me and maybe point out same sample files that can help me.
·
·
Bert Boye

Comments

  • BeanBean Posts: 8,129
    edited 2005-04-19 17:31
    The SX cannot store values that remain after the power is off after it is programmed. There are several ways to do it.
    1) Add an EEPROM. This is the easiest way.
    2) But the SX into sleep mode. This uses mimimal power, but will lose the data if the batteries are removed.

    As for the LCD, there is an example in the help file that shows how to use and LCD.
    Yes you will need an A/D for the inputs.

    If you use the SX/B basic compiler it should be fairly easy to get working.

    If you have no microcontroller experience you may want to use the Basic Stamps. They already have EEPROM and some models have LCD commands built-in also. All you would need is the A/D converter. They are VERY well supported and are easier to use. But do cost quite a bit more. If this is a project for yourself the cost difference doesn't matter very much.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video Display Module" Available Now.

    www.sxvm.com

    "A problem well defined, is a problem·half solved."
    ·
  • Bert BoyeBert Boye Posts: 3
    edited 2005-04-19 17:54
    Thanks for the replay.

    The cost for this project is a factor since it can turnout to be a product for sale. I am trying to measure strain in metal and the trick is to convert volt to kilogram. I been thinking of using SX to do this conversion for me. Since the costs for Basic are higher do I need to go for the SX even if it will take longer time to get it done.

    Anything you like to tell me before I order the SX tech kit, is there something that I can order to help me?

    Bert
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-04-19 18:08
    If you order the SX Tech Kit PLUS (on sale for $99) you get the Tech Kit plus two great books (by Al Williams and Guenther Daubach) to get you going -- it's a hard deal to beat.

    http://www.parallax.com/detail.asp?product_id=45181

    Version 1.2 of the SX/B compiler (which will be released shortly) inlcudes I2C master commands so you can easily add an EEPROM to store and retrieve values.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • BeanBean Posts: 8,129
    edited 2005-04-19 18:16
    I would download the file SXB_1_10c.zip from http://forums.parallax.com/forums/default.aspx?f=7&m=57375
    It contains the help file, sxb.chm . Browse the help file especially the example projects.

    Parallax also sells the other parts you will need: A/D converter, EEPROM and LCD.

    Don't try to build the whole project at one time. Work in stages. First get maybe the LCD to work (you can use it to troubleshoot the other componets), then get the A/D working, then get the EEPROM working, then try putting it all together.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video Display Module" Available Now.

    www.sxvm.com

    "A problem well defined, is a problem·half solved."
    ·
Sign In or Register to comment.