RSS Daily tech news
  • Building electronics that don’t die: Columbia's breakthrough at CERN
    Deep beneath the Swiss-French border, the Large Hadron Collider unleashes staggering amounts of energy and radiation—enough to fry most electronics. Enter a team of Columbia engineers, who built ultra-rugged, radiation-resistant chips that now play a pivotal role in capturing data from subatomic particle collisions. These custom-designed ADCs not only survive the hostile environment inside CERN […]
  • Digital twins are reinventing clean energy — but there’s a catch
    Researchers are exploring AI-powered digital twins as a game-changing tool to accelerate the clean energy transition. These digital models simulate and optimize real-world energy systems like wind, solar, geothermal, hydro, and biomass. But while they hold immense promise for improving efficiency and sustainability, the technology is still riddled with challenges—from environmental variability and degraded equipment […]
  • Quantum tunneling mystery solved after 100 years—and it involves a surprise collision
    For the first time ever, scientists have watched electrons perform a bizarre quantum feat: tunneling through atomic barriers by not just slipping through, but doubling back and slamming into the nucleus mid-tunnel. This surprising finding, led by POSTECH and Max Planck physicists, redefines our understanding of quantum tunneling—a process that powers everything from the sun […]
  • Decades of chemistry rewritten: A textbook reaction just flipped
    Penn State researchers have uncovered a surprising twist in a foundational chemical reaction known as oxidative addition. Typically believed to involve transition metals donating electrons to organic compounds, the team discovered an alternate path—one in which electrons instead move from the organic molecule to the metal. This reversal, demonstrated using platinum and palladium exposed to […]
  • You’ve never seen atoms like this before: A hidden motion revealed
    A pioneering team at the University of Maryland has captured the first-ever images of atomic thermal vibrations, unlocking an unseen world of motion within two-dimensional materials. Their innovative electron ptychography technique revealed elusive “moiré phasons,” a long-theorized phenomenon that governs heat, electronic behavior, and structural order at the atomic level. This discovery not only confirms […]
  • This Algorithm Just Solved One of Physics’ Most Infamous Problems
    Using an advanced Monte Carlo method, Caltech researchers found a way to tame the infinite complexity of Feynman diagrams and solve the long-standing polaron problem, unlocking deeper understanding of electron flow in tricky materials.
Graphical illustration of PWM signal showing narrow and wide pulses with varying duty cycles. Includes a 10V signal graph, labels for voltage levels, and mentions PIC16F877A microcontroller and MPLAB X IDE.

Using PWM in PIC16F877A

Digital signals (0 or 1) and analog signals (range of values) are both used in electronics. Analog inputs can be converted to digital through an ADC. To control analog devices with a microcontroller, DACs are used but they're costly and space-consuming. PWM (Pulse Width Modulation) is a cost-effective technique that ...
Educational slide introducing Timer2 of the PIC16F877A microcontroller. It includes a stopwatch icon with the phrase “Alarm, Timers, how does it work?” on the left, and an image of the PIC microcontroller with MPLAB X IDE branding on the right. The tutorial focuses on Timer2's use in generating precise delays and pulse-width modulation (PWM).

PIC16F877A Timer2 tutorial

The Timer2 module is an 8-bit timer/counter within most PIC MCU devices. Timer2 can increment up to a value of 255 before it overflows back to zero. Timer2 has other built-in features that make it very useful for many different applications.
Educational slide introducing the Timer1 module of the PIC16F877A microcontroller. The left side shows a stopwatch icon and the question “Alarm, Timers, how does it work?”, while the right side features the microcontroller image and MPLAB X IDE logo. The tutorial focuses on Timer1's role in timing, delays, and interrupts.

PIC16F877A Timer1 Tutorial

The Timer1 module is a 16-bit timer/counter within most PIC MCU devices. Timer1 can increment up to a value of 65535 before it overflows back to zero. Because the timer is built into an 8-bit device, the 16-bit timer register is broken into two 8-bit registers (TMR1L and TMR1H) and ...
Educational slide introducing the use of hardware timers in the PIC16F877A microcontroller. The left side features a stopwatch icon and the question “Alarm, Timers, how does it work?”, while the right side shows the microcontroller and MPLAB X IDE logo. The image sets the stage for learning about Timer0, Timer1, and Timer2 functionality.

PIC Microcontrollers Timers

In this tutorial, we will learn what are "Timers"; we will explain this with examples using the Microcontroller PIC16F877A. For this tutorial is may be helpful to understand the basics of turning an LED on and off, which is explained in one of my previous tutorials on LEDs. In this ...
Educational graphic showing how to interface 4x3 matrix keypads with a PIC16F877A microcontroller. The image includes two physical keypads, a schematic layout of the 4x3 keypad connections, the PIC16F877A chip, and the MPLAB X IDE logo. Text reads "Interfacing PIC16F877A with 4x3 keypads."

Interfacing 4×3 keypads with PIC16F877A

In this tutorial, we will provide an overview of the 4x3 membrane keypad. The keypad serves as a reliable and budget-friendly tool for having inputs in your project. Understanding how to interface with the keypad will prove useful in future projects that require menu selection or similar inputs. Our guide ...
Categories
Instagram