I'm new to programming and the arduino, but I finally got the BMP085 to transfer data using the 433 Mhz RF so that I can print to Serial, LCD or other display. I'm posting my code here because it took me a few frustrating nights to figure out how to transfer the data. If you have any suggestions to the code please feel free to comment. All I ask is to please remember that I am new to this, but I am a fast learner. Thanks for your time and I hope that this will help someone else out.

/* Altitude with no correction // you can get a more precise measurement of altitude // if you know the current sea level pressure which will // vary with weather and such. If it is 1015 millibars // that is equal to 101500 Pascals. float alt = bmp.readAltitude(); //Read Altitude with no correction int alt1 = (int)alt; //Read Altitude digits on the left of the decimal place int alt2 = (int)((alt - alt1) * 100.0); //Read Altitude digits on the right of the decimal place */

//Remove the " * 3.280839895" for units in meters float alt = bmp.readAltitude(103149) * 3.280839895; //Read Altitude with correction int alt1 = (int)alt; //Read Altitude digits on the left of the decimal place int alt2 = (int)((alt - alt1) * 100.0); //Read Altitude digits on the right of the decimal place

//-------------------------------End of Readings from BMP085------------------------------------------------

//-------------------------------Debugging--------------------------------------------------- Serial.print ("Temperature= "); //Print Temperature Serial.print (temp1); //Print Temperature digits on the left of the decimal place Serial.print ("."); //Print decimal Serial.print (temp2); //Print Temperature digits on the right of the decimal place Serial.println (" *F"); //Print degrees in fahrenheit, Change to C for Celcius

/* Serial.print ("Altitude="); //Print Altitude Serial.print (alt1); //Print Altitude digits on the left of the decimal place Serial.print ("."); //Print decimal Serial.print (alt2); //Print Altitude digits on the right of the decimal place Serial.println (" meters"); //Print unit of measure */

digitalWrite(LED, HIGH); //Turn on LED when transmitting numbers[0] = temp1; //Temperature digits on the left of the decimal place numbers[1] = temp2; //Temperature digits on the right of the decimal place numbers[2] = alt1; //Altitude digits on the left of the decimal place numbers[3] = alt2; //Altitude digits on the right of the decimal place numbers[4] = bar1; //Barometric Pressure numbers[5] = bar2; //Barometric Pressure

vw_send( (uint8_t *)numbers, sizeof(numbers)); vw_wait_tx(); // Wait until the whole message is gone digitalWrite(LED, LOW); //Turn off LED when transmitting}