How to make good looking PCB photo? - Page 1
Forum section: electronics / beginners

author: Avien
author_rank: Contributor
timestamp: January 28, 2014, 12:24:49 am
content: Hello.I would like to ask how are you making good looking photo of your PCB with every component soldered?I am trying to do some myself, but light always get in my wayreflection, too bright or too dark, etc...Do you use some kind of stand, with white or black background?I need those photos to paste them in my engineering workAny tips will be appreciatedAvien

author: Thor-Arne
author_rank: Unknown
timestamp: January 28, 2014, 01:04:39 am
content: Try getting or making a light tent.

author: pickle9000
author_rank: Super Contributor
timestamp: January 28, 2014, 01:18:13 am
content: Take the pics outside on a cloudy day, use a zoom lens and a tripod.

author: AlfBaz
author_rank: Super Contributor
timestamp: January 28, 2014, 01:20:45 am
content: What sort of camera do you have?If you can set the shutter speed and focal length then just use ambient light.Set it to a high f number so that the whole board is in focus and then adjust the shutter speed to give you good exposure. just a little ambient light should give you no reflectionsThe 2 pics below where taken at f6.3 during the day, the first with the curtains open with an 8 second exposure the second one with the curtains closed, lights off and pretty dark in the room with a 30 second exposure.Place the camera on a stand or something stable and do a timed exposure. this allows you to press the shutter release and give the camera a moment or two to stop rocking before it takes the picture

author: TonyGreene
author_rank: Contributor
timestamp: January 28, 2014, 01:57:09 am
content: If you have a camera, where you can change the ISO setting, set it as high as you can go before you lose resolution.I have a DSLR and several wireless controlled electronic flashes. I set up a light tent/softbox and then use a flash on each side and the top. I am able to max out to F22 where focus is not as critical. (It is critical, but your depth of field is wider).You can use a polarizing filter to block reflections.A light tent/sof-tbox is easy to make, find a cardboard box and cut the sides out. You can use a white bed-sheet, old white tee shirts, a white tablecloth........

author: linux-works
author_rank: Super Contributor
timestamp: January 28, 2014, 03:21:59 am
content: some of my tricks as an amateur photog-yes, you need a tripod. use the self timer as a way to avoid jarring the camera as you press the button. self-timer presses itself and you get less shake that way.totally avoid flash unless you are experienced with it. stay with static available light. use as much f-stop as you can afford (highest number, then back a few clicks but still toward the high numbers). you want depth of field to help you in focus.do a manual white-balance. get a white piece of paper and read your cam's guide on how to do a manual white balance.for lighting that is hard; I sometimes set the shutter speed manually to a long time and use a high number f-stop. that underexposes by a lot. that's what I want, sort of: the idea is to keep the shutter open a bit longer and 'light paint' with a flashlight (or smartphone with a full white screen) on the subject, trying to illuminate all the nooks and crannies. try for a few seconds of shutter speed and move your 'flashlight' around to cover the angles, while trying NOT to bump anything! it can give some success if you practice.shoot at a slight angle or a heavy angle. straight on shots are hard and will show reflections too much.use a wide angle lens but not too wide. again, you want depth of field to help you get more of the board in focus (assuming the board is at a bit of an angle).finally, in post processing, try the 'shadow/highlight' tool (goes by many names). bring out detail in the shadows but mostly bring DOWN the brightness of the solder blobs. ie, 'compress' the dyn range a bit so that the tech details can be seen.also in terms of PP, bring your photo in and immediately upres it to 24bits from the usual 8bit jpg. do all your work at 24bit and only down-res at the VERY last stage before you save-as your final jpg. do your processing at full bit resolution (max x,y) and don't resize until the very end. once you are done with clone tool or shadow/highlight or contrast or levels (etc etc), then downres to print size (1024x768 or whatever you want). after a resize, you MUST resharpen! use a smart sharpen tool or unsharp mask. use to-taste. don't over-do it. its like a treble control for audio; people sometimes use too much and its not realistic anymore. and once you are done sharpening, you then convert down to 8bit format and save-as a jpg.HTH

author: linux-works
author_rank: Super Contributor
timestamp: January 28, 2014, 03:26:48 am
content: Quote from: TonyGreene on January 28, 2014, 01:57:09 ammy DIY lightbox from a few years ago, using frosted white plexiglas and some nearby cool bulbs:

author: pickle9000
author_rank: Super Contributor
timestamp: January 28, 2014, 04:22:15 am
content: This would make a good eevblog, Dave could try and compare a few methods.

author: ivaylo
author_rank: Frequent Contributor
timestamp: January 28, 2014, 08:50:02 am
content: If you don't have things sticking out too much from the board nothing beats a flatbed scanner...

author: george graves
author_rank: Super Contributor
timestamp: January 28, 2014, 09:03:35 am
content: Check out this tutorial.http://www.adafruit.com/blog/2010/08/25/how-to-take-great-photos-of-your-projects-the-adafruit-photo-tutorial-by-johngineer/

author: richard.cs
author_rank: Super Contributor
timestamp: January 28, 2014, 10:07:10 am
content: Quote from: ivaylo on January 28, 2014, 08:50:02 amAgreed, we use this method all the time at work. It's not unusual to open the colour photocopier and find someone's PCB. We do sometimes remove very tall components (usually electrolytics) to get better results but most of the time it's fine

author: BravoV
author_rank: Super Contributor
timestamp: January 28, 2014, 10:35:18 am
content: A lot of good advices, but some need preparations that imo are too overkill if you just want to havequick & easyclose up shots with "good enough" quality, imo.1st, what is your current camera ?Hint :1. If its cell-phone cam, then the quality will be very limited (aka sucks).(not recommended and you must have a very steady hand or some sort of tool to hold it firmly)2. If its point & shoot type, then make sure you know how to set timer.3. If its DSLR, then this probably is the best, especially your stock lens can focus near to the object like < 20 cm distance.Also tripod is a must and just buy cheapo one, no need to spend more > $20, and also a table lamp that can easily movable, thats it.I'm awaiting for your answer on your camera type, and will proceed further, trust me, it will be very easy.Few examples of my shots using just cheap P&S camera, but without the need of complicated setup or preparation, like this ->here,here,hereorhere (bigger one).

author: peter.mitchell
author_rank: Super Contributor
timestamp: January 28, 2014, 11:36:01 am
content: A good tip is have the board clean. Very clean. Wash it with alcohol and flux remover, even a tiny amount of dust will show and make the board look bad.Slightly over expose. Most things look better slightly over exposed rather than slightly under exposed, don't risk it, slightly over expose.Even and soft lighting. Shadows and reflections are bad. If you don't have good lighting, do it outside on a cloudy day or about an hour before sunset.Try and do it from as far away as possible, but don't use "digital zoom". The further it is away from the camera, the more uniform the plane of focus (percentage wise), also, if you can get your camera further away then your light source, no shadows.

author: AlfBaz
author_rank: Super Contributor
timestamp: January 28, 2014, 11:46:43 am
content: ...and then there's post processing. I use adobe's lightroom and in conjunction with RAW images as opposed to jpegs where the processing is already performed on camera, you can take a quick snap and fix nearly anything bar out of focus

author: Avien
author_rank: Contributor
timestamp: January 28, 2014, 02:12:28 pm
content: Thank you very much for all those answersmy camera is sony DSC-H7, 8.1 mega pixels with 15x optical zoomI know it sucks nowadays (but it still making very good photos )also my camera in my sgs + (i9001) but I don't think it is worth mentioningI don't have any tripodbut I will try making a stand with some books etcFirst I will start with cleaning my board a little.It is an universal tht board with too many big components to use flatbed scanner (2 or 3 PCB on top of it)

author: linux-works
author_rank: Super Contributor
timestamp: January 28, 2014, 03:56:48 pm
content: even a cheap tripod will give better results than hand-holding. if you must hand-hold, use the 'poor mans tripod' aka, the self timer. then when you press the shutter, steady yourself until it self-fires.you can build a 'step tripod' for free. google it. its just a bit of string going to a screw that attaches to your tripod mount on the camera. you step on the string, pull UP and that creates at least one axis of 'steady' to give you better vertical anti-shake. (its a trick we would use in a museum where there are 'no tripods allowed' and yet you can get at least some steadying this way and it does not take any setup time nor does it block anyone from walking by).

author: eliocor
author_rank: Unknown
timestamp: January 28, 2014, 05:28:28 pm
content: It depends on what photo I need to do: sometimes if I need hi-def details, I use my Epson Perfection V500 Photo scanner.You can see some results at the following links (beware: pictures are rather big!):http://www.rhodiatoce.com/pics/time-nuts/FE-5680A/FE-5680A_Bottom001.jpghttp://www.rhodiatoce.com/pics/time-nuts/FE-5680A/FE-5680A_Bottom001_noIC.jpghttp://www.rhodiatoce.com/pics/time-nuts/FE-5680A/FE-5680A_Top001.jpghttp://www.rhodiatoce.com/pics/time-nuts/FE-5680A/FE-5680A_Top001_noIC.jpgfromFEI 5650A Option 58 Rubidium Oscillatorpage.Please take care that not all scanners have the required depth of field to get all PCB on focus. Canon ones (IIRC) are not so good at.Otherwise I use my DSLR with 3 studio flash banks, but this is another story...

author: Avien
author_rank: Contributor
timestamp: January 28, 2014, 05:56:27 pm
content: I've got brother dcp-j315w and it's making crapy scansstill trying to take some good photos without tripod

author: marshallh
author_rank: Unknown
timestamp: January 28, 2014, 06:03:01 pm
content: I use a canon SX20-IS and zoom in all the way. This gives a DOF range about 6 feet from the camera.It is tripod mounted with a 10 secong shutter timer (otherwise it shakes far too much).Set ISO to slowest possible (80) and expect a second or longer shutter time. Multiple soft lights are best.You can also take pictures outside if there is good sunlight (but take the picture with the reflected light, not direct, such as under an awning or overhang)Just outside under the porch in summer, on a couple sheets of printer paper

author: Avien
author_rank: Contributor
timestamp: January 28, 2014, 08:32:19 pm
content: After many trials I manage to take good looking photosProblem was as many of you said with optimal exposure and shaking handsso first I tried to hang camera... that was stupid....then I came up with this (attached picture)next time I will buy even the cheapest tripod!anyway thank you one more time for all of your tips and advicesAvien

author: linux-works
author_rank: Super Contributor
timestamp: January 28, 2014, 09:18:01 pm
content: go to an art supply store and find some flexible white foam. bend that into the classic 'slope' and that will be your background. be sure to get a large enough piece, as you try different angles, you want the slope to still be in the shot for most of the frame.use the clone tool once you have cropped in as close as you can and if there are edges on the photo that were not covered by the white slope.

author: EPAIII
author_rank: Super Contributor
timestamp: January 29, 2014, 08:25:36 am
content: This was done quick and dirty. Olympus VR-320. Flash off. On a white card on top of a chair in my den. Two 2 tube fluorescent fixtures above with daylight bulbs, one on each side. Macro mode and hand held. I took several shots in case some were blurred from motion.I then used Photoshop (Paint.net, which is free, would work just as well) to jack up the gamma curves for a brighter effect in the darker areas and I cropped it to final size, probably in Microsoft Paint because cropping is easier there than in Photoshop. Don't go wild with changing the gamma curves or you will get some strange effects. But the gamma correction is really the thing. Here is what it looked like without that:

author: qno
author_rank: Frequent Contributor
timestamp: January 29, 2014, 09:03:54 am
content: The most important thing is practice.Below just a picture made in the morning with my old Nokia 808.

author: vandersonpc
author_rank: Contributor
timestamp: January 29, 2014, 10:39:52 am
content: The most important fo any kind of photo is light! If you have a proper light it's more than 80% of your picture! I normally took my pictures using my iPhone camera and try to use some indirect light from windows, lamps, etc...For more professional look, you can build your own photo light box as described on the links below!http://digital-photography-school.com/how-to-make-a-inexpensive-light-tenthttp://www.wikihow.com/Create-an-Inexpensive-Photography-Lightboxhttp://www.diyphotography.net/how-build-pvc-diy-photo-light-boxhttp://www.flaxandtwine.com/2013/02/diy-photo-light-box-finish-fifty-project.htmlhttp://makezine.com/2006/07/27/diy-light-box/Cheers, Vanderson

author: EPAIII
author_rank: Super Contributor
timestamp: January 29, 2014, 08:19:09 pm
content: My photo experience goes back over 50 years and I have even built my own darkrooms in the days of film and chemical development. You are quite right that increasing the exposure by a stop or two would greatly improve the photo that I posted. However, even with that, I find that the gamma match between digital cameras and computer screens is not good. Even with perfect exposure, the details in the darker parts of the screen are somewhat hidden by this problem. Both Photoshop and Paint.net have a very easy to use and effective gamma curve tool to combat this. It is the one feature of both programs that I use over and over.Here is a depiction of the use of those tools:You can brighten the white background and other white areas of the photo with more exposure, but it will not have the same, dramatic effect on the dark areas. You can see that the darker areas are greatly enhanced by comparing the lower left portions of the curves. In the days of film I hungered for an easy way to do things like this. Now it is so simple and available to everyone. Isn't technology great?It only took about 5 minutes to both gamma correct the photo and to make the compilation (in MS Paint) of the two with the text inbetween. The gamma tool really is easy and fast to use.Quote from: wilfred on January 29, 2014, 10:01:35 am

author: EPAIII
author_rank: Super Contributor
timestamp: January 29, 2014, 08:32:35 pm
content: Here's a quick two point gamma correction of Vandersonpc's photo:And a correction at both dark and light areas to marshallh's photo:In this last one I increased the contrast in both the light and dark areas while decreasing it in the middle tones. So both the darker and lighter areas show more detail and the overall picture is much more attractive and informative.A problem here is that I saved both of those screen shots using MS Paint but I did not gamma correct them so the photos in them are a bit washed out. They both looked better while on the screen in Paint.net.

author: schwarz-brot
author_rank: Regular Contributor
timestamp: January 29, 2014, 08:45:46 pm
content: Quick and dirty tip: Besides using as much light as possible it is often very helpful to use your flash. It is there for a reason! To avoid those nasty reflections simply take a piece of semitransparent paper (sandwich paper for example) and hold or stick it over the flash. You get a perfect difusor that gives you lots of soft light in a close range situation. I even did this with "normal" paper for my last teardown as I was too lazy to change the setup.This may help especially if you don't want to dive in too deep into photography and only occasionally have to take very good shots. I am no fan of editing to get a picture right. It is much faster to try and take a good picture than spending your time trying to turn a bad one into a useful one. This of course is not the case if you are very fast and used to work with picture editing software.

author: ivaylo
author_rank: Frequent Contributor
timestamp: January 30, 2014, 07:03:40 am
content: QuoteOh, please no... I was hoping there would be an area of photgraphy untouched by HDR. Very popular among real estate agents in the states nowadays. Ah the drama... Would still be curious to see if it would shift the colors enough to mess up color coded components though

author: AlfBaz
author_rank: Super Contributor
timestamp: January 30, 2014, 11:43:52 am
content: I've done some HDR photo's manually, not in camera, with seemingly complex dedicated hdr software, where you do a braketed exposureIt's not easy to get it to look natural, namely because it isnt. The dynamic range of the human eye is orders of magnitude greater than the best sensors so a picture were light and dark have been brought into the "clarity" domain will always look weird because our eyes are not having to exert their dynamic range.Having said that it's certainly good fun to create these images and some times, judiciously applied, you can glean a little more detail out of things that are usually washed out from over exposure (like clouds) or under exposed like bushes.I cant see the point in using this process on PCB's though, it's mainly for situations where you cant cotrol the lighting and there are very dark and very light areas where exposing for one will cause the other to over or under expose

author: Yago
author_rank: Frequent Contributor
timestamp: January 30, 2014, 11:24:32 pm
content: HDR colour "shift" or weirdness is often because the bracketing is too wide a range.Agree that it's use in PCB photography is limited.Focus stacking could be interesting, macro and rails, a high mag HD movie of a fly over.Not my thing though TBH, never done macro stuff.

author: vandersonpc
author_rank: Contributor
timestamp: January 31, 2014, 08:21:58 pm
content: Quote from: EPAIII on January 29, 2014, 08:32:35 pmGreat tip! I'll use that on my next picture definitely!Cheers, Vanderson

author: linux-works
author_rank: Super Contributor
timestamp: January 31, 2014, 10:58:07 pm
content: I used to play with HDR, back when my small sensor superzoom was noisy and could not capture a full range.now, most cams are good enough. the key is not to over-expose. almost always you want to set the EV down to 1/3 or even lower. for shiny silver things like solder, -1 is not unheard of.then, bring out the shadows with the shadow/highlight tool (sometimes called other things).you will get a noisier picture so be careful. to denoise, try noiseninja or neatimage (2 that come to mind; I use neatimage and its a great color-noise (red/blue blotch) fixer).curves are a fancy way of doing contrast and it often helps a photo 'pop' when you give at least some of an 'S-like' curve.but shadow/highlight is my fave tool. it lets me lower the brightness of the soldering and bring out chip detail markings on black TTL chips, etc.