• Banner

MCP4725 12-Bit DAC Module Robotics Bangladesh
  • MCP4725 12-Bit DAC Module Robotics Bangladesh

MCP4725 12-Bit DAC Module

RBD-2740

Precision 12-bit Digital-to-Analog converter with I2C interface

BDT 300.00
BDT 300.00 BDT 300.00 BDT 300.00 BDT 300.00
Tax included Tax excluded Tax included Tax excluded
BDT 300.00 Tax excluded
BDT 300.00 Tax included
BDT 0.00 Tax
BDT 300.00 Tax excluded
BDT 0.00 Tax
BDT 300.00 Tax included
Quantity
29 Items

  Security policy

(edit with the Customer Reassurance module)

  Delivery policy

(edit with the Customer Reassurance module)

  Return policy

(edit with the Customer Reassurance module)

Description

DESCRIPTION

The MCP4725 module is a precision 12-bit Digital-to-Analog converter with I2C interface for adding a true analog voltage output to Arduino and other MCUs.

PACKAGE INCLUDES:

  • MCP4725 12-Bit DAC Module
  • Male header strip

KEY FEATURES OF MCP4725 12-BIT DAC MODULE:

  • 12-bit digital-to-analog conversion
  • Single output channel can drive up to 25mA
  • Rail-to-rail output swing
  • Output setting time is 6uS
  • Built-in EEPROM to save settings during power cycle
  • 3.3V and 5V logic compatible.

One of the annoying things about most MCUs is that they do not contain a true analog output. Instead they provide PWM which simulates an analog voltage output by switching a digital output on and off rapidly at different duty cycles. This works fine for many applications, but sometimes you need an actual analog voltage output that is computer controlled. That is where this module comes in.

DAC Output

The 12-bit single output provides 4096 steps of resolution.  For a VCC of 5V, the step size will be 5V/4095 = 1.22mV.

Typical settling time of the output is 6uS.  This is the time from when a new value is written into the device until the output voltage reaches the new value.

The maximum amount of current that the output can sink or source is 25mA.  The output can be used to directly drive lower current applications or it can be buffered to provide a higher current capability or to allow the voltage to swing both positive and negative.

I2C Interface

Setting I2C Address

MCP4725 DAC Module - Address Jumper

I2C Address Jumpers

The module has an easy to use I2C interface that can be configured to use one of two different I2C addresses if you want to use multiple modules in the same system or if you run into an address conflict with another device.

The address is set by bridging 2 of the 3 small solder pads on top of the module marked ‘ADDR’.  The center pin is attached to the A0 address pin on the MCP4725 chip.  Next to it are a GND and a VCC pin.  A solder blob is used to bridge either the ground or VCC to the A0 pin thus either pulling it to ground via a 10K resistor or tying it to VCC.

As-shipped, the GND and center pin are bridged and so the A0 pin is grounded and the default I2C address is 0x60 as shown in the picture to the right.

If it is desired to change the address, the solder blob can be removed and the center pin and the VCC pin can be bridged with solder instead.

I2C Pull-Up Resistors

MCP4725 DAC Module - I2C Cut Strap

I2C Pull-Up Resistor Cut Straps

The module includes two 4.7K pull-up resistors on the I2C SCL and SDA lines.

If you are hooking up two of these boards on the same I2C bus, these resistors may need to be removed from all but one of the modules if the communications act flaky, but in our testing it hasn’t been necessary.

If it is necessary to remove the pull-up resistors, there are 3 small pads on the back of the board with traces connecting them.  To disconnect the pull-ups cut the both trace between the pads.  Alternatively the two 4.7K resistors labeled “472” on the top of the board can be removed.

If you decide later to reconnect the pull-ups, simply bridge the 3 pads with some solder.

EEPROM

The MCP4725 includes a built-in EEPROM that can be used to save the settings when the device is powered down.  This includes the data value for the DAC output which can be handy in some applications because it allows the device to power up and output a particular voltage without needing to be reprogrammed by an MCU.  This can be important if the device is being used to provide a calibration voltage or something similar.

Note that EEPROMs have finite write cycles, typically around 20,000 or so and doing the programming takes a little time.  For that reason values should only be programmed into the EEPROM when it is important to remember them and not just do it every time the DAC values are updated if they are being updated continually.

Module Assembly

This module comes with the header loose.  This allows you to configure the module to meet your particular requirements such as which side of  the board you want the header on or if you want to solder on wires to make the connections.

For use with breadboards, we put the headers on the bottom so that the module can plug directly into the breadboard.

If you are working with the module using an O’Scope, you may find it handy to separate the header into two pieces and place the 2-pins for the output voltage and ground connections on top of the board for easy hook-up using O-scope probes while placing the other 4-pins on the bottom of the module.

Module Connections

The connections to the module are fairly simple.

  1. Supply 3.3 or 5V power and ground.
  2. Connect I2C SCL and SDA lines to same on the MCU.
  3. Hookup the analog output to an O’Scope or whatever you are looking to drive with it.

1 x 6 Header

  • OUT = DAC analog output
  • GND = Ground point for analog output.  It is common with the MCU ground
  • SCL =   I2C SCL connects to MCU I2C SCL
  • SDA =  I2C SDA connects to MCU I2C SDA
  • VCC =  Power and reference voltage for DAC  (2.5 to 5.5V)
  • GND =  Ground connects to MCU ground

Some info on the internet suggest using digital outputs of an MCU to provide VDD and ground for the module by driving the outputs high and low respectively.  While this can be done, it limits the output swing to be between what a logic LOW and logic HIGH voltage is.  Also keep in mind that VDD is also the reference voltage for the DAC, so noise on this or the ground can affect the accuracy of the output.

OUR EVALUATION RESULTS:

These modules have good build quality and are very useful for creating a fairly precise analog voltage.MCP4725 DAC Module - In Operation

Getting up and running with a basic setup is easy with these modules using the Adafruit_MCP4725 library as shown in the example below.  There are a couple of example files that are installed when the library is installed.  The library can be easily installed from within the IDE.

This test setup just requires the connections shown below.  We are hooking up the DAC output to a O’scope input in our case.  You could also use it to drive an LED with a series current limiting resistor and adding a delay between each DAC write to slow things down enough to easily see it.

The output of the program as written creates a triangle wave on the output by just ramping the DAC voltage up and then back down through its full range.  The resultant frequency in our Uno setup results in a triangle wave with a frequency of a little less than 1Hz as shown below.

MCP4725 Triangle Waveform Output

The program we are using is a slightly modified version of one of the sample programs ‘trianglewave’ that comes with the library.

MCP4725 12-Bit DAC Module Test Program

/*  MCP4725 12-bit DAC Test Program
   
    Basic code to test the MCP4725 DAC Module.  Simply ramps the output
    up and down through its full range to give a triangle waveform output.

    Module connections:
      VCC = 3.3 or 5V to match MCU
      Gnd = Ground
      SCL = SCL on MCU
      SDA = SDA on MCU
      OUT = Connects to measurement device

    Uses Adafruit MCP4725 library which can be downloaded via IDE
*/
#include <Wire.h>
#include <Adafruit_MCP4725.h>

Adafruit_MCP4725 dac;
//===============================================================================
//  Initialization
//===============================================================================
void setup(void) {
  dac.begin(0x60);   // Set I2C address to default 0x60
}
//===============================================================================
//  Main
//===============================================================================
void loop(void) {
    uint32_t count;
    // Cycle through the full 12-bit scale to create a triangle wave
    for (count = 0; count < 4095; count++)  // Ramp UP
    {
      dac.setVoltage(count, false);         // Set DAC voltage value. 
    }                                       // False = Don't save setting in EEPROM
    for (count = 4095; count > 0; count--)  // Ramp DOWN
    {
      dac.setVoltage(count, false);
    }
}
Product Details
RBD-2740
29 Items

Specific References

EAN13
2740
Comments (0)
Grade
No customer reviews for the moment.
16 other products in the same category:

Reference: RBD-1773

VHM-314 V3.0 Bluetooth Audio Receiver Board

(0)
Supply Voltage: 5V USB / 3.7V lithium battery Output Port: 3-wire audio interface/DIY pad Output Type: Analog signal Bluetooth name: VHM-314-V3.0 Bluetooth version: 5.0 Bluetooth passcode: no password Sound source: Bluetooth. USB-PC input(after the back pad is connected, the computer can be connected as a sound card though Micro) Operation method:...
BDT 430.00
BDT 430.00 tax incl.
BDT 430.00 tax excl.
BDT 430.00 tax excl.
BDT 430.00 tax incl.
BDT 430.00 tax incl.
BDT 0.00 Tax
BDT 430.00 tax excl.
BDT 430.00 tax excl.
BDT 0.00 Tax
BDT 430.00 tax incl.
More
In-Stock
In stock: 11

Reference: RBD-2151

JoyStick Shield Module Robotics Control

(0)
2-Axis joystick Bluetooth / Serial interface I2C interface nRF24L01 interface Nokia 5110 LCD interface Interface connector Power switch to switch between 3.3 and 5V
BDT 250.00
BDT 250.00 tax incl.
BDT 250.00 tax excl.
BDT 250.00 tax excl.
BDT 250.00 tax incl.
BDT 250.00 tax incl.
BDT 0.00 Tax
BDT 250.00 tax excl.
BDT 250.00 tax excl.
BDT 0.00 Tax
BDT 250.00 tax incl.
More
In-Stock
In stock: 11

Reference: RBD-2077

3mm Two-Color LED Module

(0)
Operating Voltage:2.0v ~ 2.5v Current:10mA Diameter:3mm Wavelength:571nm + 644nm Beam Angle:150
BDT 45.00
BDT 45.00 tax incl.
BDT 45.00 tax excl.
BDT 45.00 tax excl.
BDT 45.00 tax incl.
BDT 45.00 tax incl.
BDT 0.00 Tax
BDT 45.00 tax excl.
BDT 45.00 tax excl.
BDT 0.00 Tax
BDT 45.00 tax incl.
More
In-Stock
In stock: 76

Reference: RBD-1750

Instrumentation Voltage Amplifier Module AD620

(0)
Operating Voltage: 3- 12 VDC Amplification: Adjustable 1.5~1000 times Signal Input Voltage Range: 100µV~300mV Signal Output Range: 100µV~300mV
BDT 650.00
BDT 650.00 tax incl.
BDT 650.00 tax excl.
BDT 650.00 tax excl.
BDT 650.00 tax incl.
BDT 650.00 tax incl.
BDT 0.00 Tax
BDT 650.00 tax excl.
BDT 650.00 tax excl.
BDT 0.00 Tax
BDT 650.00 tax incl.
More
In-Stock
In stock: 16

Reference: RBD-2081

Mini Dry Reed Pipe Module

(0)
Operating Voltage: 3.3V to 5v Output Type: Digital
BDT 69.00
BDT 69.00 tax incl.
BDT 69.00 tax excl.
BDT 69.00 tax excl.
BDT 69.00 tax incl.
BDT 69.00 tax incl.
BDT 0.00 Tax
BDT 69.00 tax excl.
BDT 69.00 tax excl.
BDT 0.00 Tax
BDT 69.00 tax incl.
More
In-Stock
In stock: 70

Reference: RBD-0346

PN532 NFC RFID Read / Write Module V3 Kit

(0)
The PN532 is a highly integrated transmission module for contactless communication at 13.56 MHz including microcontroller functionality based on an 80C51 core with 40 Kbytes of ROM and 1 Kbytes of RAM. The PN532 combines a modulation and demodulation concept completely integrated for different kinds of contactless communication methods and protocols at...
BDT 820.00
BDT 820.00 tax incl.
BDT 820.00 tax excl.
BDT 820.00 tax excl.
BDT 820.00 tax incl.
BDT 820.00 tax incl.
BDT 0.00 Tax
BDT 820.00 tax excl.
BDT 820.00 tax excl.
BDT 0.00 Tax
BDT 820.00 tax incl.
More
In-Stock
In stock: 15

Reference: RBD-2057

CH9350 USB Serial Module HID Keyboard Mouse Barcode Reader For Arduino

(0)
Access multiple interfaces simultaneously  Serial Communication Smaller Volume Wide Range of applications You can access the sample code and documents for this product by visiting your order history page.
BDT 1,990.00
BDT 1,990.00 tax incl.
BDT 1,990.00 tax excl.
BDT 1,990.00 tax excl.
BDT 1,990.00 tax incl.
BDT 1,990.00 tax incl.
BDT 0.00 Tax
BDT 1,990.00 tax excl.
BDT 1,990.00 tax excl.
BDT 0.00 Tax
BDT 1,990.00 tax incl.
More
In-Stock
In stock: 7

Reference: RBD-1541

37 In 1 Sensor Module Board Set Kit For Arduino with Box

(0)
For beginners who are interested in Arduino A complete set of Arduino’s most common and useful electronic components Infrared sensor receiving module Laser sensor module Temperature and humidity sensor module Infrared sensor module 5v relay module Obstacle avoidance sensor module.
BDT 1,990.00
BDT 1,990.00 tax incl.
BDT 1,990.00 tax excl.
BDT 1,990.00 tax excl.
BDT 1,990.00 tax incl.
BDT 1,990.00 tax incl.
BDT 0.00 Tax
BDT 1,990.00 tax excl.
BDT 1,990.00 tax excl.
BDT 0.00 Tax
BDT 1,990.00 tax incl.
More
In-Stock
In stock: 24

Reference: RBD-2928

RF Transceiver Radio Module nRF905 433/868/915MHz with Antenna

(0)
Radio module (transmitter and receiver) operating in 433 MHz band with SPI communication interface. Powered by 2.7 V - 3.3 V, the outputs are goldpin connectors.It has an external antenna with SMA connector.
BDT 490.00
BDT 490.00 tax incl.
BDT 490.00 tax excl.
BDT 490.00 tax excl.
BDT 490.00 tax incl.
BDT 490.00 tax incl.
BDT 0.00 Tax
BDT 490.00 tax excl.
BDT 490.00 tax excl.
BDT 0.00 Tax
BDT 490.00 tax incl.
More
In stock
In stock: 30

Reference: RBD-2720

SPI to Ethernet Hardware TCP/IP W5500 Ethernet Network Module

(0)
Chip type: W5500. Supports both 3.3V &amp; 5V. Support Hardwired TCP/IP Protocols: TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE. 10BaseT/100BaseTX Ethernet PHY embedded. Supports automatic response (full duplex/half duplex mode). Internal 32Kbytes Memory for Tx/Rx Buffers.
BDT 650.00
BDT 650.00 tax incl.
BDT 650.00 tax excl.
BDT 650.00 tax excl.
BDT 650.00 tax incl.
BDT 650.00 tax incl.
BDT 0.00 Tax
BDT 650.00 tax excl.
BDT 650.00 tax excl.
BDT 0.00 Tax
BDT 650.00 tax incl.
More
In stock
In stock: 29

Reference: RBD-2444

Optical Endstop Switch with 1m Cable

(0)
Designed for use as an endstop for 3D printers but it can be used for other IR beam interrupter purposes as well.
BDT 350.00
BDT 350.00 tax incl.
BDT 350.00 tax excl.
BDT 350.00 tax excl.
BDT 350.00 tax incl.
BDT 350.00 tax incl.
BDT 0.00 Tax
BDT 350.00 tax excl.
BDT 350.00 tax excl.
BDT 0.00 Tax
BDT 350.00 tax incl.
More
In stock
In stock: 49

Reference: RBD-2142

CH340C WIFI Module Adapter Download Debug for ESP8266 ESP-01/01S

(0)
Operating Voltage: 5VDC USB to Serial Converter: CH340C Compatible With:ESP8266 ESP-01/01S Comes With Onboard Reset Switch Has Female Headers for Connecting the Wifi Module.
BDT 190.00
BDT 190.00 tax incl.
BDT 190.00 tax excl.
BDT 190.00 tax excl.
BDT 190.00 tax incl.
BDT 190.00 tax incl.
BDT 0.00 Tax
BDT 190.00 tax excl.
BDT 190.00 tax excl.
BDT 0.00 Tax
BDT 190.00 tax incl.
More
In-Stock
In stock: 11

Reference: RBD-2428

Potentiometer with Built In Knob - 10K ohm

(0)
Sorry - we thought that was clever.  And while it wasn't really, this potentiometer definitely is! We've seen these in miniature synthesizers. They're bigger than a trim-pot but smaller than a chunky potentiometer. Best of all no knob required! These have a knurled plastic grip with a white stripe marking. Use it as-is, for a low-cost adjustment Comes as...
BDT 40.00
BDT 40.00 tax incl.
BDT 40.00 tax excl.
BDT 40.00 tax excl.
BDT 40.00 tax incl.
BDT 40.00 tax incl.
BDT 0.00 Tax
BDT 40.00 tax excl.
BDT 40.00 tax excl.
BDT 0.00 Tax
BDT 40.00 tax incl.
More
In stock
In stock: 240

Reference: RBD-2680

Arcade Joystick 360 Ball Top- Short Handle

(0)
4-way Pacman type arcade joystick. Heavy duty design gives this joystick a great feel! ABS plastic and solid alloy construction Uses 4 microswitches to detect on/off position Unique handle design Spring return to center Very rugged construction Rated 5A @ 125V, 3A @ 250V* Overall height: 101mm Base: 97x65mm Joystick height: 60mm 4-way, large...
BDT 1,250.00
BDT 1,250.00 tax incl.
BDT 1,250.00 tax excl.
BDT 1,250.00 tax excl.
BDT 1,250.00 tax incl.
BDT 1,250.00 tax incl.
BDT 0.00 Tax
BDT 1,250.00 tax excl.
BDT 1,250.00 tax excl.
BDT 0.00 Tax
BDT 1,250.00 tax incl.
More
In stock
In stock: 19

Reference: RBD-0028

Arduino Ethernet Shield W5100

(0)
Based on the W5100Based on the Wiznet W5100 allows an Arduino board to connect to the internet. Stackable Design, can directly be supported by for Arduino official Ethernet Library. Supports up to four simultaneous socket connections Can be used to store files for serving over the network. Can be accessed using the Mini SD TF library. IEEE802.3af...
BDT 1,170.00
BDT 1,170.00 tax incl.
BDT 1,170.00 tax excl.
BDT 1,170.00 tax excl.
BDT 1,170.00 tax incl.
BDT 1,170.00 tax incl.
BDT 0.00 Tax
BDT 1,170.00 tax excl.
BDT 1,170.00 tax excl.
BDT 0.00 Tax
BDT 1,170.00 tax incl.
More
In-Stock
In stock: 23

Reference: RBD-0270

Raspberry Pi 3 Robot Shield Expansion Board Pioneer 600

(0)
AD/DA IO interface : screw terminal 1-WIRE interface : for connecting 1-WIRE devices like DS18B20 Sensor interface : for connecting various sensors 0.96inch OLED : SSD1306 driver, 128×64 resolution, SPI interface Buzzer CP2102 : USB TO UART converter PCF8591 : 8-bit AD/DA converter, I2C interface
BDT 3,400.00
BDT 3,400.00 tax incl.
BDT 3,400.00 tax excl.
BDT 3,400.00 tax excl.
BDT 3,400.00 tax incl.
BDT 3,400.00 tax incl.
BDT 0.00 Tax
BDT 3,400.00 tax excl.
BDT 3,400.00 tax excl.
BDT 0.00 Tax
BDT 3,400.00 tax incl.
More
Last items in stock
In stock: 1

Follow us on Facebook