Skip to content

Instantly share code, notes, and snippets.

@Tech500
Tech500 / README.md
Created September 21, 2025 12:43
Readme for LoRa BME280 Sensor Network

🌡️ LoRa BME280 Sensor Network --Project in progress; still making refinements. Early, Beta...

"Original concept and development: William Lucid, with AI development assistance for code architecture and documentation. Hardware platform: EoRa-S3-900TB from EbyeIoT.com"

A complete, production-ready LoRa sensor network solution for environmental monitoring

License: MIT Arduino Python Docker

@Tech500
Tech500 / Why Ebyte, EoRa Pi?.md
Created September 18, 2025 10:59
Aout Ebyte Manufacture of EoRa PI

🏅 About Ebyte - Professional Wireless Solutions

Company Profile: Ebyte is a professional manufacturer specializing in wireless communication modules and IoT solutions. Their extensive product line includes LoRa, WiFi, Bluetooth, and cellular communication modules used in industrial and commercial applications worldwide.

Why Ebyte for Ultra-Low Power IoT:

  • Specialized expertise in wireless communication design
  • Professional-grade hardware with proper RF optimization
  • Complete documentation including schematics, examples, and support files
  • Quality components like the ME6214 LDO for ultra-low power applications
@Tech500
Tech500 / Power Analysis .md
Created September 17, 2025 16:17
EoRa Pi Development board Power Analysis

EoRa Pi (ESP32-S3 + SX1262) Power Analysis --ChatGPT

This document summarizes the power measurements, calculations, and battery-life estimates for the EoRa Pi using radio.sleep and ESP32-S3 deep sleep.

EoRa Pi Source


1. Measurement Setup

@Tech500
Tech500 / Deep-Sleep-Function.md
Created August 30, 2025 17:28
EoRa PI Foundation --Receiver --Deep Sleep function
void goToSleep(void) {
  Serial.println("=== PREPARING FOR DEEP SLEEP ===");
  Serial.printf("DIO1 pin state before sleep: %d\n", digitalRead(RADIO_DIO1_PIN));
  Serial.printf("Wake pin (GPIO16) state before sleep: %d\n", digitalRead(WAKE_PIN));
  
  // Set up the radio for duty cycle receiving
  radio.startReceiveDutyCycleAuto();

  Serial.println("Configuring RTC GPIO and deep sleep wake-up...");
@Tech500
Tech500 / EoRa PI Serial Montor.txt
Last active August 19, 2025 09:44
~175 uA Eora PI Foundation --Receiver Serial output
EoRa PI Foundation --Receiver
Ebyte's EoRa-S3-900TB Dev Board
ESP32-S# dev board with SX1262 LoRa module
175 uA LoRa rmote receiver --Load Controller
Deep Sleep with external wake up by radio!!!
00:24:02.366 -> ESP-ROM:esp32s3-20210327
00:24:51.761 -> initBoard
00:24:51.761 -> Cold Boot or Other Start-up
@Tech500
Tech500 / 74HC73.md
Last active August 5, 2025 22:56
74HC73 Data

CD74HC73E (Dual JK Flip-Flop with Reset, PDIP-14

# CD74HC73E Pinout (PDIP-14)

| Pin | Name   | Description                          |
|-----|--------|--------------------------------------|
| 1   | 1CLR   | Asynchronous Clear (Flip-Flop 1)     |
| 2   | 1CLK   | Clock Input (Flip-Flop 1)            |
| 3   | 1J     | J Input (Flip-Flop 1)                |
| 4 | 1K | K Input (Flip-Flop 1) |
@Tech500
Tech500 / gist:6c9f1216a5564a3341910d8780677078
Last active August 4, 2025 00:58
Latest EoRa PI Foundation --Receiver with WOR, puts LoRa module in listen mode, wakes deep sleeping ESP32
/*
Claude's version 112 Latest code with J-K Flip-Flop (74HC73) untested. Part on order. Code is
a works in progress. Cold boot is working, repeating cycle after cold boot is not working,
DIO1 signal is too fast; this is where the 74HC73 comes in to toggle and hold the wake up pulse
from the LoRa radiop module. DIO1 signal is used for Wake on Radio, puts radio into listen
mode and wakes Deep Sleeping ESP32 using external wake up..
Project uses Ebyte's, provided "boards.h" board configuration and "utilites.h" pin assignments.
Coded by Claude with Design and prompting code execuyion. Troubleshooting provided by Claude
and William Lucid.
@Tech500
Tech500 / Eora-PI---test.ino
Last active July 28, 2025 21:37
Power Management for Ebyte's EoRa-S#-900TB development board
#include "eora_s3_power_mgmt.h"
void setup() {
Serial.begin(115200);
delay(2000);
Serial.println("No-I2C Power Test");
// Test config - don't touch ANY GPIOs
eora_power_config_t config = {
@Tech500
Tech500 / Serial Monitor Observations.txt
Last active August 29, 2025 05:56
Serial Monitor Obwervations --EoRa PI Project
18:19:52.354 -> //<------------------- Power on ------------------------
18:19:52.354 ->
18:19:52.354 -> FS init: ok
18:19:52.354 -> CPU Frequency: 80 MHz //<------------------ Power saving by slowing microcontroller
18:19:52.354 -> initBoard //<------------------------------ Init caused by reset reason ESP_RST_POWERON
18:19:53.360 -> [SX126x] Initializing ... success!
18:19:53.391 -> [SX126x] Starting to listen ... success! //<--------- Need to establish listening duty cycle
18:19:53.391 ->
18:19:53.391 -> === PREPARING FOR DEEP SLEEP ===
18:19:53.391 -> DIO1 pin state before sleep: 0
@Tech500
Tech500 / Modification.txt
Last active July 14, 2025 19:46
Modification?
Does this need modification to use with DeepSleep.ini?
void OnRxDone(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr) {
Serial.println("WOR wake triggered: Packet received");
// Convert payload bytes to String
String packet;
for (uint16_t i = 0; i < size; i++) {
packet += (char)payload[i];
}