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 & Partners
    Products & Partners
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
Autodesk EAGLE
  • Products & Partners
  • More
Autodesk EAGLE
Forum Have a question about CadSoft EAGLE?  Ask our Expert, Richard! (Archive)
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1129 replies
  • Subscribers 244 subscribers
  • Views 57710 views
  • Users 0 members are here
  • eagle
  • expert
  • richard_hammerl
  • cadsoft
Related

Have a question about CadSoft EAGLE?  Ask our Expert, Richard! (Archive)

nlarson
nlarson over 16 years ago

This thread is now locked - but you can still ask Richard by posting your questions here.  If you'd rather browse other member's questions you can read the CadSoft EAGLE Forums for past questions and answers. Enjoy!

 

Browse past Q&A help on anything technical relating to CadSoft EAGLE!


image

 

Richard Hammerl

Richard is an engineer with 16 years experience in EAGLE customer support and is waiting for your questions.

  • Sign in to reply
  • Cancel
Parents
  • e14 Contributor
    e14 Contributor over 16 years ago

    Richard,

     

    I designed my first board in Eagle a month ago. I got it back and its not working. I was wondering if you could tell me why.

     

    The attached files are my schematic and by board file.

     

    It's an Atmega 328 chip (with all supporting requirements - voltage regulator, capacitors, crystal - and then 6 LEDs. The chip lithts up the LEDs on a sequential basis, so it looks like that car "Kit" on the  Knight Rider TV show.

     

    I've been told by at least one person that I need at least one resistor between each Atmega digital pin connected to the LEDs - or it will burn out the LEDs and the chip. Is this true?

     

    If I fix these things in my next design, will the board work?

     

    Looking forward to your answer.

    jpr3@hotmail.com

    Attachments:
    imagecylon.pdf
    imagecylonschem.pdf
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to e14 Contributor

    By the way, the board passed all DRC checks. Attached are the real board and schematic files.

    Attachments:
    cylon.brd.zip
    cylon.sch.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to e14 Contributor

    By the way, the board passed all DRC checks. Attached are the real board and schematic files.

    Attachments:
    cylon.brd.zip
    cylon.sch.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • KennyMillar
    KennyMillar over 16 years ago in reply to e14 Contributor

    Whats happened here is that eagle has not shown you the ground plane being filled in.

    This is just eagles way of making the board easier to work with in the editor.

     

    If you type 'rats' or hit the ratsnest button it will show the ground plane fully filled in.

     

    If you sent this .brd file to your board house then the ground plane (the polygon with the dotted red ouline) would be filled with copper exactly as you see it when you hit the ratsnets button.

     

    -Kenny

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to KennyMillar

    Kenny,

     

    Thanks so much for the help!!!

     

    I was wondering if I were to subtract out the LEDs if I could use this as a basic building block for any Arduino/Atmega 328 board of my own.

     

    Also, how come you didn't have to connect the ground plane to the barrel jack? Is this because it isn't connected in the schemtic? Does the barrel jack need to be grounded for this to work?

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • KennyMillar
    KennyMillar over 16 years ago in reply to KennyMillar

    Oh - one more thing!

    You'll see in the schematic one mistake I made - I did not connect pin 22 to GND like I should have - but if you look at the board, pin 22 is connected to the GND plane. How did this happen?

    Simply because eagle is clever enough to connect supply pins of the same name together, even if you don't explicitly do it in the schematic.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • KennyMillar
    KennyMillar over 16 years ago in reply to e14 Contributor

    You also have two separate, and not connected GND signals - one called N$6 and one called GND

    You also have one connection to GND on pin 8 of the chip which is not making contact in the schematic. (The end of the wire is overlapping the pin, but not at the connection point).

     

    You did run a DRC which is good, but you should also have run an ERC on the schematic - which would have shown most of the connection issues.

    You board might work if you connect +5v from the regulator to pin 7 of the atmega and connect the missing GND on pin 8 - but then you have the problem that you have no current limiting resistors on the LEDs so you might draw too much current out of the IO Pins on the ATMega8 - I do not know what the maximum current sourcing capacity of those pins on that chip is.

     

    For information, at 5V an, ahem, 'standard' LED would normally have something like a 330 Ohm resistor in-line with it, this limits the current.

    Using Ohms law (V=IR) and ignoring the voltage drop across the LED itslef would give you: V=IR therefore I = V/R, therefore I = 5/330 = 0.15A or 15mA - a nice figure to light an LED safely.

     

    BTW, if you check the datasheet for the ATMega8 and it will tell you the maximum current that can be sourced through an IO pin, and it says something like 20mA (a guess) - that doesn't mean you don't need a limiting resistor - it means you must design to avoid drawing any more than that.

     

    Also, some chips cannot source any current from IO pins, but they can SINK it - so your deisgn would need to change the way the LEDs are connected, this means that to turn the LED on you make the pin go to logic 0. I've taken your schematic and altered it to be more like how I would have drawn it, and how I would have laid the board. I re-arranged the order the LEDs were connected to the chip in order to make the board layout easier - you can use the software to driver them in the correct order.

     

     

     

    Don't be too disheartened - we all did this type of thing when we were learning - keep trying and keep learning!

     

    Hope this helps - best wishes for the next version!

    Attachments:
    cyclon2.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube