I mean any kind of simulations that you want, like scientists do on computers. For an example, lets say you used a temperature sensor to sense the temperature in a room, and you wanted to run different scenarios to see what effect it had on determining the temperature in a room, (a door being cracked, etc.). So, could you program the BS2sx to run Simulations based on the data stored in it's EEPROM, like people do on computers ?
I think the better approach (using your example) would be to use the Basic Stamp as a way to translate the information from the sensor (like a thermistor in your example) into serial information that could then be sent to a computer to do the analysis... There are devices called Data Loggers that will collect and store the data over a period of time (e.g. record the temperature every 5 minutes) that you could then download to a computer for further analysis.
That said, within a program, i could envision using the DATA function to provide different values that are used in other parts of the program to "simulate" operations (for example, data values of 50, 70, 90 that represent temperatures).
e.g.· read the first Data value,·perform the operations you want, read the next data value, perform the operations you want, etc.
the simulation is limited to what the stamp can do.
the basic stamp can perform many simple math functions that can be used in simulations. it has an easy data interface with its eeprom. bit, nibble, byte and word access for effiency. and a simple hyperterminal application could record results in a txt file which you could copy to excell and generate charts and graphs.
Comments
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
Thanks !
That said, within a program, i could envision using the DATA function to provide different values that are used in other parts of the program to "simulate" operations (for example, data values of 50, 70, 90 that represent temperatures).
e.g.· read the first Data value,·perform the operations you want, read the next data value, perform the operations you want, etc.
the simulation is limited to what the stamp can do.
the basic stamp can perform many simple math functions that can be used in simulations. it has an easy data interface with its eeprom. bit, nibble, byte and word access for effiency. and a simple hyperterminal application could record results in a txt file which you could copy to excell and generate charts and graphs.
is there something specific you had in mind?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
It could be very useful in taking temperature measurements, though.