Add an Image to Your PCB

by NemesisC in Circuits > Raspberry Pi

9361 Views, 50 Favorites, 0 Comments

Add an Image to Your PCB

PicsArt_11-28-12.39.20.jpg

This tutorial will guide you to place an image/logo on your PCB .

The tutorial is tailored work with the manufacturer I use to have my boards made OSH Park which is a great organization that offers low cost PCB batches of 3 boards based in the USA.

Find an Image You Like

Screen Shot 2016-11-03 at 9.03.03 PM.png

Working with image that is vector style or silhouette style-like will help ensure your image gets converted from it's original (jpg,jpeg ) form into a BMP file

Resize Your Image to Fit the PCB

Screen Shot 2016-11-03 at 10.34.07 PM.png
Screen Shot 2016-11-03 at 9.09.19 PM.png

Most images will be too large to fit into the board which is why it is recommended to use an image resizing editor which will take a couple( or a load of) tweaking to fit the desired space on your PCB.

  • Just upload your file to your favorite image resizer and adjust as fit
  • Then download the file to your computer

Here is the image resize Editor I use

Convert the File to a BMP Format

Screen Shot 2016-11-03 at 9.04.31 PM.png
Screen Shot 2016-11-03 at 9.04.57 PM.png

Next convert the file from it's (jpg, jpge etc) file into a BMP file

  • Upload the resized image to the editor
  • Under color select Monochrome

The image will be turn into a crisp black and white

Here is the link to the JPG to BMP online converter

Import the BMP File Into Eagle

581ccc41937ddbe64f000483.jpeg
Screen Shot 2016-11-03 at 9.06.14 PM.png
Screen Shot 2016-11-03 at 9.06.36 PM.png
Screen Shot 2016-11-03 at 9.06.48 PM.png
581ccbba4936d4c2f3001113.jpeg

There is an existing script that allows a BMP file to be transferred into EAGLE

Open up your board file in Eagle then select:

  • File--> RUN ULP
  • import-bmp.ulp

Find your BMP image file

Select the color white (which is the default color used by OSH Park)

IMPORTANT

Make sure to have the settings !

Format Select: DPI (dots per inch )

Dots Per Inch: 300 the number OSH Park recommends

Layer : 21 Is the layer of the board where you want the image to be I choose layer 21 (layer for the top name of my board)

*Note you can change the layer to whatever layer you want !

Select the Run Script Button

Successfully Imported File

581c205d50e1b629e1000782.jpeg

If your file imported you should now see your image in Eagle CAD

I uploaded a couple times since I did not get the size correct a couple (or a lot ) of times

Locate the Image to the Desired Area

Screen Shot 2016-11-03 at 9.30.27 PM.png
Screen Shot 2016-11-03 at 9.30.51 PM.png
Screen Shot 2016-11-03 at 9.31.02 PM.png
Screen Shot 2016-11-03 at 9.30.38 PM.png

Moving an image could be tricky at first but follow these steps:

  • Select the Group icon
  • Highlight the image so it turns from grey to black
  • Select the Move Icon
  • Hold down the control+right click
  • Select Move group

You should be able to move the image fully

If you move eagle line separately the image starts to become distorted

Finished!

Screen Shot 2016-11-03 at 10.24.11 PM.png
Screen Shot 2016-11-03 at 11.23.10 PM.png
Screen Shot 2016-11-03 at 10.23.59 PM.png

If your image is a bit bigger than the dimensions of your PCB don't worry OSH park automatically only prints whatever is with in the bounds of your board

Go to OSH Park and upload your .brd file and you will be shown what your PCB looks like

as well as receive a quote for 3 of the PCBs

link to OSH PARK

Enjoy!

I would love to see what you make tweet me @NemesisContrer8