I'm just starting with Arduino. I have a very basic understanding of C++. Just enough that I'm not completely starting from scratch.
I'm mainly looking to orient myself for a simple project.
My project consists of a servo for a locking mechanism, being activated once a password/code is entered via a phone.
I have a servo that I've used with my Uno.
Basically I want to have a phone that can be connected to the Arduino as a code entry device (It doesn't necessitate a wireless connection for that, but I'm open to it). The servo will activate once the correct code is entered. But I want the code to be able to be randomized/changed via an admin remotely. Basically like the keypad entry devices people can remotely set, usually used for real estate sales, AirBNB, etc. So I'm envisioning an app installed on two phones, one being utilized only as an access device, the other as the admin for setting the code.
You probably want to get an ESP device then, if cost is no barrier.
If it is a barrier, then good luck, sorry I am quite new to this as well.
Also, I'm thinking down the line, but you won't want the servo to be the actual lock. What I mean by that is that you don't want the servo arm actually the thing that retracts and comes out. One little shove and that arm is broken. As for web development, I don't really know about that.
Thanks. I'm not sure about an ESP device, but cost is an issue.
The servo is not being used as the latch itself, it will control a bolt locking mechanism. I'm not too concerned about doing that portion. It's pretty straight forward.
The main thing I need to figure out is the entry system.
I'm not opposed to something like a membrane keypad for entry, but the issue is that I need to be able to change the password from pretty much anywhere, which is generally many miles away. So I figured having an app would be the easiest solution. I'm open to suggestions otherwise though.
To clarify, it does not necessarily have to be a code entry system. It just needs to be authorized by me, remotely. So for example, someone could call me and tell me they need access, they'd plug in their device, and I could press a button on my end that would communicate with their device and then to the board and servo assembly.
Okay, I did a little bit more research, and here's what I found:
There is a relatively low-cost module called the ESP2866 Module. It is only around 7 to 10 dollars, depending on what store you are at. Link right [here]. (WiFi Module - ESP8266 (4MB Flash) - WRL-17146 - SparkFun Electronics)
The tutorial is right here
To make this work, you'll have to have an internet connection on both sides, but that is pretty easy to get at this time.
Good luck! Sorry if I am bad at explaining this, as I am new to this as well. (got a MEGA 2560 2 to 3 years ago and it sat virtually untouched until around march of this year)
Happy Coding!
Thanks for recommending MIT App Inventor. I've created functional apps in it now. It's a step in the right direction. I tried other app development software, but couldn't get it to even recognize my android after going by the supposed proper procedures.