- Arduino
- NodeMCU
- Servo Motor (1)
- Relay Switch (2)
- Momentary Button (2)
- Connecting Wires
- Arduino IDE
- Android Studio
- Notepad ++
- PHP Storm (optional - for php files)
- IDLE (for flask)
- Diagram Reference: Refer to the diagram in the
hardware
folder for setup instructions. - IP Address Configuration:
- Open
node.ino
andarduino.ino
files. - Change the IP addresses as required.
- Open
- Code Upload:
- Upload
node.ino
to your NodeMCU or other ESP32 devices. - Upload
arduino.ino
to your Arduino board.
- Upload
- Connections:
- Connect RX of NodeMCU/ESP32 to TX of Arduino.
- Connect TX of NodeMCU/ESP32 to RX of Arduino.
- Import SQL File:
- Open
localhost/phpmyadmin
. - Import the
elevator.sql
file.
- Open
- Copy Files:
- Locate your XAMPP
htdocs
directory. - Copy the
elevator
folder, which contains the PHP files, into thehtdocs
directory.
- Locate your XAMPP
- IP Address Configuration:
- Open the Java files in your mobile app project.
- Change the IP addresses as needed.
- Run Flask Server:
- Open a terminal in the
flask-webserver
directory. - Run the following command:
python run.py
- Open a terminal in the