element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 Part1: 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: 17 Aug 2015 1:54 PM Date Created
  • Views 2690 views
  • Likes 2 likes
  • Comments 4 comments
  • tutorial
  • maker
  • eagle
  • halloween
  • help
  • pcb
  • hobbyist
  • nightlight
  • dr_lucy_rogers
  • cadsoft_eagle
  • started
  • @drlucyrogers
Related
Recommended

Part1: PCB Design Software CadSoft EAGLE

drlucyrogers
drlucyrogers
17 Aug 2015

Eeek - how do I get started?

 

For this series of blog posts, I'll be sharing how I make this circuit into a PCB:

image

 

The circuit will turn on an LED when it gets dark I am going to make it with a 3V  CR2032CR2032 battery so the finished PCB can be put in a jam-jar and left outside to mark a path or a tentpeg or put in a pumpkin at halloween or used as a nightlight Or anything else where you want a light to come on when it is dark

 

I prototyped it on a breadboard to make sure everything works together as I expect them to and to select the resistors that made the LED bright and the phototransistor work how I wanted it.:

 

image

 

image

The photo-transistor is sensitive only in one direction (straight up), so the light from the LED does not effect it.

 

Parts: (I have included a full Bill of Materials (BOM) later in this post, along with the Farnell part numbers, Eagle library etc.)

Battery 3V  CR2032CR2032

Battery Holder CR2032CR2032

Resistor 330 ohms

Photo Transistor  TEPT5600TEPT5600

Transistor BC548

Resistor 75K ohms

LED amber


Having installed CadSoftusa Eagle PCB design software, the front page you see when you open it is the Control Panel. If you have not loaded the software, have a look at the Intro here.

 

The Control Panel is where you can load and save projects.

 

Under "Projects", there is a folder called examples. By clicking on some of these you can get an idea of various PCB's that can be made. There are also tutorials you may like to work through on the CadSoftusa website.

image

(This is an example from the tutorial)

 

The .sch files (above) are the schematics - the circuit diagrams very similar as you would draw them in a notebook.

image

(This is an example from the tutorial)

 

The .brd files (above) are the actual board layout, including the tracks.

 

File, New, Project lets you start a new project (un-surprisingly). I have saved my new project as "OnWhenDark". Other projects I have already worked on include the Open Collector (Thingatron) (Blog here) and the Inputs Optoisolator (blog here) - and one called RpiTrafficLight.

 

image

Open the Project

Highlight "OnWhenDark"

Right Mouse Click

"Open Project" (This can also be done using the menu options File, Open, Project, "directory", "OnWhenDark".

A green spot appears next to the project name, as shown in the image above.

 

Create a new Schematic

Highlight "OnWhenDark"

Right Mouse Click - New, Schematic (Or from the menu File, New Schematic)


This brings up a new window:

image


Now to insert the parts, using the "Add a Part" icon:

image

This icon can be found half way down the tool bar on the left hand side of the window.


Clicking the "Add a Part" icon brings up a whole library of parts, which I find a little daunting:


image


However, there is a search box, which helps a lot.

To find the Transistor BC548 type "BC548*" into the search box. Then click OK.


The device is then highlighted. It can be found in the "transistor" library, filed under "NPN".

image

 

Make sure it is highlighted. Click OK. This takes you back to the schematic but now with the BC548 icon attached to your mouse. Click where you want to drop it. If you want more than one, keep clicking. I'll do that for the resistors. Right clicking turns the part through 90 degrees. The escape key brings you back to the library. You can cancel out of the library to see the schematic.

 

The "trash can" next to the "add a part" icon can be used if you've dropped too many onto the schematic.


It doesn't matter what order the parts are added. They get linked together in the next step.


Clicking the "x" next to the search box clears the search and brings back the full library list.


For resistors I use the device "R-EU_0207/10 (R-EU_)" from the "rcl" library (use R-EU_0207* as the search term). There are many resistor libraries to chose from. Experience and asking advice (thanks @rocketengines) has shown this one works well. I suspect others do too. Two of them are needed on the schematic.


The battery holder and the photo-transistor are not already in the Eagle Library, so I had to make them. Here's a blog post on how I made the battery holder For the photo-transistor I copied a 5mm LED package and a LPT80A(opto-trans-siemens library symbol and made my own device called  TEPT5600TEPT5600

 

Here's a list of the parts, the Eagle Library they are in, what they are called and their Farnell Part Numbers.

 

 

My DescriptionEagle LibraryDevicePackageValue (User input)Farnell Part NumberFarnell Link
Resistor: 330 ohmrclR-EU_0207/10 (R-EU_)0207/10330R9341730

http://grh.premierfarnell.com/pageredir.aspx?c=EU1&u=jsp/search/productListing.jsp?CMP=SOM-e14-Blog-LRo-EAGLE%26SKUS=9341730

Resistor 75K ohmrclR-EU_0207/10 (R-EU_)0207/1075K9342230

http://grh.premierfarnell.com/pageredir.aspx?c=EU1&u=jsp/search/productListing.jsp?CMP=SOM-e14-Blog-LRo-EAGLE%26SKUS=9342230

Transistor BC548transistorBC548-NPN-TO92-CBE (*-NPN-)TO92-CBEBC5481574381http://grh.premierfarnell.com/pageredir.aspx?c=EU1&u=jsp/search/productListing.jsp?CMP=SOM-e14-Blog-LRo-EAGLE%26SKUS=1574381
Phototransistor
TEPT5600TEPT5600
Adapt OneAdapt OneAdapt OneTEPT5600TEPT56001497673http://grh.premierfarnell.com/pageredir.aspx?c=EU1&u=jsp/search/productListing.jsp?CMP=SOM-e14-Blog-LRo-EAGLE%26SKUS=1497673
LED ledLED5mm (LED)

LED5mm

Amber1581179http://grh.premierfarnell.com/pageredir.aspx?c=EU1&u=jsp/search/productListing.jsp?CMP=SOM-e14-Blog-LRo-EAGLE%26SKUS=1581179
Battery Holder  CR2032CR2032Adapt OneAdapt OneAdapt OneHU2032-LFHU2032-LF1319749http://grh.premierfarnell.com/pageredir.aspx?c=EU1&u=jsp/search/productListing.jsp?CMP=SOM-e14-Blog-LRo-EAGLE%26SKUS=1319749
Battery 3V  CR2032CR2032N/AN/AN/ACR2032CR20322065171


http://grh.premierfarnell.com/pageredir.aspx?c=EU1&u=jsp/search/productListing.jsp?CMP=SOM-e14-Blog-LRo-EAGLE%26SKUS=2065171

 


Once all the parts are added, they can be rearranged and then linked together using the "Net" icon in the menu.image


image

The schematic is now done. The next blog post will discuss moving the items around on the "board" view to make a neat PCB.

 

Remember to keep saving your work! I put version numbers on every time I save, in case I want to go back.

  • Sign in to reply

Top Comments

  • neilk
    neilk over 10 years ago +2
    Hi Lucy - great post . I love the simplicity of the project, yet it's worth doing. I'm trying to ramp myself up to using Eagle to do something and this gives me a lot of encouragement! I've never progressed…
  • gadget.iom
    gadget.iom over 10 years ago +2
    A perfect example of starting simple and building your skills. Nice work drlucyrogers !
  • drlucyrogers
    drlucyrogers over 10 years ago in reply to neilk +1
    Thanks for your comment Neil, do let me know how you get on
  • drlucyrogers
    drlucyrogers over 10 years ago in reply to gadget.iom

    Thank you image

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

    Thanks for your comment Neil, do let me know how you get on image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gadget.iom
    gadget.iom over 10 years ago

    A perfect example of starting simple and building your skills. Nice work drlucyrogers! image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • neilk
    neilk over 10 years ago

    Hi Lucy - great post image . I love the simplicity of the project, yet it's worth doing.

     

    I'm trying to ramp myself up to using Eagle to do something and this gives me a lot of encouragement!

     

    I've never progressed beyond stripboard!

     

    Neil

    • Cancel
    • Vote Up +2 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