1 (edited by GerardDirks 2020-07-05 12:09:43)

Topic: Quick Guide to Program PaperTags for XYZPrinters

Hello

It is my duty to publish here a short Quick Guide for program the paper tags. It is based on my experience because I recognized a lot of mistakes when using not an original Arduino Nano

I hope it helps many people to have a quicker start to program the tags. For me it takes nearly 1 1/2 months (no fulltimejob) before everything was working. :-(

My test is made with 2 different Arduino Nano & PN532 (loaded with both Firmware from cgrillo & Modfreakz), but I will write this Quick Guide for people who have only one Arduino Nano & PN532

The Software "Update NTAG213 v1.1" & "NTAG Edit Tool 1.40" you can find in this forum!

- Update NTAG213.exe (http://www.soliforum.com/topic/16946/fr … ank-ntags/)
- NTAG Edit Tool.exe (http://www.soliforum.com/topic/16950/nt … nior-mini/)

---------------------------------------------------------------------------------------------------------------------------------------------------
1) Prepare all the equipment (Arduino Nano & PN532, Papertags based on NFC213) and a Laptop with both Update NTAG213 v1.1 & NTAG Edit Tool 1.40

2) Flash the Bootloader to the Arduino with Xloader.exe. In my case I need to use "UNO(ATmega328) as device! probably Users of none original Arduino (clones) can use the Nano(ATmega328). Select the correct .hex file and "upload". After a couple of seconds the upload was successful (7174 bytes uploaded)

http://soliforum.com/i/?PL83U14.png

3) Start the Update NTAG213.exe and push the Connect Button

4) Click on "Get Card Details" till all the fields are filled with Hex Data

http://soliforum.com/i/?5RHIbxi.png

5) Switch to the next tab and set the Material to PLA and the Length to 200m and click the "Set Data"-Button. Wait till the output shows "Data set."

http://soliforum.com/i/?gBLqYIM.png

6) Repeat Step 4) & 5) for every paper tag you want to program!!! Each Tag gets an Unique Code (no idea were this is based on)

7) Close Update NTAG213.exe and open NTAG Edit Tool.exe (version 1.4)

Because the Arduino still has the Firmware of cgrillo, we need to first load the Modfreakz Firmware

The following steps are not necessary to use the printer, but for people who want to have the cosmetic correct information of their PLA reel stored in the NFC! ;-)

8) Click on the Connect Button while holding the CNTRL Key
Select the correct COM Port and click on Update

http://soliforum.com/i/?ScOh5NL.png

After a couple of seconds you will get an output that the writing was correct!

http://soliforum.com/i/?R8uCccR.png

Now close this window

9) Connect the Arduino

http://soliforum.com/i/?oYqKudm.png

You will see that all the fields are empty

10) Put a paper tag on the PN532 and click on "Read TAG Data"

http://soliforum.com/i/?KbU1sUq.png

In my case the Material was PLA, Color Orange and the length was 30 meter!

I want to change this to Reel I own! Therefore I change it to Color Transparent and Length 30meter. Because of an Issue with newer Firmware of the "da Vinci 3D Printers", the length shouldn't exceed 200 meter. This could all the Values listed in the Pulldown Menu

http://soliforum.com/i/?1zN2Fo7.png

11) As next you need to "Write TAG Data" to the papertag

http://soliforum.com/i/?1S7ytzc.png

12) Now you can put the paper tag in the Holder and put the Reel in the "da Vinci 3D Printer"

13) The Dashboard of XYZPrint shows the correct length!

http://soliforum.com/i/?hq0RXKi.png

In the detail Information you will find all the Info of this Tag

http://soliforum.com/i/?eSdivaC.png

I hope this Quick Guide helps a lot of people and I wish everyone a lot of pleasure with using the ""da Vinci 3D Printers".

Maybe there are other ways to get to a result. For me it works. My next step need to be to mod the Original XYZ Tags. These are mapped out by XYZPrinting because of the firmware downgrades I made :-( and therefore useless (one has an rest length of 72)

I used 2 programs to finish the job, maybe in future, everything is possible with one application ?!?

Have a lot of Fun ;-)

2

Re: Quick Guide to Program PaperTags for XYZPrinters

Hello and thank you for the guide, this is the first good guide I found for writing ntags for my printer with an arduino. I do have a couple questions though:

1. in your step 2 you say to: "Select the correct .hex file and "upload"" when you say this what hex file are you talking about? The link to the Update NTAG213 no longer works but i was able to find a github for it here: https://github.com/cxgrillo/UpdateNTAG213 is the hex file part of the dead link?

2. I have the rc522 module for my arduino nano (it's a clone) can I use that for this guide or do I have to get the PN532? I do not have an android phone.

Also I don't know if it matters but I downloaded Xloader from here: https://github.com/binaryupdates/xLoader

3

Re: Quick Guide to Program PaperTags for XYZPrinters

Hello

If the URL in the First Thread are not correct, we need to ask the modfreakz for a new one but the one you give is probably correct! cxgrillo modify the App

About the 522 I can't answer! As written on https://www.instructables.com/RC522-and … ID-Basics/ you need to cut a wire Wire of the 522chip to compatible. Is not worth for testing! On ebay you get a complete kit for about € 4 (U$ 4.50)

I did the testing starting with the original parts of Arduino & PN532 NFC Reader, till it sort out that the Programmer did his work with Non-Original Parts. (Now I have both parts :-(
The Time I lost was so frustrated that I had to write this small guido, for all users of the XYZ printer. In the meantime I stopped printing with the XYZ and switch complete to Resin-Printing, which gives exactly the products I need!

Regards
Gérard

4

Re: Quick Guide to Program PaperTags for XYZPrinters

I can't find the HEX file to upload to the arduino with xloader.
does anyone have a link to that?

thanks.

5

Re: Quick Guide to Program PaperTags for XYZPrinters

nitrogenwidget wrote:

I can't find the HEX file to upload to the arduino with xloader.
does anyone have a link to that?

thanks.

I messaged cgrillo and he sent this: http://grillo.co.uk/arduino/Update%20NTAG213-Nano.zip

6

Re: Quick Guide to Program PaperTags for XYZPrinters

Also looking for the HEX file but the link you posted most recently is dead. any help?

7

Re: Quick Guide to Program PaperTags for XYZPrinters

Jeander2448 wrote:

Also looking for the HEX file but the link you posted most recently is dead. any help?

The link is active again

8

Re: Quick Guide to Program PaperTags for XYZPrinters

cgrillo wrote:
Jeander2448 wrote:

Also looking for the HEX file but the link you posted most recently is dead. any help?

The link is active again

The link is down again, is there another place to download it?

9

Re: Quick Guide to Program PaperTags for XYZPrinters

It's there again

10

Re: Quick Guide to Program PaperTags for XYZPrinters

thank you so much, ive been looking for this file for around 6 hours in total

11

Re: Quick Guide to Program PaperTags for XYZPrinters

Hope it does what you need smile

12

Re: Quick Guide to Program PaperTags for XYZPrinters

Hi, where do I can find NTAG Tool v1.40 or newer for download?

After flashing the bootloader to Arduino Nano, do we need to flash the blank papertags first with "Update NTAG213" (Step 4+5) or can we use "NTAG Tool" directly (Step 9,10,11)?

13

Re: Quick Guide to Program PaperTags for XYZPrinters

FD wrote:

Hi, where do I can find NTAG Tool v1.40 or newer for download?

After flashing the bootloader to Arduino Nano, do we need to flash the blank papertags first with "Update NTAG213" (Step 4+5) or can we use "NTAG Tool" directly (Step 9,10,11)?


Both tools described above are meant to be standalone tools and were created by 2 different people independently.
You should not need to use both.

14

Re: Quick Guide to Program PaperTags for XYZPrinters

cgrillo wrote:
FD wrote:

Hi, where do I can find NTAG Tool v1.40 or newer for download?

After flashing the bootloader to Arduino Nano, do we need to flash the blank papertags first with "Update NTAG213" (Step 4+5) or can we use "NTAG Tool" directly (Step 9,10,11)?


Both tools described above are meant to be standalone tools and were created by 2 different people independently.
You should not need to use both.


The instructions say you need both and have to repeat steps 4 and 5 for every paper tag to generate a unique code for each...

15

Re: Quick Guide to Program PaperTags for XYZPrinters

nycnfc wrote:
cgrillo wrote:
FD wrote:

Hi, where do I can find NTAG Tool v1.40 or newer for download?

After flashing the bootloader to Arduino Nano, do we need to flash the blank papertags first with "Update NTAG213" (Step 4+5) or can we use "NTAG Tool" directly (Step 9,10,11)?


Both tools described above are meant to be standalone tools and were created by 2 different people independently.
You should not need to use both.


The instructions say you need both and have to repeat steps 4 and 5 for every paper tag to generate a unique code for each...

This guide was written by one person who struggled with Windows and getting the Arduino's loaded in the first place.
Try it for yourself - don't believe all you read smile