资源简介
海曼HTPA32X32d官方库开发包,有例程,很方便移植到自已的应用程序里。后期需要二次开发的多沟通。
代码片段和文件信息
#define COMPDEFECTIVEPIX
#define SCALETOPTAT
/********************************************************************
* Function: void RecalibThOffset(void)
*
* Description: This function does a recalibration by looking at a smooth picture
*
* Dependencies: none
*******************************************************************/
void RecalibThOffset(void){
unsigned int ikcBlockCalibNextBlock;
unsigned long PTATVddLong;
unsigned long CalibData[(unsigned short)Pixel+(unsigned short)PTATamount+(unsigned short)ELAMOUNT];
unsigned char eecpy[Pixel*2]BufferRAM[2];
unsigned short PixelValuePixel2Valuereadback;
TAsicSFR I2Creg;
unsigned short AverageAmount;
float TAMBcommon[3];
unsigned char ReadBlindframe=0GetBlindframe=0;
char GetVddMeas=0VddSampledBefore=0VddSampledNow=0;
unsigned long VddSensorLong=0;
unsigned long long DividerVdd;
signed long VoltageLong2NewDeltaVdd;
signed short DeltaVdd;
unsigned long long DividerVdd2;
signed long long VoltageLongLong;
IEC0bits.INT4IE=0; //neu
sprintf(tempstring“Recording...\r\n“);
putstringUDPUART(tempstring);
U2RXREG=0;
U2STA&0;
IFS1bits.U2RXIF = 0;
IEC0bits.T4IE=0;
IEC1bits.U2TXIE=0;
IEC0bits.INT1IE = 0;
calibsocket = UDPOpen(30333&CamServer30333);
//initialize all values to 0
memset(CalibData0sizeof(CalibData));
//start the sensor
SensorWakeup(0);
I2Creg.adr=0x1A;
I2Creg.read=0x00;
I2Creg.Config=0x01;
I2Creg.sfrdata=0x09; //always start with block 0
WriteConf(I2Creg);
sprintf(tempstring“.“);
for(k=0;k<(unsigned short)runtoBlindBeforePixC;k++){
for(BlockCalib=0;BlockCalib<4;BlockCalib++){
NextBlock=BlockCalib+1;
if(NextBlock>3){
NextBlock=0;
while(!UDPIsPutReady(calibsocket));
UDPPutArray((BYTE*)Voltage[0]DATALength);
UDPFlush();
while(!UDPIsPutReady(calibsocket));
UDPPutArray((unsigned char*)&Voltage[0][DataLengthHalf]DATALength2);
UDPFlush();
StackTask();
}
//wait until EOC is set
// DelayMs(tFR);
do{
p=data;
I2Creg.adr=0x1A;
I2Creg.read=0x00;
I2Creg.Config=0x02;
Read_RAM(dataI2Creg0x01);
}while((data[0]&0x01)!=0x01);
//readout the whole frame for both sides
I2Creg.adr=0x1A;
I2Creg.read=0x00;
I2Creg.Config=0x0A;
p=data;
Read_RAM(dataI2CregPixelforth+2);
I2Creg.adr=0x1A;
I2Creg.read=0x00;
I2Creg.Config=0x0B;
p2=data2;
Read_RAM(data2I2CregPixelforth+2);
//start the sensor again
I2Creg.adr=0x1A;
I2Creg.read=0x00;
I2Creg.Config=0x01;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 115496 2017-04-18 20:41 SampleCode32x32dR2\32x32d_ExampleData.xlsx
文件 13767 2017-08-24 22:29 SampleCode32x32dR2\32x32d_I2C_CLKTRIM.xlsx
文件 13545 2016-07-27 17:04 SampleCode32x32dR2\32x32d_I2C_CLKTRIM_I2C400kHz.xlsx
文件 510 2015-06-18 14:41 SampleCode32x32dR2\BTypes.h
文件 856 2019-06-05 16:56 SampleCode32x32dR2\Change_History.txt
文件 9278 2017-02-16 20:55 SampleCode32x32dR2\Correlation_Datasheet_SampleCode.xlsx
文件 10452 2019-02-27 15:16 SampleCode32x32dR2\defs.h
文件 274388 2018-03-09 14:14 SampleCode32x32dR2\EEPROM_32x32d_Example.xlsx
文件 13683 2016-12-28 18:17 SampleCode32x32dR2\Look-up_Table_Example.xlsx
文件 16705 2017-11-02 17:40 SampleCode32x32dR2\OffsetAdaption.c
文件 62116 2019-06-05 16:56 SampleCode32x32dR2\sampleCode32x32dR1_V0_06.c
文件 1389383 2018-05-30 14:02 SampleCode32x32dR2\Table.c
..AD... 0 2019-06-05 16:56 SampleCode32x32dR2
----------- --------- ---------- ----- ----
1920179 13
- 上一篇:png格式常用图标(16x16像素)收集1800多个
- 下一篇:禅道使用说明书手册
相关资源
- 硬件设计-红外测温TMP006
- 矿用非接触式红外热电堆测温仪
- BM-SOP-T021 BM43系列红外温度传感器的应
- 基于单片机的家庭无线红外测温仪
- MLX90614红外测温仪软件设计.rar
- mlx90614红外测温传感器stm32f103rct6
- MLX90614非接触式红外测温测试代码
- 海曼80×64传感器手册
- 基于STM32的MLX90614测温显示.rar
- 已完成的按键+红外测温+oled - 副本.
- STM32红外测温MLX90614.rar
- mlx90640_code.zip
- 红外测温程序
- mlx90614红外无接触测温测试通过.rar
- MLX90614红外测温 STM32完整工程文件
- 基于红外测温仪的输送带防撕裂装置
- 基于51单片机的MLX90614红外测温仪实验
- TN901红外测温仪 非接触红外测温仪 设
- 单片机和LCD实现红外测温仪设计
- 海曼MelmannHPTA32X32传感器datesheet.rar
- MLX90640.zip
- STM8红外温度传感器MLX90614源代码
- 红外非接触式电子体温计枪设计提供
- 基于STM8L方案:额温枪、红外测温仪设
- BH67F2752_红外测温方案额温枪额温枪原
- TN905/TN901红外测温模块STM32程序
评论
共有 条评论