Posts

Showing posts with the label Log

Modifying LILYGO T3 LoRa32 RTL_433 ESP OOK receiver example - log found devices to file

https://techcoderadio.blogspot.com/2025/10/modifying-lilygo-t3-lora32-rtl433-esp.html   https://github.com/NorthernMan54/rtl_433_ESP   Log found devices to file (SD card) appendFile(SD, "/rtl433data.txt", JSONmessageBuffer); bin files: https://github.com/OH1GIU-P/ESP32-RTL433ESP-logger-firmware   /*  Basic rtl_433_ESP example for OOK/ASK Devices */ #include <ArduinoJson.h> #include <ArduinoLog.h> #include <rtl_433_ESP.h> #include <wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #include <SD.h> #include <FS.h> #include <SPI.h> #ifndef RF_MODULE_FREQUENCY #  define RF_MODULE_FREQUENCY 433.92 #endif #define JSON_MSG_BUFFER 512 #define LED_SDA 21 #define LED_SCL 22 #define LED_RST -1 #define SD_CS   13 #define SD_MOSI 15 #define SD_SCK  14 #define SD_MISO 2 #define SCR_W 128 #define SCR_H 64 Adafruit_SSD1306 display(SCR_W, SCR_H, &Wire, LED_RST); bool bLED = false; bool bSD = fa...

Log Uniden close call hits with Python

Image
Uniden remote command PWR returns frequency value 00000000 and background noise RSSI value when there is no CC hit. When Close Call found PWR returns frequency and RSSI values. import serial import pandas as pd import matplotlib.pyplot as plt import csv from datetime import datetime ser = serial.Serial('COM14', '115200', timeout = 0.5) print(ser.name) serialCmd = b'PWR\r' readSize = 19 loop = True freq = "" rssi = 0 data = [] log_data = [] cc_data = [] cols = ['Frequency', 'RSSI', 'Timestamp'] plt.xlabel("Frequency") plt.ylabel("RSSI") try:     while (loop == True):         ser.write(serialCmd)         res = ser.read(readSize).decode()         if (len(res) > 15):             r = res.replace('\r', '').split(",")             freq = r[2]    ...