This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Submited OnRecv function to ChatGPT for this troubleshooting code: | |
/* | |
If node ID4 is not displaying any data, we can troubleshoot this methodically and ensure all active nodes (ID1 to ID4) are properly recognized. | |
1. Enhanced Debugging Setup: | |
We'll maintain a list of active node IDs and log any new node detected. | |
This will help us determine if node ID4 is even sending data or if it's being ignored. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ESP-NOW Two-Way Communication - Master (One) and Nodes (Three) | |
//Example code by ChatGPT --may have errors | |
// Master Code (ESP32) | |
#include <WiFi.h> | |
#include <esp_now.h> | |
// Define MAC addresses of the three nodes | |
uint8_t node1Address[] = {0x24, 0x6F, 0x28, 0x12, 0x34, 0x56}; | |
uint8_t node2Address[] = {0x24, 0x6F, 0x28, 0x65, 0x43, 0x21}; | |
uint8_t node3Address[] = {0x24, 0x6F, 0x28, 0x78, 0x90, 0x12}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Colaboration with ChatGPT and William Lucid 04/28/2025 @ 23:04 EDT | |
#include <Arduino.h> | |
const int micPin = 12; | |
const int sampleWindowMs = 50; // Sampling window size in milliseconds | |
const int thresholdOn = 1100; // Blower ON if PeakToPeak >= 1100 | |
const int thresholdOff = 900; // Blower OFF if PeakToPeak <= 900 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text by ChatGPT | |
Perfect! You can absolutely just set a flag inside the interrupt to trigger your `onMinute()` function in `loop()`. That keeps the ISR super lightweight (as it should be), and lets your main code handle the actual processing. | |
--- | |
### 🔧 Updated Example with `elapsed_onMinute` flag: | |
```cpp | |
hw_timer_t *timer = NULL; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 📌 How to Use Perpetual Google Apps Script to Log Data into a Monthly Google Sheet --post created by ChatGPT | |
This script automatically logs data into a Google Sheet, creating a new sheet each month and appending rows with each web request. It’s perfect for projects like temperature monitoring or time tracking using ESP32, Arduino, or any device that can send HTTP GET requests. | |
--- | |
### ✅ What This Script Does | |
- Receives HTTP GET requests (via doGet) | |
- Appends data to a Google Sheet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String GOOGLE_DEPLOYMENT_ID = " Your Google_Deployment_ID " | |
void setup(){ | |
//Your setup code | |
} | |
void loop(){ | |
//Your loop code | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// HelpDesk.iss | |
// 02/26/2025 @ 13:23 EST | |
// Developed by William Lucid, Github.com\tech500 | |
// Collaboration with Microsoft's Copilot, Google's Gemini, and Open AI's ChatGPT | |
// Retired, Computer Specialist | |
#define MyFilePath "C:\RustdeskResources" | |
#define MyFileName "rustdesk-1.3.8-x86_64.exe" | |
#define ImportFilename "C:\RustdeskResources\Rustdesk2.toml" | |
#define MyAppPublisher "Tech500" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sheet_id = "1hBT_nM_UehFrAa7o_lUW-eZEOpnFSgUZqsDaygV7XgQ"; | |
const headers = ['dtstamp', 'temp', 'heatindex', 'humidity', 'dewpoint', 'pressure', 'diff']; | |
const now = new Date(); | |
const sheetName = `${getMonthNames(now.getMonth())} ${now.getFullYear()}`; | |
const ss = SpreadsheetApp.openById(sheet_id); | |
let sheet = ss.getSheetByName(sheetName); | |
function doGet(e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Document --rustdesk client config batch file | |
@echo off | |
REM Assign the value random password to the password variable | |
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION | |
set alfanum=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 | |
set rustdesk_pw= | |
for /L %%b in (1, 1, 12) do ( | |
set /A rnd_num=!RANDOM! %% 62 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Document --rustdesk client config batch file | |
@echo off | |
REM Assign the value random password to the password variable | |
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION | |
set alfanum=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 | |
set rustdesk_pw= | |
for /L %%b in (1, 1, 12) do ( | |
set /A rnd_num=!RANDOM! %% 62 |