79693130

Date: 2025-07-07 16:18:04
Score: 0.5
Natty:
Report link

I compressed various timestamps into just 3 bytes (24 bits) for low-bandwidth IoT radio transmissions.

If you can tolerate a small error margin (e.g., ~1 second), you can encode multiple years of timestamps from a given epoch. This is ideal for embedded systems, LoRa, or sensor networks where transmission size matters.

I wrote a lightweight library called 3bTime that allows you to choose between different profiles depending on your application's needs — whether you're optimizing for precision or long-term range.

📦 Example:

Configurable, efficient, and designed for constrained environments.

GitHub: https://github.com/w0da/3bTime

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Lewy