Hi everyone im new in Arduino. I have started a new project but i have a trouble with FPS-GT511C3 and Ethernet Shield i cant use tohether them. Could you help me ?
#include <SPI.h>
#include <Ethernet.h>
#include <SoftwareSerial.h>
#include <FPS_GT511C3.h>
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
EthernetServer server(80);
FPS_GT511C3 fps(52, 53);
void setup() {
Serial.begin(9600);
Serial.println("Wait for settings");
delay(1000);
Ethernet.begin(mac);
Serial.println("Ethernet has started..");
delay(1000);
server.begin();
Serial.print("Server is started..");
Serial.println(Ethernet.localIP());
delay(2000);
fps.Open();//If i remove this and below code then it works correctly.
fps.SetLED(true);
delay(2000);
Serial.println("Everything is ok");
}
If i remove fps.Open(); project is working correctly.But i put this code i cant see "Everything is ok" text.
I did not initialize and setup on a computer. I have to use on Arduino Mega and Ethernet Shield. Also I could not use Serial Ports for FingerPrinScanner. What should i do ?
Did you choose a library/code/sketch ?
The one from Sparkfun might be used with pins 10,11,12, 14,15 or an analog pin A8 ... A15.
But I don't know much about it, so I don't think I can help any further.
When you are trying the Sparkfun code and have a question, perhaps you could start a new topic with the word "FingerPrintScanner" in it.
I don't know what other pins you are trying. Only a few can be used for SoftwareSerial on a Mega.
Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9 (63), A10 (64), A11 (65), A12 (66), A13 (67), A14 (68), A15 (69).