Posted on Leave a comment

Octal Number System

In the octal Number system, we start counting from 0 which goes up to 7. Making only 8 digits. Then after 7, we start by incrementing 1 to the tenth place and start counting from 0 up to 17.

In the video, I have described what the octal number system is and how we can convert the octal number to decimal numbers.

Just like we have fractions in decimals like 1.234, 3.9864 etc. we also have fractions in the octal number system as well like 7741.2225, 12345.654 etc.

Posted on Leave a comment

Binary Number System

In a binary number system, there are only two possible states, HIGH state and LOW state.
These two states can be represented by current levels, voltage levels, bumps and valleys on the surface of CD/DVD etc.

The two states are generally represented by a ‘0’ for LOW state and by a ‘1’ for the HIGH state.

Using the combination of 0’s(LOW) and 1’s(HIGH), we can represent the other number systems such as hexadecimal, octal or decimal into
binary number system.

Bit Nibble Byte Word Dword Qword

Posted on Leave a comment

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 and cost.

Posted on Leave a comment

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 / M7 / M33 / M35P / M55 cores also have a hardware-based floating-point unit. The addition of a Floating point unit adds the capabilities for digital signal processing.

To see a list of ARM-based microcontrollers.

Keil.com has a great list that has almost all the major microcontrollers out in the market and is supported by the Keil IDE.

https://www.keil.com/dd/chips//arm.htm
Posted on Leave a comment

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 that file with a “.c” extension

Step 2. : Run the following commands one by one

avr-gcc -g -0s -mmcu=atmega32 -c led.c
avr-gcc -g -mmcu=atmega32 -o led.elf led.o
avr-objcopy -j .text -j .data -o ihex led.elf led.hex

Step 3. : The step 2 will create a hex file. which can be uploaded to the microcontroller with the help of a programmer.