Category: Component
-
How to redirect printf() to USART in STM32f103RB using STM32Cube IDE
Printf() function can be redirected to USART and also towards SWO. Here you will see how to redirect printf() to USART in STM32f103RB You need to rewrite this code in your main.c file If you have created your project using STM32CubeMX or STM32 Cube IDE, then you can rewrite it in between USER CODE BEGIN…
-
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…
-
Capacitor Time Constant=RC or Charging Time
In this video, the time constant for the capacitor is calculated. Time Constant is denoted by the symbol tau τ τ = R*C Where R = value of the resistor and C = value of capacitor
-
Capacitor ESR
A real capacitor has a series resistance which is due to the imperfect manufacturing process and also because of the cost regulations. lower ESR = Better Capcitor = Higher Cost A lower ESR capacitor is better but the manufacturing cost will also be on the higher side. So, there is a compromise made between ESR…
-
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,…