Shop OBEX P1 Docs P2 Docs Learn Events
first basic stamp project — Parallax Forums

first basic stamp project

jonesdeerejonesdeere Posts: 5
edited 2007-10-20 18:33 in BASIC Stamp
Hi folks,
This is my first forum post.··I am doim doing ym senior project rhis semester at the University of memphis were I am an Electronics Engineering Technology· major.· this is my first ever basic stamp programming experience and the only other microcontroller I have ever programmed is the 68HC11.· several of my professor suggested using a Basic Stamp.··I need some help with programming· because i amrunning out of time.··I am designing a trailer weight meassurement system.· Here are the specifics of my project:

1. I need to be able to ask the user to input a weight (up to a 5 digit number) for three variables: Tongue,· Max Trailer, Axle. those values need to be stored for a later comparison to the actual values obtained from the weight sensors.

2. the weight sensors have a 0.5-5.5vdc output so·an analog to digital converter will have to be used.· I have·to use the following formula to obtain the weight from the weight sensors:
··· weight= ((volts-.5)*40)*PI()*((d^2)/4)
············ where d= diameter (which is a constant)

3. I purchased a floating point·coprocessor·to preform the calculations but I am lost as to how to program it.· I do know that it has a buit in 12-bit ADC which is good enough for this project.

4.··After the Analog to Digital converersions are done and converted to weight, the values form sensor one (tongue weight) and sensor two (axle weight)must be added together and stored in another memory location (max trailer). Sensor 1 should be within 10% to 15%·of the total value·of the two sensors (this will be known as·weight balance).·

5.··A 4*20 Parallax LCD screen will be used to display the following floating point values: tongue weight, axle weight, weight balance, and max trailer.these values will be displayed one per line consistently excet for when the "overload" message is diaplayed.

6. If tongue weight >= Tongue,· max trailer >= Max Trailer, or axle >= Axle, then dispaly a flashing·"Overload" message on the screen.·

Any programming help or advice would be much appreciated.

Steven
····

Comments

  • Steve JoblinSteve Joblin Posts: 784
    edited 2007-10-20 18:33
    You can't delete a posting if others have posted to it... jonesdeere: you will need to send a note to the Forum Admin to delete it.
Sign In or Register to comment.