Reflow Soldering At Another Level

We’re used to reflow soldering of our PCBs at the hacker level, for quite a few years people have been reflowing with toaster ovens, skillets, and similar pieces of domestic equipment and equipping them with temperature controllers and timers. We take one or two boards, screen print a layer of solder paste on the pads by using a stencil, and place our surface-mount components with a pair of tweezers before putting them in the oven. It’s a process that requires  care and attention, but it’s fairly straightforward once mastered and we can create small runs of high quality boards.

But what about the same process at a professional level, what do you do when your board isn’t a matchbox-sized panel from OSH Park with less than 50 or so parts but a densely-packed multilayer board  about the size of a small tablet computer and with many hundreds of parts? In theory the same process of screen print and pick and place applies, but in practice to achieve a succesful result a lot more care and planning has to go into the process.

This is being written the morning after a marathon session encompassing all of the working day and half of the night. I was hand-stuffing a row of large high-density boards with components ranging from 0402 passives to large QFPs and everything else in between. I can’t describe the board in question because it is a commercially sensitive prototype for the industrial customer of the friend I was putting in the day’s work for, but it’s worth going through the minutiae of successfully assembling a small batch of prototypes at this level. Apologies then, any pictures will be rather generic.

Continue reading “Reflow Soldering At Another Level”

Little Bobby Tables Just Registered A Company…

Sometimes along comes a tech story that diverges from our usual hardware subject matter yet which just begs to be shared with you because we think you will find it interesting and entertaining.

XKCD 327, Exploits of a Mom (CC BY-NC 2.5).
XKCD 327, Exploits of a Mom (CC BY-NC 2.5).

You will no doubt be familiar with the XKCD cartoon number 327, entitled “Exploits of a Mom”, but familiarly referred to as “[Bobby Tables]”. In it a teacher is ringing the mother of little [Robert’); DROP TABLE Students; –], whose name has caused the loss of a year’s student records due to a badly sanitized database input. We’ve all raised a chuckle at it, and the joke has appeared in other places such as an improbably long car license plate designed to erase speeding tickets.

It's nice to see that Companies House sanitise their database inputs.
It’s nice to see that Companies House sanitise their database inputs.

Today we have a new twist on the Bobby Tables gag, for someone has registered a British company with the name  “; DROP TABLE “COMPANIES”;– LTD“. Amusingly the people at Companies House have allowed the registration to proceed, so either they get the joke too or they are unaware of the nuances of a basic SQL exploit. It’s likely that if this name leaves Her Majesty’s civil servants with egg on their faces it’ll be swiftly withdrawn, so if that turns out to be the case then at least we’ve preserved it with a screenshot.

Of course, the chances of such a simple and well-known exploit having any effect is minimal. There will always be poor software out there somewhere  that contains badly sanitized inputs, but we would hope that a vulnerability more suited to 1996 would be vanishingly rare in 2016.

If by some chance you haven’t encountered it before we’d recommend you read about database input sanitization, someday it may save you from an embarrassing bit of code. Meanwhile we salute the owner and creator of this new company for giving us a laugh, and wish them every success in their venture.

Fail Of The Week: How I Killed The HiPot Tester

Have you ever wired up a piece of test equipment to a circuit or piece of equipment on your bench, only to have the dreaded magic smoke emerge when you apply power? [Steaky] did, and unfortunately for him the smoke was coming not from his circuit being tested but from a £2300 Clare H101 HiPot tester. His write-up details his search for the culprit, then looks at how the manufacturer might have protected the instrument.

[Steaky]’s employer uses the HiPot tester to check that adjacent circuits are adequately isolated from each other. A high voltage is put between the two circuits, and the leakage current between them is measured. A variety of tests are conducted on the same piece of equipment, and the task in hand was to produce a new version of a switch box with software control to swap between the different tests.

This particular instrument has a guard circuit, a pair of contacts that have to be closed before it will proceed. So the switch box incorporated a relay to close them, and wiring was made to connect to the guard socket. At first it was thought that the circuit might run at mains voltage, but when it was discovered to be only 5V the decision was made to use a 3.5mm jack on the switch box. Inadvertently this was left with its sleeve earthed, which had the effect of shorting out a DC to DC converter in the HiPot tester and releasing the smoke. Fortunately then the converter could be replaced and the machine brought back to life, but it left questions about the design of the internal circuit. What was in effect a logic level sense line was in fact connected to a low current power supply, and even the most rudimentary of protection circuitry could have saved the day.

We all stand warned to be vigilant for this kind of problem, and kudos to [Steaky] for both owning up to this particular fail and writing such a good analysis of it.

Our Fail Of The Week series has plenty to entertain the reader who is not of a nervous disposition. This isn’t the first fail to feature a suspect bit of connector wiring, not an unexpected short or even some magic smoke.

In Defense Of The Electric Chainsaw

Here at Hackaday we are a diverse bunch, we all bring our own experience to the task of bringing you the best of the hardware scene. Our differing backgrounds were recently highlighted by a piece from my colleague [Dan] in which he covered the teardown of a cordless electric chainsaw.

It was his line “Now, we’d normally shy away from any electric chainsaw, especially a cordless saw, and doubly so a Harbor Freight special“. that caught my eye. I’m with him on cordless tools which I see as a cynical ploy from manufacturers to ensure 5-yearly replacements, and I agree that cheap tools are a false economy. But electric chainsaws? Here on this small farm, they’re the saw of choice and here’s why.

Continue reading “In Defense Of The Electric Chainsaw”

OpenAg Is A Personal Food Computer

When a device that calls itself a personal food computer lands in your timeline, what image springs to mind? A cloud-connected diet aid perhaps, advertised on TV infomercials by improbably fit-looking Californian ladies crediting all their health to a palm-sized unit that can be yours for only 199 dollars. Fortunately that proved not to be the case, and on further reading our timeline story was revealed to be about a computerized farming device.

The OpenAg Food Computer from the MIT Media Lab Open Agriculture Initiative bills itself as:

“a controlled-environment agriculture technology platform that uses robotic systems to control and monitor climate, energy, and plant growth inside of a specialized growing chamber”

It takes the form of a tabletop enclosure in which so-called climate recipes to replicate different conditions for plant growth can be tested. It’s probably fair to say that in this most basic form it is more of an educational device than one for full-scale food production, though they are applying the same technologies at a much greater scale. Their so-called “Food servers” are banks of OpenAg environments in freight containers, which definitely could be used to provide viable quantities of produce.

The good news is that the project is open source, and their latest story is that they have released version 2.0(alpha) of the device. If you are interested, you can read the documentation, and find all the resources you need to build one on their GitHub repository. They page linked above has a video that’s very much of the slick PR variety rather than the nuts-and-bolts, so we’ve sought out their build video for you below the break instead. Continue reading “OpenAg Is A Personal Food Computer”

Automated Vacuum Lettuce Seed Placement

[Jethro Tull] is a name you may well associate with a 1970s prog/folk rock band featuring a flautist, but the original [Tull] was an inventor whose work you benefit from every day. He was a British lawyer and landowner who lived over the turn of the 18th century, and who invented among other things the mechanical seed drill.

Were [Tull] alive today he would no doubt be impressed by the work of [Akash Heimlich], who has created an exquisite vacuum seed placer for his rooftop hydroponic lettuce farm. Unlike the continuous rows of seed on the Berkshire earth of [Tull]’s farm, the lettuce seed must be placed in an even grid on a foam substrate for the hydroponic equivalent. This was an extremely tedious task when done by hand, so [Akash] set about automating the process with a vacuum seeder that is a thing of beauty.

It uses a simple yet effective mechanism involving a row of pipettes connected to a vacuum line, that are rotated over a vibrating hopper of seeds from which each one collects a single seed, before being rotated back over the foam where the seeds are dropped in a neat row through 3D-printed funnels. The foam is advanced, and the process is repeated until there is a neat grid of seeds. In only four minutes it can deliver 150 seeds, reducing several hours work into under half an hour.

The whole machine is controlled by an Arduino, with a couple of stepper motors to move foam and pipettes alongside the vibrator motor. You can see its operation in the video below the break.

Continue reading “Automated Vacuum Lettuce Seed Placement”

Hackspace U

No Timmy, we're not preparing you for a life of mindless drudgery! PD, via Wikimedia Commons.
No Timmy, we’re not preparing you for a life of mindless drudgery! PD, via Wikimedia Commons.

It’s funny, how obsessed we are with qualifications these days. Kids go to school and are immediately thrust into a relentless machine of tests, league tables, and exams. They are ruthlessly judged on grades, yet both the knowledge and qualifications those grades represent so often boil down to relatively useless pieces of paper. It doesn’t even end for the poor youngsters when they leave school, for we are now in an age in which when on moving on from school a greater number of them than ever before are expected to go to university. They emerge three years later carrying a student debt and a freshly-printed degree certificate, only to find that all this education hasn’t really taught them the stuff they really need to do whatever job they land.

A gold standard of education is revealed as an expensive piece of paper with a networking opportunity if you are lucky. You need it to get the job, but in most cases the job overestimates the requirement for it. When a prospective employer ignores twenty years of industry experience to ask you what class of degree you got twenty years ago you begin to see the farcical nature of the situation.

In our hackspaces, we see plenty of people engaged in this educational treadmill. From high schoolers desperately seeking to learn something other than simply how to regurgitate the textbook, through university students seeking an environment closer to an industrial lab or workshop, to perhaps most interestingly those young people who have eschewed university and gone straight from school into their own startups.

Continue reading “Hackspace U”