[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-720580-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-720580-en":130,"doc-similar-720580":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","mcp4725-12-bit-dac-tutorial","MCP4725 12-Bit DAC Tutorial","","Guide to using the MCP4725 12-bit DAC breakout board as an I2C-controlled digital-to-analog converter. Explains board capabilities such as rail-to-rail output, EEPROM-based voltage restoration, update speed for fast-mode I2C, and support for sine-wave or triangle-wave signal generation. Covers STEMMA QT vs original header wiring, default and alternate I2C addressing, power and level-shifted I2C logic pins, and Arduino plus CircuitPython/Python library setup with example sketches and full references.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/mcp4725-12-bit-dac-tutorial/720580/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/mcp4725-12-bit-dac-tutorial/720580.png","ImageObject",300,407,{"name":42,"@type":43},"adawds","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-11-18",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What does the MCP4725 DAC breakout output and how is it controlled?","Question",{"text":63,"@type":64},"It outputs an analog voltage on the VOUT pin based on values sent over I2C. The board is controlled as a digital-to-analog converter using I2C commands.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What are the MCP4725 I2C address options and how do you change them?",{"text":68,"@type":64},"The default I2C address is 0x62. Tie A0 high (or close the ADDR/A0 jumper on the back) to change the address to 0x63 for multi-DAC setups on the same I2C bus.",{"name":70,"@type":61,"acceptedAnswer":71},"How do the output voltage range and power supply affect VOUT?",{"text":72,"@type":64},"The output voltage is rail-to-rail and proportional to the power pin. Using 3.3V yields a 0–3.3V range, while using 5V yields a 0–5V range.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},720580,1795038301,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":33,"preview_urls":145},3985747872983,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","MCP4725 12-Bit DAC Tutorial  \nCreated by lady ada  \n[https://learn.adafruit.com/mcp4725-12-bit-dac-tutorial](https://learn.adafruit.com/mcp4725-12-bit-dac-tutorial)  \nLast updated on 2026-09-30 05:00:47 PM UTC  \n©Adafruit Industries Page 1 of 21  \nTable of Contents  \nOverview 3  \n\n| Pinouts | 7 |\n| --- | --- |\n| • Power Pins\u003Cbr>• I2C Logic Pins\u003Cbr>• Other Pins\u003Cbr>Arduino Wiring | 8 |\n| Arduino Code | 11 |\n| • Library Installation\u003Cbr>• Triangle Wave Example\u003Cbr>• Increasing the speed\u003Cbr>• Using the library\u003Cbr>Python & CircuitPython | 13 |\n| • CircuitPython Microcontroller Wiring\u003Cbr>• Python Computer Wiring\u003Cbr>• CircuitPython Installation of MCP4725 Library\u003Cbr>• Python Installation of MCP4725 Library\u003Cbr>• CircuitPython & Python Usage\u003Cbr>• Full Example Code\u003Cbr>Python Docs | 19 |\n| Downloads | 19 |\n\n• Files  \n• Schematic & Fabrication Print STEMMA QT Version  \n• Schematic & Fabrication Print Original Version  \n©Adafruit Industries Page 2 of 21  \nOverview  \nYour microcontroller probably has an ADC (analog-> digital converter) but does it have a DAC (digital -> analog converter)??? Now it can! This breakout board features the easy-to-use MCP4725 12-bit DAC. Control it via I2C and send it the value you want it to output, and the VOUT pin will have it. Great for audio / analog projects, such as when you can't use PWM but need a sine wave or adjustable bias point.  \nWe break out the ADDR/A0 pin so you can connect two of these DACs on one I2C bus, just tie that pin of one high (or close the jumper on the back) to keep it from conflicting. Also included is a 6-pin header, for use in a breadboard. Works with both  \n3.3V or 5V logic.  \n©Adafruit Industries Page 3 of 21  \nSome nice extras with this chip: for chips that have 3.4Mbps Fast Mode I2C (Arduino's don't) you can update the Vout at ~200 KHz. There's an EEPROM so if you write the output voltage, you can 'store it' so if the device is power cycled it will restore that voltage. The output voltage is rail-to-rail and proportional to the power pin so if you run it from 3.3V, the output range is 0-3.3V. If you run it from 5V the output range is 0-5V.  \nWe have an easy-to-use Arduino and CircuitPython/Python library and tutorial with a triangle-wave and sine-wave output example () that can be used with just about any microcontroller or microcomputer with I2C host.  \n©Adafruit Industries Page 4 of 21  \nComes with a bit of 0.1\" standard header in case you want to use it with a breadboard or perfboard. Four mounting holes for easy attachment. There's an optional 3.5mm terminal block spot on the PCB-we don't include a 3.5mm terminal block but they're both common and stocked in the shop ([http://adafru.it/724](http://adafru.it/724)) -that you can solder in place if you like.  \nTo get you going fast, we spun up a custom-made PCB in the STEMMA QT form  \nfactor () , making it easy to interface with. The STEMMA QT connectors () on either side  \n©Adafruit Industries Page 5 of 21  \nare compatible with the SparkFun Qwiic () I2C connectors. This allows you to makesolderless connections between your development board and the MCP4725 or to chain it with a wide range of other sensors and accessories using a compatible cable () .  \nQT Cable is not included , but we have a variety in the shop () .  \nText emphasized with a blue exclamation:  \nThere are two versions of this board-the STEMMA QT version shown above, and the original header-only version shown below. Code works the same on both!  \n©Adafruit Industries Page 6 of 21  \nPinouts  \nThe default I2C address is 0x62 .  \nPower Pins  \nThe sensor on the breakout requires between a 2.7V and 5.5V, and can be easily used with most microcontrollers from an Arduino to a Feather or something else.  \n• VIN-this is the power pin. To power the board, give it the same power as the logic level of your microcontroller-e.g. for a 5V micro like Arduino, use 5V  \n• GND-common ground for power and logic  \nI2C Logic Pins  \n• SCL- I2C clock pin, connect to your microcontroller","cbCaifZ3gct9zgxH","https://ap.wps.com/l/cbCaifZ3gct9zgxH","pdf",2277006,21,"English","# Overview\n# Pinouts\n## Arduino Code\n### Library Installation\n### Triangle Wave Example\n### Increasing the speed\n### Using the library\n## Python & CircuitPython\n### CircuitPython Microcontroller Wiring\n### Python Computer Wiring\n### CircuitPython Installation of MCP4725 Library\n### Python Installation of MCP4725 Library\n### CircuitPython & Python Usage\n### Full Example Code\n### Python Docs\n# Downloads","[{\"question\":\"What does the MCP4725 DAC breakout output and how is it controlled?\",\"answer\":\"It outputs an analog voltage on the VOUT pin based on values sent over I2C. The board is controlled as a digital-to-analog converter using I2C commands.\"},{\"question\":\"What are the MCP4725 I2C address options and how do you change them?\",\"answer\":\"The default I2C address is 0x62. Tie A0 high (or close the ADDR/A0 jumper on the back) to change the address to 0x63 for multi-DAC setups on the same I2C bus.\"},{\"question\":\"How do the output voltage range and power supply affect VOUT?\",\"answer\":\"The output voltage is rail-to-rail and proportional to the power pin. Using 3.3V yields a 0–3.3V range, while using 5V yields a 0–5V range.\"}]","MCP4725 12-Bit DAC Tutorial | PDF",53,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d9e4fb6c44b3cf82d817455b5e7bf831.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/214e1395573415cd46bb1f0b3c3fbfb7.webp",982,1388,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/cb769bcb5fbb995c4842c874ea4f775c.webp",981,1387,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c7234b6fb6ccae24bf9cf8215afcb115.webp",980,1385,{"list":163,"token":11},[164,169,175,181,187,194,200,204,210,216],{"doc_id":165,"doc_title":10,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":105,"category_name":29,"create_tm":168},720588,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024400689/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=pGMrjONH1kqep9KSO196LU4odq0%3D","mcp4725-12-bit-dac-tutorial-720588",1795038320,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":105,"category_name":29,"create_tm":174},720615,"Adafruit 4-Channel ADC Breakouts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023676115/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=x30zbFWC9OQ4DGgybXcqwqIfBAg%3D","adafruit-4-channel-adc-breakouts",1795038464,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":97,"category_name":29,"create_tm":180},720501,"Adafruit DS3231 Precision RTC Breakout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397560/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=cmjSw41on08JOBEH5vpIGlr8T6A%3D","adafruit-ds3231-precision-rtc-breakout-720501",1795037628,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":30,"category_name":29,"create_tm":186},720582,"MCP4725 - 12-Bit Digital-to-Analog Converter with EEPROM Memory","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023675612/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=yJJq7QapbLezg1QVpdgJQW2bB5U%3D","mcp4725-12-bit-digital-to-analog-converter-with-eeprom-memory-720582",1795038302,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":192,"category_name":29,"create_tm":193},690357,"Adafruit LIS3DH Triple-Axis Accelerometer Breakout - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002631446/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=llWxj35v55OH8ZagdzGh0JpE2WA%3D","adafruit-lis3dh-triple-axis-accelerometer-breakout-guide",12,1794164631,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":55,"category_name":29,"create_tm":199},691700,"Adafruit TLV493 Triple-Axis Magnetometer - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002682239/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=xoqaO6Qdjsb14hAWShoh4IwQ3Ck%3D","adafruit-tlv493-triple-axis-magnetometer-overview",1794175797,{"doc_id":201,"doc_title":183,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":97,"category_name":29,"create_tm":186},720581,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023675611/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=bWL0ehXoILMp6fa3VPpzqmK7SKw%3D","mcp4725-12-bit-digital-to-analog-converter-with-eeprom-memory",{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":105,"category_name":29,"create_tm":209},720517,"Adafruit BNO055 Absolute Orientation Sensor - Setup, Orientation Data, and Calibration Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024397763/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=%2BJ9DY23Nc0Wc9OSTSl0qHE06DOc%3D","adafruit-bno055-absolute-orientation-sensor-setup-orientation-data-and-calibration-guide",1795037682,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":105,"category_name":29,"create_tm":215},691511,"Adafruit MLX90640 IR Thermal Camera","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002678685/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=e74lzbeGSjWURyx3YTZ9%2FIc%2B5jU%3D","adafruit-mlx90640-ir-thermal-camera",1794174814,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":97,"category_name":29,"create_tm":221},690039,"Adafruit MCP23017 I2C GPIO Expander Breakout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001921785/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=5GVNXMTmmXp5uXQTw6%2BeCIhXWyU%3D","adafruit-mcp23017-i2c-gpio-expander-breakout",1794145753]