Categories
Electronics

Ultrasonic Sensor HC-SR04 With PIC Microcontroller

How ultrasonic sensor SR-HC04 works.
How Ultrasonic Sensor Works

An ultrasonic sensor is a very useful sensor that measures distances with sounds. We used the PIC16F628A microcontroller for this project. This microcontroller has TMR1 which we are going to use. We need 2 I/O pins for TRIG and ECHO pin. For showing distance, we used an LCD. For more information about the LCD library and usage click button below.

Categories
Electronics

Write Strings to LCD With Two Buttons

In this project, we are going to write strings to an LCD display with two buttons. The first button will change the position of the cursor and the second button will change character. In this way, you can write the strings that you want. For this project, we are going to use the PIC16F628A microcontroller and XC8 compiler. To understand how can we write to LCD display click the link below and read the tutorial.

Categories
Electronics

LCD Interfacing with PIC Using XC8

In this tutorial, we are going to teach how to use an LCD display with an 8-bit PIC microcontroller. We will give you a powerful LCD library and explain how to use it in your microcontroller in this tutorial. We will do examples on PIC16F628A microcontroller but you can do small changes to use it in your projects. Let’s get started to make LCD Interfacing.

Categories
Electronics

LCD Library for 8-bit PIC Microcontrollers

16x2 LCD Display
16×2 LCD Display

In this post, we are going to share our LCD Library. This library is a powerful library for 8-bit PIC microcontrollers written in the XC8 language. You can use it in an 8-bit microcontroller with small changes. Click button end of the post to reach the library files.

Categories
Electronics

How to Make Blink LED with PIC16F628A

How to Make Blink LED With PIC16F628A
How to Make Blink LED With PIC16F628A

In this project tutorial, we are going to make blink led projects with a pic microcontroller. After you read this tutorial you can build a PIC microcontroller project with XC8 on MPLAB IDE. We are going to make 3 different blinking projects. These projects are basic. Just learn how to make a basic project with a PIC microcontroller. You can see below which projects we are going to make;

  1. Blinking LED with 1s delay,
  2. LED with button,
  3. Blinking LED with a button.
Categories
Electronics

DC Motor Speed Control With PIC16F628A

DC motor speed control with PIC16F628A microcontroller simulation.
DC Motor Speed Control Simulation

In this project, we will control the speed and direction of a DC motor using the PIC16F628A microcontroller. We will write the software in MPLAB IDE with the XC8 language that will sent PWM signal to L293D to control the motor. Finally, we will simulate it through the Proteus software.

You can get more information about the PWM signal from the link above. Now let’s examine the L293D motor driver.

Categories
Electronics

Motor Speed Control With Arduino Nano

Motor speed control is very important in robots and where the motor used. In this project, we will control the speed of DC motors with Arduino Nano. In this way, you will learn how to drive the motor and adjust the speed in projects where you use DC motors.

Motor speed control with Arduino Nano circuit.
Motor Speed Control With Arduino Nano Circuit
Categories
Electronics

DC-DC Converters

DC-DC converters are power electronics circuits that convert one dc voltage to another dc voltage level. There is usually a regulated voltage at the output of these circuits. In this tutorial, we will introduce dc-dc converters and give information about their types.

Categories
Electronics

7 Segment Display With PIC16F687

7 segment display proteus schematic.
7 Segment Display Proteus Schematic

In this article, we will tell you how to operate a 7-segment display (7SD in short) with a microcontroller. There are two (perhaps more) options to do this. The first is to connect the 7SD directly to the output ports of the microcontroller as shown in the picture above. This may cause a port shortage in large projects. As a second way to avoid this; We can run it by connecting a decoder to the 7SD. We will show both for you.

Categories
Electronics

Line Follower Robot With Arduino Nano – 1

Line Follower Robot With Arduino Nano
Line Follower Robot With Arduino Nano

In this series of tutorials, we will try to explain how to make a simple robot that follows a simple line with Arduino Nano. First of all, let’s talk about the parts: