Eagle3D Component - LCD Module
this is a rendering of an Eagle3D component in progress, an LCD module that is part of a set of several text-based modules.
as requested, the required files:
HD44780 Based LCD Modules Library (lcdmodules.lbr)
user.inc
user_colors.inc
user_lcd.inc
alphalcd.ttf
the lib file should go in your eagle “lbr” directory, and the inc and ttf files should go in your eagle3D “povray” directory.
a word of warning, thes are in pretty rough shape, but usable.
the include files follow the proposed rules in this post, so if you have made any changes to your user.inc, be sure to merge the files.
alternately, you can simply add the following lines to your user.inc:
#include "user_colors.inc" #include "user_lcd.inc"
happy designing, and any comments or suggestions are welcome.
jfa:
hi,
i am interest by your LCD Module, can you send me the file.
thanks a lot
JFA
12 July 2008, 10:14 amDiego:
can you sendme the files too?
29 September 2008, 12:47 pmabdo:
i download the files but can’t use them
19 February 2009, 10:56 ami try all ways, thanks
c:
3dusrpac.dat?
LCD_BL_16X2:0:1:0:0:0:0:0:0:0::0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:user_lcd(:user_lcd:user_lcd
4 March 2009, 11:31 pmHEADER_14:0:1:0:0:0:0:0:0:0::0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:user_lcd(:user_lcd:user_lcd
Hearty:
Hi,
thank you for sharing.
I tried to modelise a LCD display, too, but impossible to integrate it in Eagle 3d.
So tired after many days working on, I found your modele,
I does what you said to integrate it, but message error, about 3dusr.dat or 3duserpac.dat, I added the too lines published by “C:”,
Eagle smees work well, but at the rendering error message:
Parse error:Expected ‘object’, undeclared identifier ‘user_lcd’ found instead (or if I change the user_lcd by USER_LCD_16X32).
Any suggestion?
Best regards,
10 March 2009, 10:17 pmChromiteBlue:
Hearty,
the lines from my 3dusrpac.dat look like this:
LCD_16X2:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:10:0:0:0:0:0:0:0:0:0:0:0:0:0:0:USER_LCD_16X2(:USER_LCD_16X2
LCD_BL_16X2:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:10:0:0:0:0:0:0:0:0:0:0:0:0:0:0:USER_LCD_16X2(:USER_LCD_16X2
note the difference in the spelling of the last bit. that’s the part that supplies the macro for povray to call, very important for it to be correct. the 10 is a “height” offset I use to bring the part off the board a bit.
for some reason the dialog that pops up after adding an unknown part does not include my functions. c is absolutely right, they need to be manually added.
also note that you can set the text to be rendered by including the following lines in the user.inc:
#declare USER_LCD_MESSAGE_1 = “0123456789012345″;
#declare USER_LCD_MESSAGE_2 = “0123456789012345″;
#declare USER_LCD_MESSAGE_3 = “0123456789012345″;
#declare USER_LCD_MESSAGE_4 = “0123456789012345″;
3 and 4 are for a four line LCD if I ever get around to it.
and the rest of the fields:
Index Meaning
[00] EaglePackageName
[01] Output name
[02] Output value
[03] Define color bands
[04] SMD offset (parts will be moved pcb_cuhight up/down)
[05] LED options (The LED options dialog will be displayed)
[06] Ready for sockets (see explanation)
[07] Ask for height of crystals
[08] Has part a macro (for example, SMD jumpers)
[09] SMD resistor, Generate number combination
[10] Socket macro
[11] Height of socket in 1/10mm
[12] Comments concerning socket
[13] Internal for administration purpose (not used at present)
[14] Correction angle (y axis) (package to macro)
[15] Offset for correction x
[16] Offset for correction y
[17] Offset for correction z
[18] Use Prefix from Part?
[19] Shunt on pinheader (a dialog will be displayed)
[20] Logo selection dialog will be shown
[21] Reserved[8]
[29] Bounding-Box Minimum
[30] Bounding-Box Maximum
[31] POV-Ray macro (macro name and a left parenthesis)
[32] Package comments (German)
[33] Package comments (English)
as per: http://www.matwei.de/doku.php?id=en:eagle3d:documentation#6._file_formats
11 March 2009, 12:17 amHearty:
it’s working!
many thx again,
after many days without any result, I can see the lcd display in 3dview,
you make my day, my friend,
I saw the index, but in fact I never really focus on it, but I will, indeed the secret seems to be here.
Best regards,
11 March 2009, 6:57 amCesar:
please upload the file *.dat of HEADER_14 package
31 March 2009, 8:47 pmThanks
MOTZKI:
Hello.
I’m from Germany.
Great work!!!
I have a question. Can i set the the Display to 16×4 mode?
Thank you - MOTZKI
5 December 2009, 5:45 pmclimberwin:
thanks for your share!
3 April 2010, 3:44 amChromiteBlue:
A note from the admin:
30 September 2010, 5:12 pmI am actively submitting to the Eagle3D project, this component will be available in the stock Eagle3D soon.
Kanar:
Hello,
At start i want to sorry for my language mistakes.
I have a problem with this model. In Eagle 3d everything works perfect i think, but in pov-ray I have this error: ‘Parse Error: expected ‘object’, undeclared identifier ‘USER_LCD_16X2′ found instead’. I check everything but i don’t see any mistakes.
This is the line from pov file with mistake: ‘#ifndef(pack_U_1) #declare global_pack_U_1=yes; object {USER_LCD_16X2()translate rotaterotate rotate translate}#end’
And all files i have from this side.
i have hope that someone can help me
12 December 2010, 4:37 pm