Go Down

Topic: Liquid Crystal lib with IDE 1.5.4 (Read 2945 times) previous topic - next topic

Claus


What power supply are you using to power your arduino? Is it USB, or what?
You tested the voltage with a volt meter ?


USB
4.3 V on pin 5V (yesterday I had 3.3 V there, I do not know why this is changed)
3.3 V on pin 3V3

LCD does not work
I will try an I2C sensor this evening

jack wp

You have a problem with power, if you are reading 4.3 volts where the 5 volts should be.
1. Can you try a different USB power source, and/or cable ?
2. Do you have other loads on the arduino that may be drawing down on the 5V line?
3. If you plug in your other arduino board to that USB, what voltage does it read?

Good luck, Jack

Claus


You have a problem with power, if you are reading 4.3 volts where the 5 volts should be.
1. Can you try a different USB power source, and/or cable ?
2. Do you have other loads on the arduino that may be drawing down on the 5V line?
3. If you plug in your other arduino board to that USB, what voltage does it read?



I use a 5 V DC power supply connected to VIN now and got stable conditions on the shield.
The LCD Keypad shield does not work again.

Therefore I was going one step back and used a RTC DS1307 on Aduino 2009 & IDE V1.0.5. This works properly.
The files you can download from https://sourceforge.net/projects/arduinosources/files/IDE_V1.0.5_and_higher/.

The same shield connected to Arduino Yún with the same RTClib gave me the error "RTC_DS1307 does not name a type".
This is not clear for me. Do you have any idea where the differences are? Di you need further information?

Claus


jack wp

I am having a hard time keeping up.
First there was a LCD problem with IDE 1.5.4
Then the LCD works on another arduino board.
Then your arduino had only 3.3 volts on the 5 volt pin.
Now you get Compile errors when you use a RTC shield.

Lets slow down. The last thing I mentioned was that you had a problem with your power supply ( 5v). Have you got that fixed yet.
You replied
Quote
I use a 5 V DC power supply connected to VIN now and got stable conditions on the shield.
. I don't really know what that means. Do you read 5.1 Volts on the 5volt pin now?
Good luck, Jack

jack wp

I don not have a Yun.
Is this diagram correct for the Yun (eg, D7 is now handshake)?
http://forum.arduino.cc/index.php/topic,189755.0.html
There is no D7 or D8  etc. anymore?
Good luck, Jack

Claus

#20
Oct 08, 2013, 12:04 am Last Edit: Oct 08, 2013, 12:19 am by Claus Reason: 1

I am having a hard time keeping up.
First there was a LCD problem with IDE 1.5.4
Then the LCD works on another arduino board.
Then your arduino had only 3.3 volts on the 5 volt pin.
Now you get Compile errors when you use a RTC shield.

Lets slow down. The last thing I mentioned was that you had a problem with your power supply ( 5v). Have you got that fixed yet.
You replied
Quote
I use a 5 V DC power supply connected to VIN now and got stable conditions on the shield.
. I don't really know what that means. Do you read 5.1 Volts on the 5volt pin now?


I am sorry for the hard time ;-)
The Yun is new for me and has some changes.
Your hint to the rigth power supply was very good and helped to get clear conditions on the shield. I have 4.6 V on pin 5V due to the voltage drop over D2. This is ok for me.

Now I have two problems furthermore:
1. The LCD Keypad shield - may be more complex
2. Therefore I was going one step back and tried a simple I2C sensor DS1307. This work on Arduino 2009 & IDE 1.0.5 but not with Yun & IDE 1.5.4.

I saw the changed pinout of the Yun. This is one issue I have not realized (:-)) and I think with the correct pins this will be ok. Sorry for that.
Not clear is the compiler error described.
Claus

jack wp

Claus,
I don't understand the compile error either. I assume you did set the board type in the IDE.
Are you loading the sketch through the usb, or wifi?
Maybe someone else here has an idea about the compile error.
Good luck, Jack

Claus


I don not have a Yun.
Is this diagram correct for the Yun (eg, D7 is now handshake)?
http://forum.arduino.cc/index.php/topic,189755.0.html
There is no D7 or D8  etc. anymore?


I found the LeoShield which should help to contact "old" shields to Arduino Leonardo & Yún. Do you know this?

jack wp


I did not know about the need for the "LeoShield".
I checked and found this info
Quote
You will need the LeoShield if the shield you are considering uses any of the following pins which are from the older style IO pin mapping.

D11 (SPI)MOSI
D12 (SPI)MISO
D13 (SPI)SCK
A4 (I2C)SDA
A5 (I2C)SCL

I don't think your lcd shield use any of these.
I have a leonardo, and run a lcd shield on it with no problems.
BTW, what did you have to do to get your voltage up  ?
Good luck, Jack

Claus



I did not know about the need for the "LeoShield".
I checked and found this info
Quote
You will need the LeoShield if the shield you are considering uses any of the following pins which are from the older style IO pin mapping.

D11 (SPI)MOSI
D12 (SPI)MISO
D13 (SPI)SCK
A4 (I2C)SDA
A5 (I2C)SCL

I don't think your lcd shield use any of these.
I have a leonardo, and run a lcd shield on it with no problems.
BTW, what did you have to do to get your voltage up  ?


For the LCD I do not need it. But, I have some other shields yet.
For my LCD Keypad I have to look for the right pinning, I believe.
The power is ok since I use an external power source of 5 V to VIN.

Go Up