Tutorials

Electronics tutorials including microcontroller, microprocessor, programing and circuits. Intended for beginners, electronics hobbyists, college students, professionals and educational purposes.

AM Generation using Matlab

Amplitude modulation (AM) is a one of the conventional modulation technique to transmit signals using a carrier wave. The amplitude or the strength of a high frequency carrier wave is changed in accordance with the amplitude of message signal. Generation of AM in MATLAB is a piece of cake. If you are new to MATLAB, please go through our tutorials. First of all lets get into the basics.. Carrier signal (Sc) = Acsin(2πfct) Message signal (Sm) = Amsin(2πfmt) Where, Ac - Amplitude of the carrier signal Am...

Using UART of PIC Microcontroller – Hi Tech C

UART stands for Universal Asynchronous Receiver / Transmitter. It is a serial communication interface which uses two lines for sending (TX) and receiving (RX) data. As its name indicates it is an asynchronous communication interface, which means it doesn't need to send clock along with it as in synchronous communications. UART is the communication standard of our old computer's RS-232 serial port. Most of the Microchip's PIC Microcontrollers have built in USART Module. USART stands for Universal Synchronous Asynchronous Receiver...

Interfacing LCD with PIC Microcontroller – Hi Tech C

16x2 Character LCD is a very basic LCD module which is commonly used in electronics projects and products. It contains 2 rows that can display 16 characters. Each character is displayed using 5x8 or 5x10 dot matrix. It can be easily interfaced with a microcontroller. In this tutorial we will see how to write data to an LCD with PIC Microcontroller using Hi-Tech C Compiler. Hi-Tech C has no built in LCD libraries so we require the hardware knowledge of...

Getting Started with Python

What is Python?

Python is an open source general purpose programming language. It is designed in such a way to improve software quality, developer productivity, program portability and component integration. Python gives more importance to its code readability and its syntax allows programmers to program their idea in fewer lines of code than other programming languages like C does. It is used all round the globe for web designing, system programming, user interfaces, product customization, numeric programming etc.

Why Python?

Python language  is...

Using ADC Module of PIC Microcontroller – Hi Tech C

Analog to Digital Converter (ADC) is a device that converts an analog quantity (continuous voltage) to discrete digital values. This is very useful when we want to do some processing on physical quantities, which are normally analog in nature. Most of the PIC Microcontrollers have built in ADC Module. Here we are using PIC 16F877A for demonstrating the working. ADC_Symbol ADC of PIC Microcontrollers have 5 inputs for 28 pin devices and 8 inputs for 40/44 pin devices. It is a...

Getting Started with Raspberry Pi

Raspberry Pi is an ultra low cost credit card sized computer developed by Raspberry Pi Foundation with an intention to teach computer programming to school students. You can setup a computer with your home TV under 60$. Please read the article Raspberry Pi for more details. You need the following items to get started with Raspberry Pi : Class 4 SD Card (minimum 4GB) SD Card Reader to write OS files to the SD Card (You may use your laptop's...

Using Push Button Switch with PIC Microcontroller

I hope that you have already read the first tutorial of Hi Tech C, LED Blinking using PIC Microcontroller. In that tutorial we blink LEDs connected to PORTB by writing to entire PORT and TRIS registers. In some cases we may want to set or reset individual bits of these registers. For that we can use the bit addressable feature of these registers. We have already seen in the previous...

>