electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
  host / artist show at your time
<on air> Twyndyllyngs live tonight! Chez Mosc
 Forum index » DIY Hardware and Software
Tweaking PCB pics for Press-N-Peel?
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [14 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
CJ Miller



Joined: Jan 07, 2007
Posts: 368
Location: 127.0.0.1

PostPosted: Mon Jun 16, 2008 7:26 am    Post subject: Tweaking PCB pics for Press-N-Peel?
Subject description: trying to make sure my first PCBs don't get ruined!
Reply with quote  Mark this post and the followings unread

I have been looking forward to making my first PCBs for some time. A few things cinched it lately - I didn't think that I had PNP or a clothes iron, but it seems that I do. And I definately have board layouts which I'd love to try etching. I am as n00b, though, so my first PCBs are other people's work. This way I get to hopefully try some cool old projects I've heard about, and the troubleshooting process should be much simpler.

My wife has Photoshop, so I used it to panel the art for an 8"x10" copper board, which I then plan on cutting into module-sized pieces. I have found my way around well enough to figure out a few things like positive/negative, contrast, rotation, size, pixel density, and layers. But now that I am printing it out on paper to test, I am nervous about the quality of the lines. Way too many jaggy edges.

Any tips from some of you more-experienced people who have done this sort of thing? Since these are just lines in black, I am hoping that there is some kind of edge detection which can be done to make them crisp - or even convert them into vectors. Then my laserjet should be able to make a nice printing of these. As things are, I'm afraid I should hold off until I get better edges on here. I would be grateful for any advice here.
Back to top
View user's profile Send private message
andrewF



Joined: Dec 29, 2006
Posts: 1176
Location: australia
Audio files: 4

PostPosted: Mon Jun 16, 2008 8:07 am    Post subject: Reply with quote  Mark this post and the followings unread

I set the printer to blurt ink at 1200dpi, a lot of printing software is different so best to explore yours and do plenty of test prints before the P&P.

could you post an image to show the jagged edges?

Btw - i don't use P&P anymore, $33 for 6 sheets in Australia.
now its ceramic based matte photo paper - $15 for 100 sheets!
bit more hassle to remove the paper after ironing - long soak in water. Otherwise just as good.

good description here - http://www.users.on.net/~endsodds/pcb.htm
Back to top
View user's profile Send private message Visit poster's website
CJ Miller



Joined: Jan 07, 2007
Posts: 368
Location: 127.0.0.1

PostPosted: Mon Jun 16, 2008 8:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi Andrew! I will try to post some comparisons later. I've been messing around and now it is far past my bedtime! And thanks for the tip about that paper, I want to learn more.

What I've done is open one of the pictures in Illustrator. It turns out that there are raster>vector features here which sound like what I want. But I don't know what the parameters mean or how they work yet. And to compound matters, I don't know how Illustrators tools work. The vector process completely improves the lines, but the pads become less defined. I tried using "tools" to draw circles and rectangles for the pads. They looked perfect - except that they always have a border around them! So my new pads aren't connected. I'll figure something out later, but I need to sleep now...zzz
Back to top
View user's profile Send private message
Luka



Joined: Jun 29, 2007
Posts: 1003
Location: Melb.

PostPosted: Mon Jun 16, 2008 9:00 am    Post subject: Reply with quote  Mark this post and the followings unread

andrew your are awesome
i was just about to buy PnP

cheers

_________________
problemchild
melbourne australia
http://cycleofproblems.blogspot.com/
http://www.last.fm/user/prblmchild
Back to top
View user's profile Send private message
fluxmonkey



Joined: Jun 24, 2005
Posts: 708
Location: cleve

PostPosted: Mon Jun 16, 2008 10:42 am    Post subject: Reply with quote  Mark this post and the followings unread

http://www.electro-music.com/forum/viewtopic.php?highlight=peel&t=21654
Back to top
View user's profile Send private message
Peake



Joined: Jun 29, 2007
Posts: 1113
Location: Loss Angeles
Audio files: 3

PostPosted: Mon Jun 16, 2008 1:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

I've just started at this using Photoshop as well, truly the most difficult method, I'm told. The pencil becomes a line tool, you can of course change the trace widths, and using a thin width plus the IIRC shift plus mouse click, add or undo the thickness of traces (using white or black tone). Save multiple edits as you flatten the layers so that you can then connect new pads, etc.

I hope to move to something easier, and recommend it to you as well.
Back to top
View user's profile Send private message
CJ Miller



Joined: Jan 07, 2007
Posts: 368
Location: 127.0.0.1

PostPosted: Tue Jun 17, 2008 6:57 am    Post subject: Reply with quote  Mark this post and the followings unread

That was a lot of sleep, I needed it. Now I am back on the case for a few hours.

bbob - Thanks for reminding me of this thread you linked. I am particularly amazed by the direct etchant printing! I have seen many discussions about materials and techniques, but I started this thread because I usually see no mention of preparing the graphics files themselves for printing. This is an aspect of synth diy which I hadn't thought much about before.

Peake - It seems that there are many capable applications for making one's own PCB layouts. I would never try making a new layout in Photoshop nor Illustrator, if I could help it. My concern here is taking jpegs and other such graphic files of PCB art and cleaning them up prior to printing. These types of graphics apps do seem ideally suited to this sort of task. The problem is mainly my lack of familiarity with the tools.
Back to top
View user's profile Send private message
CJ Miller



Joined: Jan 07, 2007
Posts: 368
Location: 127.0.0.1

PostPosted: Tue Jun 17, 2008 7:50 am    Post subject: Reply with quote  Mark this post and the followings unread

andrewF wrote:
could you post an image to show the jagged edges?


I think so. This is an image of the PCB from VTL5C3's vactrol slew circuit from this post:
http://electro-music.com/forum/viewtopic.php?highlight=buchla&t=19064
I chose this to fill in a corner of my 8"x10" page because: 1. it is small, two of them just fit there 2. it is cool and useful, I want to play with it 3. the lines are really sharp. The jpg image from the thread is really large, so I imported it and resized so that a printed image on paper was proper DIP spacing. See the attatchments below for how sharp the lines looked at first, and then after it was resized.

My concern here is, how do I PnP really crisp edges if the pictures I am working from get fuzzy? It didn't take much to introduce noise into the picture. My thinking here is from printing PostScript and PDF documents, and looking at PDF schematics. Once the stuff is defined as vectors, it scales perfectly without losing quality. Hopefully the output of a routing program can specify this as an option for export. But dealing with lots of old scans from magazines and stuff found on the web, there's got to be ways of converting the raster bitmap to vector. Short of completely redrawing the image, which saves no work and introduces more possible errors. I made some progress on this last night.


buchla_vtl_slew-original.jpg
 Description:
This is how the area of VTL5C3's circuit appeared as first posted, in oversize jpg
 Filesize:  51.77 KB
 Viewed:  8230 Time(s)

buchla_vtl_slew-original.jpg



buchla_vtl_slew-segment.jpg
 Description:
This is the same area of VTL5C3's circuit after having been reversed and shrunk to actual size. I blew it back up large again for comparison.
 Filesize:  41.29 KB
 Viewed:  8230 Time(s)

buchla_vtl_slew-segment.jpg


Back to top
View user's profile Send private message
fluxmonkey



Joined: Jun 24, 2005
Posts: 708
Location: cleve

PostPosted: Tue Jun 17, 2008 8:15 am    Post subject: Reply with quote  Mark this post and the followings unread

I do a lot of PCB artwork cleanup in photoshop, altho i've learned some tricks it can be either tedious or meditative. various tools i often use:

i edit at 300dpi; increase the resolution of the original file if necessary.

sharpen filters, including unsharp mask and sharpen edges.

select the white bg with the magic wand... antialiasing on and some tweaking of antialias value can help, plus select contigious only so you don't select the component holes. once you have a good selection, use the stroke command to smooth edges or enlarge traces.

create a library of good (not fuzzy) elements like IC sockets and component donuts. in a separate file, overlay the crisp elements on top of the fuzzy originals.

i've even gone so far as to redraw the entire pcb artwork on separate layers (one for components, one for traces) and turning the original image layer off. really not that much work for most sdiy-size schemos.

bbob
Back to top
View user's profile Send private message
andrewF



Joined: Dec 29, 2006
Posts: 1176
Location: australia
Audio files: 4

PostPosted: Tue Jun 17, 2008 9:29 am    Post subject: Reply with quote  Mark this post and the followings unread

One problem with p&p, is trying to feed the stuff into your laser printer - the best technique, at least it has never failed for me ....I think Fonik posted it?...print out your pcb image (just one pcb at a time, not the whole collection) on a normal sheet of paper. cut out a piece of p&p big enough to cover the image with 1/4inch to spare on each side. scotch-tape the p&p cutout over the image, I just do the top and bottom, and feed the paper back into your printer. voila!

In the thread, bbob linked to, check out the last post on page two from Randaleem. He describes how to use the print program 'scale printing' function to get a correct sized print.

To find the scaling amount, enlarge the PCB image as much as possible in photoshop. turn on the grid function, move the image so you can measure the spacing between two IC pins. The pins for PDIP chips should be 2.54mm, from centre to centre (Have a look at the last page of any IC datasheet for dimensions). so if, for example, you measure 4.50mm between two pins in Photoshop, calculate the % to scale by using 2.54/4.50 = 56.44%.
In Print Options, 56.44% in 'scale'.
It doesn't have to be precisely accurate, near enough=good enough.
Plus all the usual tweaks to get as much ink as possible onto your blue P&P!
Back to top
View user's profile Send private message Visit poster's website
scriptstyle



Joined: Jan 22, 2008
Posts: 250
Location: nj

PostPosted: Tue Jun 17, 2008 10:46 am    Post subject: Reply with quote  Mark this post and the followings unread

if you want a good vector image with minimal work out of a web based image(pdf, jpeg) this is what i do:

1. open image with illustrator
2. select image and go to >object >live trace > tracing options
3. select the preveiw box and change things like blur% and corner angle untill you have what you are looking for
4. when done with that you will be able to go back to object > expand and you should be all good.

hope this helps i use photoshop alot too, but this seems to be the quick and easy solution for most situations for me.

garret
Back to top
View user's profile Send private message
asafnetzer



Joined: Jun 16, 2007
Posts: 112
Location: Israel

PostPosted: Tue Jun 17, 2008 12:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

If using cs2 / cs3 version of photoshop, try this method when scaling.
Choose the right layer, goto layer --> smart objects --> convert to smart object.
Then use the free transform tool to scale that layer, being in smart object mode it should remain crisp.
Ofcourse if drawing a new circuit design you should go with Illustrator if possible, you could construct a bank of pads, lines...

Best regards,
Asaf
Back to top
View user's profile Send private message
CJ Miller



Joined: Jan 07, 2007
Posts: 368
Location: 127.0.0.1

PostPosted: Thu Jun 26, 2008 3:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok, I'm getting there!

Thanks much for relating your experiences, everyone. I was surprised that this info was missing from the searches I was doing before. Hopefully people will find this helpful.

On my setup, print scales just fine, so no worries there. As for feeding press-n-peel through my printer... haven't tried it yet. My printer has a front feed tray for envelopes and such, pnp might just go through.

Andrews comments about pin spacing got me thinking. Comparing prints on paper of stuff it turns out that some of my freehand traces of DIP spacing were a bit off. All it takes is for two pins to be a little off, especially in opposite directions, for things to be problematic. So I tried setting the grid meausurement defaults to DIP spacing, and then I use the move tool to position the whole image until pins are centered on some grid, and trace away. Works great and they print spot-on.

Peakes tip about the pencil tool is something which I was just finding out. I guessed that pen was what I was looking for, but pencil was what was required. A few things I found: Drawing while pressing the shift key constrains to drawing straight horizontal or vertical. And for angles, all I needed to do was draw the straight line up to where the angle goes, release the shift key, move the cursor to the far point of the angle, and then shift-click. The pencil then draws a straight line between any two points, which is very handy.

I was looking into Illustrator and livetrace, but at first my results were very flaky! The far-out traces looked very cool though. Asafnetzer was mentioning first converting the image into a "smart object" before tracing. Sounds good but I don't know what it means/does yet. Will definately look further into this soon.
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Thu Jun 26, 2008 3:44 am    Post subject: Reply with quote  Mark this post and the followings unread

andrewF wrote:
One problem with p&p, is trying to feed the stuff into your laser printer - the best technique, at least it has never failed for me ....I think Fonik posted it?...print out your pcb image (just one pcb at a time, not the whole collection) on a normal sheet of paper. cut out a piece of p&p big enough to cover the image with 1/4inch to spare on each side. scotch-tape the p&p cutout over the image, I just do the top and bottom, and feed the paper back into your printer. voila!

partly off topic and i've posted it before. nevertheless some might find this helpful:
photoessay p&p
photoessay etching

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [14 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use