You Are Here: Home » Posts tagged "pwm"

An isolated analog output for Arduino Uno

This project uses the Arduino PWM Uno or other systems to realize a fully isolated analog output with a range of 0-5 volts or more, changing only the reference voltage. Introduction This project completes the series of my articles about the Arduino analog I/O with the aim to use it as a controller of small automation systems. In control systems of the industrial plants it is always advisable to isolate both ...

Read more

Basic Servo Motor Controlling with Microchip PIC Microcontroller

The servo motor is widely used in model hobbyist such as airplane R/C model for moving the rudder, ailerons, elevators and acceleration control or in the car R/C model for steering and acceleration control. In this tutorial we will learn how to control the servo motor as well as the simple close loop control algorithm for this servo motor. The servo motor basically is a high quality geared DC motor equipped ...

Read more

Programming ATtiny85 with Arduino Uno

Story I am working on a project which requires reading multiple sensor data on different locations. These require only few PWM pins so using multiple Arduino Uno would be expensive and unnecessary. So I decided to use ATtiny85 microcontroller in place of Arduino Uno development boards.ATtiny85 is a cheap and powerful alternate when u don't need too many PWM pins. Since ATtiny85 is just a microcontroller we ...

Read more

Markov Music Box

markov summary Traditional music boxes play one or two tunes very well, but are not very interactive. Put differently, they have a high quality of synthesis, but a fixed-pattern note sequencer and fixed tonal quality. I wanted to build a device which would play an interesting music-like note sequence, which constantly changed and evolved, with settable timbre, tempo, and beat. To synthesize nice sounding mu ...

Read more

Introduction to AVR Microcontroller Pulse Width Modulation (PWM)

PWM is used in many industrial mostly for controlling the motor speed. The PWM is used because it’s the most efficient method comparing to the analog one. That’s why most of the modern microcontrollers today have this features build in. How does this PWM works will be described on the following circuits: On the figure 1A the motor is controlled by applying continues current through transistor base lead and ...

Read more

AVR Twinkle Twinkle Using PWM Project

Would be interesting if we could make our microcontroller to sing for us not just beeping or blinking; this project is all about using the powerful AVR ATmega168 16-bit PWM feature to produce accurate musical notes such as playing the child’s favorite Twinkle-Twinkle Little Star song or we could say beeping with style. The principal we learned here could be applied to other AVR microcontroller families that ...

Read more

AVR LCD Thermometer Using ADC and PWM Project

Sometimes we need our microcontroller to interact with more human readable information. It will be better for us if we could make it display the words not just blinking the LED. Today most modern gadget such as mobile phone and PDA, use LCD (Liquid Crystal Display) for interacting with us. In this project we will learn how to use the 2×16 LCD for displaying the room’s temperature. Actually driving the LCD h ...

Read more
Scroll to top