MCP4922-Arduino-SPI-Library-master

所属分类:单片机开发
开发工具:C/C++
文件大小:3KB
下载次数:3
上传日期:2018-06-22 16:09:42
上 传 者punguilaibao
说明:  MCP4922 Arduino library

文件列表:
examples\MCP4922test1\MCP4922test1.ino (566, 2017-09-29)
examples\MCP4922test2\MCP4922test2.ino (756, 2015-01-01)
keywords.txt (30, 2015-01-01)
MCP4922.cpp (2465, 2015-01-01)
MCP4922.h (1136, 2015-01-01)
examples\MCP4922test1 (0, 2018-03-01)
examples\MCP4922test2 (0, 2018-03-01)
examples (0, 2018-03-01)

MCP4922-Arduino-SPI-Library =========================== This is a Library for using MCP4922 DAC digital to analog converter with Arduino. The Library uses hardware SPI to communicate with the DAC and there are Examples for how to use the DAC. Pins 51,52,53 is for ArduinoMEGA2560. Pins 10,11,13 is for Arduino Uno. Connections to make: Vdd DAC pin 1 to MEGA pin 5V; N/C DAC pin 2 to nothing; !CS DAC pin 3 to MEGA pin 53/10 CS; SCK DAC pin 4 to MEGA pin 52/13 SCK; SDI DAC pin 5 to MEGA pin 51/11 MOSI; N/C DAC pin 6 to nothing; N/C DAC pin 7 to nothing; !LDAC DAC pin 8 to MEGA pin 5; !SHDN DAC pin 9 to MEGA pin 5V; VoutB DAC pin 10 to MEGA pin A3; VrefB DAC pin 11 to MEGA pin 5V; Vss DAC pin 12 to MEGA pin GND; VrefA DAC pin 13 to MEGA pin 5V; VoutA DAC pin 14 to MEGA pin A2; The Examples Writes to the DAC and then reads back the DAC outputs using A2/A3 pins then print result to serial.

近期下载者

相关文件


收藏者