problem with emonglcd

I purchased the emonglcd kit, I mounted, connect the mini usb but the display won't turn on! What is wrong? I did the test recommended by the installation guide ensuring that there were 3.3 volts

Robert Wall's picture

Re: problem with emonglcd

Nobody can help you unless you provide more details. Here are a few things to check:

Can you/have you loaded the test sketch?

Did you follow the build instructions exactly - did it look exactly like the pictures in the build guide at each step?

Have you missed fitting any components?

Have you soldered every joint?

Have you got a short circuit between adjacent tracks?

Which version of the pcb do you have? If it is 1.3 or 1.4, did you  follow the instructions for getting the polarity of C13 & C14 correct in step 7?

 

jump's picture

Re: problem with emonglcd

thanks... for reply

My first question is: If I plug the mini usb the display will light up or not?
my version is 1.5! I followed the step by step instructions, but it seems to me that you do not explain when mount the switches!
also wonder if to test I have to upload the sketch of test loading the ATMega328 with arduino or directly!

Thanks for your patience

Robert Wall's picture

Re: problem with emonglcd

You mount the switches in Step 19B.

I can't remember whether it does light up with no sketch. The backlight is software driven so my guess is it will not light up. You certainly need a sketch to generate output to the display.

The USB connector is power only, you must connect a programmer to another USB port on your computer and the FTDI programming port, if necessary on your computer load the drivers and of course the Arduino IDE - see http://openenergymonitor.org/emon/buildingblocks/setting-up-the-arduino-...

Then try the "tester" sketch from https://github.com/openenergymonitor/emonGLCD

 

jump's picture

Re: problem with emonglcd

i tried tester.ino sketch but i get many errors:

tester.ino:31:40: error: utility/font_clR6x8.h: No such file or directory
tester:33: error: 'GLCD_ST7565' does not name a type
tester:56: error: 'OneWire' does not name a type
tester:57: error: 'DallasTemperature' does not name a type
tester.ino: In function 'void setup()':
tester:64: error: 'glcd' was not declared in this scope
tester:66: error: 'font_clR6x8' was not declared in this scope
tester:74: error: 'sensors' was not declared in this scope
tester.ino: In function 'void loop()':
tester:93: error: 'glcd' was not declared in this scope
tester:96: error: 'sensors' was not declared in this scope

 

may you help me ?

bye

Robert Wall's picture

Re: problem with emonglcd

Have you downloaded and installed in the correct place the libraries that the sketch requires? They are listed in the comment at the beginning of the sketch.

jump's picture

Re: problem with emonglcd

 
   
I have done everything suggested here:

You can download all the project source files in ZIP or TAR format:

    Unpack the archive and rename the resulting folder to "GLCDlib".
    Move it to the "libraries" folder in your Arduino sketches area.
    Restart the Arduino IDE to make sure it sees the new files.

but it tells me the following errors:

tester:56: error: 'OneWire' does not name a type
tester:57: error: 'DallasTemperature' does not name a type
tester.ino: In function 'void setup()':
tester:74: error: 'sensors' was not declared in this scope
tester.ino: In function 'void loop()':
tester:96: error: 'sensors' was not declared in this scope

???? serve other libraries ?    BYE

Robert Wall's picture

Re: problem with emonglcd

Yes, you need ALL the libraries listed.

jump's picture

Re: problem with emonglcd

thanks

everything works perfect now (Software)

tomorrow I try the hardware because I need the mini usb

Bye

jump's picture

Re: problem with emonglcd

everything works perfect now !!!

THANKS

surapont's picture

Re: problem with emonglcd

Dear all,

I got the problem as the first posted. I did clear all sketch already. The test program can be complied successfully. I did my work on MAC. When I choose Uno Board , the file cannot download completely. But when I change to choose Leonardo board , file can be downloaded completely. The voltage on the check point is 3.3 V. Nothing happen on the lcd. I need to know what happen? How to solve it . How can I check on the hardware? 

Thank you in advance...

Robert Wall's picture

Re: problem with emonglcd

I think Leonardo is wrong. Although the test sketch compiled and loaded, some of the Arduino libraries that it included automatically will be wrong and I would expect it not to work. You must use Arduino UNO.

Did you follow the instructions here to set up you Arduino IDE?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.