▲ 18 r/stm32

Title: How do I learn to read reference manuals and write bare-metal code instead of copying examples?

I'm an ECE student and I've recently started learning STM32 (Blue Pill / STM32F103). My goal right now is not RTOS, Linux, AI, or advanced projects. I just want to learn how to properly understand a microcontroller and write code from the reference manual.

The problem I'm facing is that I still don't fully understand even the basics. I can't confidently blink an LED on my own yet without following a tutorial step-by-step. I get confused about things like enabling clocks, configuring GPIO registers, and writing the correct bit manipulations. I feel like I'm missing some very fundamental understanding, and I want to build that from the ground up instead of just copying code.

I don't want to become someone who only copies HAL examples. I want to understand:

  • How experienced embedded engineers read reference manuals
  • What information should become muscle memory vs what should be looked up
  • How to navigate a datasheet/reference manual efficiently
  • How to go from "I want to blink an LED" to finding the right registers and writing the code myself
  • How to learn bare-metal programming the right way

Could you recommend:

  • YouTube channels
  • Blog series
  • STM32 learning paths
  • Exercises/projects that specifically teach reading documentation and writing code from it

If you were starting from scratch today and your goal was to become very comfortable with microcontroller architecture, registers, datasheets, and bare-metal programming, how would you do it?

I'd appreciate any roadmap or resources from people who have gone through this themselves.

reddit.com
u/microscammer — 12 days ago

How do I learn to read reference manuals and write bare-metal code instead of copying examples?

I'm an ECE student and I've recently started learning STM32 (Blue Pill / STM32F103). My goal right now is not RTOS, Linux, AI, or advanced projects. I just want to learn how to properly understand a microcontroller and write code from the reference manual.

The problem I'm facing is that I still don't fully understand even the basics. I can't confidently blink an LED on my own yet without following a tutorial step-by-step. I get confused about things like enabling clocks, configuring GPIO registers, and writing the correct bit manipulations. I feel like I'm missing some very fundamental understanding, and I want to build that from the ground up instead of just copying code.

I don't want to become someone who only copies HAL examples. I want to understand:

  • How experienced embedded engineers read reference manuals
  • What information should become muscle memory vs what should be looked up
  • How to navigate a datasheet/reference manual efficiently
  • How to go from "I want to blink an LED" to finding the right registers and writing the code myself
  • How to learn bare-metal programming the right way

Could you recommend:

  • YouTube channels
  • Blog series
  • STM32 learning paths
  • Exercises/projects that specifically teach reading documentation and writing code from it

If you were starting from scratch today and your goal was to become very comfortable with microcontroller architecture, registers, datasheets, and bare-metal programming, how would you do it?

I'd appreciate any roadmap or resources from people who have gone through this themselves.

reddit.com
u/microscammer — 12 days ago

Which elective would best support a career in embedded systems and TinyML/Edge AI?

I'm an ECE student primarily interested in embedded systems, understanding how microcontrollers and digital hardware work internally, and eventually deploying CNN/TinyML models on resource-constrained hardware (STM32, ESP32, Cortex-M class devices).

​

I need to choose one of the following electives:

​

Digital System Design

Linear Integrated Circuits

Chip Level Photonics

Nano Electronics

Digital Image Processing

Speech and Natural Language Processing

​

For context, I'm more interested in:

Firmware and RTOS development

Microcontroller architecture

Registers, peripherals, interrupts

Embedded AI / Edge AI

Optimizing ML models for constrained hardware

I'm not specifically targeting VLSI, semiconductor fabrication, or photonics research.

Which elective would provide the most long-term value for this path, and how would you rank the others?

Thanks!

reddit.com
u/microscammer — 15 days ago

What would you do with this recessed space under the staircase?

Photos attached.

​

We're trying to decide how to use this built-in recessed planter/pit under our staircase. The house has a fairly modern aesthetic with marble flooring, glass railings, and warm lighting, and we'd like this area to become a feature rather than leaving it empty.

​

A few constraints:

​

It wasn't designed as a proper planting bed.

​

There is no drainage provision.

​

We'd prefer not to make any structural changes.

​

We'd like something timeless rather than trendy.

​

My first thought was a large indoor statement tree in a concealed planter, but I'm worried about root growth, maintenance, and whether the space will get enough natural light long-term.

​

If this were your house, what would you put here?

​

Ideas I'm considering:

​

A large specimen tree

​

A sculptural bonsai-style tree

​

A stone and uplighting feature

​

An indoor courtyard-inspired design

​

Something completely different

​

I'd love to hear what interior designers, architects, or homeowners would do with this space. Photos or examples of similar projects would be greatly appreciated.

​

​

u/microscammer — 20 days ago

Need suggestions for a large indoor statement tree in Bengaluru

where I can buy one immediately

​

Photos attached.

​

I have this recessed planter/pit under my staircase that I want to turn into a focal point. I'm looking for a large, aesthetic indoor tree with a broad canopy that visually fills the space and spreads out over the planter area.

​

A few constraints:

​

The pit was not designed as a proper planting bed.

​

There is no drainage system.

​

I don't want aggressive roots that could become a problem later.

​

The tree will most likely stay in a large concealed container placed inside the pit.

​

I'm not looking for a tall, skinny palm or a narrow upright tree.

​

I want something with a substantial trunk and a wider canopy that looks premium and architectural.

​

Most of the suggestions I see online are Areca Palms, Dracaenas, Money Trees, etc. That's not the look I'm after.

​

I'm looking for recommendations on:

​

Tree species that would suit this space.

​

Trees that can eventually spread out and visually cover most of the planter area.

​

Physical nurseries in Bengaluru where I can walk in and buy mature specimens (8–12 ft or larger) on the spot.

​

Not looking for landscapers, agencies, or design services. Just good nurseries that stock large specimen trees and are worth visiting.

​

Would love to hear from anyone who has done something similar in their home.

​

​

u/microscammer — 20 days ago

Need suggestions for a large indoor statement tree in Bengaluru

​

​

I have this recessed planter/pit under my staircase that I want to turn into a focal point. I'm looking for a large, aesthetic indoor tree with a broad canopy that visually fills the space and spreads out over the planter area.

​

A few constraints:

​

- The pit was not designed as a proper planting bed.

- There is no drainage system.

- I don't want aggressive roots that could become a problem later.

- The tree will most likely stay in a large concealed container placed inside the pit.

- I'm not looking for a tall, skinny palm or a narrow upright tree.

- I want something with a substantial trunk and a wider canopy that looks premium and architectural.

​

Most of the suggestions I see online are Areca Palms, Dracaenas, Money Trees, etc. That's not the look I'm after.

​

I'm looking for recommendations on:

​

  1. Tree species that would suit this space.

  2. Trees that can eventually spread out and visually cover most of the planter area.

  3. Physical nurseries in Bengaluru where I can walk in and buy mature specimens (8–12 ft or larger) on the spot.

​

Not looking for landscapers, agencies, or design services. Just good nurseries that stock large specimen trees and are worth visiting.

​

Would love to hear from anyone who has done something similar in their home.

u/microscammer — 20 days ago
▲ 4 r/ECE

Need Advice on Deep Edge AI / Embedded ML Capstone Ideas (STM32, TinyML, Optimization)

I’m an ECE student trying to figure out the best direction for my capstone/final year project and career path, and I’d really appreciate advice from people working in embedded systems / Edge AI / TinyML.

Recently I got very interested in running ML models on constrained hardware like STM32/ESP32. Initially I was thinking of doing a small project like handwritten digit recognition using a CNN on STM32 as a summer project so I can understand the complete pipeline:

  • training a tiny CNN
  • quantization/fixed-point
  • deployment on embedded hardware
  • inference optimization
  • memory/latency constraints
  • CMSIS-NN / ARM optimization

What really interests me is NOT just “using AI”, but understanding how inference actually runs efficiently on constrained systems.

One of my friends is building an FPGA-based CNN accelerator using systolic arrays and custom RTL, which made me realize I’m more interested in the embedded AI systems/runtime/software side rather than HDL-heavy hardware design. I enjoy C much more than Verilog/VHDL and I also want to learn low-level optimization + assembly.

Long term, I want my capstone project to be something deep and industry-relevant in Edge AI/Embedded AI — not just a basic demo project. I want something that:

  • teaches real engineering skills companies care about
  • has enough technical depth for a paper/research-style writeup
  • helps me understand AI inference/optimization deeply
  • could potentially stand out for roles in embedded AI / Edge AI / systems engineering

Right now I’m considering directions like:

  • optimized CNN inference runtime on STM32
  • fixed-point/quantized inference engine
  • ARM Cortex-M optimization
  • TinyML framework/runtime ideas
  • real-time embedded vision systems

My questions are:

  1. Is STM32 the right platform to go deep into this field?
  2. What kind of projects in embedded AI actually stand out technically?
  3. What do companies working in Edge AI/embedded ML actually value?
  4. What skills should I focus on if I want to work on serious Edge AI systems in the future?
  5. Is building custom inference/runtime optimizations a good capstone direction?

Would appreciate brutally honest advice from people in industry/research. I’m trying to avoid shallow “AI demo” projects and instead build strong fundamentals in a niche that has long-term value.

reddit.com
u/microscammer — 2 months ago
▲ 2 r/stm32

Need Advice on Deep Edge AI / Embedded ML Capstone Ideas (STM32, TinyML, Optimization)

I’m an ECE student trying to figure out the best direction for my capstone/final year project and career path, and I’d really appreciate advice from people working in embedded systems / Edge AI / TinyML.

Recently I got very interested in running ML models on constrained hardware like STM32/ESP32. Initially I was thinking of doing a small project like handwritten digit recognition using a CNN on STM32 as a summer project so I can understand the complete pipeline:

  • training a tiny CNN
  • quantization/fixed-point
  • deployment on embedded hardware
  • inference optimization
  • memory/latency constraints
  • CMSIS-NN / ARM optimization

What really interests me is NOT just “using AI”, but understanding how inference actually runs efficiently on constrained systems.

One of my friends is building an FPGA-based CNN accelerator using systolic arrays and custom RTL, which made me realize I’m more interested in the embedded AI systems/runtime/software side rather than HDL-heavy hardware design. I enjoy C much more than Verilog/VHDL and I also want to learn low-level optimization + assembly.

Long term, I want my capstone project to be something deep and industry-relevant in Edge AI/Embedded AI — not just a basic demo project. I want something that:

  • teaches real engineering skills companies care about
  • has enough technical depth for a paper/research-style writeup
  • helps me understand AI inference/optimization deeply
  • could potentially stand out for roles in embedded AI / Edge AI / systems engineering

Right now I’m considering directions like:

  • optimized CNN inference runtime on STM32
  • fixed-point/quantized inference engine
  • ARM Cortex-M optimization
  • TinyML framework/runtime ideas
  • real-time embedded vision systems

My questions are:

  1. Is STM32 the right platform to go deep into this field?
  2. What kind of projects in embedded AI actually stand out technically?
  3. What do companies working in Edge AI/embedded ML actually value?
  4. What skills should I focus on if I want to work on serious Edge AI systems in the future?
  5. Is building custom inference/runtime optimizations a good capstone direction?

Would appreciate brutally honest advice from people in industry/research. I’m trying to avoid shallow “AI demo” projects and instead build strong fundamentals in a niche that has long-term value.

reddit.com
u/microscammer — 2 months ago

Need Advice on Deep Edge AI / Embedded ML Capstone Ideas (STM32, TinyML, Optimization)

I’m an ECE student trying to figure out the best direction for my capstone/final year project and career path, and I’d really appreciate advice from people working in embedded systems / Edge AI / TinyML.

Recently I got very interested in running ML models on constrained hardware like STM32/ESP32. Initially I was thinking of doing a small project like handwritten digit recognition using a CNN on STM32 as a summer project so I can understand the complete pipeline:

  • training a tiny CNN
  • quantization/fixed-point
  • deployment on embedded hardware
  • inference optimization
  • memory/latency constraints
  • CMSIS-NN / ARM optimization

What really interests me is NOT just “using AI”, but understanding how inference actually runs efficiently on constrained systems.

One of my friends is building an FPGA-based CNN accelerator using systolic arrays and custom RTL, which made me realize I’m more interested in the embedded AI systems/runtime/software side rather than HDL-heavy hardware design. I enjoy C much more than Verilog/VHDL and I also want to learn low-level optimization + assembly.

Long term, I want my capstone project to be something deep and industry-relevant in Edge AI/Embedded AI — not just a basic demo project. I want something that:

  • teaches real engineering skills companies care about
  • has enough technical depth for a paper/research-style writeup
  • helps me understand AI inference/optimization deeply
  • could potentially stand out for roles in embedded AI / Edge AI / systems engineering

Right now I’m considering directions like:

  • optimized CNN inference runtime on STM32
  • fixed-point/quantized inference engine
  • ARM Cortex-M optimization
  • TinyML framework/runtime ideas
  • real-time embedded vision systems

My questions are:

  1. Is STM32 the right platform to go deep into this field?
  2. What kind of projects in embedded AI actually stand out technically?
  3. What do companies working in Edge AI/embedded ML actually value?
  4. What skills should I focus on if I want to work on serious Edge AI systems in the future?
  5. Is building custom inference/runtime optimizations a good capstone direction?

Would appreciate brutally honest advice from people in industry/research. I’m trying to avoid shallow “AI demo” projects and instead build strong fundamentals in a niche that has long-term value.

reddit.com
u/microscammer — 2 months ago
▲ 149 r/PESU

PES Isn’t Your Hindi-Speaking Safe Space

the entitlement some North Indians bring to PES needs to be studied , you came to Karnataka for a degree and placements, not to build your own illiterate Hindi bubble

Every week it’s the same dumbass questions:
“Will people know Hindi?”
“Is there language imposition?”
“What’s the North to South ratio?”

Like are you serious 😭 . Learn to speak proper English first before expecting an entire state to cater to your Hindi bubble.

And some of these mfs will reply in Hindi even when I start the convo in English the entitlement is insane. They walk into another state and still expect everyone else to adjust to them. You came to Karnataka. People here are gonna speak Kannada. Deal with it.

Note: this isn’t a hate post nobody cares where you’re from. The problem is the entitlement of coming to another state and expecting everyone to know Hindi and adjust to you. Learn English..

reddit.com
u/microscammer — 2 months ago
▲ 3 r/PaidInternships+2 crossposts

I’m a 19-year-old BTech student (currently in my 2nd year, ECE at PESU) looking for a summer internship opportunity in Bengaluru, preferably in Edge AI / embedded AI systems.

I’m interested in learning:

How AI models run on edge devices (currently a beginner)

Embedded systems + ML integration from scratch

Real-time applications like IoT and smart systems

My skills and knowledge include:

C and Python programming

ESP32 (ESP-IDF)

OpenCV (worked on basic facial recognition)

Basic ML concepts (CNNs, regression, classification, etc.)

I’m comfortable with showing up on-site every day and would actually prefer that kind of hands on environment over remote work.

I’m open to startups, labs, or teams where I can learn, contribute, and gain real practical experience.
Thank you : )

reddit.com
u/microscammer — 2 months ago