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
    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
  • More
Autodesk EAGLE
EAGLE User Support (English) How to Lay out LED's for a clock
  • 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
  • State Not Answered
  • Replies 6 replies
  • Subscribers 184 subscribers
  • Views 682 views
  • Users 0 members are here
Related

How to Lay out LED's for a clock

rjwheaton
rjwheaton over 15 years ago

I'm trying to lay out a pcb with an led at each point of the clock. I want to draw guidelines from a center point out to the "face" of the clock for placing the LED's but I can't figure out how to tell Eagle the exact angle I want for each line. I appreciate your assistance.

 

Roy

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 15 years ago
    I may be wrong, but isnt a clock just a 360 degree circle? 0=12 , 30=1, 60=2, 90=3, 120=4, 150=5, 180=6, etc?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 15 years ago

    Roy Wheaton schrieb:

     

    I'm trying to lay out a pcb with an led at each point of the clock. I

    want to draw guidelines from a center point out to the "face" of the

    clock for placing the LED's but I can't figure out how to tell Eagle

    the exact angle I want for each line. I appreciate your assistance.

     

    Use polar coordinates for placing components and/or guidelines (by

    keyboard at the command line). See the chapter about general usage and

    coordinate entry in the built-in help or the manual.

     

    And yes, that's a fine opportunity to learn the commands and their

    syntax. image

     

    Tilmann

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rjwheaton
    0 rjwheaton over 15 years ago in reply to Former Member
    Yes, that's correct. My problem isn't knowing where the "hands" go, but learning how to draw guidelines with polar coordinates. If I had a single example of, say, how to draw a guideline from a point to a given distance at a given angle, I would be home free.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 15 years ago

     

    "Roy Wheaton" <communitymanager@premierfarnell.com> wrote in message

    news:971645910.52491278345802771.JavaMail.jive@flmspu-csapp-02.premierfarnell.com...

    I'm trying to lay out a pcb with an led at each point of the clock. I want

    to draw guidelines from a center point out to the "face" of the clock for

    placing the LED's but I can't figure out how to tell Eagle the exact angle

    I want for each line. I appreciate your assistance.

    >

    Roy

    >

    Try this ulp:

    ///////////////////////////////////////////////////

    int j,n,delta;

    real teta,R=1.;

     

    output("C:
    test.scr") {

     

    delta=30;

    n=360/delta;

    for(j=1;j<=n;j++) {

       teta=j*delta;

       printf("add led3mm@led (P%f %f)\n",R, teta);

       }

    }

     

    exit("script 'C:
    test.scr'");

    ////////////////////////////////////////////////////////////////////

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 15 years ago in reply to rjwheaton

    Place a relative origin with MARK. The use the ADD command with Polar co-ordinates.

    In your case, it would be for example:

    GRID MM;

    ADD LED3mm (P 20 0)

    ADD LED3mm (P 20 30)

    ADD LED3mm (P 20 60).............and so on.

    where 20 is the radius.

     

     

    Regards,

    Jaya

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 15 years ago in reply to Former Member

    "JayaB" <communitymanager@premierfarnell.com> wrote in message

    news:53484409.140471278390867307.JavaMail.jive@flcspu-csapp-01.premierfarnell.com...

    Place a relative origin with MARK. The use the ADD command with Polar

    co-ordinates.

    In your case, it would be for example:

    GRID MM;

    ADD LED3mm (P 20 0)

    ADD LED3mm (P 20 30)

    ADD LED3mm (P 20 60).............and so on.

    where 20 is the radius.

    >

     

    Or MOVE if the components have already been placed.

     

    move D1 (P 20 0)

    move D2 (P 20 30)

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube