Category: Microcontroller

  • How to make ATmega GPIO work as Input or Output

    AVR Input Output Port programming means you have to program its GPIO pins. GPIO – General Purpose Input and Output The GPIO is a very important peripheral of the microcontroller. Using the GPIO we can use the same exact pin for Input or Output. To make the PIN input or output we need to set…

  • Analog Modulation based Transmitter using ATmega16a

    Analog Modulation is the very basic form of modulation that can be produced using very basic components. The ATmega16a is used to generate a square wave. The frequency can be generated by carefully adjusting the 8-bit PWM Timer. Using the above method a Carrier Signal is generated. You can hear the carrier pulses on AM…

  • Memory Space in ATmega16A

    To effectively program AVR based microcontroller you must have knowledge about its memory space. Since there is not just one memory space. There are three different address spaces. They are: Data memory (SRAM) Here all your the intermediate results are stored and all the run time calculation get carried in this memory space. Program memoryIt…

  • Arm Based Microcontrollers

    At the time of writing this article ARM-based microcontroller means the microcontroller which uses a 32-bit RISC processor design from ARM holdings. Presently ARM Cortex-M series of processor cores are being integrated into microcontrollers. The ARM-Cortex M family comprises the following processors. Cortex-M0 Cortex-M0+ Cortex-M1 Cortex-M3 Cortex-M4 Cortex-M7 Cortex-M23 Cortex-M33 Cortex-M35P Cortex-M55 The Cortex-M4 /…

  • Compile AVR Code in Raspberry Pi

    I have recorded a video showing the steps to compile AVR code. In this video, you will see how to compile AVR led blinking code for the atmega32 microcontroller is being compiled using AVR-GCC in raspberry pi 3 b+. Step 1. : Create a file and put your avr c code in that file. Save…

  • How to install AVR-GCC Compiler in raspberry pi

    In this video, you will see that how avr compiler can be installed in raspberry pi model 3 b+. For steps on how to install avrdude in raspberry pi you can go here. AVR compiler and avrdude together on raspberry pi make it a development environment for embedded systems involving Avr microcontroller.

  • Using USBASP V2.0 AVR Programmer with Raspberry Pi 3

    Raspberry pi or Rpi can be used for programming certain AVR microcontrollers. I have made a video showing you the steps. Step 1: you have to install AVRDUDE Step 2: You can check if the avrdude is installed properly or not using step 3: connect your USBASP v2.0 to your microcontroller Microcontroller Programmed: Atmega32, atmega32a,…

  • How to add a new .h header file in STM32 Cube IDE

    Click on [arrow] besides Core in your project explorer Right Click on “Inc” folder and point your mouse at the “NEW” menu item. Select “header file” option A new Header file dialog box will appear Fill in the name of the header file in “Header file” with a dot h extension Click on finish Now…

  • STM32L476vg ARM Cortex M4F Architecture

    It uses ARM v7E-M architecture. It a Harvard based architecture with two distinct buses for data and memory. It has all the instruction set of M0, M1 and M3 . It also has an additional feature set to support Floating-point Arithmetic. IEEE754 standard in single precision and double precision. The following points are from the…

  • ARM Processor Based Microcontrollers from ST

    There are lot of ARM based microcontroller offered by ST. They use ARM Cortex M processor with ST peripheral such as GPIO, ADC etc. They mostly fall into these following groups: ARM Cortex M0 ARM Cortex M3 ARM Cortex M4 ARM Cortex M33 ARM Cortex M7which is also known as M4F as it has an…