压缩包内为AD7190的通讯代码,使用模拟SPI程序编写,有很好的实用性~~~~~~~
2021-11-12 22:50:29 13KB AD7190
1
此为AD7190的读写程序,并把读到的数据进行显示,存储。
2021-11-12 22:46:11 57KB AD7190 电子称 程序
1
AD7190原理图,做称重模块用的,只有原理图,经实测过可试用。
2021-10-15 13:13:04 72KB AD7190
1
stm32 SPI 读取 AD7192
2021-10-14 19:44:32 154KB AD7192 程序 代码 驱动
1
AD7190是一款适合高精密测量应用的低噪声完整模拟前端。它集成一个低噪声、24位Σ-Δ型模数转换器(ADC)。片内低噪声增益级意味着可直接输入小信号。 这款器件可配置为两路差分输入或四路伪差分输入。片内通道序列器可以使能多个通道,AD7190按顺序在各使能通道上执行转换,这可以简化与器件的通信。片内4.92 MHz时钟可以用作ADC的时钟源;或者,也可以使用外部时钟或晶振。该器件的输出数据速率可在4.7 Hz至4.8 kHz的范围内变化。 在1KHz时能得到16位无噪声分辨率,提供STM32例程,移植简单,非常适合力传感器的输出信号处理。
2021-09-30 09:24:07 83.61MB AD7190 称重模块 24位ADC 力传感器
1
STM32F407单片机24bit_ADC_AD7190称重模块+16bit_DAC_电压输出实验KEIL工程源码 int main(void) { uint16_t data=0xFFFF/2; double temp,opa; float data_temp; int32_t weight_count; uint8_t cali_flag=0; /* 复位所有外设,初始化Flash接口和系统滴答定时器 */ HAL_Init(); /* 配置系统时钟 */ SystemClock_Config(); /* 初始化串口并配置串口中断优先级 */ MX_DEBUG_USART_Init(); /* 初始化LED */ LED_GPIO_Init(); KEY_GPIO_Init(); /* 初始化BEEP */ BEEP_GPIO_Init(); if(AD7190_Init()==0) { printf("获取不到 AD7190 !\n"); while(1) { HAL_Delay(1000); if(AD7190_Init()) break; } } printf("检测到 AD7190 !\n"); weight_ad7190_conf(); HAL_Delay(500); weight_Zero_Data = weight_ad7190_ReadAvg(6); printf("zero:%d\n",weight_Zero_Data); printf("硬石DAC(AD5689)模块模拟量电压输出\n"); AD5689_Init(); AD5689_WriteUpdate_DACREG(DAC_A,data); AD5689_WriteUpdate_DACREG(DAC_B,0xFFFF-data); printf("data:%d\n",data); opa=OPA_RES_R2/OPA_RES_R1; while(1) { weight_count=weight_ad7190_ReadAvg(3); data_temp=weight_count-weight_Zero_Data; weight=data_temp*1000/weight_proportion; printf("重量:%d->%.2f\n",weight_count,weight); HAL_Delay(200); if(KEY1_StateRead()==KEY_DOWN) // 清零 { weight_Zero_Data = weight_ad7190_ReadAvg(6); printf("zero:%d\n",weight_Zero_Data); cali_flag=1; } if(KEY2_StateRead()==KEY_DOWN) // 校准:必须先按“清零”键,然后把20g砝码放在称上,按下校准键 { if(cali_flag) { weight_count = weight_ad7190_ReadAvg(6); weight_proportion=(weight_count-weight_Zero_Data)*1000/100; printf("weight_proportion:%d\n",weight_proportion); } cali_flag=0; } if(KEY3_StateRead()==KEY_DOWN) { if(data>(0xFFFF-1000)) data=(0xFFFF-1000); data +=1000; AD5689_WriteUpdate_DACREG(DAC_A,data); AD5689_WriteUpdate_DACREG(DAC_B,0xFFFF-data); temp=(double)(data*2-0xFFFF)*2500*opa/0xFFFF; //temp为目标电源值,这里先放大1000倍(方便计算而已),等后面显示再还原 //data是数字量DA值,当data取值
AD7190 ADC模块PDF原理图+AD集成封装库,集成封装库列表: Library Component Count : 19 Name Description ---------------------------------------------------------------------------------------------------- AD7190 AD7190 BAS70-04LT1 70V,70mA,VF=0.41V@1mA Cap Capacitor Cap Pol Polarized Capacitor (Radial) DIODE Diode DIODE SCHOTTKY Schottky Diode HOLE Header 8 Header, 8-Pin Inductance2 Inductance Inductance_1 LED PR9 LMV331 General-purpose Low-voltage Comparators MCP6024 REF3xxx REF3xxx Res1 Resistor TPS6040x UNREGULATED 60-mA CHARGE PUMP VOLTAGE INVERTER TPS61040 DC-DC Boost Converter XTAL_2Pin Crystal Oscillator
硬石AD7190模块PDF原理图+AD集成封装库+AD7190芯片文档资料: 模块主要器件如下: AD7190 AD7190 Cap Capacitor Cap Pol Polarized Capacitor (Radial) Header 9 Header, 9-Pin Inductance_1 LED PR9 REF3xxx REF3xxx RT9193 RT9193-33GB Res1 Resistor XTAL_2Pin Crystal Oscillator PCB封装库型号列表: Component Count : 234 Component Name ----------------------------------------------- 14F-2Z-A2 0603 0603D 0603X4 0805 0805D 1206 1206D 1210_C 1210_R 1812D 2450AT18B100E 2512_R AVX_A_3216 AVX_A_6032 AVX-B_3528 BATERY BEEP-9.5X5.5 CAP_6.3*7 CAP_8*12 CAP_10*20 CAP_13*20 CAP-6.6X6.6MM CAP-8.4X8.4MM CASE-E_7343 CBB_11X4X10 CH3.96_2P CH3.96_3P CH3.96_6P CON-DS210/SC/3-JL CON-HR911105C/RJ45/SC-JL CON-JH-9P/SC/R-JL CON-PJ327A/SB-JL CON-PS/2 CON1X1(2.54mm) CON1X2(2.54mm) CON1X2(5.08mm) CON1X3(2.54mm) CON1X3(5.08mm) CON1X4(2.54mm) CON1X5(2.54mm) CON1X6(2.54mm) CON1X6(2.54mm) - M CON1X7(2.54mm) CON1X8(2.54mm) CON1X9(2.54mm) CON1X10(2.54mm) CON1X11(2.54mm) CON1X12(2.54mm) CON1X13(2.54mm) CON1X14(2.54mm) CON1X15(2.54mm) CON1X16(2.54mm) CON1X17(2.54mm) CON1X18(2.54mm) CON1X19(2.54mm) CON1X20(2.54mm) CON1X22(2.54mm) CON1X24(2.54mm) CON1X25(2.54mm) CON1X30(2.54mm) CON2X2(2.54mm) CON2X3(2.54mm) CON2X4(2.54MM) CON2X5(2.54MM) CON2X6(2.54MM) CON2X7(2.54MM) CON2X9(2.54MM) CON2X11(2.54MM) CON2X13(2.54MM) CON2X30(2.54MM) DB15_VGA_F DB15_VGA_M DB15_VGA_M - BLUE DC3-20P DC3-20P _90 DC3-20P _90-2 DC3-24P DHT11&DS18B20 direct_short EDG3.81_2P EDG3.81_4P EDG3.81_6P EDG3.81_7P EDG3.81_8P ESP-12F FPC_24*0.5 FPC_40*0.5 FUSE_1812 GPS_ANT HOLE-M3 HR911105A HT5.08-2P HT5.08-2P_0 HT5.08-4P HT5.08-5P HT5.08-6P HT5.08-8P IN4007-DIP IN4148-DIP IN5333-DIP IPEX jidianqi K-SWITCH/6X6MM/SMD KEY_2P_Patch KEY-6S KEY-DIP KF128_2P KF128_3P KF128_4P KF128_5P KF128_6P KF128_8P KF128_9P KF128_10P KF128-2.54_9P KF128-3.81_2P KF128-3.81_3P KF128-3.81_4P KF128-3.81_5P KF128-3.81_6P KF128-3.81_7P KF128-3.81_8P KF128-3.81_9P KF128-3.81_10P KF2510_2A KF251
AD7190称重模块软硬件开发资料硬件参考设计+STM32软件例程工程源码: AD7190称重模块原理图 YS-F1Pro开发板程序 YS-F4Pro开发板程序 硬石各类功能模块使用手册.pdf 称重传感器与AD7190模块接线图.png 芯片资料 AD7190称重模块原理图 AD7190称重模块尺寸图 AD7190称重模块库文件(AD14版本) YSF4_HAL-141. 24bit_ADC_AD7190四路单端电压采集(串口打印).rar YSF4_HAL-142. 24bit_ADC_AD7190两路差分电压采集(串口打印).rar YSF4_HAL-143. 24bit_ADC_AD7190称重模块(串口打印).rar YSF4_HAL-144. 24bit_ADC_AD7190称重模块(液晶显示).rar YSF4_HAL-152. 24bit_ADC_AD7190称重模块(串口打印)加电流采集.rar YSF4_HAL-153. 24bit_ADC_AD7190称重模块(串口打印)加电压采集.rar YSF4_HAL-154. 24bit_ADC_AD7190称重模块(串口打印)加电压输出.rar YSF4_HAL-155. (0V~10V)电压输出加电流采集.rar YSF4_HAL-156. (0V~10V)电压输出加电压采集.rar YSF4_HAL_HMI_007. 串口屏电子秤.rar
AD7190驱动程序.zip
2021-09-01 21:03:31 57KB 硬件开发技术
1