EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.userchat.eng » Unable to delete certain object.
Unable to delete certain object. [message #168202] Mon, 09 January 2017 11:27 Go to next message
Aaron Qwe
Messages: 8
Registered: January 2017
Junior Member
Hi, I'm a new user of EAGLE. I'm trying to use EAGLE to design a PCB with Arduino Mega 2560 with some sensors. So the only thing I need for the design is the exact pin spacings and some elementary design with connectors.

So what I'm doing is I downloaded the EAGLE file from Arduino website, then I deleted any components that I do not want from the original file, only leaving the pad for the pin spacing. However, when I tried to delete an object from the top layer, which has some connections for it's microcontroller, no matter how I clicked the it, it wouldn't be deleted. Thus if I were to fabricate it, I would assume there would be connections that I do not want that will be printed(?)

Here's a capture of the layers I have, top layer is the one I want to remove.
https://s23.postimg.org/5x2mnpmwb/Capture.png

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212627
Re: Unable to delete certain object. [message #168203 is a reply to message #168202] Mon, 09 January 2017 11:44 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
Hi Aaron,

From the picture and the description its not immediately apparent to me what you are trying to delete. There are a couple of things to try off the top of my head, first check that you have the tOrigins layer turned on. Without tOrigins you can't select a component and therefore wont be able to delete it. Secondly check that it's not locked. Right click on the object and you get get a pop up context menu. If it says "unLock" in the menu then it is currently locked. If this is the case select the "unLock" option.

I assume you have both the schematic AND the board file open together? If not then they will be out of sync and will mean back annotation wont work. The other thing which could be stopping you deleting is that components should be deleted from the schematic and not from the board. If this was the error you'd get a pop-up message telling you so which as you haven't said this is probably not the case.

Best Regards,

Rachael

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212628
Re: Unable to delete certain object. [message #168204 is a reply to message #168203] Mon, 09 January 2017 11:48 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
> rachaelp wrote:
>
> I assume you have both the schematic AND the board file open together? If not then they will be out of sync and will mean back annotation wont work. The other thing which could be stopping you deleting is that components should be deleted from the schematic and not from the board. If this was the error you'd get a pop-up message telling you so which as you haven't said this is probably not the case.
On reading back what I wrote and looking at what you are doing again, I actually now think you have just the board open and are deleting components directly from there. If so then this is probably not what you want to do. Re-download the files if you don't have an unedited copy of the board and open them both up and then delete what you don't want from the schematic. They will all be removed from the board by the automatic back annotation. Then switch to the board and tidy up and tracks and polygons which remain that you no longer need.

Best Regards,

Rachael

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212629
Re: Unable to delete certain object. [message #168205 is a reply to message #168204] Mon, 09 January 2017 13:50 Go to previous messageGo to next message
Aaron Qwe
Messages: 8
Registered: January 2017
Junior Member
Thanks Rachel for your input. Actually I started from deleting components from the schematic, then I realized there are few things that can only be deleted from the board window, i.e. ground pour, text, Via etc.

So I'm down to this components in the schematic, https://s28.postimg.org/kgykri2i5/capture2.png. (https://s28.postimg.org/kgykri2i5/capture2.png)
If the picture isn't really clear, I've uploaded a schematic of it, https://www.dropbox.com/s/1x6jtwo055v150h/Arduino_MEGA_2560-Rev3.sch?dl=0

I downloaded the eagle files directly from Arduino's website, is there a chance that is prevents me from deleting some components because it comes in the package?

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212635
Re: Unable to delete certain object. [message #168206 is a reply to message #168205] Mon, 09 January 2017 13:56 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
Hi Aaron,

So it's the 6 holes you need to be able to delete then? I downloaded and had a look at the Mega 2560 schematics from Arduino's website and I could delete the holes once I turned holes layer (45) on.

Best Regards,

Rachael

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212636
Re: Unable to delete certain object. [message #168207 is a reply to message #168206] Mon, 09 January 2017 13:59 Go to previous messageGo to next message
Aaron Qwe
Messages: 8
Registered: January 2017
Junior Member
Nope, I'm referring to the top layer in the middle(red in color). I need the 6 holes as I need to do some design using the pin layout.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212637
Re: Unable to delete certain object. [message #168208 is a reply to message #168207] Mon, 09 January 2017 14:03 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
Ok, I must be completely misunderstanding what you are trying to achieve. That's the pads of the ATMEGA2560 which is still in your schematic. I thought you wanted to keep this?

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212638
Re: Unable to delete certain object. [message #168210 is a reply to message #168208] Mon, 09 January 2017 14:12 Go to previous messageGo to next message
Aaron Qwe
Messages: 8
Registered: January 2017
Junior Member
Okay maybe I'll need to rephrase my question.

So in the board window, there are currently few layers on it, one of them is the top layer right? Which is in red colour(refer to the image in my very first post).
Problem: I want to keep all the other layers except for the top layer(red color layer) for now, but the delete function does not seem to function for me.

I apologize if I still sound crazy haha, this is my second try at eagle.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212639
Re: Unable to delete certain object. [message #168212 is a reply to message #168210] Mon, 09 January 2017 14:29 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
> Aaron Qwe wrote:
>
> I apologize if I still sound crazy haha, this is my second try at eagle.

I'll be honest, it does a little but maybe that's because I don't understand what you are really trying to achieve so lets take a step back. So why don't you want the top layer of the board?

The pads of the ATMEGA2560 which are on the top layer are part of the component. You can't just remove those unfortunately. Why do you want the ATMEGA2560 in the schematic if you don't want it's pads on the board?

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212641
Re: Unable to delete certain object. [message #168213 is a reply to message #168212] Mon, 09 January 2017 14:41 Go to previous messageGo to next message
Aaron Qwe
Messages: 8
Registered: January 2017
Junior Member
Well my objective is to only have the pin spacings from the original board layout. From there, I'll introduce some connectors that will connect to some of the I/O pins of the Arduino Mega.

So my understanding on how to achieve this was to remove everything except for the drill/hole that is situated at the I/O pin, including the pads of the ATMEGA2560 because I thought that including it would have it been fabricated too.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212643
Re: Unable to delete certain object. [message #168215 is a reply to message #168213] Mon, 09 January 2017 14:45 Go to previous messageGo to next message
Markus Rudolf
Messages: 181
Registered: September 2008
Senior Member
You may want to follow a different approach and have a look here:

https://www.element14.com/community/community/arduino/blog/2013/11/05/final ly-an-arduino-library-for-eagle

Markus
Re: Unable to delete certain object. [message #168217 is a reply to message #168213] Mon, 09 January 2017 14:46 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
So you just want to make a generic board template on which to base your own board which will will plug into an Arduino?

If that's the case just delete the ATMEGA2560 from the schematics, nothing you have said gives any reason for it still to be there as far as i can see.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212644
Re: Unable to delete certain object. [message #168219 is a reply to message #168215] Mon, 09 January 2017 15:37 Go to previous messageGo to next message
Aaron Qwe
Messages: 8
Registered: January 2017
Junior Member
Definitely would look into it! Thanks

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212588
Re: Unable to delete certain object. [message #168221 is a reply to message #168217] Mon, 09 January 2017 15:38 Go to previous messageGo to next message
Aaron Qwe
Messages: 8
Registered: January 2017
Junior Member
Yeap, I tried doing that from the schematics, but all I get is a "blank" sound notification. I cant select the ATMEGA whatsoever or do anything with it.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212589
Re: Unable to delete certain object. [message #168222 is a reply to message #168221] Mon, 09 January 2017 15:49 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
That's really odd as it deletes fine for me. Are you sure you are clicking near to the origin of the symbol which in this case is right in the middle of the symbol. I get the "boing" sound if I try to click too far away from the origin.

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212651
Re: Unable to delete certain object. [message #168224 is a reply to message #168221] Mon, 09 January 2017 15:59 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
I decided it would just be easier to do it for you as it was only a 2 minute job to clear everything out and zip it up. See the attached......

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212653

Attachments:
Arduino Blank.zip
Re: Unable to delete certain object. [message #168249 is a reply to message #168224] Tue, 10 January 2017 02:29 Go to previous messageGo to next message
Aaron Qwe
Messages: 8
Registered: January 2017
Junior Member
Yes, it is exactly as you said. I tried clicking way further than the origin. Thanks for the help!

I actually have one more question, referring to what I want to do. Do I use holes or drills if what I want to do is just introduce some connectors and make connection to to the I/O pins?

From my understanding I would need to use drills right?

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212699
Re: Unable to delete certain object. [message #168251 is a reply to message #168249] Tue, 10 January 2017 07:45 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
Hi Aaron,

It sounds like what you are describing there is plated through holes which in EAGLE can be done in the board by adding a via with a large drill size setting and giving it an appropriate name to match the net it is to connect with. Alternatively (and a better way to do it) you can create a library part for plated holes with various hole sizes specified in the part. You place this in your schematic and wire it to wherever you need and then the pads and air wires will show in the board so you can place it where you need and route it.

But do you want plated through holes or do you want to place a part for a specific connector you wish to add? Again, a component can be created and then this will be added in the schematic and wired up, and will then appear in the board to be placed and routed.

Let me know what you are trying to do and I will give you more specific help if you need it.

Best Regards,

Rachael

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/212703
Re: Unable to delete certain object. [message #168252 is a reply to message #168249] Tue, 10 January 2017 07:57 Go to previous messageGo to next message
Rob Pearce
Messages: 487
Registered: September 2012
Senior Member
On 10/01/17 02:29, Aaron Qwe wrote:
>
> I actually have one more question, referring to what I want to do. Do I use holes or drills if what I want to do is just introduce some connectors and make connection to to the I/O pins?
>
> From my understanding I would need to use drills right?
>
No.

Rachael has helped you achieve what you were trying to do but I note
Markus gave the rather more significant advice that you're probably
trying to do the wrong thing. I'm still not entirely clear on what your
"end goal" is, but I think you're trying to create a template for
designing shield boards? If so...

Editing an existing Arduino (host) design to get a minimal board is the
wrong approach. What you ideally want is an Arduino shield pin-out as a
library component. This component would have the signal names of the
Arduino as pins on the schematic symbol, and a PCB package consisting of
holes for the mounting holes and through-hole-pads for the header pins.
Then, for each new shield you design, just drop one of these into the
schematic along with all your other components, wire it up, and the
board will have a template complete with all the air wires.

There are a few of these knocking about, including the one Markus linked
to. But to be honest, I designed one from scratch (for the CooCox
"Embedded Pi" but it's much the same) using measurements from Google
searches, and the whole process took less time than this discussion thread.
Re: Unable to delete certain object. [message #168254 is a reply to message #168252] Tue, 10 January 2017 08:16 Go to previous messageGo to next message
rachaelp
Messages: 608
Registered: March 2015
Location: UK
Senior Member
Rob Pearce wrote on Tue, 10 January 2017 07:57
On 10/01/17 02:29, Aaron Qwe wrote:
>
> I actually have one more question, referring to what I want to do. Do I use holes or drills if what I want to do is just introduce some connectors and make connection to to the I/O pins?
>
> From my understanding I would need to use drills right?
>
No.

Rachael has helped you achieve what you were trying to do but I note
Markus gave the rather more significant advice that you're probably
trying to do the wrong thing. I'm still not entirely clear on what your
"end goal" is, but I think you're trying to create a template for
designing shield boards? If so...


I'm in complete agreement with Rob and Markus here, it's probably not the best approach as, in the process of doing what you have done, you have ended up with a board which is the right shape with all the connectors on it but it's lost the detail of what the pinout of the connectors is so you'll have to look up on the actual Arduino pinout every time to make sure you connect things to the right place. It's definitely not the ideal solution. Using an Arduino library component to provide the starting point of your shield, all the information which enables mapping of functions to the correct pins on the connectors is retained.

Best Regards,

Rachael


Re: Unable to delete certain object. [message #168263 is a reply to message #168254] Tue, 10 January 2017 19:26 Go to previous message
warrenbrayshaw
Messages: 1768
Registered: January 2010
Location: New Zealand
Senior Member
On 10/01/2017 9:16 p.m., Rachael wrote:
> Rob Pearce wrote on Tue, 10 January 2017 07:57
>> On 10/01/17 02:29, Aaron Qwe wrote:
>>>
>>> I actually have one more question, referring to what I want to do.
>>> Do I use holes or drills if what I want to do is just introduce some
>>> connectors and make connection to to the I/O pins?
>>>
>>> From my understanding I would need to use drills right?
>>>
>> No.
>>
>> Rachael has helped you achieve what you were trying to do but I note
>> Markus gave the rather more significant advice that you're probably
>> trying to do the wrong thing. I'm still not entirely clear on what
>> your
>> "end goal" is, but I think you're trying to create a template for
>> designing shield boards? If so...
>
>
> I'm in complete agreement with Rob and Markus here, it's probably not the
> best approach as, in the process of doing what you have done, you have
> ended up with a board which is the right shape with all the connectors on
> it but it's lost the detail of what the pinout of the connectors is so
> you'll have to look up on the actual Arduino pinout every time to make sure
> you connect things to the right place. It's definitely not the ideal
> solution. Using an Arduino library component to provide the starting point
> of your shield, all the information which enables mapping of functions to
> the correct pins on the connectors is retained.
>
> Best Regards,
>
> Rachael
>
>
>

Just to remind others following this thread, now that the OP has the
board outline and connectors, they could run the ULP
'make-group2pac.ulp' to make the package for the library.

HTH
Warren

--
.... use NNTP://news.cadsoft.de and a functional news reader like
Thunderbird!
.... or http://www.eaglecentral.ca browser access to CadSoft EAGLE
support forums.
Previous Topic: local/user information in a ULP?
Next Topic: EAGLE v8 subscription thoughts for non-commercial use
Goto Forum:
  


Current Time: Wed Oct 18 05:56:31 GMT 2017