2. Soldering the headers
Before using your click board, make sure
to solder the provided 1x8 male headers
to both sides of the board. Two 1x8 male
headers are included with the board in
the package.
1
3
DIGIPOT
click
1. Introduction
2
4. Driving the board
There are four screw terminals available for
further connections: PA, PB, PW and GND.
Data is sent to the board using industry
standard SPI communication interface.
On-board controller converts the received
digital value to the appropriate linearly
proportional resistance value.
Front and back side appearance
of the DIGIPOT click Board
DIGIPOT Click
is an accessory board
in
mikroBus™
form factor. It features
MCP4161
- a single-channel digital potenti-
ometer with 8-bit resolution (256 wiper
steps) and industry-standard SPI serial
interface. The resistance value of the digital
potentiometer goes up to 10kΩ. It features
outstanding AC/DC characteristics and low
power consumption. It can be used in audio
equipment, servo-motor control, battery
charging and control, LCD contrast control,
programmable filters etc.
Turn the board upside down, so that
bottom side is facing you upwards. Place
shorter parts of the header pins in the
both soldering pad locations.
Turn the board upward again. Make sure
to align the headers so that they are
perpendicular to the board, then solder the
pins carefully.
3. Plugging the board in
Once you have soldered the headers your
board is ready to be placed into desired
mikroBUS™ socket. Make sure to align the
cut in the lower-right part of the board
with the markings on the silkscreen at the
mikroBUS™ socket. If all the pins are aligned
correctly, push the board all the way
into the socket.
click
www.mikroe.com
DIGIPOT click Manual
ver. 1.00
BOARD
0 100000 020067
5. DIGIPOT click Board Schematics
6. Power supply selection
On-board
PWR SEL
zero-
ohm resistor (SMD jumper)
is used to determine
whether 5V or 3.3V power
supply is used. This resistor
is provided in 3.3V position by default. In order
VCC
J1
PWR SEL
+5V
PWM
INT
RX
TX
SCL
SDA
+5V
GND
VCC
R1
2K2
PWR
to use DIGIPOT click with 5V development
system, it is necessary to resolder this jumper
to 5V position.
+3V3
CS#
SCK
SDI
AN
RST
CS
SCK
MISO
MOSI
+3.3V
GND
1
2
3
7. Code Examples
Once you have done all the necessary
preparations, it’s time to get your click
board up and running. We have provided
the examples for mikroC, mikroBasic and
mikroPascal compilers on our
Libstock
website. Just download them and you are
ready to start.
CN2
PB
PW
PA
Terminal A
GND
CN3
Terminal B
Terminal W
VCC
R2
100K U2
CS#
SCK
SDI
1
2
3
4
CS
SCK
SDI
VSS
MCP4161
VDD
P0B
P0W
P0A
8
7
6
5
VCC
VCC
C1
100nF
.com
8. Support
MikroElektronika offers
Free Tech Support
(www.mikroe.com/esupport)
until the
end of product lifetime, so if something goes
wrong, we are ready and willing to help!
MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document.
Specification and information contained in the present schematic are subject to change at any time without notice. Copyright © 2012 MikroElektronika. All rights reserved.