Category: Component

  • Inductor

    Inductors are electronic components that store energy in the form of a magnetic field. They are used in a wide range of applications, from simple circuits to power supplies and filters. Understanding the principles of inductors is essential for designing and analyzing electronic circuits. Inductance is the property of an inductor that opposes any change…

  • AVR Input Output Port Programming

    In AVR microcontroller programming, input/output ports are used to interface with external devices such as sensors, switches, LEDs, motors, and other peripherals. Here’s an example of how to program AVR input/output ports using C language: In this example, we set PORTB as an output port by setting all of its pins to output mode. We…

  • TIP3055 NPN BJT

    It is a power transistor capable of handling power dissipation up to 90W for a few microseconds(generally less than 300 microseconds). Also, it has a Vceo of 60 V and a collector current of 15A. TIP3055 is a widely used NPN power transistor that can handle high power and high voltage applications. It has a…

  • BD139 Pinout

    The BD139 is a general-purpose NPN bipolar junction transistor (BJT). It has three pins: There are two companies that manufacture the transistor The pinout diagram according to STMicroelectronics is as follows: When looking at the center hole and keeping the metal side down the pins are arranged from right to left as: It’s important to…

  • MC34063 DC-DC Step-Down Voltage Regulator

    MC34063 is an integrated circuit which has all the essential components to make a DC-DC switching voltage regulator. There are other popular switching regulators in the market. And the mc34063 IC is not the very best. But this chip is cheap. As you can see from the block diagram. This chip contains an AND gate,…

  • How to use AT24C32 EEPROM with ATmega328PB in Microchip Studio

    AT24C32 is an i2c compatible serial EEPROM which can be programmed using a microcontroller. The AT24C32 provides 32,768 bits of serial electrically erasable and programmableread-only memory (EEPROM). The device’s cascadable feature allows up to 8 devices to share a common 2-wire bus. The device is optimized for use in many industrial and commercial applicationswhere low…

  • How to use DS1307 RTC with ATmega328PB via I2C in Microchip Studio

    The DS1307 Real Time Clock uses I2c communication lines to connect with the microcontroller. I2C uses two lines commonly known as Serial Data/Address or SDA and Serial Clock Line or SCL. The two lines SDA and SCL are standardised and they are implemented using either an open collector or open drain configuration. What this means…

  • How to use UART Receive complete ISR of ATmega328PB using microchip studio

    When you enable the communication using the UART. You have the flexibility to either use the Polling or Interrupt method to continue with your programming. Polling halts the execution of the program and waits for the UART peripheral to receive something so that program execution must continue. But it eats a lot of the computing…

  • How to use internal temperature sensor of ATmega328pb

    ATmega328PB is a new semiconductor microcontroller from Microchip semiconductors. I have used its previous generation which is ATmega328 and ATmega328P. They were usually found on Arduino Uno and Arduino nano. This new IC has a temperature sensor built into it. Which is handy for measuring the die temperature. Which can make device stable in high-temperature…

  • How to add USBASP as External Tool in Microchip studio

    Download microchip studio from here https://www.microchip.com/en-us/tools-resources/develop/microchip-studi Install the program. I use USBASP to program AVR ATmega328pb. Go to Tools > External Tools > ADD Command: location of avrdude Arguments: Check the Use Output window to be able to see the output of the avrdude inside the microchip studio terminal.