PT1000 C程序 单片机 分度表 程序

发布者:TechWhizKid最新更新时间:2022-01-04 来源: eefocus关键字:PT1000  C程序  单片机  分度表 手机看文章 扫描二维码
随时随地手机看文章

python数据处理:


import numpy as np


A = 0.0038623139728

B = -0.00000065314932626

t1 = np.asarray(range(-150, 152, 1))

print(t1)

t = t1 - 0.5

print(t)

Rt = 1000 * (1 + A * t + B * t * t)

print(Rt)

RT1 = list(map(lambda x: str(int(x)), Rt.tolist()))


print(",".join(list(map(str, RT1))))

print(len(RT1))


移植到单片机函数的情况:


#include


int find_Rt[] = { 407, 412,  416,  420,  424, 428,  432,  436,  440, 444,  448,  452,  456, 460,  464,  468,  472, 476,  480, 484,

  488, 492,  496,  500,  504, 509,  513,  517,  521, 525,  529,  533,  537, 541,  545,  549,  553, 557,  561, 565,569,

  573, 577,  581,  585,  589, 593,  597,  601,  605, 609,  613,  617,  621, 625,  629,  633,  637, 641,  645, 649,653,

  657, 661,  664,  668,  672, 676,  680,  684,  688, 692,  696,  700,  704, 708,  712,  716,  720, 724,  728, 732,736,

  740, 744,  748,  752,  756, 759,  763,  767,  771, 775,  779,  783,  787, 791,  795,  799,  803, 807,  811, 815,818,

  822, 826,  830,  834,  838, 842,  846,  850,  854, 858,  862,  865,  869, 873,  877,  881,  885, 889,  893, 897,901,

  904, 908,  912,  916,  920, 924,  928,  932,  936, 939,  943,  947,  951, 955,  959,  963,  967, 970,  974, 978,982,

  986, 990,  994,  998,  1001, 1005, 1009, 1013, 1017, 1021, 1025, 1028, 1032, 1036, 1040, 1044, 1048, 1052,

  1055, 1059, 1063, 1067, 1071, 1075, 1078, 1082, 1086, 1090, 1094, 1098, 1101, 1105, 1109, 1113, 1117, 1121,

  1124, 1128, 1132, 1136, 1140, 1143, 1147, 1151, 1155, 1159, 1162, 1166, 1170, 1174, 1178, 1181, 1185, 1189,

  1193, 1197, 1200, 1204, 1208, 1212, 1216, 1219, 1223, 1227, 1231, 1235, 1238, 1242, 1246, 1250, 1253, 1257,

  1261, 1265, 1269, 1272, 1276, 1280, 1284, 1287, 1291, 1295, 1299, 1302, 1306, 1310, 1314, 1317, 1321, 1325,

  1329, 1332, 1336, 1340, 1344, 1347, 1351, 1355, 1359, 1362, 1366, 1370, 1374, 1377, 1381, 1385, 1389, 1392,

  1396, 1400, 1403, 1407, 1411, 1415, 1418, 1422, 1426, 1429, 1433, 1437, 1441, 1444, 1448, 1452, 1455, 1459,

  1463, 1467, 1470, 1474, 1478, 1481, 1485, 1489, 1492, 1496, 1500, 1503, 1507, 1511, 1515, 1518, 1522, 1526,

  1529, 1533, 1537, 1540, 1544, 1548, 1551, 1555, 1559, 1562, 1566 };

int get_temp( int Rt )

{

    //获取温度的函数,传入参数是PT100的电阻值

    //只适合获取-150摄氏度到150摄氏度的情况,别的情况需要改分度表

int wendu;

int k = 0;

while ( k < 301 )

{

if ( Rt < find_Rt[k] )

{

wendu = -150 + k;

break;

}

k++;

}

if ( k == 301 )//此时温度会大于150摄氏度  直接当150摄氏度处理

{

wendu = -150 + k;

}

return(wendu);

}



int main()

{

/* 我的第一个 C 程序 */

printf( "%d n", get_temp( 1000 ) );


return(0);

}


想要精度0.1的:


import numpy as np


A = 0.0038623139728

B = -0.00000065314932626

t1 = np.asarray(range(-1499, 1502, 1))

t1 = t1*0.1

print(t1)

t = t1 - 0.05

print(t)

Rt = 1000 * (1 + A * t + B * t * t)

print(Rt)

RT1 = list(map(lambda x: str(round(x,3)), Rt.tolist()))


print(",".join(list(map(str, RT1))))

print(len(RT1))


#include


float find_Rt[] = { 406.16, 406.566, 406.972, 407.377, 407.783, 408.189, 408.595, 409.0, 409.406, 409.812, 410.217, 410.623, 411.029, 411.435, 411.84, 412.246, 412.651, 413.057, 413.463, 413.868, 414.274, 414.679, 415.085, 415.49, 415.896, 416.301, 416.707, 417.112, 417.518, 417.923, 418.329, 418.734, 419.139, 419.545, 419.95, 420.356, 420.761, 421.166, 421.572, 421.977, 422.382, 422.788, 423.193, 423.598, 424.003, 424.409, 424.814, 425.219, 425.624, 426.029, 426.435, 426.84, 427.245, 427.65, 428.055, 428.46, 428.865, 429.27, 429.676, 430.081, 430.486, 430.891, 431.296, 431.701, 432.106, 432.511, 432.916, 433.321, 433.725, 434.13, 434.535, 434.94, 435.345, 435.75, 436.155, 436.56, 436.964, 437.369, 437.774, 438.179, 438.584, 438.988, 439.393, 439.798, 440.203, 440.607, 441.012, 441.417, 441.821, 442.226, 442.631, 443.035, 443.44, 443.845, 444.249, 444.654, 445.058, 445.463, 445.868, 446.272, 446.677, 447.081, 447.486, 447.89, 448.295, 448.699, 449.103, 449.508, 449.912, 450.317, 450.721, 451.125, 451.53, 451.934, 452.338, 452.743, 453.147, 453.551, 453.956, 454.36, 454.764, 455.168, 455.573, 455.977, 456.381, 456.785, 457.189, 457.594, 457.998, 458.402, 458.806, 459.21, 459.614, 460.018, 460.422, 460.827, 461.231, 461.635, 462.039, 462.443, 462.847, 463.251, 463.655, 464.059, 464.463, 464.866, 465.27, 465.674, 466.078, 466.482, 466.886, 467.29, 467.694, 468.097, 468.501, 468.905, 469.309, 469.713, 470.116, 470.52, 470.924, 471.328, 471.731, 472.135, 472.539, 472.942, 473.346, 473.75, 474.153, 474.557, 474.96, 475.364, 475.768, 476.171, 476.575, 476.978, 477.382, 477.785, 478.189, 478.592, 478.996, 479.399, 479.803, 480.206, 480.61, 481.013, 481.416, 481.82, 482.223, 482.627, 483.03, 483.433, 483.836, 484.24, 484.643, 485.046, 485.45, 485.853, 486.256, 486.659, 487.063, 487.466, 487.869, 488.272, 488.675, 489.078, 489.482, 489.885, 490.288, 490.691, 491.094, 491.497, 491.9, 492.303, 492.706, 493.109, 493.512, 493.915, 494.318, 494.721, 495.124, 495.527, 495.93, 496.333, 496.736, 497.139, 497.542, 497.944, 498.347, 498.75, 499.153, 499.556, 499.958, 500.361, 500.764, 501.167, 501.57, 501.972, 502.375, 502.778, 503.18, 503.583, 503.986, 504.388, 504.791, 505.194, 505.596, 505.999, 506.401, 506.804, 507.207, 507.609, 508.012, 508.414, 508.817, 509.219, 509.622, 510.024, 510.427, 510.829, 511.231, 511.634, 512.036, 512.439, 512.841, 513.243, 513.646, 514.048, 514.45, 514.853, 515.255, 515.657, 516.06, 516.462, 516.864, 517.266, 517.669, 518.071, 518.473, 518.875, 519.277, 519.679, 520.082, 520.484, 520.886, 521.288, 521.69, 522.092, 522.494, 522.896, 523.298, 523.7, 524.102, 524.504, 524.906, 525.308, 525.71, 526.112, 526.514, 526.916, 527.318, 527.72, 528.122, 528.524, 528.925, 529.327, 529.729, 530.131, 530.533, 530.934, 531.336, 531.738, 532.14, 532.542, 532.943, 533.345, 533.747, 534.148, 534.55, 534.952, 535.353, 535.755, 536.157, 536.558, 536.96, 537.361, 537.763, 538.164, 538.566, 538.968, 539.369, 539.771, 540.172, 540.574, 540.975, 541.376, 541.778, 542.179, 542.581, 542.982, 543.383, 543.785, 544.186, 544.588, 544.989, 545.39, 545.792, 546.193, 546.594, 546.995, 547.397, 547.798, 548.199, 548.6, 549.002, 549.403, 549.804, 550.205, 550.606, 551.007, 551.408, 551.81, 552.211, 552.612, 553.013, 553.414, 553.815, 554.216, 554.617, 555.018, 555.419, 555.82, 556.221, 556.622, 557.023, 557.424, 557.825, 558.226, 558.626, 559.027, 559.428, 559.829, 560.23, 560.631, 561.031, 561.432, 561.833, 562.234, 562.635, 563.035, 563.436, 563.837, 564.237, 564.638, 565.039, 565.44, 565.84, 566.241, 566.641, 567.042, 567.443, 567.843, 568.244, 568.644, 569.045, 569.445, 569.846, 570.246, 570.647, 571.047, 571.448, 571.848, 572.249, 572.649, 573.05, 573.45, 573.85, 574.251, 574.651, 575.052, 575.452, 575.852, 576.253, 576.653, 577.053, 577.453, 577.854, 578.254, 578.654, 579.054, 579.455, 579.855, 580.255, 580.655, 581.055, 581.455, 581.856, 582.256, 582.656, 583.056, 583.456, 583.856, 584.256, 584.656, 585.056, 585.456, 585.856, 586.256, 586.656, 587.056, 587.456, 587.856, 588.256, 588.656, 589.056, 589.456, 589.855, 590.255, 590.655, 591.055, 591.455, 591.855, 592.254, 592.654, 593.054, 593.454, 593.853, 594.253, 594.653, 595.053, 595.452, 595.852, 596.252, 596.651, 597.051, 597.45, 597.85, 598.25, 598.649, 599.049, 599.448, 599.848, 600.247, 600.647, 601.046, 601.446, 601.845, 602.245, 602.644, 603.044, 603.443, 603.843, 604.242, 604.641, 605.041, 605.44, 605.839, 606.239, 606.638, 607.037, 607.437, 607.836, 608.235, 608.635, 609.034, 609.433, 609.832, 610.231, 610.631, 611.03, 611.429, 611.828, 612.227, 612.626, 613.026, 613.425, 613.824, 614.223, 614.622, 615.021, 615.42, 615.819, 616.218, 616.617, 617.016, 617.415, 617.814, 618.213, 618.612, 619.011, 619.41, 619.808, 620.207, 620.606, 621.005, 621.404, 621.803, 622.201, 622.6, 622.999, 623.398, 623.797, 624.195, 624.594, 624.993, 625.391, 625.79, 626.189, 626.588, 626.986, 627.385, 627.783, 628.182, 628.581, 628.979, 629.378, 629.776, 630.175, 630.573, 630.972, 631.371, 631.769, 632.167, 632.566, 632.964, 633.363, 633.761, 634.16, 634.558, 634.957, 635.355, 635.753, 636.152, 636.55, 636.948, 637.347, 637.745, 638.143, 638.541, 638.94, 639.338, 639.736, 640.134, 640.533, 640.931, 641.329, 641.727, 642.125, 642.524, 642.922, 643.32, 643.718, 644.116, 644.514, 644.912, 645.31, 645.708, 646.106, 646.504, 646.902, 647.3, 647.698, 648.096, 648.494, 648.892, 649.29, 649.688, 650.086, 650.484, 650.882, 651.279, 651.677, 652.075, 652.473, 652.871, 653.268, 653.666, 654.064, 654.462, 654.86, 655.257, 655.655, 656.053, 656.45, 656.848, 657.246, 657.643, 658.041, 658.439, 658.836, 659.234, 659.631, 660.029, 660.427, 660.824, 661.222, 661.619, 662.017, 662.414, 662.812, 663.209, 663.606, 664.004, 664.401, 664.799, 665.196, 665.594, 665.991, 666.388, 666.786, 667.183, 667.58, 667.978, 668.375, 668.772, 669.169, 669.567, 669.964, 670.361, 670.758, 671.156, 671.553, 671.95, 672.347, 672.744, 673.141, 673.539, 673.936, 674.333, 674.73, 675.127, 675.524, 675.921, 676.318, 676.715, 677.112, 677.509, 677.906, 678.303, 678.7, 679.097, 679.494, 679.891, 680.288, 680.685, 681.081, 681.478, 681.875, 682.272, 682.669, 683.066, 683.462, 683.859, 684.256, 684.653, 685.05, 685.446, 685.843, 686.24, 686.636, 687.033, 687.43, 687.826, 688.223, 688.62, 689.016, 689.413, 689.809, 690.206, 690.603, 690.999, 691.396, 691.792, 692.189, 692.585, 692.982, 693.378, 693.775, 694.171, 694.568, 694.964, 695.36, 695.757, 696.153, 696.55, 696.946, 697.342, 697.739, 698.135, 698.531, 698.927, 699.324, 699.72, 700.116, 700.512, 700.909, 701.305, 701.701, 702.097, 702.493, 702.89, 703.286, 703.682, 704.078, 704.474, 704.87, 705.266, 705.662, 706.058, 706.454, 706.85, 707.247, 707.643, 708.039, 708.434, 708.83, 709.226, 709.622, 710.018, 710.414, 710.81, 711.206, 711.602, 711.998, 712.394, 712.789, 713.185, 713.581, 713.977, 714.373, 714.768, 715.164, 715.56, 715.956, 716.351, 716.747, 717.143, 717.538, 717.934, 718.33, 718.725, 719.121, 719.517, 719.912, 720.308, 720.703, 721.099, 721.494, 721.89, 722.285, 722.681, 723.076, 723.472, 723.867, 724.263, 724.658, 725.054, 725.449, 725.845, 726.24, 726.635, 727.031, 727.426, 727.821, 728.217, 728.612, 729.007, 729.403, 729.798, 730.193, 730.588, 730.984, 731.379, 731.774, 732.169, 732.564, 732.96, 733.355, 733.75, 734.145, 734.54, 734.935, 735.33, 735.725, 736.12, 736.515, 736.91, 737.305, 737.7, 738.095, 738.49, 738.885, 739.28, 739.675, 740.07, 740.465, 740.86, 741.255, 741.65, 742.045, 742.44, 742.834, 743.229, 743.624, 744.019, 744.414, 744.808, 745.203, 745.598, 745.993, 746.387, 746.782, 747.177, 747.571, 747.966, 748.361, 748.755, 749.15, 749.545, 749.939, 750.334, 750.728, 751.123, 751.518, 751.912, 752.307, 752.701, 753.096, 753.49, 753.885, 754.279, 754.674, 755.068, 755.462, 755.857, 756.251, 756.646, 757.04, 757.434, 757.829, 758.223, 758.617, 759.012, 759.406, 759.8, 760.194, 760.589, 760.983, 761.377, 761.771, 762.166, 762.56, 762.954, 763.348, 763.742, 764.136, 764.531, 764.925, 765.319, 765.713, 766.107, 766.501, 766.895, 767.289, 767.683, 768.077, 768.471, 768.865, 769.259, 769.653, 770.047, 770.441, 770.835, 771.229, 771.622, 772.016, 772.41, 772.804, 773.198, 773.592, 773.985, 774.379, 774.773, 775.167, 775.561, 775.954, 776.348, 776.742, 777.135, 777.529, 777.923, 778.317, 778.71, 779.104, 779.497, 779.891, 780.285, 780.678, 781.072, 781.465, 781.859, 782.252, 782.646, 783.039, 783.433, 783.826, 784.22, 784.613, 785.007, 785.4, 785.794, 786.187, 786.58, 786.974, 787.367, 787.761, 788.154, 788.547, 788.941, 789.334, 789.727, 790.12, 790.514, 790.907, 791.3, 791.693, 792.087, 792.48, 792.873, 793.266, 793.659, 794.052, 794.446, 794.839, 795.232, 795.625, 796.018, 796.411, 796.804, 797.197, 797.59, 797.983, 798.376, 798.769, 799.162, 799.555, 799.948, 800.341, 800.734, 801.127, 801.52, 801.912, 802.305, 802.698, 803.091, 803.484, 803.877, 804.269, 804.662, 805.055, 805.448, 805.841, 806.233, 806.626, 807.019, 807.411, 807.804, 808.197, 808.589, 808.982, 809.375, 809.767, 810.16, 810.553, 810.945, 811.338, 811.73, 812.123, 812.515, 812.908, 813.3, 813.693, 814.085, 814.478, 814.87, 815.263, 815.655, 816.047, 816.44, 816.832, 817.225, 817.617, 818.009, 818.402, 818.794, 819.186, 819.579, 819.971, 820.363, 820.755, 821.148, 821.54, 821.932, 822.324, 822.716, 823.109, 823.501, 823.893, 824.285, 824.677, 825.069, 825.461, 825.853, 826.246, 826.638, 827.03, 827.422, 827.814, 828.206, 828.598, 828.99, 829.382, 829.774, 830.166, 830.557, 830.949, 831.341, 831.733, 832.125, 832.517, 832.909, 833.301, 833.692, 834.084, 834.476, 834.868, 835.26, 835.651, 836.043, 836.435, 836.827, 837.218, 837.61, 838.002, 838.393, 838.785, 839.177, 839.568, 839.96, 840.351, 840.743, 841.135, 841.526, 841.918, 842.309, 842.701, 843.092, 843.484, 843.875, 844.267, 844.658, 845.05, 845.441, 845.832, 846.224, 846.615, 847.007, 847.398, 847.789, 848.181, 848.572, 848.963, 849.355, 849.746, 850.137, 850.528, 850.92, 851.311, 851.702, 852.093, 852.485, 852.876, 853.267, 853.658, 854.049, 854.44, 854.831, 855.223, 855.614, 856.005, 856.396, 856.787, 857.178, 857.569, 857.96, 858.351, 858.742, 859.133, 859.524, 859.915, 860.306, 860.697, 861.088, 861.478, 861.869, 862.26, 862.651, 863.042, 863.433, 863.823, 864.214, 864.605, 864.996, 865.387, 865.777, 866.168, 866.559, 866.95, 867.34, 867.731, 868.122, 868.512, 868.903, 869.294, 869.684, 870.075, 870.465, 870.856, 871.247, 871.637, 872.028, 872.418, 872.809, 873.199, 873.59, 873.98, 874.371, 874.761, 875.151, 875.542, 875.932, 876.323, 876.713, 877.103, 877.494, 877.884, 878.275, 878.665, 879.055, 879.445, 879.836, 880.226, 880.616, 881.006, 881.397, 881.787, 882.177, 882.567, 882.958, 883.348, 883.738, 884.128, 884.518, 884.908, 885.298, 885.688, 886.078, 886.469, 886.859, 887.249, 887.639, 888.029, 888.419, 888.809, 889.199, 889.589, 889.978, 890.368, 890.758, 891.148, 891.538, 891.928, 892.318, 892.708, 893.098, 893.487, 893.877, 894.267, 894.657, 895.046, 895.436, 895.826, 896.216, 896.605, 896.995, 897.385, 897.775, 898.164, 898.554, 898.943, 899.333, 899.723, 900.112, 900.502, 900.892, 901.281, 901.671, 902.06, 902.45, 902.839, 903.229, 903.618, 904.008, 904.397, 904.787, 905.176, 905.565, 905.955, 906.344, 906.734, 907.123, 907.512, 907.902, 908.291, 908.68, 909.07, 909.459, 909.848, 910.237, 910.627, 911.016, 911.405, 911.794, 912.184, 912.573, 912.962, 913.351, 913.74, 914.129, 914.518, 914.908, 915.297, 915.686, 916.075, 916.464, 916.853, 917.242, 917.631, 918.02, 918.409, 918.798, 919.187, 919.576, 919.965, 920.354, 920.743, 921.131, 921.52, 921.909, 922.298, 922.687, 923.076, 923.465, 923.853, 924.242, 924.631, 925.02, 925.408, 925.797, 926.186, 926.575, 926.963, 927.352, 927.741, 928.129, 928.518, 928.907, 929.295, 929.684, 930.072, 930.461, 930.85, 931.238, 931.627, 932.015, 932.404, 932.792, 933.181, 933.569, 933.958, 934.346, 934.735, 935.123, 935.511, 935.9, 936.288, 936.677, 937.065, 937.453, 937.842, 938.23, 938.618, 939.007, 939.395, 939.783, 940.171, 940.56, 940.948, 941.336, 941.724, 942.112, 942.501, 942.889, 943.277, 943.665, 944.053, 944.441, 944.829, 945.217, 945.606, 945.994, 946.382, 946.77, 947.158, 947.546, 947.934, 948.322, 948.71, 949.098, 949.486, 949.873, 950.261, 950.649, 951.037, 951.425, 951.813, 952.201, 952.589, 952.976, 953.364, 953.752, 954.14, 954.528, 954.915, 955.303, 955.691, 956.079, 956.466, 956.854, 957.242, 957.629, 958.017, 958.405, 958.792, 959.18, 959.567, 959.955, 960.343, 960.73, 961.118, 961.505, 961.893, 962.28, 962.668, 963.055, 963.443, 963.83, 964.218, 964.605, 964.993, 965.38, 965.767, 966.155, 966.542, 966.929, 967.317, 967.704, 968.091, 968.479, 968.866, 969.253, 969.641, 970.028, 970.415, 970.802, 971.19, 971.577, 971.964, 972.351, 972.738, 973.125, 973.513, 973.9, 974.287, 974.674, 975.061, 975.448, 975.835, 976.222, 976.609, 976.996, 977.383, 977.77, 978.157, 978.544, 978.931, 979.318, 979.705, 980.092, 980.479, 980.866, 981.252, 981.639, 982.026, 982.413, 982.8, 983.187, 983.573, 983.96, 984.347, 984.734, 985.12, 985.507, 985.894, 986.281, 986.667, 987.054, 987.441, 987.827, 988.214, 988.6, 988.987, 989.374, 989.76, 990.147, 990.533, 990.92, 991.306, 991.693, 992.08, 992.466, 992.852, 993.239, 993.625, 994.012, 994.398, 994.785, 995.171, 995.557, 995.944, 996.33, 996.717, 997.103, 997.489, 997.876, 998.262, 998.648, 999.034, 999.421, 999.807, 1000.193, 1000.579, 1000.966, 1001.352, 1001.738, 1002.124, 1002.51, 1002.896, 1003.282, 1003.669, 1004.055, 1004.441, 1004.827, 1005.213, 1005.599, 1005.985, 1006.371, 1006.757, 1007.143, 1007.529, 1007.915, 1008.301, 1008.687, 1009.073, 1009.459, 1009.845, 1010.231, 1010.616, 1011.002, 1011.388, 1011.774, 1012.16, 1012.546, 1012.931, 1013.317, 1013.703, 1014.089, 1014.474, 1014.86, 1015.246, 1015.632, 1016.017, 1016.403, 1016.789, 1017.174, 1017.56, 1017.946, 1018.331, 1018.717, 1019.102, 1019.488, 1019.874, 1020.259, 1020.645, 1021.03, 1021.416, 1021.801, 1022.187, 1022.572, 1022.958, 1023.343, 1023.729, 1024.114, 1024.499, 1024.885, 1025.27, 1025.656, 1026.041, 1026.426, 1026.812, 1027.197, 1027.582, 1027.967, 1028.353, 1028.738, 1029.123, 1029.508, 1029.894, 1030.279, 1030.664, 1031.049, 1031.434, 1031.82, 1032.205, 1032.59, 1032.975, 1033.36, 1033.745, 1034.13, 1034.515, 1034.9, 1035.285, 1035.671, 1036.056, 1036.441, 1036.826, 1037.211, 1037.595, 1037.98, 1038.365, 1038.75, 1039.135, 1039.52, 1039.905, 1040.29, 1040.675, 1041.06, 1041.444, 1041.829, 1042.214, 1042.599, 1042.984, 1043.368, 1043.753, 1044.138, 1044.523, 1044.907, 1045.292, 1045.677, 1046.061, 1046.446, 1046.831, 1047.215, 1047.6, 1047.985, 1048.369, 1048.754, 1049.138, 1049.523, 1049.907, 1050.292, 1050.676, 1051.061, 1051.445, 1051.83, 1052.214, 1052.599, 1052.983, 1053.368, 1053.752, 1054.137, 1054.521, 1054.905, 1055.29, 1055.674, 1056.058, 1056.443, 1056.827, 1057.211, 1057.596, 1057.98, 1058.364, 1058.748, 1059.133, 1059.517, 1059.901, 1060.285, 1060.669, 1061.054, 1061.438, 1061.822, 1062.206, 1062.59, 1062.974, 1063.358, 1063.742, 1064.126, 1064.511, 1064.895, 1065.279, 1065.663, 1066.047, 1066.431, 1066.815, 1067.198, 1067.582, 1067.966, 1068.35, 1068.734, 1069.118, 1069.502, 1069.886, 1070.27, 1070.654, 1071.037, 1071.421, 1071.805, 1072.189, 1072.573, 1072.956, 1073.34, 1073.724, 1074.108, 1074.491, 1074.875, 1075.259, 1075.642, 1076.026, 1076.41, 1076.793, 1077.177, 1077.56, 1077.944, 1078.328, 1078.711, 1079.095, 1079.478, 1079.862, 1080.245, 1080.629, 1081.012, 1081.396, 1081.779, 1082.163, 1082.546, 1082.93, 1083.313, 1083.696, 1084.08, 1084.463, 1084.846, 1085.23, 1085.613, 1085.996, 1086.38, 1086.763, 1087.146, 1087.53, 1087.913, 1088.296, 1088.679, 1089.063, 1089.446, 1089.829, 1090.212, 1090.595, 1090.978, 1091.362, 1091.745, 1092.128, 1092.511, 1092.894, 1093.277, 1093.66, 1094.043, 1094.426, 1094.809, 1095.192, 1095.575, 1095.958, 1096.341, 1096.724, 1097.107, 1097.49, 1097.873, 1098.256, 1098.639, 1099.022, 1099.404, 1099.787, 1100.17, 1100.553, 1100.936, 1101.318, 1101.701, 1102.084, 1102.467, 1102.85, 1103.232, 1103.615, 1103.998, 1104.38, 1104.763, 1105.146, 1105.528, 1105.911, 1106.294, 1106.676, 1107.059, 1107.441, 1107.824, 1108.207, 1108.589, 1108.972, 1109.354, 1109.737, 1110.119, 1110.502, 1110.884, 1111.267, 1111.649, 1112.031, 1112.414, 1112.796, 1113.179, 1113.561, 1113.943, 1114.326, 1114.708, 1115.09, 1115.473, 1115.855, 1116.237, 1116.62, 1117.002, 1117.384, 1117.766, 1118.149, 1118.531, 1118.913, 1119.295, 1119.677, 1120.059, 1120.442, 1120.824, 1121.206, 1121.588, 1121.97, 1122.352, 1122.734, 1123.116, 1123.498, 1123.88, 1124.262, 1124.644, 1125.026, 1125.408, 1125.79, 1126.172, 1126.554, 1126.936, 1127.318, 1127.7, 1128.082, 1128.464, 1128.845, 1129.227, 1129.609, 1129.991, 1130.373, 1130.755, 1131.136, 1131.518, 1131.9, 1132.282, 1132.663, 1133.045, 1133.427, 1133.808, 1134.19, 1134.572, 1134.953, 1135.335, 1135.717, 1136.098, 1136.48, 1136.861, 1137.243, 1137.625, 1138.006, 1138.388, 1138.769, 1139.151, 1139.532, 1139.914, 1140.295, 1140.676, 1141.058, 1141.439, 1141.821, 1142.202, 1142.584, 1142.965, 1143.346, 1143.728, 1144.109, 1144.49, 1144.872, 1145.253, 1145.634, 1146.015, 1146.397, 1146.778, 1147.159, 1147.54, 1147.922, 1148.303, 1148.684, 1149.065, 1149.446, 1149.827, 1150.208, 1150.59, 1150.971, 1151.352, 1151.733, 1152.114, 1152.495, 1152.876, 1153.257, 1153.638, 1154.019, 1154.4, 1154.781, 1155.162, 1155.543, 1155.924, 1156.305, 1156.686, 1157.066, 1157.447, 1157.828, 1158.209, 1158.59, 1158.971, 1159.352, 1159.732, 1160.113, 1160.494, 1160.875, 1161.255, 1161.636, 1162.017, 1162.398, 1162.778, 1163.159, 1163.54, 1163.92, 1164.301, 1164.682, 1165.062, 1165.443, 1165.823, 1166.204, 1166.584, 1166.965, 1167.346, 1167.726, 1168.107, 1168.487, 1168.868, 1169.248, 1169.628, 1170.009, 1170.389, 1170.77, 1171.15, 1171.531, 1171.911, 1172.291, 1172.672, 1173.052, 1173.432, 1173.813, 1174.193, 1174.573, 1174.954, 1175.334, 1175.714, 1176.094, 1176.474, 1176.855, 1177.235, 1177.615, 1177.995, 1178.375, 1178.756, 1179.136, 1179.516, 1179.896, 1180.276, 1180.656, 1181.036, 1181.416, 1181.796, 1182.176, 1182.556, 1182.936, 1183.316, 1183.696, 1184.076, 1184.456, 1184.836, 1185.216, 1185.596, 1185.976, 1186.356, 1186.736, 1187.115, 1187.495, 1187.875, 1188.255, 1188.635, 1189.014, 1189.394, 1189.774, 1190.154, 1190.534, 1190.913, 1191.293, 1191.673, 1192.052, 1192.432, 1192.812, 1193.191, 1193.571, 1193.951, 1194.33, 1194.71, 1195.089, 1195.469, 1195.849, 1196.228, 1196.608, 1196.987, 1197.367, 1197.746, 1198.126, 1198.505, 1198.884, 1199.264, 1199.643, 1200.023, 1200.402, 1200.782, 1201.161, 1201.54, 1201.92, 1202.299, 1202.678, 1203.058, 1203.437, 1203.816, 1204.195, 1204.575, 1204.954, 1205.333, 1205.712, 1206.092, 1206.471, 1206.85, 1207.229, 1207.608, 1207.987, 1208.367, 1208.746, 1209.125, 1209.504, 1209.883, 1210.262, 1210.641, 1211.02, 1211.399, 1211.778, 1212.157, 1212.536, 1212.915, 1213.294, 1213.673, 1214.052, 1214.431, 1214.81, 1215.189, 1215.567, 1215.946, 1216.325, 1216.704, 1217.083, 1217.462, 1217.84, 1218.219, 1218.598, 1218.977, 1219.355, 1219.734, 1220.113, 1220.492, 1220.87, 1221.249, 1221.628, 1222.006, 1222.385, 1222.764, 1223.142, 1223.521, 1223.899, 1224.278, 1224.657, 1225.035, 1225.414, 1225.792, 1226.171, 1226.549, 1226.928, 1227.306, 1227.685, 1228.063, 1228.441, 1228.82, 1229.198, 1229.577, 1229.955, 1230.333, 1230.712, 1231.09, 1231.468, 1231.847, 1232.225, 1232.603, 1232.982, 1233.36, 1233.738, 1234.116, 1234.495, 1234.873, 1235.251, 1235.629, 1236.007, 1236.386, 1236.764, 1237.142, 1237.52, 1237.898, 1238.276, 1238.654, 1239.032, 1239.41, 1239.788, 1240.166, 1240.544, 1240.922, 1241.3, 1241.678, 1242.056, 1242.434, 1242.812, 1243.19, 1243.568, 1243.946, 1244.324, 1244.702, 1245.08, 1245.457, 1245.835, 1246.213, 1246.591, 1246.969, 1247.346, 1247.724, 1248.102, 1248.48, 1248.857, 1249.235, 1249.613, 1249.991, 1250.368, 1250.746, 1251.124, 1251.501, 1251.879, 1252.256, 1252.634, 1253.012, 1253.389, 1253.767, 1254.144, 1254.522, 1254.899, 1255.277, 1255.654, 1256.032, 1256.409, 1256.787, 1257.164, 1257.542, 1257.919, 1258.296, 1258.674, 1259.051, 1259.429, 1259.806, 1260.183, 1260.561, 1260.938, 1261.315, 1261.692, 1262.07, 1262.447, 1262.824, 1263.201, 1263.579, 1263.956, 1264.333, 1264.71, 1265.087, 1265.465, 1265.842, 1266.219, 1266.596, 1266.973, 1267.35, 1267.727, 1268.104, 1268.481, 1268.858, 1269.235, 1269.612, 1269.989, 1270.366, 1270.743, 1271.12, 1271.497, 1271.874, 1272.251, 1272.628, 1273.005, 1273.382, 1273.759, 1274.135, 1274.512, 1274.889, 1275.266, 1275.643, 1276.019, 1276.396, 1276.773, 1277.15, 1277.527, 1277.903, 1278.28, 1278.657, 1279.033, 1279.41, 1279.787, 1280.163, 1280.54, 1280.917, 1281.293, 1281.67, 1282.046, 1282.423, 1282.799, 1283.176, 1283.552, 1283.929, 1284.305, 1284.682, 1285.058, 1285.435, 1285.811, 1286.188, 1286.564, 1286.941, 1287.317, 1287.693, 1288.07, 1288.446, 1288.822, 1289.199, 1289.575, 1289.951, 1290.328, 1290.704, 1291.08, 1291.457, 1291.833, 1292.209, 1292.585, 1292.961, 1293.338, 1293.714, 1294.09, 1294.466, 1294.842, 1295.218, 1295.594, 1295.971, 1296.347, 1296.723, 1297.099, 1297.475, 1297.851, 1298.227, 1298.603, 1298.979, 1299.355, 1299.731, 1300.107, 1300.483, 1300.859, 1301.234, 1301.61, 1301.986, 1302.362, 1302.738, 1303.114, 1303.49, 1303.865, 1304.241, 1304.617, 1304.993, 1305.369, 1305.744, 1306.12, 1306.496, 1306.872, 1307.247, 1307.623, 1307.999, 1308.374, 1308.75, 1309.126, 1309.501, 1309.877, 1310.252, 1310.628, 1311.004, 1311.379, 1311.755, 1312.13, 1312.506, 1312.881, 1313.257, 1313.632, 1314.008, 1314.383, 1314.759, 1315.134, 1315.509, 1315.885, 1316.26, 1316.636, 1317.011, 1317.386, 1317.762, 1318.137, 1318.512, 1318.888, 1319.263, 1319.638, 1320.013, 1320.389, 1320.764, 1321.139, 1321.514, 1321.889, 1322.265, 1322.64, 1323.015, 1323.39, 1323.765, 1324.14, 1324.515, 1324.891, 1325.266, 1325.641, 1326.016, 1326.391, 1326.766, 1327.141, 1327.516, 1327.891, 1328.266, 1328.641, 1329.016, 1329.391, 1329.766, 1330.14, 1330.515, 1330.89, 1331.265, 1331.64, 1332.015, 1332.39, 1332.764, 1333.139, 1333.514, 1333.889, 1334.264, 1334.638, 1335.013, 1335.388, 1335.762, 1336.137, 1336.512, 1336.886, 1337.261, 1337.636, 1338.01, 1338.385, 1338.76, 1339.134, 1339.509, 1339.883, 1340.258, 1340.632, 1341.007, 1341.382, 1341.756, 1342.131, 1342.505, 1342.879, 1343.254, 1343.628, 1344.003, 1344.377, 1344.752, 1345.126, 1345.5, 1345.875, 1346.249, 1346.623, 1346.998, 1347.372, 1347.746, 1348.121, 1348.495, 1348.869, 1349.243, 1349.618, 1349.992, 1350.366, 1350.74, 1351.114, 1351.488, 1351.863, 1352.237, 1352.611, 1352.985, 1353.359, 1353.733, 1354.107, 1354.481, 1354.855, 1355.229, 1355.603, 1355.977, 1356.351, 1356.725, 1357.099, 1357.473, 1357.847, 1358.221, 1358.595, 1358.969, 1359.343, 1359.717, 1360.091, 1360.464, 1360.838, 1361.212, 1361.586, 1361.96, 1362.333, 1362.707, 1363.081, 1363.455, 1363.828, 1364.202, 1364.576, 1364.95, 1365.323, 1365.697, 1366.071, 1366.444, 1366.818, 1367.191, 1367.565, 1367.939, 1368.312, 1368.686, 1369.059, 1369.433, 1369.806, 1370.18, 1370.553, 1370.927, 1371.3, 1371.674, 1372.047, 1372.421, 1372.794, 1373.167, 1373.541, 1373.914, 1374.288, 1374.661, 1375.034, 1375.408, 1375.781, 1376.154, 1376.528, 1376.901, 1377.274, 1377.647, 1378.021, 1378.394, 1378.767, 1379.14, 1379.513, 1379.886, 1380.26, 1380.633, 1381.006, 1381.379, 1381.752, 1382.125, 1382.498, 1382.871, 1383.244, 1383.617, 1383.99, 1384.363, 1384.736, 1385.109, 1385.482, 1385.855, 1386.228, 1386.601, 1386.974, 1387.347, 1387.72, 1388.093, 1388.466, 1388.839, 1389.211, 1389.584, 1389.957, 1390.33, 1390.703, 1391.075, 1391.448, 1391.821, 1392.194, 1392.566, 1392.939, 1393.312, 1393.685, 1394.057, 1394.43, 1394.803, 1395.175, 1395.548, 1395.92, 1396.293, 1396.666, 1397.038, 1397.411, 1397.783, 1398.156, 1398.528, 1398.901, 1399.273, 1399.646, 1400.018, 1400.391, 1400.763, 1401.135, 1401.508, 1401.88, 1402.253, 1402.625, 1402.997, 1403.37, 1403.742, 1404.114, 1404.487, 1404.859, 1405.231, 1405.604, 1405.976, 1406.348, 1406.72, 1407.092, 1407.465, 1407.837, 1408.209, 1408.581, 1408.953, 1409.326, 1409.698, 1410.07, 1410.442, 1410.814, 1411.186, 1411.558, 1411.93, 1412.302, 1412.674, 1413.046, 1413.418, 1413.79, 1414.162, 1414.534, 1414.906, 1415.278, 1415.65, 1416.022, 1416.394, 1416.765, 1417.137, 1417.509, 1417.881, 1418.253, 1418.625, 1418.996, 1419.368, 1419.74, 1420.112, 1420.484, 1420.855, 1421.227, 1421.599, 1421.97, 1422.342, 1422.714, 1423.085, 1423.457, 1423.829, 1424.2, 1424.572, 1424.943, 1425.315, 1425.687, 1426.058, 1426.43, 1426.801, 1427.173, 1427.544, 1427.916, 1428.287, 1428.659, 1429.03, 1429.401, 1429.773, 1430.144, 1430.516, 1430.887, 1431.258, 1431.63, 1432.001, 1432.372, 1432.744, 1433.115, 1433.486, 1433.858, 1434.229, 1434.6, 1434.971, 1435.343, 1435.714, 1436.085, 1436.456, 1436.827, 1437.199, 1437.57, 1437.941, 1438.312, 1438.683, 1439.054, 1439.425, 1439.796, 1440.167, 1440.538, 1440.909, 1441.28, 1441.651, 1442.022, 1442.393, 1442.764, 1443.135, 1443.506, 1443.877, 1444.248, 1444.619, 1444.99, 1445.361, 1445.732, 1446.102, 1446.473, 1446.844, 1447.215, 1447.586, 1447.956, 1448.327, 1448.698, 1449.069, 1449.439, 1449.81, 1450.181, 1450.551, 1450.922, 1451.293, 1451.663, 1452.034, 1452.405, 1452.775, 1453.146, 1453.516, 1453.887, 1454.258, 1454.628, 1454.999, 1455.369, 1455.74, 1456.11, 1456.481, 1456.851, 1457.222, 1457.592, 1457.962, 1458.333, 1458.703, 1459.074, 1459.444, 1459.814, 1460.185, 1460.555, 1460.925, 1461.296, 1461.666, 1462.036, 1462.407, 1462.777, 1463.147, 1463.517, 1463.887, 1464.258, 1464.628, 1464.998, 1465.368, 1465.738, 1466.108, 1466.479, 1466.849, 1467.219, 1467.589, 1467.959, 1468.329, 1468.699, 1469.069, 1469.439, 1469.809, 1470.179, 1470.549, 1470.919, 1471.289, 1471.659, 1472.029, 1472.399, 1472.769, 1473.139, 1473.509, 1473.878, 1474.248, 1474.618, 1474.988, 1475.358, 1475.727, 1476.097, 1476.467, 1476.837, 1477.207, 1477.576, 1477.946, 1478.316, 1478.685, 1479.055, 1479.425, 1479.794, 1480.164, 1480.534, 1480.903, 1481.273, 1481.642, 1482.012, 1482.382, 1482.751, 1483.121, 1483.49, 1483.86, 1484.229, 1484.599, 1484.968, 1485.338, 1485.707, 1486.077, 1486.446, 1486.815, 1487.185, 1487.554, 1487.924, 1488.293, 1488.662, 1489.032, 1489.401, 1489.77, 1490.139, 1490.509, 1490.878, 1491.247, 1491.616, 1491.986, 1492.355, 1492.724, 1493.093, 1493.462, 1493.832, 1494.201, 1494.57, 1494.939, 1495.308, 1495.677, 1496.046, 1496.415, 1496.784, 1497.153, 1497.522, 1497.891, 1498.26, 1498.629, 1498.998, 1499.367, 1499.736, 1500.105, 1500.474, 1500.843, 1501.212, 1501.581, 1501.95, 1502.319, 1502.687, 1503.056, 1503.425, 1503.794, 1504.163, 1504.531, 1504.9, 1505.269, 1505.638, 1506.006, 1506.375, 1506.744, 1507.113, 1507.481, 1507.85, 1508.219, 1508.587, 1508.956, 1509.324, 1509.693, 1510.062, 1510.43, 1510.799, 1511.167, 1511.536, 1511.904, 1512.273, 1512.641, 1513.01, 1513.378, 1513.747, 1514.115, 1514.484, 1514.852, 1515.22, 1515.589, 1515.957, 1516.326, 1516.694, 1517.062, 1517.431, 1517.799, 1518.167, 1518.535, 1518.904, 1519.272, 1519.64, 1520.008, 1520.377, 1520.745, 1521.113, 1521.481, 1521.849, 1522.218, 1522.586, 1522.954, 1523.322, 1523.69, 1524.058, 1524.426, 1524.794, 1525.162, 1525.53, 1525.898, 1526.266, 1526.634, 1527.002, 1527.37, 1527.738, 1528.106, 1528.474, 1528.842, 1529.21, 1529.578, 1529.946, 1530.314, 1530.681, 1531.049, 1531.417, 1531.785, 1532.153, 1532.52, 1532.888, 1533.256, 1533.624, 1533.992, 1534.359, 1534.727, 1535.095, 1535.462, 1535.83, 1536.198, 1536.565, 1536.933, 1537.301, 1537.668, 1538.036, 1538.403, 1538.771, 1539.138, 1539.506, 1539.873, 1540.241, 1540.608, 1540.976, 1541.343, 1541.711, 1542.078, 1542.446, 1542.813, 1543.181, 1543.548, 1543.915, 1544.283, 1544.65, 1545.017, 1545.385, 1545.752, 1546.119, 1546.487, 1546.854, 1547.221, 1547.588, 1547.956, 1548.323, 1548.69, 1549.057, 1549.425, 1549.792, 1550.159, 1550.526, 1550.893, 1551.26, 1551.627, 1551.994, 1552.362, 1552.729, 1553.096, 1553.463, 1553.83, 1554.197, 1554.564, 1554.931, 1555.298, 1555.665, 1556.032, 1556.399, 1556.766, 1557.132, 1557.499, 1557.866, 1558.233, 1558.6, 1558.967, 1559.334, 1559.7, 1560.067, 1560.434, 1560.801, 1561.168, 1561.534, 1561.901, 1562.268, 1562.635, 1563.001, 1563.368, 1563.735, 1564.101, 1564.468, 1564.835 };

[1] [2]
关键字:PT1000  C程序  单片机  分度表 引用地址:PT1000 C程序 单片机 分度表 程序

上一篇:485通信自动收发数据实现
下一篇:Microchip发布具有强大编程和调试功能的新型在线仿真器

推荐阅读最新更新时间:2024-11-06 14:36

89C51单片机怎么样?89C51单片机过时了吗
89C51单片机是一款8位单片机,最常用的是艾特梅尔产的AT89C51,我在上学时是用的最多的一款单片机芯片,现在来说它早已停产多年了。我认为尽管这样,作为一种性价比很高的芯片非常适合刚接触单片机的小白们学习,我认为在一些低端产品中还是能见到它的“踪影”,下面我来谈谈我的看法。 单片机作为一种控制类芯片,不管其性能是如何发展,现在仍然没有摆脱它的基本架构。我认为作为刚学单片机的新手来说这款芯片并没有过时,俗话说“万仗高楼平地起”,我们学单片机不仅仅是学单片机芯片本身的内部结构,我认为更重要的是学习单片机的一些硬件外设和软件部分。从这一方面来讲选一款经典的低端芯片来学习是我们的明智之举,一来可以增加我们学习的自信心,二来也可以节
[单片机]
【蓝桥杯单片机组】超声波模块
超声波模块分为发射、接收两个部分: 发射:通过跳线帽将P10与发射端相连 接收:连接P11,采用CX20106A作为解调芯片,主要频率在38K~41KHz,超声波实验中主要使用40Hz,当CX20106A接受到40KHz的信号时,会在7脚产生一个低电平下降脉冲,在实际调试的时候只关心芯片的7脚在收到信号是是否有一个下降沿产生。在本电路的调试中,如果一直发射超声波,在7脚将会有周期的低电平产生。不会像通常认为的那样,即一直发射信号时,7脚一直为低电平。这是刚用CX20106时的一个常见错误。 编程 思想: (1)开定时器开始定时 (2)发射超声波40KHz(每个电平维持100个NOP,一共8周期脉冲) (3)检测是否有RX ==
[单片机]
以AT89C51单片机为核心的量程自动切换频率设计
近年来,随着科学技术的快速发展,特别是类似单片机等相关集成电路生产技术的快速堀起,推动了仪器仪表及家电产业的快速发展,用程序代码来简化硬件电路的复杂程度,使其不断向着体积小,价格低廉,功能更加多样化、智能化的方向发展。功能齐全,价格低廉的产品越来越受到人们的青睐,当然,科技的发展最先受益的 还是从事前沿科技研究领域的人员,对于他们来说,一款好的测量设备将为他们的研究工作带来便利的同时也减轻很多负担。就目前而言,高端仪器设备很多均依赖进口,研究并制造出属于我们国家自己的高端仪器设备将是我们一直努力的方向,而且也具有非常广阔的发展前景。 1 硬件电路设计 本设计主要由信号采集电路、放大整形电路、分频电路、信号处理电路、电源电路和显
[单片机]
以AT89C51<font color='red'>单片机</font>为核心的量程自动切换频率设计
单片机8031的自动计量进料系统设计
  1 引言   从提高设备国产化比重、节约外汇、方便维护、保证生产出发,本文应厂方要求,在对进口装置的设备性能和电气信号时序透彻分析的基础上,开发了基于8031的嵌入式的微机 自动计量 进料系统,该系统从性能要求、信号时序到外观尺寸都与进口装置完全匹配,成功地实现了进口设备控制系统国产化。   2 计量进料器的称量和计量进料原理   启动预先设置的计量进料程序后,计量系统首先称量并存储称量锅皮重,然后依次控制各种配料如牛奶、砂糖、水等进入称量锅,其中干物料用振动盘计量进料,粉末料由螺旋进料器计量进料,液体料则由液压阀计量进料,糊状物由泵进料。每一种配料都先后使用粗料和细料两种进料方式,以保证称量精度达到98%~99%。物
[单片机]
<font color='red'>单片机</font>8031的自动计量进料系统设计
MSP430单片机函数延时的问题分析
在这里, 我来讨论一下关于MSP430单片机使用__delay_cycles延时的问题。 IAR for MSP430编译器提供了一个编译器内联的精确延时函数(并非真正的函数)以提供用户精确延时使用, 该函数原型是:__intrinsic void __delay_cycles(unsigned long __cycles);该内部函数实现__cycles个CPU周期的延时,但对于该参数的设置,我要陈述一下: __cycles需要我们传递的是CPU运行的周期个数 网上普遍的用法是: #define CPU_CLOCK 8000000 #define delay_us(us) __delay_cycles(CPU_CLO
[单片机]
MSP430<font color='red'>单片机</font>函数延时的问题分析
极小资源单片机调度器
版本一、 /****小小调度器开始**********************************************/ #define MAXTASKS 2 static unsigned char timers ; unsigned char currdt; #define _SS static unsigned char _lc; switch(_lc){default: #define _EE ;}; _lc=0; return 255; #define WaitX(tickets) do {_lc=__LINE__+((__LINE__%256)==0); return tickets ;}
[单片机]
AD7890型串行数/模转换器与51系列单片机的接口设计
  1 引言   串行数/模转换减少了器件间的硬件连接,特别适用于电路空间较小且数据采集速率要求不是特别高的场合。当然,硬件的简化也相应提高了使用的复杂程度。本文介绍AD7890型串行数/模转换器在自动导向钻井系统控制电路数据采集中的应用。由于井下工具电子仓部分空间狭窄、工作条件恶劣、可靠性要求高,所以特别适合采用串行A/D转换器。   AD7890是美国Analog Devices公司于20世纪90年代末推出的一款8通道12位串行A/D转换器。其主要性能特征包括:A/D转换时间较快(9.5μs);功耗较低(最大50 mW,体眠状态下75μW);信噪比较高(大于70 dB);总谐波失真小(不大于-78 dB);内置跟踪/保
[单片机]
AD7890型串行数/模转换器与51系列<font color='red'>单片机</font>的接口设计
单片机串行口接收和发送数据的过程简述
串行口接收和发送数据的过程简述 答:在发送过程中,当执行一条将数据写入发送缓冲器SBUF(99H)的指令时,串行口把SBUF中8位数据以fosc/l2的波特率从RXD(P3.0)端输出,发送完毕置中断标志TI=1。写SBUF指令在S6P1处产生一个正脉冲,在下一个机器周期的S6P2处,数据的最低位输出到RXD(P3.0)脚上;再在下一个机器周期的S3、S4和S5输出移位时钟为低电平时,在S6及下一个机器周期的Sl和S2为高电平,就这样将8位数据由低位至高位一位一位顺序通过RXD线输出。并在TXD脚上输出fosc/12的移位时钟。在“写SBUF”有效后的第10个机器周期的SlPl将发送中断标志TI置位。 接收时,用软件置REN=
[单片机]
热门资源推荐
热门放大器推荐
小广播
设计资源 培训 开发板 精华推荐

最新单片机文章
  • 学习ARM开发(16)
    ARM有很多东西要学习,那么中断,就肯定是需要学习的东西。自从CPU引入中断以来,才真正地进入多任务系统工作,并且大大提高了工作效率。采 ...
  • 学习ARM开发(17)
    因为嵌入式系统里全部要使用中断的,那么我的S3C44B0怎么样中断流程呢?那我就需要了解整个流程了。要深入了解,最好的方法,就是去写程序 ...
  • 学习ARM开发(18)
    上一次已经了解ARM的中断处理过程,并且可以设置中断函数,那么它这样就可以工作了吗?答案是否定的。因为S3C44B0还有好几个寄存器是控制中 ...
  • 嵌入式系统调试仿真工具
    嵌入式硬件系统设计出来后就要进行调试,不管是硬件调试还是软件调试或者程序固化,都需要用到调试仿真工具。 随着处理器新品种、新 ...
  • 最近困扰在心中的一个小疑问终于解惑了~~
    最近在驱动方面一直在概念上不能很好的理解 有时候结合别人写的一点usb的例子能有点感觉,但是因为arm体系里面没有像单片机那样直接讲解引脚 ...
  • 学习ARM开发(1)
  • 学习ARM开发(2)
  • 学习ARM开发(4)
  • 学习ARM开发(6)
何立民专栏 单片机及嵌入式宝典

北京航空航天大学教授,20余年来致力于单片机与嵌入式系统推广工作。

换一换 更多 相关热搜器件

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved