MySQL Forums
Forum List  »  Connector/Arduino

MysqlConnector + NFCPN532
Posted by: simon p
Date: April 08, 2014 11:30AM

Hello,
I am a French student.

I use a Arduino Uno R3 board and a Wifi Shield Arduino and a Adafruit NFC PN532 shield.

Arduino Uno : http://arduino.cc/en/Main/arduinoBoardUno
Wifi Shield : http://arduino.cc/en/Main/ArduinoWiFiShield
Adafruit NFC PN532 shield : https://www.adafruit.com/products/789

I use the Wifi shield and the Adafruit NFC PN532 shield in SPI

The project consiste to create a NFC lock to enter the room of a hotel.
So, I need to read NFC cards and compare with the contained database of hotel.

To this day, I get to read NFC Badge correctly, I can connect to a database and retrieve data but I can not manage to do both in the same program.

In my programme the pins, i use for the NFC shield is :
#define SCK (2)
#define MOSI (3)
#define SS (4)
#define MISO (5)

I can well use my shield Nfc but when I then asked the connection to my database server. It does not work.

I use the last Version of mysqlConnector librarie 1.0.2b April version

Thank you for your replies and sorry for my bad English.

Options: ReplyQuote


Subject
Views
Written By
Posted
MysqlConnector + NFCPN532
4242
April 08, 2014 11:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.