Jump to content
xperiment

Read/Write NFC Tags

Recommended Posts

Posted · Read/Write NFC Tags

Does anyone knows if it´s possible to create own nfc tags for the UM3? The tags from the UM spools can be read from my Samsung S7, but the data format is unknown.

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags

Yes, the tags can be read and written. What do you want to achieve?

We wanted to implement ndef records, but we made a mistake causing no other app to understand the data

  • Like 1

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags

hiya,

I wouldn't mind to understand this subject.

Being able to re-write these with data of a material that isn't ultimaker's like Ninja flex or if you prefer another brand of material or simply because you want to use a colour that UM can't supply. transfer the filament over to a UM spool and reset the data on the spool.

something like that anyways

bex

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags

It would be a cool addition to the UM3 app to be able to read the tags. I have unmarked spools so can't confirm what the material unless I load it into the printer.

But I would also like to write my own rags somehow.

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags

The tags only contain a material identifier, the actual data about the material is contained with the material database (in Cura and on the printer). So you cannot suddenly add ninjaflex without those being in the database.

Share this post


Link to post
Share on other sites
Posted (edited) · Read/Write NFC Tags

The tags only contain a material identifier, the actual data about the material is contained with the material database (in Cura and on the printer). So you cannot suddenly add ninjaflex without those being in the database.

 

But what if you could clone the TPU and *Name* it as NinjaFlex. Same with cloning say a CPE+ or nylon but naming it PETG.

In a way, that is what we are doing now....choose a profile in Cura that matches closely to what we want to start with and then choose the generic variant on the machine.

Although not a technically elegant solution, it could save a few steps for users and prevent the need to remember which variant you are starting from.

Edited by Guest

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags

I bought a few spools on special of the non NFC ulitmaker filament and would love to be able to program my own tags with the material ID. I dumped one of the tags and it shows an NTAG216, but the memory space appears to only be less than half used. 

 

Has anyone had any luck creating their own identifier tags? I tried to SSH into my S5 to try and find the database for the materials but came up with nothing. (I attached my dump of my spool of Black Tough PLA if that helps)

04-7A-95-92-66-5A-80_2019-07-13 19-46-05_taginfo_scan.log

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags
5 hours ago, Rainbowdashboard said:

I tried to SSH into my S5 to try and find the database for the materials but came up with nothing.

 

One can retrieve a list of materials from the printer with:

http://xxx.xxx.xxx.xxx/cluster-api/v1/materials/

 

And all installed materials are available in Cura, in the program/AppImage folder (".../resources/materials") and in the configuration folder (".../materials" - in addition and optional)

 

AFAIK the GUID is the most important thing (if not the only one) that is used for comparison between gcode file and NFC data.

 

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags

Boom! That was the answer. Thank you for this insight. Now I need to solve the the NDEF issue Daid mentioned above. Only done a cursory look into duplicating my tag without success, so I may attempt to write my own interface for the tags to write with my phone. 

Capture.PNG

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited) · Read/Write NFC Tags

@Daid This is now more important that the material station cannot accept anything other than one colour of each non ultimaker filament.

 

Even material alliance filaments cannot have more than one colour loaded into the material station.

Edited by Sassw

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags

@Sassw please be aware that @Daid is not working anymore at Ultimaker - he still might follow a few topics but maybe not those clearly Ultimaker hardware-related.

Share this post


Link to post
Share on other sites
Posted (edited) · Read/Write NFC Tags

After adding some materials via the API you can now just load them as different types of material for now.

 

See the attached lock out due to not having break positions etc and then the result of using a more up to date xml.fdm_material with those fields.

 

Good news is that custom writes to the tags works and selects colour GUIDs as expected.

 

Ultimaker you should document the schema for the xml, there is a double entry for the U3 in most profiles.

 

 

IMG_20191015_135214.jpg

IMG_20191015_145451.jpg

Edited by Sassw

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags

Which RFID reader/writer are you using? Did you find a source for the RFID tags? Thanks,

 

      Greg

 

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags
On 10/11/2019 at 12:50 PM, mhigginsmoy said:

Hey - Did you ever end up making your own interface for this? Would love to create my own tags and define them 

I ended up abandoning this a while ago. I hope to pick it up again now that I have a fancy pants Proxmark. 

Share this post


Link to post
Share on other sites
Posted (edited) · Read/Write NFC Tags

Even though the tags are not marked to contain NDEF records, the data stored in the NFC memory adhere to the standard. There are four records one of which contains the material UUID and two others storing the amount of material on the spool. The tasks of understanding the individual data structures and how to fill them in gets much easier consulting the relevant python code on the printer.

 

This way I managed to successfully write the UUID of a 3rd-party material to the tag of an empty spool and transfer the tag to a fresh spool of said material. I also managed to create a cura plugin for this material with both the generic and the vendor specific definitions, together with a set of profiles (which now need to be refined to meet their intent). This way, Cura uploaded the fdm_material file to the printer which now fully recognizes the material. We can even use it with the material station without any obvious restrictions.

 

However, I am still a bit uncertain as to how to tune in the material station related parameters. For starters, I used a fdm_material file of a material with similar properties, but I'd feel much more at ease if I knew the relevance of each parameter and which material properties I need to take into account. Is there any sort of documentation on this?

 

Another question is where we could source a small number of these circular tags, right now we don't have enough empty spools to live off recycled tags.

Edited by gandy
typo

Share this post


Link to post
Share on other sites
Posted · Read/Write NFC Tags

Hello

I would like to use old spool chips or new NFC chips just to identify .. actually whatever, at least generic PLA but including color. I want to use NFC tools. Any advice if it is possible?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!