Hi everyone, I am new to Arduino. I planing to a project with the intruder system but I am confusing with should I go for Arduino or raspberry pi.
It will be two-factor authentication which fingerprint and RFID. If the verification is failed the camera will
capture image and send via email.
The board that I going to use is Arduino Mega 2560 with esp8266 WIFI module.
There some query with my project which:
-
Is it possible Arduino can send the email with image attachment? At the same time, the system will send the email automatically after capture the image, may i know is it possible to do it and any source code i can refer to?
-
How the fingerprint will store and where ? is on board or database?
-
How to save the image from Arduino to database (firebase)? Does any source code refer?
-
I concern that is Arduino mega can manage this kind of "heavy task"? Because I found that Arduino ram is quite small.
I am seeking an answer to this...
Thanks
.
As far as what direction of hardware Arduino, R-PI, ESP, ST...
I guess that is just a personal thing.
Be it Speed, Space or Pin count, they all have their good bits along with their issues and limitations.
So always keep all types in mind that you are comfortable to work with.
You will find that the ESP8266 can do most of the heavy lifting for anything internet related.
They are a pretty powerful processor in their own right.
If you need something with a 2mp camera then look at the ESP32 with the little camera modules attached.
That little $7 board has SD card for saving images as well is able to video-stream and includes a sort of facial recognition too. You guessed it, it should also be able to send off emails with little effort.
I believe that the ESP32 libraries contains this camera example I mention and there are various videos on the tubeU.
There maybe enough spare pins on that ESP32 board with the camera to add RFID and Finger scanner.
If not then the 2560 or smaller will give plenty of IO and just communicate with the ESP device using SPI or similar. Not sure but guess the sensors will be serial or SPI.?
Just remember that the ESP8266 is only tolerant to 3.3v so do not hook 5v Arduino connections direct.
Not sure on the ESP32 never looked.
I guess the R-PI is far more powerful, running RTOS.
But for what you have mentioned it maybe overkill.
Or not, who knows such things.
Firebase.?? Guessing that is sitting on a web server somewhere.?
To communicate with the database, perhaps most of that can be done in php so that your device just sends and receives packets using normal http POST and GET. If you cannot do it in php then I am sure with the right information something can be done direct on the device.