This is the original project's documentation, kept unchanged for reference. It describes the original TI-32, not this mod. Use the other guides for this mod.
ESP32 Code Deployment and Server Setup Documentation
1. Downloading Code to the ESP32
Open the Arduino IDE:
- Open the
.inofile located in theesp32directory using the Arduino IDE.
- Open the
Configure Secrets:
- Navigate to the
secrets.hfile. - Fill in the required information (such as WiFi credentials, Hardware Pins, etc.) as specified by your project.
- Navigate to the
Obtain Server IP Address:
- Refer to the Server Setup section to get the IP address of your server.
- Update the IP address in your
secrets.hto match the server IP.
Flash the ESP32:
- Follow the hardware documentation to upload the code to your ESP32.
2. Wiring Instructions
Add Wiring Picture:
(Insert image here)Wiring Configuration:
- Wiring configurations may vary depending on the ESP32 model you're using.
- Refer to your specific hardware's datasheet for pin configurations.
3. Running the Server
Prerequisites:
- Ensure you have Node.js and npm (Node Package Manager) installed on your machine.
Install Server Dependencies:
- Navigate to the
serverdirectory in your terminal or command prompt. - Run the following command to install the necessary dependencies:bash
npm install
- Navigate to the
Start the Server:
- To run the server, execute the following command:bash
node index.mjs
- To run the server, execute the following command:
4. Retrieving Your Server IP Address
To obtain the server's IP address (required for configuration in secrets.h):
On Windows:
- Open the Command Prompt by searching for "cmd" in the start menu or pressing
Win + Rand typingcmd. - Run the following command:bash
ipconfig - Locate your specific network adapter (e.g., Wi-Fi or Ethernet).
- Use the IPv4 address associated with that network adapter. This will be the server's IP address.
Additional Notes:
- Ensure your ESP32 and server are connected to the same network.
- If you encounter issues with the server or ESP32 connectivity, verify firewall settings and network configurations.