Is it possible to storing data xNT


#1

So this is just a noobie question but would it be possible to store data on the xNT.

Yes! I know at most it would be a TINY image or paragraph of text So pretty impractical but im just curious is it possible?

Ive used the Dangerous things app to lock my xNT (I read something about locking/ReadOnly the tag) But im scared of braking my tag.

Whats peoples thoughts?


#2

Yes, you can store Ndef data on it. For example, your vcard/contact info or emergency info, or a uri sending phones that scan it to a specific Rick Astley video…


#3

Text is easy, and you can store quite a bit. You have around 888 bytes if storage, so a paragraph is very doable, and if you scan the tag with a phone, the stored text will probably come up automatically.

Images are harder. You can store the binary data directly on the xNT, but since there is no NDEF record type for an image, you would have to make your own app to read it from the tag and display it


#4

Thanks guys!

One more thing you may be able to clear up for me, 888 bytes.

If I make a plain text document on my computer to see how much text data I can hold I quickly get to 3 4 and 5 KB. Does this mean the xNT has 888 KB or do I have just under 1 KB ??

Thanks


#5

Just under 1k. 888 characters. But less if wrapped in NDEF envelopes.


#6

888 bytes is around what the NTAG216 can store, just to give you a visual idea of how much text data that is I will paste a block of text below which I believe is around 888 bytes, someone more experienced may be able to correct me if I’m wrong.

~888 bytes of text:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laboru

If you want to calculate how many bytes your text of choice might be then you can use this online text-to-byte calculator I just found: https://mothereff.in/byte-counter

Your operating system and file-system on your computer will likely be adding additional meta-data to the newly created text document or word document you created on your system. Essentially when you created that new blank file (or at least what you thought was blank) it already starts consuming a tiny amount of space on the disk due to meta-data. But when you get around to writing pure text data to your chip then that will be in a more raw form with little to no meta data surrounding it.

I hope that helps you.