Skip to content | Skip to navigation
Powered by RSPowered by RSPowered by RS

Components on a circle

websterpcb

United Kingdom

I would like to place 36 leds in a circle using DesignSparks each rotated by 10 degrees. I've looked at the snap to grid but it doesn't allow for rotated component. Has anyone any ideas how I may be able to create this please.

Cheers

Mark

Replies

MNM-tm

Netherlands

35 weeks ago

It does make sense (to me), but you'd have to make sure that the origin of the PCB symbol is set to exactly the middle of it, otherwise you'll get an odd offset.(Often, the origin is set to one of the corners of the PCB symbol).

 

BeOne_Optica

United Kingdom

35 weeks ago

A way I do it is I have created an excel spreadsheet and using the radius of the circle I calculate the x and y coords using trig against the centre point as reference.  I then put the coords of the LEDs in manually so they lie on the circle.

Does that make sense?

KennyMillar

United Kingdom

43 weeks ago

Here is how I would do this...

Add the 36 Leds to the schematic, then forward the changes to the PCB.

Use the CIRCLE tool to draw a circle on the documentation layer.

Place the leds around the circle manually. Right-click each LED and anter a 'rotation' value for each one. The maths is easy, the rotation values are 0,10,20,30...350

Finally, delete the circle you drew earlier.

Alternatively, create a PCB symbol, Schematic-symbol and component which matches the position and rotation of all the leds, then you can drop this led-on-a-circle component into any design.

I hope this helps.