Page 1 of 2

Kit #3:Blank, white display after uploading Megalogger

Posted: Mon Dec 22, 2014 6:26 pm
by jonnyrv
Hello,

I started a seperate topic in order to maintain a clear overall picture.

My problem:

I received my kit #3 last week. After importing the neccesary librarys for meggalogger, compiling and uploading successfully I still have a blank, white display.

I'm a complete beginner therefore I hope that someone can give me a easy example for the 3,2" display to exclude that there is a hardware damage?

Thanks in advance,

Johannes

Re: Kit #3:Blank, white display after uploading Megalogger

Posted: Mon Dec 22, 2014 9:14 pm
by stanley
Make sure you are using the latest code from github. You should start with no OBD or GPS connected. Make sure you compile upload the sketch successfully.

Re: Kit #3:Blank, white display after uploading Megalogger

Posted: Mon Dec 22, 2014 10:00 pm
by jonnyrv
stanley wrote:Make sure you are using the latest code from github. You should start with no OBD or GPS connected. Make sure you compile upload the sketch successfully.



I'm using the versions from 27.11.2014 (code and librarys). I compiled with success and uploaded with success. The OBD and the GPS were not connected to the display. Still same result - white screen...

Re: Kit #3:Blank, white display after uploading Megalogger

Posted: Sun Dec 28, 2014 9:46 pm
by stanley
Could you please post a picture?

Re: Kit #3:Blank, white display after uploading Megalogger

Posted: Mon Dec 29, 2014 3:59 am
by jonnyrv
of course. A picture of the white screen or the used code?

Re: Kit #3:Blank, white display after uploading Megalogger

Posted: Wed Dec 31, 2014 12:20 pm
by stanley
Both please.

Re: Kit #3:Blank, white display after uploading Megalogger

Posted: Thu Jan 01, 2015 2:01 am
by jonnyrv
Hello stanley. I hope you can find a mistake. The picture of the white display and the used code (only config.h, the other codes are standard).

Image

Code: Select all

#ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED

/**************************************
* OBD-II Adapter options
**************************************/
#define OBD_ADAPTER_MODEL OBD_MODEL_I2C
#define OBD_PROTOCOL PROTO_AUTO

/**************************************
* Data logging options
**************************************/
// enable(1)/disable(0) data logging (if SD card is present)
#define ENABLE_DATA_LOG 0
#define SD_CS_PIN SS

/**************************************
* Data streaming options
**************************************/
// enable(1)/disable(0) data streaming
#define ENABLE_DATA_OUT 1

// uses software(1)/hardware(0) serial for data streaming
#define USE_SOFTSERIAL 0

// this defines the format of data streaming
// FORMAT_BIN is required by Freematics OBD iOS App
#define STREAM_FORMAT FORMAT_BIN

/* Default streaming baudrates:
   9600bps for BLE
   38400bps for BT 2.1
*/
#define STREAM_BAUDRATE 9600

/**************************************
* GPS configuration
**************************************/
#define USE_GPS 1
#define GPSUART Serial2
#define MAX_GPS_PROCESS_TIME 50 /* ms */

// 38400bps for G6010 5Hz GPS receiver
// 115200bps for G7020 10Hz GPS receiver
#define GPS_BAUDRATE 38400 /* bps */

/**************************************
* Accelerometer & Gyro
**************************************/
#define USE_MPU6050 1
#define ACC_DATA_RATIO 160
#define GYRO_DATA_RATIO 256

/**************************************
* Timeout/interval options
**************************************/
#define OBD_MIN_INTERVAL 20 /* ms */
#define ACC_DATA_INTERVAL 200 /* ms */
#define GPS_DATA_TIMEOUT 2000 /* ms */

/**************************************
* LCD module (uncomment only one)
**************************************/
LCD_SSD1289 lcd; /* 3.2" SSD12389 based TFT LCD */
//LCD_ILI9325D lcd; /* 2.8" ILI9325 based TFT LCD */
//LCD_ILI9341 lcd; /* 2.4" ILI9341 based SPI TFT LCD */
//LCD_Null lcd;

#endif

Re: Kit #3:Blank, white display after uploading Megalogger

Posted: Thu Jan 01, 2015 4:07 pm
by stanley
It is likely the display shiled was damaged during shipping. We will ship you a new display shield shortly. Please provide me your order number.

Re: Kit #3:Blank, white display after uploading Megalogger

Posted: Thu Jan 01, 2015 9:24 pm
by jonnyrv
This would be perfect. My order-nr: 1250

Re: Kit #3:Blank, white display after uploading Megalogger

Posted: Thu Mar 19, 2015 9:20 pm
by JulianS
Hello,

I have exactly the same problem with the white/grey display.
I bought the Kit#3 with: (Order ID: #1490)
- OBD-II Adapter: Model B (I2C + MEMS ..
- Arduino Board: Arduino MEGA 2560 R3
- GPS Module: U-Blox G6010 5Hz
- Wireless: Bluetooth 2.1
- Accessories: 8GB microSD
- Accessories: Car Window Mount

I have downloaded the newest version of the Mega-Logger here: http://sourceforge.net/projects/obdcon/files/logger/

but after compiling and uploading without any problems i still have the white blank display. (like before)
Is the display really damaged? Or is something else wrong?

Here is the config sketch, I changed nothing in all sketches.

Code: Select all

#ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED

/**************************************
* OBD-II Adapter options
**************************************/
#define OBD_ADAPTER_MODEL OBD_MODEL_I2C
#define OBD_PROTOCOL PROTO_AUTO

/**************************************
* Data logging options
**************************************/
// enable(1)/disable(0) data logging (if SD card is present)
#define ENABLE_DATA_LOG 1
#define SD_CS_PIN SS

/**************************************
* Data streaming options
**************************************/
// enable(1)/disable(0) data streaming
#define ENABLE_DATA_OUT 1

// uses software(1)/hardware(0) serial for data streaming
#define USE_SOFTSERIAL 0

// this defines the format of data streaming
// FORMAT_BIN is required by Freematics OBD iOS App
#define STREAM_FORMAT FORMAT_BIN

/* Default streaming baudrates:
   9600bps for BLE
   38400bps for BT 2.1
*/
#define STREAM_BAUDRATE 9600

/**************************************
* GPS configuration
**************************************/
#define USE_GPS 1
#define GPSUART Serial2
#define MAX_GPS_PROCESS_TIME 50 /* ms */

// 38400bps for G6010 5Hz GPS receiver
// 115200bps for G7020 10Hz GPS receiver
#define GPS_BAUDRATE 38400 /* bps */

/**************************************
* Accelerometer & Gyro
**************************************/
#define USE_MPU6050 1
#define ACC_DATA_RATIO 160
#define GYRO_DATA_RATIO 256

/**************************************
* Timeout/interval options
**************************************/
#define OBD_MIN_INTERVAL 20 /* ms */
#define ACC_DATA_INTERVAL 200 /* ms */
#define GPS_DATA_TIMEOUT 2000 /* ms */

/**************************************
* LCD module (uncomment only one)
**************************************/
LCD_SSD1289 lcd; /* 3.2" SSD12389 based TFT LCD */
//LCD_ILI9325D lcd; /* 2.8" ILI9325 based TFT LCD */
//LCD_ILI9341 lcd; /* 2.4" ILI9341 based SPI TFT LCD */
//LCD_Null lcd;

#endif




Thank you for a fast answer because i need the Mega-Logger really urgently for my studies.
Best Regards,
Julian