0% found this document useful (0 votes)
5 views3 pages

Server Installation

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Server Installation

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

How to install our server on your PC

1. Install XAMPP Server

i. You can install the application using this link XAMPP Installers and
Downloads for Apache Friends
ii. After installation, you shall find a new folder created in the path:
C:\xampp\htdocs on your PC.
iii. Download this folder
(Link:https://drive.google.com/drive/folders/1nyTrXNFrcfLPn4mouMKo9s8XM
X2hqLC5?usp=sharing ) and place it in the htdocs created folder.

2. Download Server’s Python Application to run it on your PC.

i. You shall find the needed python files in this link: youssefnashaatt/Firmware-
Over-The-Air at Server (github.com)
ii. Download the files and open them in any preferred IDE.
iii. Libraries to be included are:
- Paho-mqtt==1.5.1
- Pycryptodome==3.20.0

Important Note: You shall use python 3.12 (32-bit) to be able to run the script.
3. Download Arduino IDE
(This step is just to be able to edit the code; change WiFi SSID and password based
on your current network.)

i. Download Arduino IDE 2.3.3 through this link: Software | Arduino

ii. Include ESP8266 board libraries: Tools -> Board -> Board Manager -> Search
for esp8266 and install the library.

iii. Include MQTT libraries: Sketch -> Include Library -> Manage Libraries ->
Search for PubSubClient and install it. (Should be by Nick O’Leary).

iv. Adjust the port based on where the board is connected: Tools -> Port ->
COM3 / COM4 / COM5.

v. Now edit WiFi SSID and password and your IP address in the code based on
your current network. (You shall find the meant variables in lines 28, 29,
31).

vi. Flash the code on the board.


4. Running Procedure (Follow the sequential steps in order)

i. Restart NodeMCU board.


ii. Run / Debug the gateway.
iii. Start the server’s python script.
iv. Move on with the python script. (Enter Target ID: 1 or 2 only & any preferred
version, then select the needed image to be flashed).

Note:
You can track the UART of the NodeMCU by opening Serial Monitor in Arduino
IDE. (Tools -> Serial Monitor).

You might also like