• Home
  • Latest Projects

Latest Projects

  • Raja Gupta
  • June 8, 2026

Turning a Raspberry Pi Zero 2 W Into a NAS Using a 1TB External HDD

Most people think you need a dedicated NAS device from Synology or QNAP to create network storage at home. While those systems are excellent, they are also relatively expensive if your goal is simply storing files, backups, documents, photos, or project data across devices. What many people don’t realize is that a tiny Raspberry Pi

  • Raja Gupta
  • May 31, 2026

Struct vs Union in C: Understanding When and Why to Use Each

If you’ve been learning C for a while, you’ve probably come across both struct and union. At first glance, they look almost identical. Both allow you to group multiple data types together. Both use similar syntax. Both are commonly used in embedded systems. So naturally, many beginners ask: “If structs and unions look so similar,

  • Raja Gupta
  • April 27, 2025

Configuring Interrupts on STM32F446RE

In the previous article, we implemented a button-controlled LED toggle using a polling method. While simple and effective for basic projects, polling is inefficient for real-time or low-power embedded systems. In this article, we will improve the design by configuring the button press to trigger an external interrupt (EXTI) instead of continuously polling the button

  • Raja Gupta
  • April 27, 2025

Button Controlled LED Toggle on STM32F446RE (Polling Method)

In this article, we will walk through setting up a simple project on the STM32F446RE Nucleo-64 board where a user button press toggles an onboard LED. The focus will be on manual HAL configuration without relying on interrupts, using a pure polling method. This exercise covers basic GPIO initialization, clock setup, and handling a simple

  • Raja Gupta
  • April 27, 2025

Setting Up Your First STM32 Project in STM32CubeIDE and Writing a Blinky Code

When you’re getting started with STM32 microcontrollers, one of the best ways to dive in is by building a simple LED Blinky project. In this post, I’ll walk you through every step to create a new STM32CubeIDE project for the Nucleo-F446RE board, manually write the initialization code using STM32 HAL APIs, and explain some important

  • Raja Gupta
  • April 27, 2025

How to Interface PIC18F45Q10 with PC using PL2303 USB to TTL

In this post, I will explain how to connect a PIC18F45Q10 microcontroller to a PC terminal using a PL2303 USB to TTL converter.The idea is simple: blink an LED to confirm the microcontroller is running, and print “Hello World” continuously over UART to the terminal. Along the way, I also faced a few practical issues,

Embedded C Programming

Updated: March 15, 2026
Intermediate

Embedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used