Hi Buddies! In our last class, we built a digital clock without using interrupts — and yes, it worked well! But you might have noticed a small flicker when you pressed a button. Today, let’s solve that using interrupts. But before that, let’s understand what interrupts are. Blocking Code Method In earlier classes, especially when blinking LEDs, we used a delay inside the main loop. That delay blocks the system — during this time, the […]
Hi Buddies, Most of the time, we check the time on our phone or on store-bought wall clocks. But just imagine… what if we built our own digital clock? How cool would that be! Today, let’s build a fully functional digital clock from scratch, step-by-step using the Buddy51 board. Before we begin, this project uses some concepts from previous classes. If you haven’t watched those, please check them out first: Class 3 – How Single […]
Hi Buddies! Today on our BuddyKit, let’s explore one of the essential communication protocols – the I2C Protocol. Microcontrollers support many protocols like I2C, SPI, and Serial. Among these, I2C (Inter-Integrated Circuit) is widely used for communication between devices on the same board or across boards. I2C works with one master and multiple slave devices. Each slave device has a unique address, and communication starts when the master sends a data packet with the slave […]
Hi buddies! In this post, let’s explore the Timer and Counter feature in the Buddy51 board. Why use a Timer instead of NOP? In our previous examples, we used NOP-based software delays. However, these are not accurate. To achieve precise timing, we use hardware-based timers and counters. What is a Timer or Counter? A timer or counter is a register that increments with each clock pulse. If the pulse is from an external pin, it’s […]
🔐 Build a Simple Digital Door Lock Using 8051 and BuddyKit Hi buddies! 👋 In this class, we’re building a simple digital door lock system using the Buddy51 Mini development board. This project uses a 4×4 matrix keypad to enter a password and a relay connected to a digital pin to control the lock. The status of the door (Locked or Opened) is displayed on a 16×2 LCD screen. 📌 What You’ll Learn How to […]