Page 1 of 1

Tapto PN532 Module Tutorial?

Posted: Mon Feb 19, 2024 8:53 am
by mong00se

Hi,

I am in the middle of making a case to fit my mister multisystem and i wanted to hide a tapto inside the case. On the Tapto website is see there is a PN532 module that can be used. Is there a tutorial on how to set the module up? It seams alot cheaper and smaller than a normal reader.


Re: Tapto PN532 Module Tutorial?

Posted: Tue Feb 20, 2024 12:30 pm
by AngelicLiver

All of the documentation for TapTo can be found in the GitHub repo. If you want to take the DIY approach and use the PN532 module, you need to understand that in order for it to work, it needs to be coupled with a compatible USB to TTL converter.

There is a full DIY guide here with a custom PCB you will need to order from JLCPCB/PCBWAY etc. Alternatively you can just purchase an off-the-shelf ACR122U.


Re: Tapto PN532 Module Tutorial?

Posted: Tue Feb 20, 2024 1:13 pm
by mong00se

That is exactly what i wanted. Thankyou very much.

Looking at the cost and the amount of time involved I might just buy an ACR122U. I dont need 5 PCB,s and the ACR122U could be made to fit inside my case. I might try the build though just to understand it more.
Thanks for the reply.


Re: Tapto PN532 Module Tutorial?

Posted: Fri Mar 08, 2024 2:55 am
by whocares

It’s really simple, went the DIY for my build. Buy a PN532 module with header and cables, also buy a CP2102 USB to TTL module. Connect them together (I had to switch the pins RX and TX when wiring) and it will be detected by TapTo


Re: Tapto PN532 Module Tutorial?

Posted: Fri Mar 08, 2024 2:56 am
by whocares

Also I tired a PL2303 chip based USB and it would not work - apparently an issue with Linux support.


Re: Tapto PN532 Module Tutorial?

Posted: Wed Mar 13, 2024 9:56 am
by mong00se

Excellent


Re: Tapto PN532 Module Tutorial?

Posted: Wed Mar 13, 2024 10:04 am
by mong00se
whocares wrote: Fri Mar 08, 2024 2:55 am

It’s really simple, went the DIY for my build. Buy a PN532 module with header and cables, also buy a CP2102 USB to TTL module. Connect them together (I had to switch the pins RX and TX when wiring) and it will be detected by TapTo

Do you have links where to buy plz? When you say simple I am leaning towards this build. Also do you have a picture of it built so i can guage the size to see if it will fit in my case?
Thanks in advance.

IMG_1567.jpg

Re: Tapto PN532 Module Tutorial?

Posted: Wed Mar 13, 2024 10:45 am
by AngelicLiver
mong00se wrote: Wed Mar 13, 2024 10:04 am

Do you have links where to buy plz?

Vendors can be found in the GitHub repo. Images of hardware and case designs also (download an STL to preview the footprint).


Re: Tapto PN532 Module Tutorial?

Posted: Wed Mar 13, 2024 11:26 am
by mong00se
AngelicLiver wrote: Wed Mar 13, 2024 10:45 am
mong00se wrote: Wed Mar 13, 2024 10:04 am

Do you have links where to buy plz?

Vendors can be found in the GitHub repo. Images of hardware and case designs also (download an STL to preview the footprint).

I have been going over the github for a while now. I am now looking at PN532 NFC USB Module - Type C. It is cheap and fits the footprint i desire. Compatibility may be a problem. Using a simple usb ttl is the other option. I dont really want to have to get PCBs printed because i only need 1. I will keep reading and learning. Thanks.


Re: Tapto PN532 Module Tutorial?

Posted: Sat Mar 16, 2024 3:59 pm
by whocares

I purchased the parts on Amazon. The PN532 often is listed with the cables and then you need the usb TTL with CP2102 chip, just do a search you will find many available for cheap.


Re: Tapto PN532 Module Tutorial?

Posted: Thu May 30, 2024 9:53 pm
by markdr

I recently had sucess connecting one of those PN532 modules via I2C directly to the DE10-Nano, using the same header as used by the realtime clock. The header provides 3v3/GND/SDA/SCL so all the required connections. Just make sure that the jumpers on the module are set to I2C mode, mine wasn't in this setting by default.

To know if it is being picked up by the system, use the i2cdetect command to check the address, 0x24 is the default address.

Code: Select all

i2cdetect -y 2
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- 24 -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

The tapto.ini had to be updated to use a custom connection:

Code: Select all

connection_string="pn532_i2c:/dev/i2c-2"

Re: Tapto PN532 Module Tutorial?

Posted: Wed Jun 05, 2024 2:44 am
by Missus
markdr wrote: Thu May 30, 2024 9:53 pm

I recently had sucess connecting one of those PN532 modules via I2C directly to the DE10-Nano, using the same header as used by the realtime clock. The header provides 3v3/GND/SDA/SCL so all the required connections. Just make sure that the jumpers on the module are set to I2C mode, mine wasn't in this setting by default.

To know if it is being picked up by the system, use the i2cdetect command to check the address, 0x24 is the default address.

Code: Select all

i2cdetect -y 2
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- 24 -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

The tapto.ini had to be updated to use a custom connection:

Code: Select all

connection_string="pn532_i2c:/dev/i2c-2"

Is it possible to use multiple devices (rtc and pn532 and i2c2oled) on the same bus? I assume so, but wondering how one would wire up additional devices, as I am already using the i2c pins from the rtc board for the i2c2oled.


Re: Tapto PN532 Module Tutorial?

Posted: Tue Aug 13, 2024 9:49 pm
by Follow
markdr wrote: Thu May 30, 2024 9:53 pm

I recently had sucess connecting one of those PN532 modules via I2C directly to the DE10-Nano, using the same header as used by the realtime clock. The header provides 3v3/GND/SDA/SCL so all the required connections. Just make sure that the jumpers on the module are set to I2C mode, mine wasn't in this setting by default.

To know if it is being picked up by the system, use the i2cdetect command to check the address, 0x24 is the default address.

Code: Select all

i2cdetect -y 2
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- 24 -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

The tapto.ini had to be updated to use a custom connection:

Code: Select all

connection_string="pn532_i2c:/dev/i2c-2"

Which pins did you use 4/5 29/30?
Do you have a picture? I'm a newbie and I have doubts and I'm afraid of burning something


Re: Tapto PN532 Module Tutorial?

Posted: Tue Oct 01, 2024 12:45 pm
by Arakon

Since this was never answered and I was just in the same situation:

You can just wire it in parallel to the RTC and the display. They have different IDs, so they work fine. So just connect all 3.3v, all GND, all SDA and all SCL lines together and to the mainboard.
Without the RTC board, you can also use a double row 2x7 2mm pitch connector.

i2c-MisterPi.png

On the NFC board, make sure to set the DIP switches as pictured.

PXL_20241001_124717221.PORTRAIT.ORIGINAL.jpg