I agree with Simon on looking for I2C and SPI sensors, but any of these platforms can handle these as well as parallel. In Linux opening a serial port is via the fopen command, which is the same command to open files as well (*everything is a file on Linux*).
If you want defined timing go with a microcontroller because real-time Linux is a few steps harder (and I'm not sure it actually gives filly determined timings) .
You probably don't need defined timing, especially with I2C and SPI communications . If you can't tolerate microseconds (my guess on rasPi is 1-1000s) of random sampling timestamps, and have less than 8 sensors, I say go with the $20 propeller board.
Yes, the Launchpad has serial I/O and will work with that hardware.One of the more modern I/O options would be better, sich as I2C orSPI, but old fashioned serial is certainly one of the MSP430's capabilities.Converting the PIC C code or Arduino code to the Launchpad is also easy.Converting it to honest-to-god C for the Raspberry Pi is even easier,since the Pi has an actual operating system to do most of the work foryou in setting up the serial port and handling interrupts.But you can get free samples of a nice chip that handles pH electrodesand sends I2C or SPI data to the microcontroller. That would be a muchmore robust system, and you could sample a lot faster, and chain a wholebunch of them on the same SPI or I2C bus. Probably cheaper than $95 too.Moreover, TI will give you code for the Launchpad for it.Or you can just use an op-amp, or plug one of these directly into one of theanalog input pins on the Launchpad (but an amplifier is best).
There's a pH control system based on it here.
And you can get another Arduino for $15.25 at Hobby King.Even though I have been suggesting more powerful, cheaper boards for seriouswork, the Arduino is very fun to play with and I love all of mine.--
-----Get a free science project every week! "http://scitoys.com/newsletter.html"
On Wed, Sep 26, 2012 at 4:45 PM, Dakota <dkotes@gmail.com> wrote:Would this http://atlas-scientific.com/product_pages/kits/ph-kit.html
Work with this?
http://www.digikey.com/product-detail/en/MSP-EXP430G2/296-27570-ND/2331789?cur=USD
If so I'm ordering one, my arduino is tied up in something else and
it'd be great to not have to spend another $30 on one.
--
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To post to this group, send email to diybio@googlegroups.com.
To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To post to this group, send email to diybio@googlegroups.com.
To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To post to this group, send email to diybio@googlegroups.com.
To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.






0 comments:
Post a Comment