When two gloves with sensors touch each other, data should be sent to a database

Why do the gloves need individual ID, the only thing they are doing is connecting with each other, if they are the only gloves then you now it must be them connecting.

I'm making the prototype with just two gloves, but I want to be able to distinguish multiple gloves if more are added.

What is the application, this will possibly help use give you more concise information.

Gloves with sensors which sense the type of touch, a highfive should give one point, holding hands should add 5 points to a database. I only have to showcase the prototype inside on a table, so I don't have to worry about the gloves not being really easy to take outside. Therefore my setup right now is:

  • 2 computers
  • 2 Arduinos, wired to their own computer
  • 2 gloves with an NFC reader and a tag

When the gloves touch, the reader of glove 1 senses the touch of glove 2 (NFC Tag) and sends a point to the database for glove 1. At that same time, glove 2 registers the touch of the NFC tag in glove 1 and sends a point to the database for glove 2. The data in the database will be shown in a very simple web application.

Are the gloves on two different individuals.

Yes, that's why I will need to use two Arduinos.