Shop OBEX P1 Docs P2 Docs Learn Events
Say it ain't so! — Parallax Forums

Say it ain't so!

realolmanrealolman Posts: 65
edited 2007-09-19 15:43 in BASIC Stamp
I am new to the Stamp. Got a usb board of education an worked through some of the experiments... seems like a great little gizmo.· I got antsy though, and wanted to move on to what I wanted to do, rather than follow a set of lessons.

I am beginning to come to a sickening realization that if the makers of the stamp want you to use it in your own application, they certainly don't seem· accomodating with the how to do it.

Are there no drivers, functions, or something whereby I can communicate with the basic stamp· within my own visual basic app?· Do I have to sit there and peck all this stuff into the the "Stamp Editor ".·Or try to make my own serial communication?·· ·Surely to God not!·

I certainly wasn't expecting that.· It's one thing to have a little chip turn I/O on and off in response to timers or other I/O... it's a couple orders higher to be able to modify those responses from a PC.

Show me I'm wrong please...

Say it ain't so.

Post Edited (realolman) : 9/15/2007 1:29:47 PM GMT
«1

Comments

  • D FaustD Faust Posts: 608
    edited 2007-09-15 13:25
    I dont think it would be that hard. You would use serout from the stamp on pin 16 (SOUT) and what ever serial comand you use in VB to the com port.
    NOTE: I have not done this but it doesn't sound hard.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    LOOKDOWN ThisThread, [noparse][[/noparse]Your_?, My_?, Cool_Thing], looknum
    LOOKUP looknum, [noparse][[/noparse]1, 2, 3], subnum
    ON subnum GOTO Hope_this_helps, Thanks!, WOW!!
    END 
    
  • TechnoRobboTechnoRobbo Posts: 323
    edited 2007-09-15 13:36
    realolman said...


    I am beginning to come to a sickening realization that if the makers of the stamp want you to use it in your own application, they certainly don't seem· accomodating with the how to do it.


    I think your wrong.
    http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv89.pdf

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Have Fun


    TR
  • realolmanrealolman Posts: 65
    edited 2007-09-15 14:17
    Thanks D Faust and TechnoRobbo ... I will look over the info you posted and linked.... I certainly hope I AM wrong.
  • pwillardpwillard Posts: 321
    edited 2007-09-15 14:30
    You are looking at it backwards....· You are not being "railroaded" into the "one" way to do it... because the STAMP is so flexible that it's really up to your imagination.· Do you use the DEBUG interface to communicate with the VB APP?· You could... you don't HAVE to.· Can you use pin 15 as an RS232·XMIT pin?· You could... you don't have to.


    So look at it this way.· --> The beauty of the STAMP is· "THERE IS MORE THAN JUST A FEW WAYS TO DO IT".·· There are NUMEROUS ways to solve your design problem of getting the Stamp to talk to your PC.·

    Also, more than almost any other device I've used to date... there is WAY more·reference material·to read·than I even have time for.· The NUTS and VOLTS articles alone are a GOLDMINE.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

    There's nothing like a new idea and a warm soldering iron.
  • ratronicratronic Posts: 1,451
    edited 2007-09-15 17:37
    Look in the help section in the stamp editor (purpled colored book with a question mark on it),click it then click on index and scroll down to·serin or serout and check the info!······ Good luck··· Dave

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Fix it if ain't broke·
    D Rat


    Dave Ratcliff· N6YEE
  • realolmanrealolman Posts: 65
    edited 2007-09-15 17:44
    I guess what I was looking for, and still think would be eminently appropriate, is something that could be dropped onto a form and used. I have a Labjack I/O board and that is how they do it... way easier than messing with serial comms. Whatever communication takes place , takes place without my having to do anything...I don't know what, or how it's done and I don't care. that's what I want...and expected these days....MS comm is a royal PITA.

    The stamp editor is very easy to use to communicate with the stamp... I didn't have to do anything with it to get it to work I installed it and plugged it in. They couldn't do something similar that could be put in a VB app to pass data from variables in my app to variables in the stamp without the user having to type the stuff in a little textbox? .... I think they could ... and should.... why don't they? If there's one on the site. please direct me to it.

    I see they have a freebie graphing app. I bet you don't have to re-invent the serial comms wheel to use that. How about a freebie object that can be dropped onto a form to send stuff from VB6 and VB.NET to the stamp and vice versa that isn't going to give you fits about framing errors or buffer overflows or all that sort of stuff..

    I want to work on my app... my app to be the interface, collect the input from the user , send data to the stamp and collect info from the stamp... I don't want to have to mess with serial comms.

    I definately didn't see this coming
    I was not expecting to have to screw around with serial comms these days. I'm pretty bummed about it.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-09-15 18:07
    I suspect that the code you'd have to write to do what you want would have required less "typing in little text boxes" than did your complaint about not having it handed to you. If there's one thing the members of this forum are good at, it's filling the needs they identify and sharing the fruits of their labor with others. Perhaps you could write something like what you're looking for and publish it here. I'm sure there are many in this forum who would appreciate your efforts and could benefit from the results.

    -Phil
  • TechnoRobboTechnoRobbo Posts: 323
    edited 2007-09-15 18:44
    I suspect that most Parallax users are in it for the journey as much as the destination.··I'm reminded of what·Thomas Edison said, "Genius is one per cent inspiration and ninety-nine per cent perspiration" I guess I like breaking a sweat.

    Bon Voyage,

    TR
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-09-15 18:46
    I think you missed the whole reason for microcontrollers. It's not to have a pre-made system, but the ability to program it to do what YOU want it to do, and everyone want theirs to do something different. Also, PC communications is not a big aspect of controllers - they are meant to be self contained in small systems to run them effectively and cheaply without having them tied to a PC.

    Now having said all that, StampPlot can be used to create a GUI and with a little code get some communications back and forth.

    For pure control, you can add a serial control to a VB app and write the code to do what you want. Though it's odd you want to code the VB, but not the Stamp.

    Feel free to create that control super-control for the rest of the community! Or, go back to your labjack that has everything ready to go for you. I'd sure hate to have a PC tied up controlling my sprinker system though!

    By saying Parallax doesn't give you the resources on "how to do it" is completely wrong. They provide nearly everything you need, much for free. It's up to the developer (YOU!) to take the resources to make the system do what YOU want it to do.

    Maybe your idea of what you were expecting is way off, and not the company or it products.
    -Martin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    StampPlot - GUI and Plotting Software
    Southern Illinois University Carbondale, Electronic Systems Technologies
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2007-09-15 18:59
    Hi realolman, interfacing the Stamp to·a home brew application on the PC is a snap once you understand how the serial side of things work. The code is short and sweet and can be typed up in under an hour by someone with a general understanding of the Stamp IDE and the VB IDE. The results can be as professional as you are capable of making it and the software is free.
    Check out this link for a VB interface http://forums.parallax.com/showthread.php?p=671804
    Post on these forums for support, these forums have some of the greatest resources you will find anywhere.

    Jeff T.
    ·
  • StampNut2StampNut2 Posts: 224
    edited 2007-09-15 19:37
    realolman: I am very new to basic stamps and Pbasic, I build Robots like ther are going out of fashion [noparse][[/noparse]It's what I am good at] BUT, Programming is my headache, I have asked many many questions here on this forum and 99% have either been answered or pointed me in the right direction, Most members on this forum will answer your questions, But YOU have to also dig deep and help yourself. I to would like code handed to me to do all my robotic movements, BUT that's NOT going to happen. Unless someone wants to share his/her code that they have worked hard to produce and it's going to match what YOU have built. Each project is unique and requires code to match.The wealth of knowledge that I have found on this forum is huge, including the Parallax team. OF COURSE I UNDERSTAND WHAT YOU GOING THROUGH, I GO THROUGH IT EVERY DAY. Be Patient realolman rome wasn't built in a day.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never give up when things go wrong.
  • FranklinFranklin Posts: 4,747
    edited 2007-09-15 20:49
    realolman, if the Parallax products won't do what you want (remember YOU bought it they didn't force you to) and you don't want to write your own code then (SORRY FOLKS) get something that will! Parallax does a great job at what they do but writing everybodys code and building everyones projects isn't it. Someone on the forums said he couldn't find the products he needed to make an industrial control system for some big industrial plane at Parallax but he could use what they had as a "proof of concept" system. I like that Parallax allows you to prove the concept and test your theory, you then go out and build the system with whatever works best. Thanks Parallax!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • realolmanrealolman Posts: 65
    edited 2007-09-15 21:26
    Hey, you can think what you want. I think I understand very well what the purpose of a microcontroller is... Fact is the purpose I have in mind is to free up the PC, but there does need to be a means of changing and modifying the variables in a running microcontroller. and I want to use the capabilities of the PC instead of some nonintuitive sequence of button pushing. I want to use the microcontroller in an application... although I enjoy programming, pecking around on a keyboard is a means... not an end. I think you're missing my point... I don't wat them to code everything for me . I don't want anything handed to me except a reasonable means of communication between the stamp and a VB app.· That's it... I'll take care of the rest.

    Until it is as simple as "StampVariable=AppVariable" and " AppVariable=StampVariable" ....it has a ways to go.

    . Perhaps someone would illustrate why it should NOT be that simple...how the availability of something that made it that simple would decrease the functionality that different users would need. Seems to me being that simple would make it useful to a whole bunch MORE users. Jason Fox could still write his own stuff, using his binary calculator.

    We all know that the stuff you type in the IDE is not what works the electrons and transistors anyway, and that unless you're using a computer with a black screen and greater than sign on it ( or maybe fluorescent numeric displays and punch cards), there is a lot going on that you don't have to code.

    I think it is ridiculous that Parallax does not have available a free download for a means of communication between a VB app and a basic stamp, but rather I have to code one. I think something that basic should never have to see the light of day in a forum such as this...in this day and age. It should have been included.

    If you want to go·binary on me for that... feel free

    Post Edited (realolman) : 9/15/2007 9:36:36 PM GMT
  • D FaustD Faust Posts: 608
    edited 2007-09-15 21:56
    I speak for myself and probably a lot of members of this forum when I say that I am interested in HOW things work, not just if they work.· Personally, I would rather have a HYDRA than an Xbox, or any other system because knowing how things work is amazing to me.· I bet if you searched these forums you could find somebody's code that does what you want to do.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    LOOKDOWN ThisThread, [noparse][[/noparse]Your_?, My_?, Cool_Thing], looknum
    LOOKUP looknum, [noparse][[/noparse]1, 2, 3], subnum
    ON subnum GOTO Hope_this_helps, Thanks!, WOW!!
    END 
    
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-09-15 22:18
    There isn't a controller on the market that has what you feel should be included for free. All have means of serial communications, but to have pre-made interfaces for tweaking a variable goes beyond their development use. Serial communications is a system hog on all controllers, the processing of the data takes resources that most developers would not want to give up. Microcontrollers are not power houses and don't deal with large amounts of data easily.

    So you can stop stating what you feel should exist and work with the resources you have.

    Using StampPlot, you can easily add a slider to the screen using drag and drop, name it say 'sldVar', and quickly read it from the stamp using:
    DEBUG "!READ (sldVar),CR
    DEBUGIN DEC myVar

    I'm sorry it's not as easy as you think it should be, but believe me, the BASIC Stamp is easier than just about anyother controller on the market, none of which support what you want, and if there really was a large need for it, would have been by now. The closest other controllers come is in circuit emulators and other hardware to interface to the controller real time. but the costs become VERY large quickly.

    Most users adjust their variable, download, observe and debug data to determine operation, tweak code and retry.

    The point is, there are means to the end you want, but to complain it's not all plug n play programming is not going to make it happen.

    -Martin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    StampPlot - GUI and Plotting Software
    Southern Illinois University Carbondale, Electronic Systems Technologies
  • realolmanrealolman Posts: 65
    edited 2007-09-15 23:34
    ·I·think it would be·appropriate·to make available·· a means of communication·with an app that is written in Visual Basic. That's it.


    You seem to think it would be a snap for me do do it myself... I think it would be an even bigger snap for Parallax to do it and make it available. Since it's such a snap, it should be free.· Purists would not have to use it. and their resources would not be affected.· More mortal men might appreciate it.

    Not once did I complain that" it's not all plug and play programming", and you are wrong to suggest that I did.

    Do me a favor and don't put words in my mouth.· Apparently there is no such communication tool available.

    · I get that.

    ·There should be ... Do you get that?

    ·
  • Mike GreenMike Green Posts: 23,101
    edited 2007-09-15 23:44
    There are already several tools for communications from a Stamp to a PC including StampPlot. I would be very careful to distinguish between "There should be" and "I want it". Parallax already makes a variety of tools for their products available and they're all "for free". They have limited resources and appear to pick very carefully what they make available, considering the resources required for development and the resources required for support. Visual Basic is very flexible and there are many possible ways to communicate back and forth and all of them would seem to require a lot of support (as opposed to basic development time). As Martin mentioned, use what's available ... there is no such "prepackaged" tool available, there are some examples mentioned earlier in this thread. You are not likely to see anything from Parallax anytime soon. You may or may not see some additional examples and there may or may not be articles in various magazines over time.
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-09-16 00:00
    The MSComm control is about as simple as it gets to send or recieve data. Anyone developing 3rd party applications probably use it, so there is not a big need to create a custom control since it wll require coding on both sides. Having said that, I wrote a specialized serial control for PLX-DAC that assist the serial use (on top of MSComm). It returns only the strings ending with a CR, has some error checking built in, etc, so is customized for use with the BASIC Stamp, to send and receive cleanly.

    It may ease your pain, but you will still need customized code on both sides.

    In fact, PLX-DAQ, with it's ability to read/write any cell may also be used as a means to adjust variables in real-time.

    If you install PLX-DAQ, the control will be listed when you go to add it a program (selmaDAQ2.ocx), and I don't think I have licensing turned on. But there is no documentation.

    Sorry if I came across cross, but that's why many of us use controllers, is to develop what we need and not rely on others to have a generic package ready to use. Many of us are very loyal to Parallax and what they have done for community, and your initial post slamming them for what they don't have set me in the wrong mood to be answering the post.

    So, there's a couple options, StampPlot and PLX-DAQ, both of my labor to provide to the BASIC Stamp community and not expecting the company to meet the huge variety of needs of all it's users.
    -Martin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    StampPlot - GUI and Plotting Software
    Southern Illinois University Carbondale, Electronic Systems Technologies
  • ratronicratronic Posts: 1,451
    edited 2007-09-16 00:32
    Just type this·in your browser.
    theabramgroup.com/basicstamp


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Fix it if ain't broke·
    D Rat


    Dave Ratcliff· N6YEE

    Post Edited (ratronic) : 9/16/2007 12:47:34 AM GMT
  • FranklinFranklin Posts: 4,747
    edited 2007-09-16 01:27
    realolman said...
    ·I·think it would be·appropriate·to make available·· a means of communication·with an app that is written in Visual Basic. That's it.
    OK you got it. SERIN and SEROUT will communicate with ANY app that can talk to the serial port. Perl, Linux, Windows, Java, or vb. if you search the forums you will find several people that have written communications routines for vb vc and (I believe) vc#

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Tracy AllenTracy Allen Posts: 6,664
    edited 2007-09-16 02:20
    realolman, it is also possible to access variables on the Stamp from a wide variety of programs running on other machines, such as Hyperterminal on the PC, or similar terminal programs running on Linux or Mac or Palm or what have you. A few simple SEROUT commands can present a menu on a terminal screen, and then user responses can be received by SERIN on the Stamp and put into variables or made to cause a huge variety of possible actions. It is not a big leap to automating the interactions, via VB or via any of a number of other programming languages or even within a network of Stamps. There is no way Parallax could anticipate all these application requirements, but you will find that people here have explored many of them, and Parallax is unparalleled in supplying good tools and an environment for growth. While VB interaction may be the most important thing to you, it is a tiny part of the universe of possibilities.

    One Parallax product that might be of interest to you is the netburner PINK, internet connection kit. Your internet browser, or internet enabed application, can read and modify variables on the PINK, and then a BASIC program on a Stamp can read and write. Why does Parallax sell such a device? They don't say. The documentation they supply with it is relatively short and sweet. But maybe still it has to do with empowerment.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
  • Desy2820Desy2820 Posts: 138
    edited 2007-09-16 06:02
    I don't know much about it, but this is a PC-based control panel/GUI to interface to a BASIC Stamp.· It was created by Tom Sisk, of Sisk Consulting, an active forum·member.· It may help get you started.·

    http://www.siskconsult.com/page7.html

    I hope this helps!
  • realolmanrealolman Posts: 65
    edited 2007-09-16 14:24
    First I would like to apologize for being offensive.· I did not start out to be so.· You could not be involved with this sort of thing without frustration somewhere.· I feel sure you all understand that.· I do not mean to complain, but·I would like to engage in a bit of dialog.

    ·have been messing with this sort of this for many (20+) years and if I were trying to make a circle, it doesn't matter what I try, there is always·a·piece·missing.·If it's not here... it's over there., but it's always missing.·..

    A-Bus,· dataq,·· microchip,· labjack·· to name a few.·..and now Basic Stamp. To paraphrase Everett Dirksen," A couple hundred here and a couple hundred there, and pretty soon you're talking about some real money."· And some real time.

    When I bought this and looked at the site and products, I truly did not consider that I would have to write serial comms to use this device in conjunction with a PC... I am still astounded over that.

    You have to·check when you buy a pc or notebook to make sure it even has a 232 port and I don't know anything about usb, except that it doesn't go very far without daisy chaining a bunch of hubs or something. It is hard for me to understand that anyone would think that communication with a pc is·a trivial thing. From my experience with Ms Comm, it is not.·

    Maybe I am trying to do something that is beyond the capabilities of the stamp, but I would not think so.

    I have a usb board of education, visual basic 6 ,and visual basic.net. I am far more comfortable with VB6, but·VB6 is history.· ( another frustration )

    I believe the best way to describe what I am trying to do would be an "electronic camshaft".·· Machines used to have a rotating shaft with many cams mounted on it that operated switches... the switch would be ·turned on when the cam engaged·it and off when it did not..· someone had to loosen the cam and move·it to adjust the timing of the "outputs".· Adjusting the "period" or "dwell" of the output required a diferent shaped cam.

    I want someting that will count· a 500 Hz encoder pulse train , and toggle all available·outputs· as the counter increments from 0 to 360.· Whether the outputs are hi or low depends upon parameters that the user would set via the pc, and then the pc would be out of it.

    For example: output 1 "on" from 20° to 140°.· If that didn't produce the desired effect, the "on"·degrees could be changed via the pc... maybe 27° to 140°... or whatever. Entire programs could be saved on the PC and downloaded to the stamp.· I don't want the user to have to use the "Stamp Editor" so I want to accomplish this all within my VB GUI app.

    I think I read that one of the stamps did about 12000 instructions / sec.· I don't know if that means BASIC commands, or assy. language, or what.· All I want the stamp to do is count the pulses and turn the outputs on and off within the·period of the encoder pulse train so it doesn't miss any pulses... and communicate with the pc to change the "timing" or "dwell" of the "cams" during a time when it is not counting pulses.

    If anyone would care to comment on the feasabilty of this with a stamp, I'd be very glad to hear it.· And again... I apologize for offending.
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-09-16 14:51
    The serial comms is probably the easy part of this (sorry to say), the bigger issue is going to be keeping the timing.· Unlike other controllers, the BASIC Stamp does not have a background counter, so you would have to count, decide, count, decide, etc.· When making decisions you will be missing counts.· 500Hz counts will tough to meet reliably.

    I feel a better match for your needs would be the Propeller with 8 processors.· You can either use the internal counter hardware to count your pulses or another cog to do it, and have one cog dedicated to making decisions based on the count, at around 100,000 instructions/second in the high level language of Spin.

    For the end user, you may also consider connecting the video and mouse/keyboard DIRECTLY to the controller for their·adjustment instead of being tied to a PC.

    The Propeller, in my mind, is actually easier to program than the BASIC Stamp because there are fewer constraints when trying to accomplish multiple tasks.

    Thanks for the info on what you want to accomplish, it helped a lot.

    -Martin
  • realolmanrealolman Posts: 65
    edited 2007-09-16 15:59
    Thank you for your expertise.


    I guess I will look into the propeller.

    What do I need to buy to be able to·do what I have described?·
    I expect to be able to program the controller, and communicate with it from a VB app when it is running.·

    thanks
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-09-16 16:20
    The best buy is the Propeller·Proto board for $25 and you'll need a PropPlug to program it with - $29 I think (USB to serial device).

    On the controller side, I'd recommend the "Extended_FullDuplexSerial" object available on the objects download pages, it allows you to accept comma separated values to the serial input (PropPlug) making it a little easier send a sequence of values to be put into an array or such.

    THe PC side doesn't need to do much then, simply assemble a string of values such as "20,1,50,0," etc.

    The serial object does only have a 16 character buffer, but if it starts accepting and using the data right away it will stay ahead of the data flow.

    You could test using hyperterminal to manually send a string like above and have the Prop spit back the parsed settings to the screen.

    If you need help with the Spin code to accept an array of values, let me know.

    As to counting, a cog using "WAITPEQ" (wait until pin equals) would be fast enough, or you could enable one of the hardware counters and monitor it - I don't recall now if there is an instruction to wait for a specific count on these, but if there is it would be the most efficient. Post again if you have problems with this.

    As to getting a feel for Spin, there's some getting started info at the top of the Propeller forums. It's a prett clean languange.

    -Martin

    Post Edited (Martin Hebel) : 9/16/2007 4:33:30 PM GMT
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-09-16 16:31
    Correction to my last the public way, I meant ProtoBoard for $25, not Demo Board.

    -MH
  • FranklinFranklin Posts: 4,747
    edited 2007-09-16 16:58
    http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv89.pdf
    http://forums.parallax.com/showthread.php?p=670093
    http://forums.parallax.com/showthread.php?p=671804

    Are three people using VB in some way to communicate with the BS

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • realolmanrealolman Posts: 65
    edited 2007-09-17 10:40
    Thank you...


    One last thing... what should have given me an indication that the BS 2 would not do what I have described?

    thanks
    ·
  • allanlane5allanlane5 Posts: 3,815
    edited 2007-09-17 11:54
    "I expect to be able to program the controller, and communicate with it from a VB app when it is running. "

    Well, the problem is, that "Problem Statement" is so vague, that many different hardware platforms would support it quite well.

    The BS2, in fact, with a very simple program, would fulfill that requirement:

    MyStr VAR Byte[noparse][[/noparse]10]

    MAIN:
    SERIN 16, I9600, [noparse][[/noparse]STR MyStr]
    SEROUT 16, I9600, [noparse][[/noparse]STR MyStr]
    GOTO MAIN

    Now, the BS2 only 'cycles' at about 2000 Instructions Per Second. And, it can't 'talk' while it's 'listening'. So if those parts
    of your requirement are critical, you'll need some other platform like the SX or the Propeller.
Sign In or Register to comment.