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

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 10-bit...

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 memory card reader). Micro...

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 tutorial that TRIS register is used to set the direction...

Blinking LED using PIC Microcontroller with Hi-Tech C

A lot of you may heard about microcontrollers and its applications. Well it is a bit difficult to start learning microcontrollers. And the guides and tutorials also do not start from zero level which makes learning far more difficult than anticipated. I have tried to start from zero level in here also. All you need is the simplest knowledge of electronics or digital circuits. But you surely should have a decent knowledge of C language. The software for programming Microchip microcontrollers...

Interfacing Keypad with 8051 Microcontroller using Keil C

Matrix Keypad Matrix Keypads are commonly used in calculators, telephones etc where a number of input switches are required. We know that matrix keypad is made by arranging push button switches in row and columns. In the straight forward way to connect a 4x4 keypad (16 switches) to a microcontroller we need 16 inputs pins. But by connecting switches in the following way we can read the status of each switch using 8 pins of the microcontroller. 4x4-Matrix-Keypad The status of each keys...

Introduction to Simulink in MATLAB

Simulink (Simulation and link) is developed by MathWorks as an add-on with MATLAB. It is a graphical programming language which offers modelling, simulation and analyzing of multi domain dynamic systems under Graphical User Interface (GUI) environment. The Simulink have tight integration with the MATLAB environment and have a comprehensive block libraries and toolboxes for linear and nonlinear analyses. The system models can be so easily constructed via just click and drag operations. The Simulink comes handy while dealing with control theory...

>