I want to get the
I2C_LED Display working with the Wio LTE 4G Cat.1 (EU version). According to the specifications this should be possible, even if the standard libraries do not directly support the board.
I am a total newbie when in comes to program with Arduino IDE and Grove products, just as I have no knowledge about using the I2C interface. Therefore I’m glad about any help or tips how to get this running.
What I have done / tried so far:
Played a little bit with the example sketches (battery status, send sms etc.) - so far everything works well.
After that i connected the I2C_LED Display with the Grove cable to the I2C pin on the Wio LTE board and loaded the example libraries for the display from
<LINK_TEXT text=“https://github.com/SparkingStudio/I2C_L … /resources”>https://github.com/SparkingStudio/I2C_LCD/tree/master/resources</LINK_TEXT> and loaded the HelloWorld example into Ardunino IDE.
To set up power for the I2C port I also incuded the
<WioLTEforArduino.h>, initialized it within the void setup procedure and set the power to ON with Wio.PowerSupplyGrove(true); as you can see in the code: [code]#include <Wire.h>
uint8_t I2C_LCD_ADDRESS = 0x51; //Device address configuration, the default value is 0x51.
//For detials of the function useage, please refer to “I2C_LCD User Manual”.
//You can download the “I2C_LCD User Manual” from I2C_LCD WIKI page: http://www.seeedstudio.com/wiki/I2C_LCD
SerialUSB.println("### I/O Initialize.");
SerialUSB.println("### Power supply ON.");
Wire.begin(); //I2C controller initialization. SerialUSB.println("### Setup completed.");
SerialUSB.println("# debug 1");
LCD.CleanAll(WHITE); //Clean the screen with black or white.
delay(1000); //Delay for 1s.
SerialUSB.println("# debug 2"); //8*16 font size auto new line black character on white back ground. LCD.FontModeConf(Font_6x8, FM_ANL_AAA, BLACK_BAC); SerialUSB.println("# debug 3"); LCD.CharGotoXY(0,0); //Set the start coordinate. LCD.print("Hello World!"); //Display "Hello World!" on coordinate of (0, 10). while(1);//Wait for ever.
The sketch compiles without errors and after uploading it and resetting the board i have the following output on the serial monitor:
[code]### I/O Initialize.
Power supply ON.
But nothing on the display.
I have checked if the I2C interface even gets powered up by measuring the GND an 5V pins on the display and i get 3.3V of current which i think means that this can’t be the problem. Next thought was about the definition of the I2C-address (line 6 in the code):
</s>uint8_t I2C_LCD_ADDRESS = 0x51; //Device address configuration, the default value is 0x51.<e>
can someone confirm that this is correct?
Otherwise I have no idea how to continue - will be thankful for any help provided