Friday, 2 November 2012

FYP SEM 2 (WEEK 12 & 13)

the final project presentation around the corner.. owh.. so nervous.. still tend to complete the project and get the final result of the project.. there were so many things to do on this week..

Week 12 & 13 fyp schedule:

- focused more to complete the project
- try to find the lcd program configuration
- obtain to get a final result of the project which is the tracking route of the GPS movement
- Still tring to combine the GPS and data logger configuration
- Prepare FYP report
- Prepare FYP poster


method:
- do the configuration
- study for final presentation
- do the final report
- do the FYP poster

example of LCD display configuration;


/* YourDuino.com Example Software Sketch
 LCD Display Blue/Yellow: I2C/TWI Interface
 terry@yourduino.com */

/*-----( Import needed libraries )-----*/
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
/*-----( Declare Constants )-----*/
/*-----( Declare objects )-----*/
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27
/*-----( Declare Variables )-----*/


void setup()   /*----( SETUP: RUNS ONCE )----*/
{
  Serial.begin(9600);
  lcd.init(); // initialize the lcd
  lcd.backlight();
  // Print a message to the LCD.
  lcd.setCursor(0, 0);
  lcd.print("2-Line DISPLAY");
  delay(1500);
  lcd.setCursor(0, 1);
  lcd.print("YourDuino: HI!");  
}/*--(end setup )---*/


void loop()   /*----( LOOP: RUNS CONSTANTLY )----*/
{
  {
    // when characters arrive over the serial port...
    if (Serial.available()) {
      // wait a bit for the entire message to arrive
      delay(100);
      // clear the screen
      lcd.clear();
      // read all the available characters
      while (Serial.available() > 0) {
        // display each character to the LCD
        lcd.write(Serial.read());
      }
    }
  }

}/* --(end main loop )-- */

/*-----( Declare User-written Functions )-----*/


/* ( THE END ) */


Data for GPS at serial monitor



GPS data stored in SD card



reference:

- project supervisor
- Arduino forum

No comments:

Post a Comment