Open GoogleCodeExporter opened 9 years ago
What about pin 20 (A0) and pin 21 (reset)?
Without connecting these pins, it will not work.
Note: U8glib only support 4-wire SPI
Original comment by olikr...@gmail.com
on 1 Mar 2015 at 7:22
Ok, connect it..
My scheme now:
13 pin arduino = 17 pin display (sck)
11 pin arduino = 14 pin display (mosi)
10 pin arduino = 22 pin display (cs)
9 pin arduino = 20 pin display (a0)
8 pin arduino = 21 pin display (reset)
Display on 4-wire spi mode:
23 BM0 0v
24 BM1 0v
10 DB7 +3.3v
11 DB6 0v
When the display flashes twice and then do not show anything...
Original comment by shu...@gmail.com
on 1 Mar 2015 at 1:01
I record video issue https://www.youtube.com/watch?v=pJKr6ZJgGBM
Original comment by shu...@gmail.com
on 1 Mar 2015 at 1:20
Did you connect everything for 4-wire SPI?
Reference:
http://www.buydisplay.com/download/interfacing/ERC24064-1_Interfacing.pdf
See "The Serial 4line SPI(S8) Reference Example"
Especially, consider all the caps and resistors.
Original comment by olikr...@gmail.com
on 1 Mar 2015 at 2:28
Yes, a connect all for 4-wire spi.
And on wire BIAS cap 0.1uf
Original comment by shu...@gmail.com
on 1 Mar 2015 at 2:48
What about the two 4.7uF caps? and the 10M resistor?
Original comment by olikr...@gmail.com
on 1 Mar 2015 at 2:53
yes, two caps 4.7uf (polar
https://www.baudaeletronica.com.br/media/catalog/product/cache/1/image/363x/040e
c09b1e35df139433887a97daa66f/4/_/4.7uf.jpg)
yes 10m resistor on VLCD pin ( 2 x 4.7M )
Original comment by shu...@gmail.com
on 1 Mar 2015 at 3:05
Yes 4.7uF caps on VB pins ( polar caps)
And 10M resistor on VLCD pin (2 x 4.7M)
Original comment by shu...@gmail.com
on 1 Mar 2015 at 3:09
Mostly this kind of caps are not working. You must use a ceramic type for the
4.7uF (X7R usually works).
All in all it is difficult for me to support here. This is only a software
project, not a hardware forum. I did my very best to support you, but finally,
you have to figure out the setup together with your hardware provider. Maybe it
is better to contact the person who sold the display to you.
Original comment by olikr...@gmail.com
on 1 Mar 2015 at 3:10
Thank you very much for your support and quick answers!
I soldering capacitors ...
Original comment by shu...@gmail.com
on 1 Mar 2015 at 3:14
For my own setup: It took me a good amount of time to fix all issues with the
hardware. Gallery page:
http://wiki.u8glib.googlecode.com/hg/otherpic/u8glib_uc1608_240x64.jpg
Original comment by olikr...@gmail.com
on 1 Mar 2015 at 3:18
I saw your installation from the gallery...
I resolder ceramic capacitors, but it did not help :-(
Original comment by shu...@gmail.com
on 1 Mar 2015 at 3:36
Maybe you can do the testing without backlight or at least with very reduced
backlight. Somehow it looks to me, that the power supply is not good enough.
Voltage may drop, which will lead to a reset of the controller. Note: Arduinos
usually do not provide enough current for the backlight.
Original comment by olikr...@gmail.com
on 1 Mar 2015 at 3:43
I use an external power supply 3.3V 2.5A ...
And backlight is connected directly to the power supply ..
Original comment by shu...@gmail.com
on 1 Mar 2015 at 3:48
... i hope there is at least a resistor for the backlight. Nevertheless, then
if you use an external power supply, then this should not be the problem.
In fact i am running out of ideas.
Original comment by olikr...@gmail.com
on 1 Mar 2015 at 3:53
http://plasmon.rghost.ru/92jRQzfYZ/image.png my wire =)
Original comment by shu...@gmail.com
on 1 Mar 2015 at 3:54
backlight is connected directly to the power supply and resistor 3.3 ohm
Original comment by shu...@gmail.com
on 1 Mar 2015 at 3:56
Looks good. Only comment i have: The caps should be more close to the display
flex cable.
Original comment by olikr...@gmail.com
on 1 Mar 2015 at 4:00
what about bias setup?
Library use this feature?
Exemple code : wr_cmd8(0xEA); //set bias:1/12bias
Original comment by shu...@gmail.com
on 1 Mar 2015 at 9:16
I have tested this with the east rising (buydisplay.com) LCD. Setup might be
different for your display. Feel free to change u8glib.
Original comment by olikr...@gmail.com
on 1 Mar 2015 at 9:41
My display work!
bug in vertical line .... can help?
Original comment by shu...@gmail.com
on 5 Mar 2015 at 7:18
Attachments:
I have never seen similar artefact. I have no idea about the cause for this.
Original comment by olikr...@gmail.com
on 6 Mar 2015 at 5:27
[deleted comment]
I have tried to sketch a timer.
But the information is not updated on the display.
How Come?
Original comment by shu...@gmail.com
on 6 Mar 2015 at 9:27
difficult to say without the code
Original comment by olikr...@gmail.com
on 6 Mar 2015 at 9:55
[deleted comment]
#include "U8glib.h"
U8GLIB_UC1608_240X64 u8g(13, 11, 10, 9, 8); // SW SPI Com: SCK = 13, MOSI =
11, CS = 10, A0 = 9, RST = 8
void draw(void) {
u8g.setFont(u8g_font_unifont);
u8g.drawStr( 0, 22, "Hello World!");
}
void setup(void) {
if ( u8g.getMode() == U8G_MODE_R3G3B2 ) {
u8g.setColorIndex(255); // white
}
else if ( u8g.getMode() == U8G_MODE_GRAY2BIT ) {
u8g.setColorIndex(3); // max intensity
}
else if ( u8g.getMode() == U8G_MODE_BW ) {
u8g.setColorIndex(1); // pixel on
}
else if ( u8g.getMode() == U8G_MODE_HICOLOR ) {
u8g.setHiColorByRGB(255,255,255);
}
}
void loop(void) {
// picture loop
u8g.firstPage();
do {
draw();
} while( u8g.nextPage() );
u8g.drawStr(millis()/1000);
// rebuild the picture after some delay
delay(50);
}
Original comment by shu...@gmail.com
on 6 Mar 2015 at 10:40
Place
u8g.drawStr(millis()/1000);
inside draw()
Original comment by olikr...@gmail.com
on 6 Mar 2015 at 11:02
Original issue reported on code.google.com by
shu...@gmail.com
on 1 Mar 2015 at 12:46