Monday, November 10, 2008

Does Walmart Sell Rubber Ducks

thirty-second day (32 º) - 10/24/1908 Thirty-first Day

The 30/10 would be the rocket that would launch the final program that we have been preparing throughout the year (not literally preparing the program and develop it in the last month, but this program is the culmination of learning all the programming that we tested during the year). Edgardo
told us he was not very satisfied with working ranges with our board altimeter and preferred use of last year that had included a regular potentiometer allowing the output range. That is why we use the same method explained in the previous post to calibrate the altimeter old, we get a range down to the 5V (Limit Analog-Digital converters CIP) and started from a lower voltage than the Altimeter manufactured by us. We set out to record 5 PICs, 2 with auxiliary programs which merely transmit antenna the data that were measured (in 8 Bit's, to simplify the operation, since it is only an auxiliary program) already stored in EEPROM and other 3 with the main program contains the following functions, all integrated and funcionamieto quasi-simultaneous:
  • Recording in 10 Bit's (1024 possible values)
  • Detection and Warning Takeoff and Height Measurement Home
  • Averaged Data (He makes an average of 3 consecutive data, low error)
  • Data Processing (For program ground level becomes 0)
  • Data Processing for Streaming RF (To adapt to the Protocol)
  • Data Processing for Storage (Reduced to 8 Bit's)
  • Saved Data in the EEPROM (8-Bit's)
  • Apogee Search (constantly chequenado ballistic trajectory)
  • Subroutine Apogee (Simplified to work better in the fall)
  • 2 Programs in 1 ("Phase of Flight" and "Computer Connection")
  • Interactive Program Connection PC Data Recovery
This day closed the transmission protoclo was as follows:
  1. The data would be mounted on a PWM and would be proportional to the frequency of this.
  2. The Duty Cycle (Duty Cycle) discriminate if the rocket was in flight or on land.
  3. would Frequencies of 1000Hz to 3048Hz no more than
  4. The data (between 0 and 1024, actually less for the processing received at the PIC) would be multiplied by 2 and then would add 1000 and thus obtain the PWM frequency.
    Here the equation: F (d) = d * 2 + 1000

  5. A measured frequency is subtracted from 1000 and divided by 2 and get the data (between 0 and 1024, actually less for the processing received at the PIC).
    Here the equation: D (f) = (f - 1000) / 2

RESULT: Only frequencies are supported PAIRS in this protocol (due to the multiplication by 2), odd should be rounded as they are not possible.
programming code here: Final Program
V3

The "Final Program V3" (as we call it, since he had two previous versions that were modified) was too complex to test in the laboratory because there were many conditions and variables to pretend to measure the Breadboard and receiving antennas was too cumbersome, they needed the rocket with its infrastructure (the program was designed with this philosophy and therefore there is where it should be tested), and beyond that we did not have the rocket at that time, would have required that this be raised, which could not simulate. That is why we tried lots of specially tailored program to be tested in the laboratory regardless of the others.
Unfortunately we got the surprise of the emission of radio frequency data was not working at all well. Since we could not find the error in programming, even with the help and expertise of Edgardo Baez and Arcusin Leandro (2 faculty scholars in the field) made several consecutive changes of transmission antennas and reception antennas (the latter laboratory to test whether the data actually issued PIC) and yet we could not get things consistent, but more noise.
After a while Leandro Arcusin noted that the PWM was changing constantly and steadily, and referred us to a pause after modify it to not be constantly depressed by the fact that the current case. The correction you gave us was correct, but the program was not working. Importantly, we stayed until well after school was for us, in fact it was more than double the time we had that day at school. After much time had decided to assume that errors may operate with the data to implement the protocol, after testing, we realized that somehow external to us the compiler does not properly handled multiplication and division, making the records are loaded with values \u200b\u200bthat were not allowed in the protocol and that the antennas could not be issued by a disability. Thus ended our day with a very disappointing end, we had a useful program for loading into the Rocket could not do anything in our power to fix our program, we had scheduled assuming that the compiler would do exactly what we said. We retired to our homes because we had stayed up so late starting classes Institute of Technology that works in our school at night and we had to release the Classroom. We thank Edgardo Leandro and for having stayed with us and helping us.

0 comments:

Post a Comment