Sampling frequency of the Basic Stamp
Beleraform
Posts: 1
I am doing a project where I am using the basic stamp as a digital controller. I would like to know the sampling frequency to assure that amount of sampling is enough for the bandwidth of my system.
Thanks
Thanks
Comments
·· The BASIC Stamp timing/resolution for many of the time-sensitive commands is listed in the Help File.· For example, PULSOUT has 2uS resolution on the BS2.· Now, depending on how accurate you need to be, you can use the SX with SX/B and get extremely accurate timing.· My guess is the BASIC Stamp will work for you though.· There are a few customers using these in Fuel-Injection Systems.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
The BS2 cycles at about 4,000 instructions per second. "Sampling" with such a relatively slow processor could be disappointing. Depends on what you're sampling, though. Sampling sound is not going to work well. Sampling the temperature of a room every 30 seconds or minute could work fine.