DIY

Programming Arduino and AVR Microcontrollers using the Assembly Language

In this blog, I will be explaining how to get started with bare-metal Assembly Language programming on AVR microcontrollers, along with an example for the ATmega328P. We will see how a program is stored and executed by the Microcontroller’s hardware; the syntax of the Assembly language, and also how to build and upload your program …

Programming Arduino and AVR Microcontrollers using the Assembly Language Read More »

Distance Sensing using the Arduino and HC-SR04 Ultrasonic Sensor

In this tutorial, we will see how to use the Arduino along with and HC-SR04 ultrasonic sensor for distance measurement and log the measured distance on the Serial Monitor. This can be used in a variety of projects, such as a parking sensor, burglar alarm, automatic door and obstacle avoiding robots. We will see the …

Distance Sensing using the Arduino and HC-SR04 Ultrasonic Sensor Read More »

How to use Breadboards

Breadboards are a handy and time-saving tool when trying to build simple electronic circuits. In this guide and tutorial, I will explain everything you need to know about using breadboards and good breadboard practices, so that you don’t waste any time building high-quality circuits. After you are done reading, you should have a fair idea …

How to use Breadboards Read More »

Using PWM (Pulse Width Modulation) to Control LED brightness with Arduino

In this tutorial, I will explain the theory Pulse Width Modulation (PWM), and how to use it with an Arduino to control the brightness of an LED. Generally, any digital device like an Arduino deals only with two states i.e. ON(5v) or OFF(0v). However, in many situations we desire to have analog states which are …

Using PWM (Pulse Width Modulation) to Control LED brightness with Arduino Read More »

Scroll to Top