background preloader

Microcontroller

Facebook Twitter

Pulse Width Modulation (PWM) tutorial: 8051 example : 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes. ►Idea Behind Implementation The basic idea behind PWM implementation on 8051 is using timers and switching port pin high/low at defined intervals.

Pulse Width Modulation (PWM) tutorial: 8051 example : 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes

As we have discussed in the introduction of PWM that by changing the Ton time, we can vary the width of square wave keeping same time period of the square wave. How Microcontrollers Work" A microcontroller is a computer.

How Microcontrollers Work"

All computers -- whether we are talking about a personal desktop computer or a large mainframe computer or a microcontroller -- have several things in common: All computers have a CPU (central processing unit) that executes programs. If you are sitting at a desktop computer right now reading this article, the CPU in that machine is executing a program that implements the Web browser that is displaying this page.The CPU loads the program from somewhere. On your desktop machine, the browser program is loaded from the hard disk.The computer has some RAM (random-access memory) where it can store "variables.

"And the computer has some input and output devices so it can talk to people.

Arduino

Basic Stamp.