In this tutorial you will learn how to
control the AD5206 digital potentiometer using Serial
Peripheral Interface (SPI). Digital potentiometers are useful when
you need to vary the resistance in a circuit electronically rather than by
hand. Example applications include LED dimming, audio signal conditioning and
tone generation.
Analog In, Out Serial using Arduino -c
Analog In, Out Serial
This example shows how to read an
analog input pin, map the result to a range from 0 to 255, and then use that
result to set the pulsewidth modulation (PWM) of an output pin to dim or
brighten an LED.
AD5171 Digital Potentiometer
This example shows how to control a Analog Devices AD5171 Digital Potentiometer which communicates via the I2C
synchronous serial protocol. Using Arduino's I2C Wire
Library, the digital pot will step through 64 levels of
resistance, fading an LED.
Servomotor-based mobile robot control
Project
description:
Mobile robots are used in many
industrial, commercial, research, and hobby applications. This project is about
the control of a mobile robot using servomotors. The robot used in this project
is the base of a popular mobile robot known as Boe Bot, developed by Parallax
(www.parallax.com and www.stampinclass.com). The basic robot is controlled
from a Basic Stamp controller (Trademark of Parallax Inc.). The
robot base and electronic circuit have been modified by the author so that the
robot can be used with PIC microcontrollers
Right-left scrolling LEDs
Project
description:
In this project, 8 LEDs are connected to
PORT B of a PIC microcontroller. Also a push-button switch is connected to bit 0
of PORT A using a pull-up resistor.. When the switch is pressed the LEDs scroll
to the right.
Subscribe to:
Posts (Atom)