element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs Part 3: PCB Design Software CadSoft EAGLE
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: drlucyrogers
  • Date Created: 9 Sep 2015 5:38 PM Date Created
  • Views 2291 views
  • Likes 0 likes
  • Comments 4 comments
  • tutorial
  • eagle
  • drlucyrogers
  • onwhendark
  • pcb
  • phototransistor
  • dr_lucy_rogers
  • lucy_rogers
Related
Recommended

Part 3: PCB Design Software CadSoft EAGLE

drlucyrogers
drlucyrogers
9 Sep 2015

In parts 1 and 2 of this series of blog posts, I shared how I design PCB's using CadSoftusa's Eagle PCB Design Software.

 

Having the design on screen is one thing, but holding an actual PCB in my hot little hands is quite another.

 

imageimage

 

 

Although some PCB manufacturer's will take the .brd and .sch files, most prefer the gerber files. (This is a standardised format, in a similar way that pdf's are for documents).

 

For my previous boards, I have followed a tutorial I randomly found online - however, this time I followed Cadsoft's tutorial on making the gerbers - copied below: (Note, following these instructions meant the silkscreen (words) didn't turn out as I expected - I have added in the tutorial (in red) how to change this.)

 

 

"Generating Gerber Data with the CAM Processor

The same steps are usually required for each board whenever films and manufacturing data are generated. This process can be defined as a CAM Processor job.


The file gerb274x.cam, which can be found in the default subdirectory for CAM jobs, automates the output of the most common Extended Gerber data for double sided boards.


Please contact your board house to confirm which data are needed.


Load the job into the CAM Processor, either by doubleclicking the entry with the name gerb274x.cam in the Control Panel's tree view (CAM Jobs), or by clicking the CAM Processor icon in the Layout Editor window and selecting gerb274x.cam in the file dialog (File/Open/Job).

 

In case you have started the CAM processor from the Control Panel, load the board file demo3.brd: File/Open/Board and demo3.brd


Here is where I needed to change some bits to make the silkscreen look how I wanted:

Click the Silk Screen CMP tab, then click on 25 tNames to unhighlight it, and click on 27 tValues to highlight that instead.


image

Click the button Process Job. Now all the necessary files will be written into the directory where the board file is located.

The files have the following meanings:

 

demo3.cmp    Component side

demo3.sol Solder side
demo3.plc Silkscreen for component side

demo3.stc Soldering mask for the component side

demo3.sts Soldering mask for the solder side

demo3.gpi Information file, not relevant here

 

The first five files need to be sent to your board manufacturer.


Generating Drill Data

Drilling data can be generated accordingly by using the job excellon.cam. This job consists of one single step. The EXCELLON device generates a file that contains both drill data and drill table. The output file has the file extension .drd.

This file has also to be sent to your board manufacturer.
Further information can be found on the CAM Processor help pages and in the EAGLE manual. "

 

It is a good idea to check the gerbers before sending them off. (I didn't). I have now downloaded cuprum, which seems to work well. (Found via an Element14 search http://www.element14.com/community/thread/31200/l/new-gerber-preview-plugin-for-mac-osx).

 

I have been told (by @adamgreig) that www.gerblook.org is also very good, but I need more gerber files than is given in this tutorial to make it work.

 

After making the gerbers I then zipped the six files and sent them to my PCB manufacturer (Ragworm) who kindly checked them (but obviously not the silkscreen - how would they have known what I wanted?)

After getting the OK, I ordered some - and a couple of weeks later they arrived ...


image

 

I quickly soldered the components on. I discovered that the phototransistor has "knobbles" on its legs and so wouldn't go through the holes. I believe this has something to do with protecting it from heat transfer from soldering. I could have made the LED stick up the same amount for symmetry.

image

 

The finished board does exactly what I wanted. The LED lights up if not in direct daylight (not near a window in the house) and goes out when it is near daylight. Now to wait for Halloween!

image

 

Do let me know how you'd use an "OnWhenDark" PCB - or if you have found this tutorial helpful. Also, if there are any bits you'd like clarifying, please just leave a comment below.

 

 


  • Sign in to reply

Top Comments

  • DAB
    DAB over 9 years ago in reply to drlucyrogers +1
    You can use the flash from your camera to see if you get a good response with the light detector. DAB
  • drlucyrogers
    drlucyrogers over 9 years ago in reply to DAB +1
    I tried it! The LED turns off when the camera flash flashes
Parents
  • DAB
    DAB over 9 years ago

    Very nice blog.

     

    Is your light sensor sensitive enough to detect lightning flashes?

     

    The most obvious use is for night lights, but I could also see them used as makers for cavers as they go deep into the cave system and need to find their way back.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • drlucyrogers
    drlucyrogers over 9 years ago in reply to DAB

    ooo lightning flash detector would be cool. May try that somehow.

     

    Think cavers would probably be better off with blinking ones that stay on all the time - battery will last longer.

     

    However, they could be used for marking paths at astronomy star parties etc.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • drlucyrogers
    drlucyrogers over 9 years ago in reply to DAB

    ooo lightning flash detector would be cool. May try that somehow.

     

    Think cavers would probably be better off with blinking ones that stay on all the time - battery will last longer.

     

    However, they could be used for marking paths at astronomy star parties etc.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • DAB
    DAB over 9 years ago in reply to drlucyrogers

    You can use the flash from your camera to see if you get a good response with the light detector.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • drlucyrogers
    drlucyrogers over 9 years ago in reply to DAB

    I tried it! The LED turns off when the camera flash flashes image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube