Bargain Bin Barcode Scanner Keeps Track Of Shopping Needs

For most people, a Post-It note or dry-erase board suffices to ensure that household consumables are replenished when they’re used up. But hackers aren’t like most people, so this surplus barcode scanner turned kitchen inventory manager comes as little surprise. After all, if something is worth doing, it’s worth overdoing.

[Brian Carrigan]’s project began with a chance discovery of an old barcode scanner in his local scrap store. Questions as to why we can never find bargains like a $500 scanner for six bucks aside, [Brian] took the scanner home for a bit of reverse engineering. He knew it used RS-232 but it had been unceremoniously ripped from its connectors, so identifying pins took some detective work. With power and data worked out and the scanner talking to a Raspberry Pi, [Brian] set about integrating it into Wunderlist,  a cloud-based list management app. Now when someone eats the last Twinkie, a quick scan of the package looks up the product name via an API call to the UPC database and posts it to Wunderlist. And we’ll bet the red laser beams bouncing around the kitchen make a great nightlight too.

With smartphone barcode reading apps, this might seem a bit like overkill, but we like it just the same. And if barcodes leave you baffled, check out our introduction to these studies in black and white that adorn just about everything.

Laser Projector Ditches Galvanometer For Spinning Drum

Laser projectors like those popular in clubs or laser shows often use mirror galvanometers to reflect the laser and draw in 2D. Without galvos, and on a tight budget, [Vitaliy Mosesov] decided that instead of downgrading the quality, he would seek an entirely different solution: a spinning mirror drum.

He fires a laser at a rotating drum with twelve mirror faces, each at a different adjustable vertical angle. The laser will hit a higher or lower point on the projection surface depending on which mirror it’s reflecting off – this creates resolution in the Y direction.

Timing the pulsing of the laser so that it reflects off the mirror at a certain horizontal angle provides the X resolution.

As you can already tell, speed and timing is critical for this to work. So much so that [Vitaliy] decided he wanted to overclock his Arduino – from 16 MHz to 24.576 MHz. Since this changes the baud rate, an AVR ISP II was used for programming after the modification, and the ‘duino’s hardware serial initialization had to be hacked too.

For the laser itself, [Vitaliy] designed some nifty driver circuitry, which can respond quickly to the required >50 kHz modulation, supply high current, and filter out voltage transients on the power supply (semiconductor lasers have no protection from current spikes).

On the motor side of things, closed loop control is essential. A photo-interrupter was added to the drum for exact speed detection, as well as a differentiator to clean up the signal. Oh, and did we mention the motor is from a floppy disk drive?

We’ve actually seen builds like this before, including a dot-matrix version with multiple lasers and one made apparently out of Meccano and hot-glue that can project a Jolly Wrencher. But this build, with its multiple, adjustable mirrors, is a beauty.  Check it out in action below.

Continue reading “Laser Projector Ditches Galvanometer For Spinning Drum”

3D-Printer Gets Hot-Swappable Hot-Ends

3D printers can be hacked into a multitude of useful machines, simply by replacing the filament extruder with a new attachment such as a laser engraver or plotter.

However, [geggo] was fed up with re-wiring and mounting the printhead/tool every time he wanted to try something new, and set out to design a modular printhead system for next-level convenience. The result? A magnetic base-plate, allowing a 3D printer to become a laser engraver within a matter of seconds. This new base-plate mounts onto the existing ball bearings and provides a sturdy place for attachments to snap to – with room for two at once.

Using neodymium magnets to mount the printhead to the base-plate provides enough force to keep the attachment in place and compress 30 pogo pins, which make the electrical connections. These carry the lines which are common to all attachments (heater, thermistor and fan), as well as custom connections for certain attachments – for example the extruder stepper motors.  A Flexible Flat Cable (FFC) is used to connect the pogo pin PCB to the main controller.

So far, the list of tools available for fitting includes an MK8 extruder, a E3D v6 hotend (for Bowden extrusion), a laser, a micrometer dial indicator, and a pen plotter (used for writing a batch of wedding invitations!). There was even some success milling wood.

For some automated extruder switching action we’ve shown you in the past, check out the 3d-printer tool changer.

Continue reading “3D-Printer Gets Hot-Swappable Hot-Ends”

Chiptunes On A Solar Panel

With its vintage sound, there’s no mistaking the unique 8-bit sound of video games from the 80s and 90s. It became so popular that eventually sparked its own genre of music known as “chiptune” for which musicians are still composing today. The music has some other qualities though, namely that it’s relatively simple from a digital standpoint. [Robots Everywhere] found that this simplicity made it perfect as a carrier for wireless power transmission.

The project acts more like a radio transmitter and receiver than it does a true wireless power transmitter, but the principle is the same. It uses a modified speaker driver and amplifier connected to a light source, rather than to a speaker. On the receiving end, there is a solar panel (essentially a large photodetector) which is wired directly to a pair of earbuds. When the chiptune is played through the amplifier, it is sent via light to the solar panel where it can be listened to in the earbuds.

The project is limited to 24,000 bytes per second which is a whole lot more useful than just beaming random audio files around your neighborhood, although that will still work. You can also use something like this to establish a long-distance serial link wirelessly, which can be the basis of a long distance communications network.

Thanks to [spiritplumber] for the tip!

Continue reading “Chiptunes On A Solar Panel”

US Military Developing Laser Plasma Speakers

It probably won’t surprise you to know that the US military is very interested in using lasers as weapons. Directed energy weapons such as lasers have many advantages over more traditional kinetic weaponry, not least of which the fact that you don’t need to cart around ammunition for them. But somewhat surprisingly, some of the most promising laser developments have been in the field of non-lethal weaponry. While the mental image of a laser is usually a destructive one, recent demonstrations by the Joint Non-Lethal Weapons Program show lasers can do more than blow holes your target.

As reported by [Patrick Tucker] of Defense One, a radical new laser-powered sonic weapon was shown off at the “Directed Energy to DC Exhibition”. The system uses two lasers: one to generate a ball of plasma when it hits the target, and another to modulate the plasma ball in open air. The result is a variation of the classic plasma speaker demonstration, where plasma is used as a a driver for a massless speaker.

Currently the system is capable of generating a deafening crack at the target area, with a measured intensity as high as 140 dB. That’s about as loud as fireworks or a shotgun going off at close distance, and in theory is enough to drive off whoever is unlucky enough to be targeted with the beam.

In time, the researchers hope to refine their secondary modulation laser to the point that they can play audio over the plasma. This would allow the beam to be used as a directed loud speaker of sorts, which could prove useful for defensive applications. Only the target would be able to hear the audio, which could be a recording telling them they were entering a secured area. A disembodied voice telling you to turn around sounds like a extremely effective non-violent deterrent to us. The voices in our head don’t have to tell us twice.

We recently looked at the possibility of targeted sonic weapons being used in Cuba, and of course, we’ve covered many plasma speakers on Hackaday over the years. Plasma speakers have always been more or less nothing more than a fun high voltage demonstration, so to see them potentially weaponized is a crossover episode we weren’t expecting.

Continue reading “US Military Developing Laser Plasma Speakers”

What’s Inside A Neonode Laser Sensor?

Every once in a while, you get your hands on a cool piece of hardware, and of course, it’s your first instinct to open it up and see how it works, right? Maybe see if it can be coaxed into doing just a little bit more than it says on the box? And so it was last Wednesday, when I was at the Embedded World trade fair, and stumbled on a cool touch display floating apparently in mid-air.

The display itself was a sort of focused Pepper’s Ghost illusion, reflected off of an expensive mirror made by Aska3D. I don’t know much more — I didn’t get to bring home one of the fancy glass plates — but it looked pretty good. But this display was interactive: you could touch the floating 2D projection as if it were actually there, and the software would respond. What was doing the touch response in mid-air? I’m a sucker for sensors, so I started asking questions and left with a small box of prototype Neonode zForce AIR sensor sticks to take apart.

The zForce sensors are essentially an array of IR lasers and photodiodes with some lenses that limit their field of view. The IR light hits your finger and bounces back to the photodiodes on the bar. Because the photodiodes have a limited angle over which they respond, they can be used to triangulate the distance of the finger above the display. Scanning quickly among the IR lasers and noting which photodiodes receive a reflection can locate a few fingertips in a 2D space, which explained the interactive part of the floating display. With one of these sensors, you can add a 2D touch surface to anything. It’s like an invisible laser harp that can also sense distance.

The intended purpose is fingertip detection, and that’s what the firmware is good at, but it must also be the case that it could detect the shape of arbitrary (concave) objects within its range, and that was going to be my hack. I got 90% of the way there in one night, thanks to affordable tools and free software that every hardware hacker should have in their toolbox. So read on for the unfortunate destruction of nice hardware, a tour through some useful command-line hardware-hacking tools, and gratuitous creation of animations from sniffed SPI-like data pulled off of some test points.

Continue reading “What’s Inside A Neonode Laser Sensor?”

Review: NEJE DK-8-KZ Laser Engraver

When I got my first 3D printer I was excited, but now that I’m contemplating adding a forth to my collection, I have to come to the terms with the fact that these machines have all the novelty of a screwdriver at this point. Which is fine; getting the cost down and availability up is the key to turning a niche piece of technology into a mainstream tool, and the more people with 3D printers at home or in their workshop the better, as far as I’m concerned. But still, there’s a certain thrill in exploring the cutting edge, and I’ve been looking for something new to get excited about as of late.

NEJE DK-8-KZ

Lasers seem like an interesting next step in my quest towards complete in-house fabrication capability, so I started researching cheap setups to get my feet wet. In the course of looking up diode-powered laser cutters, I came across the NEJE DK-8-KZ. At only 1W, there’s no question this device isn’t going to be cutting a whole lot. In fact, it’s specifically sold as an engraver. But given the fact that you can get one of these little guys for around $70 USD shipped, it’s hard to complain.

Now I wasn’t 100% sure what I would do with a laser engraver, but I thought it would be a good way to test the waters before putting serious money (and time) into something more powerful. Plus, if I’m being totally honest, I wanted to start on something on the lower end of the power spectrum because I’m terrified of blinding myself.

So what kind of laser do you get for $70? Let’s find out… Continue reading “Review: NEJE DK-8-KZ Laser Engraver”