JinjuWikiThe personal MCUpedia

Navigation

  • Main page
  • Recent changes
  • Random page
  • About me

Categories

STM32 (2)
  • STM32
  • STM32 sensor logger
    • Background
    • Design
    • Lessons learned
    • See also
  • Category page →
MCU Basics (1)
  • Microcontroller Basics
  • Category page →
Peripherals (2)
  • I²C
  • UART
  • Category page →
C Programming (1)
  • C (programming language)
  • Category page →
Literatures (0)
  • No pages yet
  • Category page →
Projects (2)
  • List of projects
  • STM32 sensor logger
    • Background
    • Design
    • Lessons learned
    • See also
  • Category page →
Courses (0)
  • No pages yet
  • Category page →

Elsewhere

  • GitHub
  • LinkedIn
Article

STM32 sensor logger

Last edited 2026-11-08
STM32 sensor logger
DeveloperJinju
Started2026
PlatformSTM32F4 (ARM Cortex-M4)
LanguageC
StatusActive
SourceGitHub

The STM32 sensor logger is a bare-metal data logger written in C for an STM32 microcontroller, developed by Jinju.[1] It reads a sensor over I²C and streams the values over UART.

Contents
  • 1 Background
  • 2 Design
  • 2.1 Hardware
  • 2.2 Firmware
  • 3 Lessons learned
  • 4 See also
  • 5 References

Background

[Why you built it.]

Design

Hardware

[Board, sensor, wiring.]

Firmware

[Register-level setup, timers, interrupts.]

// Code blocks work too
RCC->AHB1ENR |= RCC_AHB1ENR_GPIOAEN;

Tip

Enable the peripheral clock in RCC before touching any GPIO register — otherwise writes are silently ignored.

Lessons learned

[What you learned.]

See also

  • List of projects
  • Embedded systems

References

  1. ↑ Source code on GitHub.
← List of projectsProjects
Categories: Projects | STM32
This page was last edited on 2026-11-08. Built with Typst.