Love them or hate them, plenty of people around the world use QR codes on a daily basis. Since he thinks they’re pretty great, Hackaday reader [falldeaf] thought it would be cool to put together an automatic QR code generator to be used on web sites.
Inspired by the custom QR logo embedding work done by our own [Brian Benchoff], his dynamic QR code generator allows you to do the same thing, but with far less work. The code requires that you have PHP and the GD library installed on your server, but other than that his code does the rest.
All you need to do is call up the page and pass along a URL, optional caption text, optional image overlay (to add your logo to the center of the code), as well as an optional hash code for tracking traffic sources. The page spits out a png image that can be used on its own, or embedded in a blog, which is what [falldeaf] plans on using it for.
If QR codes are your thing, be sure to grab a copy of his code, it will certainly be a handy tool to have around.
While [Oryx] is down with social media like Facebook and Twitter, there are times when he wants to share things with people he is hanging out with in the real world. Sure, he could always email his friends links to the latest video of a cat doing something totally hilarious, but he wanted something a bit more tangible.
He had a small thermal printer from SparkFun kicking around, and thought it would be the ideal medium for sharing things with others. He sat down and put together a bit of code that allows him to interface the printer with his computer, generating QR codes from his web browser with the simple click of a button. Now, when he wants to pass something along to a friend, he can quickly print out a label bearing both a QR code and URL for easy access later on.
All in all it’s an interesting idea, though we would be curious to see what would happen if we handed our non-techie friends a printed QR code.
Don’t you hate that feeling, the one you get when you have just realized that you have no clue where you may have left your keys? If you are unlucky enough to have lost them in a public place, odds are they are as good as gone. Pumping Station One member [celtwolf] thought it would be great if your keys could help someone contact you instantly upon finding them, so he created a key fob that did just that.
SMS can use a similar URI scheme as the “mailto” protocol we are all familiar with, so [celtwolf] generated a URI that would send a text to his mobile phone with the message “I found your keys!”. He generated a QR code from the URI, then etched it on a piece of acrylic using a laser cutter. He filled in the recessed portions with a dark polymer clay, baked it, then coated it with a layer of nail polish for added durability.
Now, if anyone finds his keys and takes a picture of the QR code with their smartphone, he will immediately receive a text letting him know they are safe and sound. What a great idea!
This bar code tattoo was sent into us by [Lifespan]. Before going under the needle, [Lifespan] didn’t care much for tattoos. After seeing this video he realized that a tattoo could have dynamic content through domain redirection.
[Lifespan] spent a lot of time going over the different styles of 2D bar codes. QR codes were deemed ugly because of the three large squares in the corners. An EZ Code, like the one in his YouTube inspiration, are a proprietary format that must be read with a ScanLife app. He eventually settled on a Data Matrix bar code because of its open format and ubiquity in business and industry. To make the tattoo dynamic, [Lifespan] made the tattoo point to 5id5.com. With a little bit of smart phone wizardry, that domain can be redirected to any URL in a moments notice.
Like all well-planned tattoos, he found himself a very good artist to do the piece. [Connor Moore] managed to ink some skin at 15 dpi, which was a little risky, but the results came out great. While it’s not scarification via a laser cutter, barring fading this tattoo is technologically future proof.
After writing this post on somone hacking QR codes, Hack A Day commenters came out in full force posting some really cool links about modifying QR codes to include a logo. I’ll fully admit I geeked out a little, but in the process I figured out some of the theory behind embedding logos in QR codes.
After getting my hands on the ISO 18004 specification for QR codes, I decided to try embedding the Hack A Day skull & wrenches inside a QR code. The tools I used were Photoshop, this QR code generator, and Microsoft Paint (I’ve never seen a program to edit individual pixels that has a better UI, so don’t laugh).
Continue reading “How to put your logo in a QR code”
QR codes are everywhere these days, from being printed onto receipts to chiseled into granite tombstones. [Will] came up with a way to modify existing QR codes, and his hack has the potential to cause quite a bit of harmless mischief.
[Will]’s hack involves a little photo editing, transparency film, and some white-out/Liquid Paper/Tippex. After the ‘target’ and ‘destination’ QR codes have been imported into Gimp, the differences are found and the result printed out on a transparency sheet. After that, hang the transparency over the original and the QR code now goes to the URL of your choice.
Continue reading “Hacking QR codes for fun and profit”
[Scott Harden] came across a few posts about QR code matrix barcodes coming through on the 40m baud radio band. A few operators had captured the signals and assembled them into the code block seen above but they weren’t able to get a clear enough shot for a smartphone to decode the image. [Scott] took on the challenge and decoded the mysterious message himself. He tried some graphic editing to separate and enhance the color channels in order to up the contrasts of the image. This helped, but still couldn’t be read automatically. In a move similar to those seen in Hackaday’s own barcode challenges he dropped the image into Inkscape so that he could manually clean it up. Once it was overlaid on a grid the job was pretty simple. the left side did require some more image manipulation and precision”squinting” to eliminate interference from the vertical banding, but he managed to get the message. We won’t spoil it here in case you want to take on the challenge yourself. Good luck!