GithubHelp home page GithubHelp logo

dac8831's Introduction

功能说明 串口设置DAC8831输出电压值;主控MCU为STM32F407ZGT6.


硬件连接 VD ------> 3.3V GD ------> GND

IN+  ------> +12V(7-15V)
GND  ------> GND

CS1  ------> PG15
CS2  ------> PG14
SCLK ------> PB3
SDI  ------> PB5

协议 '$' + '模式符号' + '小数' + '\r\n' 模式符号:'' 修改校正系数 '+' 通道1输出,通道2置0 '-' 通道2输出,通道1置0

如"$+2.35\r\n" 表示通道1输出2.35V电压,通道2输出0V电压 "$-4.44\r\n" 表示通道2输出4.44V电压,通道1输出0V电压 "$\1.025412\r\n" 表示校正系数为1.025412 ( 校准系数计算方式: 先将校正系数设置为1,设置电压输出,测量实际输出电压值; 校正系数=设置输出电压值 / 实际输出电压值;最好保留6位有效数字。 )

dac8831's People

Contributors

xujunjie96 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.