ScratchData LogoScratchData
Back to -Jie-'s profile

QR Code Generator

-J-Jie-•Created October 25, 2014
QR Code Generator
1074
972
19693 views
View on Scratch

Instructions

A QR code is a type of barcode that most smartphones can read. "EC level" (EC=error correction) allows to make the code readable even if some portion is lost (but it makes it bigger too). Level 1 (Low) : 7% of characters can be restored. Level 2 (Medium) : 15% of characters can be restored. Level 3 (Quartile) : 25% of characters can be restored. Level 4 (High) : 30% of characters can be restored. Here, you can encode alphanumeric characters (meaning: 0–9, A–Z, space and $%*+-./:) or ISO-5589-1 characters (meaning a whole lot more characters, but they take more room). In theory, the size limit is 4,296 (alphanumeric) or 2,953 (ISO-5589-1) characters with EC level=1, but if you use more than 500 characters, the squares get too small and it gets hard to read. If you want to read the QR code, you will need a smartphone (or a Nintendo DS) and some kind of scanner application (there are plenty for free, do a search for "QR code" on your application store).

Description

I followed a tutorial on http://www.thonky.com/qr-code-tutorial/ that I found thanks to @colinb's project http://scratch.mit.edu/projects/14094111/ I got the initial idea from @colinb, but the code is all mine. Bugs and notes: - Some special characters may not appear properly on your QR code reader, this is because they are sometimes using different standards, but common use English characters should be fine. - More info about ISO-8859-1 on http://en.wikipedia.org/wiki/ISO/IEC_8859-1

Project Details

Project ID31270656
CreatedOctober 25, 2014
Last ModifiedNovember 6, 2014
SharedNovember 2, 2014
Visibilityvisible
CommentsAllowed