Completely new at this
jtpty4
Posts: 2
Hello forum,
I'm Jarrett and I have no idea how to program or even put these circuits together. I'm an undergraduate Chemical Engineer. My project is to build a system where I start and stop a motor (for a shoebox size car) through a color change in a chemical reaction. I recently purchased a Basic Stamp 2 micro controller module (BS2-IC) along with a ColorPAL. My idea was to make a program that would turn the motors on initially and when the ColorPAL sensed a certain color wavelength (after a certain time) it would shut off the motor. So all I really need is to have the program start, which says to allow voltage/current from my battery go to the motor, at the same time the ColorPAL starts reading colors from my chemical reaction. When the color in my reaction hits a certain color, it tells the module which is programmed to tell the motor to stop or stop allowing voltage/current to keep flowing to the motor. I have 3 weeks to complete the project.
Initial problem I have (besides having no clue about programming or building the project in general), is that I only bought the module and the ColorPAL with no starter kit. So I don't know how to connect the module to my computer.
I would appreciate any help I can get, otherwise I'll have to try and figure it out myself. I apologize for the messy explanation, I will gladly answer any question about that.
Jarrett
Initial problem I have (besides having no clue about programming or building the project in general), is that I only bought the module and the ColorPAL with no starter kit. So I don't know how to connect the module to my computer.
I would appreciate any help I can get, otherwise I'll have to try and figure it out myself. I apologize for the messy explanation, I will gladly answer any question about that.
Jarrett
Comments
Maybe go to this page:
http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/wam/List/0/SortField/4/ProductID/139/Default.aspx
and look at some of the free downloads listed under "Downloads and Resources."
That should keep you busy for a while.
http://www.parallax.com/tabid/768/txtSearch/wam/List/0/SortField/4/Default.aspx
You are asking some very good questions. The Basic Stamp 2 is a good place to start for the kind of applications you are trying to do.
I second the 'what is a microcontroller' book and some of the free materials available on the parallax website. Start with simple projects like blinking LEDs, using the serial terminal and then progress to turning on or off a motor. Once you have that down, then try the colorPAL. By then you will have all the experience you need to complete your project.
Another recommendation is to buy the book "Microcontroller Applications Cookbook" by Matt Gilliland. It is a cheap book with multiple really short Basic Stamp examples of interfacing with hardware. (Examples are often 3-10 lines)