Is Your Wireless Charger Working?

It’s that time of year at which the Christmas lights are coming out of storage, isn’t it. Some modern seasonal rituals: untangling half a mile of fairy lights, and replacing a pile of CR2032 cells in LED candles.

[RobBest] had a solution to the latter, owning a set of nifty rechargeable LED candles that came with their own wireless charger. Sadly the charger wasn’t working quite as intended, as the indicator light to show when it had finished its cycle was always on. How could he indicate that the induction system was in operation?

His answer was to take a non-functioning candle and strip it down to expose its induction pick-up coil. He could have simply hooked it up to an LED for a quick result, but since the device in question was a candle it made sense to give it a candle effect. A PIC microcontroller was therefore pressed into service to drive the LED with its PWM output, giving a pleasing flickering effect.

You don’t have to own a set of electronic candles to have a go at wireless charging. Instead you could try a trip to IKEA.

Retrotechtacular: How To Repair A Steam Locomotive

Steam locomotives, as a technological product of the 19th century, are not what you would imagine as fragile machines. The engineering involved is not inconsequential, there is little about them that is in any way flimsy. They need to be made in this way, because the huge energy transfer required to move a typical train would destroy lesser construction. It would however be foolish to imagine a locomotive as indestructible, placing that kind of constant strain on even the heaviest of engineering is likely to cause wear, or component failure.

A typical railway company in the steam age would therefore maintain a repair facility in which locomotives would be overhauled on a regular basis, and we are lucky enough to have a 1930s film of one for you today courtesy of the British London Midland and Scottish railway. In it we follow one locomotive from first inspection through complete dismantling, lifting of the frame from the wheels, detaching of the boiler, inspection of parts, replacement, and repair, to final reassembly.

We see steps in detail such as the set-up of a steam engine’s valve gear, and it is impressed upon us how much the factory runs on a tight time schedule. Each activity fits within its own time window, and like a modern car factory all the parts are brought to the locomotive at their allotted times. When the completed locomotive is ready to leave the factory it is taken to the paint shop to emerge almost as a new machine, ready for what seems like a short service life for a locomotive, a mere 130 thousand miles.

The video, which we’ve placed below the break, is a fascinating glimpse into the world of a steam locomotive servicing facility. Most Hackaday readers will never strip down a locomotive, but that does not stop many of them from having some interest in the process. Indeed, keen viewers may wish to compare this film with “A Study in Steel“, another film from the LMS railway showing the construction of a locomotive.

LMS Jubilee class number 5605, “Cyprus”, the featured locomotive in this film, was built in 1935, and eventually scrapped in 1964 as part of the phasing out of steam traction on British railways.

Continue reading “Retrotechtacular: How To Repair A Steam Locomotive”

Learn About Blockchains By Building One

What do we curious Hackaday scribes do when we want to learn about something? First port of call: search the web.

When that something is blockchain technology and we’re looking for an explanation that expands our cursory overview into a more fundamental understanding of the basic principles, there is a problem. It seems that to most people blockchains equate to one thing: cryptocurrencies, and since cryptocurrencies mean MONEY, they then descend into a cultish frenzy surrounded by a little cloud of flying dollar signs. Finding [Daniel van Flymen]’s explanation of the fundamentals of a blockchain in terms of the creation of a simple example chain using Python was thus a breath of fresh air, and provided the required education. Even if he does start the piece by assuming that the reader is yet another cryptocurrency wonk.

We start by creating a simple class to hold all the Python functions, then we are shown a single block. In his example it’s a JSON object, and it contains the payload in the form of a transaction record along with the required proof-of-work and hash. We’re then taken through a very simple proof-of-work algorithm, before being shown how the whole can be implemented as very simple endpoints.

You are not going to launch a cryptocurrency using this code, and indeed that wasn’t our purpose in seeking it out. But if you are curious about the mechanics of a blockchain and are equally tired of evangelists of The Blockchain who claim it will cure all ills but can’t explain it in layman’s terms, then this relatively simple example is for you.

The wrong way to build a blockchain image: Jenny List. #FarmLife.

Teardown Of A Cheap Glue Gun

A hot glue gun is one of those standard tools of the hardware hacker’s bench, called upon to provide adhesion between an astonishing range of materials, and to provide a handy filler and strain relief in the form of blobs of polymer glue. We’ve all got one, but how many of us have taken a look inside it?

[Andrew Lorimer] bought a super-cheap eBay glue gun, and subjected it to a teardown. As you might expect, he found it to be a pretty simple device with only a trigger mechanism and a dumb heating element, but his write-up is of passing interest because he’s characterised its heating element. It has a positive temperature coefficient, which means that its resistance increases from around 2.5 kΩ at room temperature to about 7 kΩ at its 150 ºC operating temperature. This limits the current, and provides a very simple thermostat action.

The build quality is surprisingly good for such a cheap appliance, and he notes a surfeit of screws holding its shell together. But the quality of the insulation and strain relief leaves a lot to be desired, and he wonders whether it truly qualifies for its double-insulated logo. The LED pilot light is simply fed from the 240 V mains supply through a 250 kΩ resistor which he replaces with a 12 kΩ component for a brighter result.

We cover plenty of teardowns here at Hackaday. Often they are of extremely expensive and complex devices, but sometimes they are of much simpler subjects.

Hacking A K40 Laser Cutter

The distinctive blue-and-white enclosure of the Chinese-made K40 laser cutter has become a common sight in workshops and hackerspaces, as they represent the cheapest route to a working cutter that can be found. It’s fair to say though that they are not a particularly good or safe machine when shipped, and [Archie Roques] has put together a blog post detailing the modifications to make something better of a stock K40 performed at Norwich Hackspace.

After checking that their K40 worked, and hooking up suitable cooling and ventilation for it, the first task facing the Norwich crew was to install a set of interlocks. (A stock K40 doesn’t shut off the laser when you open the lid!) A switch under the lid saw to that, along with an Arduino Nano clone to aggregate this, a key switch, and an emergency stop button. A new front panel was created to hold this, complete a temperature display and retro ammeter to replace the modern original.

Norwich’s laser cutter has further to go. For example, while we secretly approve of their adjustable bed formed from a pile of beer mats, we concede that their plans to make something more practical have merit. The K40 may not be the best in the world, indeed it’s probable we should be calling it an engraver rather than a cutter, but if that means that a small hackerspace can have a cutter and then make it useful without breaking the bank, it’s good to see how it’s done.

This isn’t the first K40 enhancement we’ve featured. Norwich might like to look at this improved controller, or even extend their cutter’s bed. Meanwhile if [Archie]’s name rings a bell, it might be because of his Raspberry Pi laptop.

Play A Claw Machine From Your Armchair

Have you ever been seduced by a claw machine in an arcade, only to have your hopes of a cuddly toy dashed as it fails to hang onto your choice? Then you’re in luck, because now you can play to your heart’s content online. [Ryan Walmsley] wants you to control his Raspberry Pi-driven claw machine.

Hardware-wise he’s replaced the original 8052 microcontroller and relay control with the Pi and a custom H-bridge PCB. We particularly light the warning: “Highish voltage”, and we feel it should appear more often. There is some code in his GitHub repository, but we suspect it doesn’t have everything.

We had a lot of fun digging into the documentation on this one. From his initial thoughts through some prototyping and a board failure, to the launch of the online version and finally a run-down of how it all works, he’s got it covered.

Sadly the machine itself isn’t online all the time, it seems to be only online when [Ryan] is at home, so if you live on the other side of the world from his British base you may be out of luck. Fortunately though his previous live streams are online, so you can see it in action on a past outing below the break.

Of course what kind of swag do you load up in a claw machine like this one? On his Twitter feed we’ve seen tests of the aliens from Toy Story (who start their existence in a claw machine so quite fitting). The majority of items show in is recorded games — now numbering over 2000 — have been our beloved companion cube.

Continue reading “Play A Claw Machine From Your Armchair”

Brits: Make A Vote, Put Cash A Hackerspace’s Way

Those of you who have been involved in the running of a hackerspace or makerspace will know the never-ending struggle to maintain financial solvency, and the quest for sources of income to move your organisation forward. It’s certainly a topic upon which Hackaday’s crew have some experience, more than one of us has helped run a space.

A good avenue to explore lies with community grants: money from organisations on a philanthropic basis to invest in community organisations. These can come from charities, governmental organisations, or even from companies as part of their corporate social responsibility. It’s this last source of grant money that claims our attention today, because we are in the final days of voting for the Aviva Community Fund, in which the British financial and insurance company makes grants for worthy causes across the country. The causes compete to gain as much support as they can, and hope to thus win their prize.

Among the many worthy recipients of the cash are a selection of hackerspaces. First up are Hitchin Hackspace, whose Big Hak full-size rendition of a Milton Bradley Big Trak toy was featured in our coverage of EMF Camp 2016. They are building a new space in what we’ll call a redundant community facility because it sounds better than “Former public toilet”, and winning a grant will help them a lot in that aim.

Then we have East London Makerspace. They have secured an unused garage to turn into a makerspace, as the capital’s population of our community swells to support ever more spaces in its different suburbs. Like Hitchin, the money would go to the essential work involved in creating a functioning space where previously there was nothing.

Finally, we have the unexpected, a heating system from Milton Keynes Men In Sheds. If you know about Men In Sheds as a community organisation for older people, you’ll be wondering why this is listed here. What we haven’t told you is that MK Makerspace is a subgroup of the MK Shed that occupies the upstairs portion of their building, and what warms the Shedders also warms the hacker community of one of Britain’s new towns.

These appear to be the only hackerspaces bidding for grant money, but votes can usefully be given to other allied causes. Linlithgow Remakery and Tool Library, for instance could use a boost, as could the other Men In Sheds groups scattered across the competition.

So if you are one of Hackaday’s British readers, please take a minute to stop by the voting pages listed above, and give them a boost. You have a couple of days to get your votes in, so make them count, and make a difference!

Disclosure: [Jenny List] is a member of Milton Keynes Makerspace.