Posts tagged ‘Electronics’

Eagle3D Component - Simple Jumpers

some very simple jumpers for Eagle3D, I tend to use a lot of them due to single-sided board restrictions.

the include file, to be placed in “[Eagle3D Root]/povray” and added to “[Eagle3D Root]/povray/user.inc”. see this post for details.
user_jumper.inc

 

and the associated images (to be placed in “[Eagle3D Root]/ulp/img” to aid in identification, optional):

Zip archive of images

and as requested, a rendered image and an example board:
Wire Jumpers

Example Wire Jumper Board(jumper.brd)

additionally, if the correct user functions can not be found (or you would rather not look for them),
the following lines can be manually added to “EAGLE_ROOT/ulp/3dusrpac.dat”:

05:0:0:0:0:0: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:USER_WIREJUMPER_05MM(:USER_WIREJUMPER_05MM:
07:0:0:0:0:0: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:USER_WIREJUMPER_07MM(:USER_WIREJUMPER_07MM:
10:0:0:0:0:0: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:USER_WIREJUMPER_10MM(:USER_WIREJUMPER_10MM:
12:0:0:0:0:0: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:USER_WIREJUMPER_12MM(:USER_WIREJUMPER_12MM:
15:0:0:0:0:0: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:USER_WIREJUMPER_15MM(:USER_WIREJUMPER_15MM:

Update:
The above file is incompatible with newer versions of eagle. If you get errors with user_jumper.inc, try the following file:
user_jumper-54.inc
and adding #include “user_jumper-54.inc” rather than #include “user_jumper.inc” to /povray/user.inc

Method to simplify adding Eagle3D components

assuming the Eagle3D directory structure looks as follows:

[Eagle3d Root]
    |- doc
    |- examples
    |- povray
    \- ulp
        \- img

the file “[Eagle3d Root]/povray/user.inc” will contain, by default, nothing.
if the following lines are placed within it (note that the shown filenames are only examples):

#ifndef(__user_inc)
#declare __user_inc = true;

//#include "user_includefile01.inc"
//#include "user_includefile02.inc"

#end

adding new parts is a simple matter of adding the new file to the [Eagle3d Root]/povray/ directory, copying an #include directive, changing the name, and uncommenting it.

in my own installation, I follow the recomended prefix style of filenaming, as do the files available on this site.

additionally, if the current user.inc file is not empty, it can be renamed to “user_orig.inc” or similar, a new user.inc file containing the above added, and the line #include “user_orig.inc” placed within it.

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.

LCD_16×2-top

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.

Rendering of a printed circuit board

Rendering of a printed circuit board

First decent version


with the full version here.

Atmel AVR Device List

  • Categories

  • Need Code Written?

  • Need a Coding Job?

  • Tags

  • Archives