ESP32 ADC calibration by look up table

Place code snippets and demo code here
Post Reply
peridot
Posts: 46
Joined: Mon Mar 08, 2021 4:54 am
Has thanked: 7 times
Been thanked: 93 times

ESP32 ADC calibration by look up table

Post by peridot »

Looked into improving the calibration of the ADC inputs by use of a LUT as described in this document https://github.com/e-tinkers/esp32-adc-calibrate
I firstly created the LUTs for both Integer and Float as described using Platformio.
Then using Annex I replicated the Test routine and also wrote a smoothing ADC read routine.
The results I think are worthwhile especially if you want to use the ESPs internal ADC . Here are the results from the Test routine running on Annex.
The program is below , it includes only the Float table due to size, the tables will vary for each ESP32 due to the adc reference being device dependant.
Dac run Key.png
Dac run Integer.png
Dac run Float.png
Test routine.

Code: [Local Link Removed for Guests]

'Accuracy test
i=0
rawreading=0
calibratedReading=0
DIM LUT(4096) = 0,67.4000,78.0000,81.0000,82.0000,83.4000,84.6000,85.8000,86.8000,88.0000,89.0000,90.0000,91.2000,92.6000,93.8000,94.8000,95.8000,96.8000,97.8000,98.8000,99.6000,100.2000,101.0000,102.0000,103.0000,103.8000,104.8000,105.8000,106.6000,107.4000,108.2000,109.0000,110.0000,110.8000,111.8000,112.8000,114.0000,115.6000,116.8000,118.0000,119.4000,120.8000,122.0000,123.2000,124.8000,125.8000,127.0000,128.4000,129.2000,130.2000,131.0000,132.0000,133.0000,134.0000,135.0000,135.8000,136.8000,137.8000,138.8000,139.8000,140.6000,141.6000,142.4000,143.2000,144.2000,146.0000,147.6000,149.0000,150.8000,152.4000,154.0000,155.8000,157.2000,159.0000,160.6000,162.0000,163.2000,164.8000,166.0000,167.8000,169.0000,170.4000,171.8000,173.0000,174.8000,176.0000,177.0000,177.8000,178.8000,179.4000,180.0000,181.0000,181.8000,182.8000,183.6000,184.2000,185.0000,186.0000,186.8000,187.8000,188.4000,189.2000,190.0000,191.0000,191.8000,192.8000,194.0000,195.8000,197.0000,198.6000,200.0000,201.4000,202.8000,204.2000,205.8000,207.0000,208.4000,209.4000,210.4000,211.4000,212.4000,213.4000,214.4000,215.4000,216.4000,217.4000,218.4000,219.4000,220.4000,221.4000,222.4000,223.4000,224.6000,225.8000,227.0000,228.6000,229.8000,231.0000,232.6000,233.8000,235.0000,236.8000,237.8000,239.0000,240.4000,241.2000,242.0000,243.0000,244.0000,244.8000,245.8000,246.6000,247.4000,248.0000,249.0000,250.0000,250.8000,251.8000,252.8000,253.4000,254.2000,255.0000,256.0000,257.0000,258.0000,259.0000,260.2000,261.2000,262.4000,263.4000,264.6000,265.8000,266.8000,267.8000,268.8000,269.8000,271.0000,272.0000,273.6000,275.0000,277.0000,278.8000,280.2000,282.0000,283.8000,285.6000,287.0000,288.6000,289.0000,289.8000,290.4000,291.0000,291.8000,292.4000,293.0000,293.8000,294.2000,295.0000,295.8000,296.2000,297.0000,297.8000,298.0000,298.8000,299.6000,300.0000,300.8000,301.6000,302.0000,302.8000,303.4000,304.0000,305.8000,308.0000,310.0000,312.0000,314.2000,316.4000,318.6000,320.4000,321.8000,322.8000,324.0000,325.0000,326.2000,327.6000,328.8000,329.8000,331.0000,332.0000,333.4000,334.6000,335.8000,336.8000,337.8000,338.8000,339.8000,340.8000,341.8000,342.8000,343.8000,344.8000,345.8000,346.8000,347.8000,348.8000,349.8000,350.8000,351.8000,352.8000,353.8000,354.8000,355.8000,356.8000,357.8000,358.8000,359.8000,360.8000,361.8000,362.8000,363.8000,364.8000,365.8000,367.0000,368.0000,369.0000,370.4000,371.8000,373.0000,374.2000,375.8000,376.8000,378.0000,379.4000,380.8000,382.0000,383.2000,384.8000,385.8000,387.0000,388.6000,389.8000,391.0000,392.4000,393.8000,395.0000,396.2000,397.8000,398.8000,400.0000,401.0000,402.0000,402.8000,403.8000,404.6000,405.4000,406.0000,407.0000,408.0000,408.8000,409.8000,410.6000,411.4000,412.2000,413.0000,414.0000,414.8000,415.8000,416.8000,418.0000,419.4000,420.8000,422.0000,423.4000,424.8000,426.0000,427.4000,428.8000,430.0000,431.4000,432.8000,433.8000,435.0000,436.0000,437.0000,438.2000,439.6000,440.8000,441.8000,443.0000,444.0000,445.0000,446.2000,447.6000,448.8000,449.8000,450.8000,452.0000,453.0000,454.0000,455.2000,456.4000,457.6000,458.8000,459.8000,460.8000,462.0000,463.0000,464.0000,465.2000,466.4000,467.6000,468.8000,469.8000,470.8000,472.0000,473.0000,474.2000,475.4000,476.6000,477.8000,478.8000,479.8000,480.8000,481.8000,482.8000,483.8000,484.8000,485.8000,486.8000,487.6000,488.6000,489.4000,490.4000,491.2000,492.2000,493.0000,494.0000,495.0000,496.0000,497.0000,498.2000,499.6000,500.8000,501.8000,502.8000,504.0000,505.0000,506.2000,507.4000,508.8000,509.8000,510.8000,512.0000,513.0000,514.0000,515.0000,515.8000,516.8000,517.8000,518.8000,519.8000,520.8000,521.8000,522.8000,523.8000,524.8000,525.8000,526.6000,527.6000,528.4000,529.2000,530.0000,531.0000,532.0000,532.8000,533.8000,534.6000,535.4000,536.2000,537.0000,538.0000,538.8000,539.8000,540.8000,541.6000,542.2000,543.0000,544.0000,545.8000,547.8000,549.4000,551.0000,553.0000,554.8000,556.8000,558.4000,560.0000,561.8000,563.0000,564.6000,565.8000,567.2000,568.8000,570.0000,571.8000,573.0000,574.4000,575.8000,577.0000,578.0000,579.0000,580.0000,581.2000,582.4000,583.4000,584.6000,585.8000,586.8000,587.8000,588.8000,589.8000,591.0000,592.0000,593.0000,593.8000,594.8000,595.6000,596.4000,597.2000,598.0000,599.0000,600.0000,600.8000,601.8000,602.8000,603.6000,604.2000,605.0000,606.0000,607.0000,607.8000,608.8000,609.8000,610.8000,611.8000,612.8000,613.8000,614.8000,615.8000,616.8000,617.8000,618.8000,619.8000,620.8000,621.8000,622.6000,623.6000,624.8000,626.4000,628.0000,629.8000,631.4000,633.0000,634.8000,636.6000,638.0000,639.8000,640.8000,641.8000,642.4000,643.0000,644.0000,644.8000,645.8000,646.4000,647.0000,648.0000,648.8000,649.8000,650.4000,651.0000,652.0000,652.8000,653.8000,654.6000,655.2000,656.0000,657.0000,658.0000,659.2000,660.6000,661.8000,662.8000,663.8000,665.0000,666.0000,667.0000,668.2000,669.4000,670.6000,671.8000,672.8000,673.8000,674.8000,675.8000,676.8000,677.8000,678.8000,679.8000,680.8000,681.6000,682.6000,683.6000,684.6000,685.6000,686.6000,687.6000,688.6000,689.8000,691.0000,692.2000,693.6000,694.8000,696.0000,697.2000,698.6000,699.8000,701.0000,702.2000,703.8000,704.8000,706.0000,707.0000,708.4000,709.8000,710.8000,712.0000,713.0000,714.2000,715.6000,716.8000,717.8000,719.0000,720.2000,721.0000,722.0000,723.0000,724.0000,725.0000,726.0000,727.0000,728.0000,729.0000,730.0000,731.0000,731.8000,732.8000,733.8000,734.8000,735.8000,736.8000,737.8000,738.8000,739.8000,741.0000,742.0000,743.0000,744.0000,745.0000,746.0000,747.0000,748.2000,749.2000,750.4000,751.4000,752.6000,753.8000,755.0000,756.0000,757.4000,758.8000,759.8000,761.0000,762.2000,763.6000,764.8000,766.0000,767.0000,768.2000,769.4000,770.6000,771.8000,772.8000,773.8000,774.8000,775.8000,777.0000,778.0000,779.0000,780.0000,781.2000,782.4000,783.4000,784.6000,785.6000,786.6000,787.4000,788.4000,789.4000,790.4000,791.4000,792.2000,793.2000,794.2000,795.2000,796.0000,797.0000,798.0000,799.0000,800.0000,801.0000,802.0000,803.0000,803.8000,804.8000,805.8000,806.8000,807.6000,808.6000,809.4000,810.2000,811.0000,812.0000,813.0000,814.0000,815.0000,815.8000,817.0000,818.8000,820.4000,822.0000,823.8000,825.2000,827.0000,828.6000,830.0000,831.8000,833.0000,834.0000,835.4000,836.8000,837.8000,839.0000,840.0000,841.4000,842.8000,843.8000,845.0000,846.0000,847.2000,848.4000,849.2000,850.0000,851.0000,851.8000,852.8000,853.6000,854.4000,855.0000,856.0000,857.0000,857.8000,858.8000,859.6000,860.2000,861.0000,862.0000,862.8000,863.8000,864.8000,866.6000,868.0000,869.8000,871.4000,873.0000,874.8000,876.2000,878.0000,879.8000,880.8000,881.4000,882.0000,883.0000,883.8000,884.8000,885.2000,886.0000,886.8000,887.8000,888.4000,889.0000,890.0000,890.8000,891.6000,892.2000,893.0000,893.8000,894.8000,895.4000,896.0000,897.8000,899.4000,901.0000,902.6000,904.0000,905.8000,907.2000,908.8000,910.6000,912.0000,913.2000,914.8000,915.8000,917.0000,918.2000,919.6000,920.8000,922.0000,923.0000,924.6000,925.8000,927.0000,928.0000,929.8000,931.2000,932.8000,934.6000,936.0000,937.8000,939.0000,940.8000,942.4000,944.0000,945.0000,945.8000,946.8000,947.8000,948.6000,949.4000,950.2000,951.0000,952.0000,953.0000,953.8000,954.8000,955.8000,956.6000,957.4000,958.2000,959.0000,960.0000,961.0000,961.8000,962.8000,963.4000,964.0000,965.0000,965.8000,966.8000,967.6000,968.2000,969.0000,970.0000,970.8000,971.8000,972.4000,973.0000,974.0000,974.8000,975.8000,976.8000,978.6000,980.0000,982.0000,983.8000,985.4000,987.0000,988.8000,990.6000,992.0000,993.0000,994.0000,995.0000,996.0000,996.8000,997.8000,998.8000,999.8000,1000.6000,1001.6000,1002.4000,1003.2000,1004.0000,1005.0000,1006.0000,1007.0000,1008.0000,1009.8000,1012.0000,1014.6000,1016.8000,1019.0000,1021.6000,1023.8000,1025.0000,1026.0000,1027.0000,1028.2000,1029.4000,1030.4000,1031.6000,1032.8000,1033.8000,1034.8000,1035.8000,1036.8000,1038.0000,1039.0000,1040.0000,1041.0000,1041.8000,1042.8000,1043.4000,1044.0000,1045.0000,1045.8000,1046.8000,1047.6000,1048.2000,1049.0000,1050.0000,1050.8000,1051.8000,1052.4000,1053.2000,1054.0000,1055.0000,1055.8000,1057.0000,1058.8000,1060.8000,1062.6000,1064.2000,1066.0000,1068.0000,1069.8000,1071.8000,1073.0000,1074.0000,1075.0000,1076.2000,1077.4000,1078.8000,1079.8000,1080.8000,1082.0000,1083.0000,1084.0000,1085.0000,1086.4000,1087.6000,1088.6000,1089.2000,1090.0000,1091.0000,1091.8000,1092.8000,1093.6000,1094.2000,1095.0000,1096.0000,1096.8000,1097.8000,1098.6000,1099.2000,1100.0000,1101.0000,1101.8000,1102.8000,1103.4000,1104.2000,1105.2000,1106.2000,1107.4000,1108.4000,1109.4000,1110.4000,1111.6000,1112.6000,1113.6000,1114.6000,1115.6000,1116.8000,1117.8000,1118.8000,1119.8000,1120.8000,1122.0000,1123.4000,1124.8000,1126.0000,1127.4000,1128.8000,1130.0000,1131.4000,1132.8000,1134.0000,1135.2000,1136.6000,1137.4000,1138.0000,1139.0000,1140.0000,1140.8000,1141.8000,1142.8000,1143.6000,1144.4000,1145.2000,1146.0000,1147.0000,1147.8000,1148.8000,1149.8000,1150.6000,1151.4000,1152.2000,1153.8000,1155.6000,1157.0000,1158.8000,1160.0000,1161.8000,1163.4000,1165.0000,1166.6000,1168.0000,1169.0000,1170.0000,1170.8000,1171.8000,1172.8000,1173.4000,1174.2000,1175.0000,1176.0000,1177.0000,1177.8000,1178.8000,1179.8000,1180.6000,1181.2000,1182.0000,1183.0000,1184.0000,1185.0000,1186.0000,1187.0000,1188.0000,1189.2000,1190.2000,1191.4000,1192.6000,1193.6000,1194.8000,1195.8000,1196.8000,1197.8000,1198.8000,1200.0000,1200.8000,1201.8000,1202.8000,1203.8000,1204.8000,1205.6000,1206.4000,1207.2000,1208.2000,1209.0000,1210.0000,1211.0000,1212.0000,1212.8000,1213.8000,1214.8000,1215.8000,1216.8000,1218.0000,1219.8000,1221.0000,1222.6000,1224.0000,1225.2000,1226.8000,1228.0000,1229.8000,1231.0000,1232.2000,1233.0000,1233.8000,1234.4000,1235.0000,1235.8000,1236.6000,1237.0000,1238.0000,1238.8000,1239.2000,1240.0000,1240.8000,1241.4000,1242.0000,1242.8000,1243.6000,1244.0000,1244.8000,1245.8000,1246.2000,1247.0000,1247.8000,1248.6000,1249.8000,1250.8000,1251.8000,1253.0000,1254.0000,1255.0000,1256.2000,1257.4000,1258.6000,1259.8000,1260.8000,1261.8000,1263.0000,1264.0000,1265.4000,1266.8000,1268.0000,1269.0000,1270.6000,1271.8000,1273.0000,1274.4000,1275.8000,1277.0000,1278.0000,1279.6000,1280.8000,1282.0000,1283.0000,1284.4000,1285.8000,1286.8000,1288.0000,1289.2000,1290.6000,1291.8000,1293.0000,1294.0000,1295.4000,1296.6000,1297.6000,1298.4000,1299.4000,1300.2000,1301.0000,1302.0000,1303.0000,1304.0000,1305.0000,1306.0000,1306.8000,1307.8000,1308.8000,1309.8000,1310.8000,1311.8000,1312.8000,1313.8000,1315.0000,1316.0000,1317.2000,1318.4000,1319.8000,1320.8000,1322.0000,1323.0000,1324.2000,1325.4000,1326.8000,1327.8000,1329.4000,1331.4000,1333.4000,1335.2000,1337.2000,1339.0000,1341.0000,1343.0000,1344.8000,1345.6000,1346.2000,1347.0000,1348.0000,1349.0000,1349.8000,1350.8000,1351.8000,1352.6000,1353.4000,1354.2000,1355.0000,1356.0000,1357.0000,1357.8000,1358.8000,1359.6000,1360.6000,1361.6000,1362.8000,1363.8000,1364.8000,1365.8000,1366.8000,1367.8000,1369.0000,1370.0000,1371.0000,1372.0000,1373.0000,1374.0000,1375.2000,1376.2000,1377.2000,1378.4000,1379.4000,1380.4000,1381.4000,1382.4000,1383.6000,1384.6000,1385.6000,1386.6000,1387.6000,1388.6000,1389.8000,1390.8000,1391.8000,1392.8000,1393.8000,1394.8000,1395.8000,1396.8000,1397.8000,1399.0000,1400.0000,1401.0000,1402.0000,1403.0000,1404.0000,1405.2000,1406.2000,1407.4000,1408.4000,1409.2000,1410.0000,1411.0000,1412.0000,1413.0000,1413.8000,1414.8000,1415.8000,1416.8000,1417.6000,1418.4000,1419.4000,1420.2000,1421.0000,1422.0000,1423.0000,1424.0000,1425.0000,1426.0000,1427.2000,1428.6000,1429.8000,1430.8000,1432.0000,1433.0000,1434.2000,1435.6000,1436.8000,1437.8000,1439.0000,1440.0000,1441.0000,1441.8000,1442.8000,1443.8000,1444.6000,1445.4000,1446.0000,1447.0000,1448.0000,1448.8000,1449.8000,1450.8000,1451.6000,1452.4000,1453.0000,1454.0000,1455.0000,1455.8000,1457.0000,1458.8000,1460.0000,1461.8000,1463.0000,1464.8000,1466.2000,1467.8000,1469.2000,1470.8000,1472.2000,1473.8000,1475.0000,1476.2000,1477.8000,1479.0000,1480.2000,1481.8000,1483.0000,1484.2000,1485.8000,1487.0000,1488.2000,1489.0000,1490.0000,1491.0000,1491.8000,1492.8000,1493.8000,1494.6000,1495.4000,1496.0000,1497.0000,1498.0000,1498.8000,1499.8000,1500.8000,1501.6000,1502.4000,1503.2000,1504.0000,1505.4000,1506.6000,1507.8000,1508.8000,1510.0000,1511.0000,1512.4000,1513.6000,1514.8000,1515.8000,1517.0000,1518.0000,1519.4000,1520.6000,1521.6000,1522.6000,1523.6000,1524.6000,1525.6000,1526.6000,1527.6000,1528.6000,1529.6000,1530.6000,1531.6000,1532.4000,1533.4000,1534.4000,1535.4000,1536.4000,1537.4000,1538.4000,1539.2000,1540.2000,1541.2000,1542.2000,1543.0000,1544.0000,1545.0000,1546.0000,1547.0000,1548.0000,1549.0000,1550.0000,1551.0000,1552.0000,1553.4000,1554.8000,1556.4000,1557.8000,1559.4000,1560.8000,1562.4000,1563.8000,1565.4000,1566.8000,1568.2000,1569.2000,1570.2000,1571.2000,1572.2000,1573.2000,1574.0000,1575.0000,1576.0000,1577.0000,1578.0000,1579.0000,1580.0000,1581.0000,1582.0000,1583.0000,1584.0000,1585.0000,1585.8000,1586.8000,1587.8000,1588.6000,1589.2000,1590.0000,1591.0000,1592.0000,1592.8000,1593.8000,1594.6000,1595.4000,1596.0000,1597.0000,1598.0000,1598.8000,1599.8000,1600.8000,1601.8000,1602.6000,1603.6000,1604.4000,1605.4000,1606.2000,1607.2000,1608.2000,1609.0000,1610.0000,1611.0000,1612.0000,1613.0000,1614.0000,1615.0000,1616.0000,1617.8000,1619.6000,1621.4000,1623.2000,1625.2000,1627.0000,1629.0000,1631.0000,1632.6000,1633.4000,1634.0000,1635.0000,1636.0000,1636.8000,1637.8000,1638.6000,1639.2000,1640.0000,1641.0000,1641.8000,1642.8000,1643.8000,1644.4000,1645.0000,1646.0000,1647.0000,1647.8000,1648.8000,1650.0000,1651.6000,1652.8000,1654.0000,1655.4000,1656.8000,1658.0000,1659.4000,1660.8000,1662.0000,1663.2000,1664.6000,1665.2000,1666.0000,1667.0000,1668.0000,1668.8000,1669.8000,1670.6000,1671.2000,1672.0000,1673.0000,1673.8000,1674.8000,1675.8000,1676.4000,1677.2000,1678.0000,1679.0000,1679.8000,1681.6000,1683.8000,1686.0000,1688.6000,1690.8000,1693.0000,1695.4000,1697.0000,1698.6000,1699.8000,1701.0000,1702.6000,1703.8000,1705.2000,1706.8000,1708.0000,1709.2000,1710.8000,1712.0000,1713.0000,1713.8000,1714.8000,1715.8000,1716.8000,1717.6000,1718.4000,1719.2000,1720.0000,1721.0000,1722.0000,1722.8000,1723.8000,1724.8000,1725.8000,1726.6000,1727.4000,1728.2000,1729.6000,1730.8000,1732.0000,1733.0000,1734.4000,1735.8000,1736.8000,1738.0000,1739.0000,1740.4000,1741.8000,1742.8000,1744.0000,1744.8000,1745.8000,1746.2000,1747.0000,1747.8000,1748.8000,1749.2000,1750.0000,1750.8000,1751.8000,1752.2000,1753.0000,1753.8000,1754.8000,1755.2000,1756.0000,1756.8000,1757.8000,1758.2000,1759.0000,1759.8000,1760.8000,1761.8000,1762.8000,1763.8000,1764.8000,1765.6000,1766.6000,1767.6000,1768.6000,1769.4000,1770.4000,1771.4000,1772.2000,1773.2000,1774.2000,1775.0000,1776.0000,1777.0000,1778.0000,1779.0000,1780.0000,1781.0000,1782.0000,1783.0000,1784.0000,1785.0000,1786.0000,1787.0000,1788.0000,1789.0000,1790.0000,1791.0000,1792.0000,1793.0000,1794.0000,1795.0000,1796.4000,1797.6000,1798.8000,1799.8000,1800.8000,1802.0000,1803.0000,1804.0000,1805.2000,1806.4000,1807.6000,1808.8000,1810.0000,1811.8000,1813.0000,1814.8000,1816.0000,1817.8000,1819.0000,1820.8000,1822.0000,1823.8000,1824.8000,1825.8000,1826.4000,1827.2000,1828.0000,1829.0000,1829.8000,1830.8000,1831.4000,1832.2000,1833.0000,1834.0000,1834.8000,1835.8000,1836.4000,1837.2000,1838.0000,1839.0000,1839.8000,1841.0000,1843.0000,1844.8000,1846.8000,1848.6000,1850.2000,1852.0000,1854.0000,1856.0000,1856.8000,1857.6000,1858.0000,1859.0000,1859.8000,1860.2000,1861.0000,1861.8000,1862.4000,1863.0000,1863.8000,1864.8000,1865.2000,1866.0000,1866.8000,1867.4000,1868.0000,1868.8000,1869.6000,1870.0000,1871.0000,1871.8000,1872.6000,1874.2000,1876.0000,1877.8000,1879.6000,1881.0000,1883.0000,1884.8000,1886.6000,1888.0000,1889.0000,1890.0000,1890.8000,1891.8000,1892.6000,1893.4000,1894.2000,1895.0000,1896.0000,1896.8000,1897.8000,1898.8000,1899.4000,1900.2000,1901.0000,1902.0000,1902.8000,1903.8000,1905.4000,1907.8000,1910.0000,1912.8000,1915.0000,1917.2000,1919.8000,1920.8000,1921.8000,1922.4000,1923.0000,1924.0000,1924.8000,1925.8000,1926.4000,1927.0000,1928.0000,1928.8000,1929.6000,1930.2000,1931.0000,1931.8000,1932.8000,1933.6000,1934.2000,1935.0000,1935.8000,1936.8000,1938.0000,1939.2000,1940.6000,1941.8000,1943.0000,1944.0000,1945.2000,1946.6000,1947.8000,1949.0000,1950.0000,1951.4000,1952.6000,1953.2000,1954.0000,1954.8000,1955.8000,1956.6000,1957.2000,1958.0000,1958.8000,1959.8000,1960.6000,1961.2000,1962.0000,1962.8000,1963.8000,1964.6000,1965.2000,1966.0000,1967.0000,1967.8000,1968.8000,1970.0000,1971.2000,1972.8000,1973.8000,1975.0000,1976.6000,1977.8000,1979.0000,1980.2000,1981.8000,1983.0000,1984.0000,1985.6000,1986.8000,1988.0000,1989.6000,1990.8000,1992.0000,1993.4000,1994.8000,1996.0000,1997.4000,1998.8000,2000.0000,2001.2000,2002.8000,2003.8000,2005.0000,2006.4000,2007.8000,2008.8000,2010.0000,2011.4000,2012.8000,2014.0000,2015.0000,2016.4000,2017.6000,2018.6000,2019.6000,2020.8000,2021.8000,2022.8000,2023.8000,2024.8000,2025.8000,2026.8000,2027.8000,2029.0000,2030.0000,2031.0000,2032.0000,2032.6000,2032.8000,2033.0000,2033.6000,2033.8000,2034.0000,2034.8000,2035.0000,2035.2000,2035.8000,2036.0000,2036.2000,2036.8000,2037.0000,2037.2000,2037.8000,2038.0000,2038.4000,2038.8000,2039.0000,2039.4000,2039.8000,2040.0000,2040.6000,2040.8000,2041.0000,2041.6000,2041.8000,2042.0000,2042.6000,2042.8000,2043.0000,2043.8000,2044.0000,2044.2000,2044.8000,2045.0000,2045.2000,2045.8000,2046.0000,2046.4000,2046.8000,2047.0000,2047.4000,2047.8000,2048.0000,2048.8000,2049.8000,2050.8000,2051.8000,2052.8000,2053.8000,2054.8000,2055.8000,2056.8000,2057.8000,2058.8000,2059.8000,2060.8000,2061.8000,2062.8000,2063.8000,2064.8000,2066.0000,2067.0000,2068.0000,2069.2000,2070.6001,2071.8000,2072.8000,2073.8000,2075.0000,2076.0000,2077.2000,2078.3999,2079.6001,2080.8000,2081.8000,2083.0000,2084.0000,2085.2000,2086.3999,2087.8000,2088.8000,2090.0000,2091.0000,2092.0000,2093.3999,2094.6001,2095.8000,2096.8000,2097.8000,2098.8000,2099.8000,2100.8000,2101.8000,2102.8000,2103.8000,2104.8000,2105.8000,2106.8000,2107.8000,2108.8000,2109.8000,2110.8000,2111.8000,2112.8000,2113.8000,2115.0000,2116.0000,2117.0000,2118.0000,2119.2000,2120.3999,2121.6001,2122.8000,2123.8000,2124.8000,2126.0000,2127.0000,2128.0000,2129.0000,2130.0000,2131.0000,2132.2000,2133.2000,2134.2000,2135.3999,2136.3999,2137.6001,2138.6001,2139.6001,2140.8000,2141.8000,2142.8000,2143.8000,2144.8000,2145.8000,2146.8000,2147.8000,2148.8000,2149.8000,2150.8000,2151.8000,2152.8000,2153.8000,2154.8000,2155.8000,2156.8000,2157.8000,2158.8000,2159.8000,2160.8000,2161.8000,2162.8000,2163.8000,2164.8000,2165.8000,2166.8000,2167.8000,2168.8000,2169.8000,2170.8000,2171.8000,2172.8000,2173.8000,2174.8000,2175.8000,2177.2000,2179.0000,2180.8000,2182.8000,2184.6001,2186.0000,2188.0000,2189.8000,2191.8000,2192.8000,2193.8000,2194.8000,2195.8000,2196.8000,2197.8000,2198.8000,2199.8000,2200.8000,2201.8000,2202.8000,2203.8000,2204.8000,2205.8000,2206.8000,2207.8000,2208.8000,2210.0000,2211.2000,2212.8000,2213.8000,2215.0000,2216.3999,2217.8000,2219.0000,2220.2000,2221.8000,2222.8000,2224.0000,2225.0000,2226.0000,2227.0000,2228.0000,2229.0000,2230.0000,2231.0000,2232.0000,2233.0000,2234.0000,2235.0000,2236.0000,2237.0000,2238.0000,2239.0000,2240.0000,2241.0000,2242.0000,2243.0000,2244.0000,2244.8000,2245.8000,2246.8000,2247.8000,2248.8000,2249.8000,2250.6001,2251.6001,2252.3999,2253.2000,2254.2000,2255.0000,2256.0000,2257.3999,2258.8000,2259.8000,2261.0000,2262.2000,2263.6001,2264.8000,2266.0000,2267.0000,2268.3999,2269.8000,2271.0000,2272.0000,2273.2000,2274.3999,2275.6001,2276.8000,2277.8000,2279.0000,2280.0000,2281.0000,2282.2000,2283.3999,2284.6001,2285.8000,2286.8000,2288.0000,2288.8000,2289.3999,2290.0000,2290.8000,2291.8000,2292.2000,2293.0000,2293.8000,2294.3999,2295.0000,2295.8000,2296.6001,2297.0000,2298.0000,2298.8000,2299.2000,2300.0000,2300.8000,2301.3999,2302.0000,2302.8000,2303.8000,2304.3999,2305.8000,2307.3999,2308.8000,2310.3999,2311.8000,2313.3999,2314.8000,2316.3999,2317.8000,2319.3999,2320.8000,2321.6001,2322.3999,2323.2000,2324.0000,2325.0000,2326.0000,2326.8000,2327.8000,2328.8000,2329.6001,2330.3999,2331.2000,2332.0000,2333.0000,2334.0000,2334.8000,2335.8000,2336.8000,2337.8000,2338.8000,2339.8000,2340.8000,2341.8000,2342.8000,2343.8000,2344.8000,2345.8000,2346.8000,2347.8000,2348.8000,2349.8000,2350.8000,2351.8000,2353.0000,2354.8000,2356.2000,2357.8000,2359.3999,2361.0000,2362.6001,2364.0000,2365.8000,2367.0000,2368.8000,2370.0000,2371.3999,2372.8000,2374.0000,2375.8000,2377.0000,2378.2000,2379.8000,2381.0000,2382.6001,2383.8000,2385.0000,2385.8000,2386.8000,2387.8000,2388.8000,2389.8000,2390.8000,2391.8000,2392.6001,2393.6001,2394.3999,2395.3999,2396.3999,2397.2000,2398.2000,2399.0000,2400.0000,2401.0000,2402.0000,2403.0000,2404.0000,2405.0000,2406.0000,2407.0000,2408.0000,2409.0000,2410.0000,2411.0000,2412.0000,2413.0000,2414.0000,2415.2000,2416.2000,2417.0000,2418.0000,2419.0000,2419.8000,2420.8000,2421.8000,2422.6001,2423.2000,2424.0000,2425.0000,2426.0000,2426.8000,2427.8000,2428.8000,2429.8000,2430.3999,2431.2000,2432.0000,2434.0000,2435.8000,2437.2000,2439.0000,2440.8000,2442.3999,2444.0000,2445.8000,2447.3999,2448.8000,2449.8000,2450.8000,2451.8000,2452.8000,2453.8000,2454.8000,2455.8000,2456.8000,2457.8000,2458.8000,2459.8000,2460.8000,2461.8000,2462.8000,2463.8000,2464.6001,2465.2000,2466.0000,2466.8000,2467.8000,2468.3999,2469.0000,2470.0000,2470.8000,2471.8000,2472.2000,2473.0000,2473.8000,2474.8000,2475.6001,2476.0000,2477.0000,2477.8000,2478.8000,2479.3999,2480.0000,2485.0000,2490.2000,2495.6001,2497.0000,2498.0000,2498.8000,2499.8000,2500.8000,2501.8000,2502.8000,2503.6001,2504.3999,2505.3999,2506.2000,2507.0000,2508.0000,2509.0000,2510.0000,2511.0000,2512.0000,2513.0000,2514.2000,2515.6001,2516.8000,2518.0000,2519.2000,2520.6001,2521.8000,2523.0000,2524.0000,2525.6001,2526.8000,2528.0000,2529.0000,2530.0000,2531.0000,2532.0000,2533.0000,2534.0000,2535.0000,2536.0000,2537.0000,2538.0000,2539.0000,2540.0000,2541.0000,2542.0000,2543.0000,2544.0000,2545.0000,2545.8000,2546.6001,2547.2000,2548.0000,2548.8000,2549.8000,2550.3999,2551.0000,2551.8000,2552.8000,2553.3999,2554.0000,2555.0000,2555.8000,2556.6001,2557.0000,2558.0000,2558.8000,2559.6001,2560.3999,2561.6001,2562.8000,2563.8000,2564.8000,2566.0000,2567.0000,2568.0000,2569.2000,2570.3999,2571.6001,2572.8000,2573.8000,2574.8000,2576.0000,2577.6001,2579.0000,2580.8000,2582.3999,2584.0000,2585.8000,2587.2000,2589.0000,2590.8000,2592.0000,2593.3999,2594.6001,2595.8000,2596.8000,2597.8000,2599.0000,2600.0000,2601.2000,2602.3999,2603.8000,2604.8000,2605.8000,2607.0000,2608.0000,2609.0000,2610.0000,2610.8000,2611.8000,2612.8000,2613.8000,2614.6001,2615.3999,2616.2000,2617.0000,2618.0000,2619.0000,2620.0000,2620.8000,2621.8000,2622.8000,2623.8000,2624.8000,2626.0000,2627.0000,2628.3999,2629.8000,2631.0000,2632.0000,2633.3999,2634.8000,2636.0000,2637.0000,2638.3999,2639.8000,2640.8000,2641.8000,2642.8000,2643.8000,2644.6001,2645.6001,2646.3999,2647.3999,2648.2000,2649.2000,2650.0000,2651.0000,2652.0000,2653.0000,2654.0000,2655.0000,2656.0000,2657.0000,2658.0000,2659.3999,2660.8000,2661.8000,2663.0000,2664.0000,2665.2000,2666.6001,2667.8000,2668.8000,2670.0000,2671.2000,2672.6001,2674.0000,2675.6001,2677.0000,2678.6001,2680.0000,2681.3999,2683.0000,2684.3999,2685.8000,2687.3999,2688.8000,2689.6001,2690.2000,2691.0000,2692.0000,2693.0000,2693.8000,2694.8000,2695.8000,2696.3999,2697.2000,2698.0000,2699.0000,2700.0000,2700.8000,2701.8000,2702.8000,2703.3999,2704.2000,2705.2000,2706.2000,2707.2000,2708.2000,2709.2000,2710.0000,2711.0000,2712.0000,2713.0000,2714.0000,2715.0000,2716.0000,2717.0000,2718.0000,2719.0000,2720.0000,2722.6001,2725.0000,2727.6001,2730.0000,2732.8000,2735.0000,2736.8000,2738.0000,2739.0000,2740.2000,2741.6001,2742.8000,2743.8000,2745.0000,2746.0000,2747.2000,2748.3999,2749.8000,2750.8000,2752.0000,2752.8000,2753.8000,2754.6001,2755.3999,2756.0000,2757.0000,2757.8000,2758.8000,2759.8000,2760.3999,2761.2000,2762.0000,2763.0000,2763.8000,2764.8000,2765.6001,2766.2000,2767.0000,2768.0000,2769.2000,2770.8000,2772.0000,2773.6001,2774.8000,2776.2000,2777.8000,2779.0000,2780.3999,2781.8000,2783.0000,2784.6001,2785.2000,2786.0000,2787.0000,2787.8000,2788.8000,2789.6001,2790.3999,2791.0000,2792.0000,2793.0000,2793.8000,2794.8000,2795.6001,2796.2000,2797.0000,2798.0000,2798.8000,2799.8000,2800.8000,2801.3999,2802.0000,2803.0000,2804.0000,2804.8000,2805.8000,2806.3999,2807.0000,2808.0000,2809.0000,2809.8000,2810.8000,2811.3999,2812.2000,2813.0000,2814.0000,2814.8000,2815.8000,2816.8000,2818.0000,2819.8000,2821.0000,2822.8000,2824.0000,2825.8000,2827.0000,2828.8000,2830.0000,2831.8000,2832.8000,2833.0000,2833.8000,2834.3999,2835.0000,2835.8000,2836.0000,2836.8000,2837.6001,2838.0000,2838.8000,2839.2000,2839.8000,2840.6001,2841.0000,2841.8000,2842.2000,2842.8000,2843.6001,2844.0000,2844.8000,2845.2000,2846.0000,2846.6001,2847.0000,2847.8000,2848.8000,2850.0000,2851.8000,2853.2000,2855.0000,2856.6001,2858.0000,2859.8000,2861.0000,2862.8000,2864.2000,2865.3999,2866.6001,2867.8000,2868.8000,2869.8000,2870.8000,2871.8000,2873.0000,2874.0000,2875.0000,2876.0000,2877.0000,2878.2000,2879.3999,2880.6001,2882.0000,2883.3999,2884.8000,2886.0000,2887.8000,2889.0000,2890.6001,2892.0000,2893.2000,2894.8000,2896.0000,2897.0000,2897.8000,2898.8000,2899.3999,2900.0000,2901.0000,2901.8000,2902.8000,2903.3999,2904.0000,2905.0000,2905.8000,2906.8000,2907.6001,2908.2000,2909.0000,2909.8000,2910.8000,2911.6001,2912.2000,2913.2000,2914.0000,2915.0000,2916.0000,2917.0000,2918.0000,2919.0000,2920.0000,2921.0000,2922.0000,2923.0000,2923.8000,2924.8000,2925.8000,2926.8000,2927.8000,2928.8000,2930.0000,2931.2000,2932.8000,2933.8000,2935.0000,2936.2000,2937.6001,2938.8000,2940.0000,2941.0000,2942.3999,2943.8000,2944.8000,2946.0000,2947.0000,2948.0000,2949.2000,2950.3999,2951.8000,2952.8000,2953.8000,2955.0000,2956.0000,2957.0000,2958.2000,2959.3999,2960.8000,2962.0000,2963.8000,2965.0000,2966.8000,2968.0000,2969.6001,2971.0000,2972.3999,2974.0000,2975.3999,2976.8000,2977.6001,2978.3999,2979.2000,2980.0000,2981.0000,2982.0000,2982.8000,2983.8000,2984.8000,2985.6001,2986.3999,2987.2000,2988.0000,2989.0000,2990.0000,2991.0000,2991.8000,2993.0000,2994.0000,2995.3999,2996.8000,2998.0000,2999.0000,3000.6001,3001.8000,3003.0000,3004.2000,3005.6001,3006.8000,3008.0000,3009.2000,3010.3999,3011.8000,3012.8000,3014.0000,3015.0000,3016.2000,3017.6001,3018.8000,3019.8000,3021.0000,3022.0000,3023.3999,3024.3999,3025.0000,3026.0000,3026.8000,3027.8000,3028.3999,3029.0000,3030.0000,3030.8000,3031.6001,3032.2000,3033.0000,3034.0000,3034.8000,3035.6001,3036.2000,3037.0000,3037.8000,3038.8000,3039.3999,3040.2000,3042.6001,3044.8000,3046.8000,3049.0000,3051.2000,3053.6001,3055.8000,3057.6001,3059.0000,3060.8000,3062.8000,3064.2000,3066.0000,3067.8000,3069.3999,3071.0000,3072.3999,3073.0000,3073.8000,3074.2000,3074.8000,3075.6001,3076.0000,3076.8000,3077.3999,3078.0000,3078.8000,3079.2000,3079.8000,3080.6001,3081.0000,3081.8000,3082.3999,3083.0000,3083.8000,3084.2000,3084.8000,3085.6001,3086.0000,3086.8000,3087.3999,3088.0000,3089.0000,3090.8000,3092.0000,3093.8000,3095.0000,3096.8000,3098.0000,3099.6001,3101.0000,3102.6001,3104.0000,3105.0000,3105.8000,3106.8000,3107.8000,3108.8000,3109.6001,3110.3999,3111.2000,3112.0000,3113.0000,3114.0000,3115.0000,3115.8000,3116.8000,3117.8000,3118.8000,3119.6001,3120.6001,3122.2000,3124.0000,3125.8000,3127.3999,3129.0000,3130.8000,3132.8000,3134.2000,3136.0000,3136.8000,3137.2000,3137.8000,3138.3999,3139.0000,3139.6001,3140.0000,3140.8000,3141.0000,3141.8000,3142.0000,3142.8000,3143.2000,3143.8000,3144.3999,3145.0000,3145.6001,3146.0000,3146.8000,3147.0000,3147.8000,3148.2000,3148.8000,3149.3999,3150.0000,3150.6001,3151.0000,3151.8000,3152.0000,3154.3999,3157.0000,3159.6001,3162.0000,3164.8000,3167.0000,3168.8000,3169.6001,3170.3999,3171.0000,3172.0000,3172.8000,3173.8000,3174.6001,3175.2000,3176.0000,3177.0000,3177.8000,3178.8000,3179.6001,3180.2000,3181.0000,3182.0000,3182.8000,3183.8000,3184.6001,3185.8000,3186.8000,3187.8000,3189.0000,3190.0000,3191.0000,3192.0000,3193.2000,3194.6001,3195.8000,3196.8000,3197.8000,3198.8000,3200.0000,3201.0000,3201.8000,3202.8000,3203.8000,3204.8000,3205.6001,3206.6001,3207.3999,3208.2000,3209.0000,3210.0000,3211.0000,3212.0000,3212.8000,3213.8000,3214.8000,3215.8000,3216.8000,3217.8000,3218.6001,3219.6001,3220.6001,3221.6001,3222.3999,3223.3999,3224.3999,3225.2000,3226.2000,3227.2000,3228.2000,3229.0000,3230.0000,3231.0000,3232.0000,3233.0000,3233.8000,3234.3999,3235.0000,3236.0000,3236.8000,3237.3999,3238.0000,3239.0000,3239.8000,3240.3999,3241.0000,3242.0000,3242.8000,3243.6001,3244.0000,3245.0000,3245.8000,3246.6001,3247.0000,3248.0000,3249.2000,3250.8000,3252.3999,3254.0000,3255.6001,3257.0000,3258.8000,3260.0000,3261.8000,3263.0000,3264.6001,3265.0000,3266.0000,3266.8000,3267.3999,3268.0000,3268.8000,3269.8000,3270.2000,3271.0000,3271.8000,3272.6001,3273.2000,3274.0000,3274.8000,3275.3999,3276.0000,3277.0000,3277.8000,3278.3999,3279.0000,3279.8000,3281.0000,3283.0000,3285.0000,3286.8000,3288.8000,3290.8000,3292.3999,3294.2000,3296.0000,3297.0000,3297.8000,3298.8000,3299.3999,3300.0000,3301.0000,3301.8000,3302.8000,3303.6001,3304.2000,3305.0000,3305.8000,3306.8000,3307.6001,3308.2000,3309.0000,3310.0000,3310.8000,3311.6001,3312.2000,3313.0000,3313.8000,3314.3999,3315.0000,3315.8000,3316.6001,3317.0000,3318.0000,3318.8000,3319.2000,3320.0000,3320.8000,3321.3999,3322.0000,3322.8000,3323.6001,3324.0000,3324.8000,3325.8000,3326.2000,3327.0000,3327.8000,3328.3999,3329.2000,3330.2000,3331.0000,3332.0000,3333.0000,3334.0000,3335.0000,3335.8000,3336.8000,3337.8000,3338.8000,3339.8000,3340.8000,3341.6001,3342.6001,3343.3999,3344.2000,3345.0000,3345.8000,3346.6001,3347.2000,3348.0000,3348.8000,3349.6001,3350.0000,3351.0000,3351.8000,3352.3999,3353.0000,3354.0000,3354.8000,3355.3999,3356.0000,3356.8000,3357.8000,3358.3999,3359.0000,3359.8000,3360.8000,3361.8000,3362.8000,3363.8000,3364.8000,3365.8000,3366.8000,3367.8000,3368.6001,3369.6001,3370.6001,3371.6001,3372.3999,3373.3999,3374.3999,3375.3999,3376.2000,3377.0000,3378.0000,3378.8000,3379.8000,3380.3999,3381.2000,3382.0000,3382.8000,3383.8000,3384.6001,3385.3999,3386.0000,3387.0000,3387.8000,3388.8000,3389.6001,3390.2000,3391.0000,3392.0000,3392.8000,3393.6001,3394.0000,3395.0000,3395.8000,3396.6001,3397.2000,3398.0000,3398.8000,3399.8000,3400.2000,3401.0000,3401.8000,3402.8000,3403.3999,3404.0000,3405.0000,3405.8000,3406.3999,3407.0000,3408.0000,3408.8000,3409.8000,3410.8000,3411.6001,3412.6001,3413.3999,3414.2000,3415.0000,3416.0000,3417.0000,3418.0000,3418.8000,3419.8000,3420.8000,3421.8000,3422.6001,3423.3999,3424.2000,3425.0000,3425.8000,3426.6001,3427.0000,3428.0000,3428.8000,3429.3999,3430.0000,3430.8000,3431.8000,3432.2000,3433.0000,3433.8000,3434.6001,3435.0000,3436.0000,3436.8000,3437.3999,3438.0000,3438.8000,3439.8000,3440.3999,3441.8000,3443.0000,3444.0000,3445.3999,3446.8000,3448.0000,3449.0000,3450.3999,3451.8000,3452.8000,3454.0000,3455.3999,3456.3999,3457.0000,3457.8000,3458.6001,3459.0000,3460.0000,3460.8000,3461.2000,3462.0000,3462.8000,3463.6001,3464.0000,3464.8000,3465.8000,3466.2000,3467.0000,3467.8000,3468.3999,3469.0000,3469.8000,3470.6001,3471.0000,3471.8000,3472.8000,3473.2000,3474.0000,3474.8000,3475.3999,3476.0000,3476.8000,3477.3999,3478.0000,3478.8000,3479.6001,3480.0000,3481.0000,3481.8000,3482.2000,3483.0000,3483.8000,3484.3999,3485.0000,3485.8000,3486.6001,3487.0000,3487.8000,3488.8000,3489.8000,3490.8000,3491.8000,3492.8000,3493.8000,3494.8000,3495.8000,3496.6001,3497.6001,3498.6001,3499.3999,3500.3999,3501.3999,3502.3999,3503.2000,3504.2000,3505.0000,3505.8000,3506.8000,3507.6001,3508.2000,3509.0000,3510.0000,3510.8000,3511.6001,3512.2000,3513.0000,3514.0000,3514.8000,3515.8000,3516.3999,3517.0000,3518.0000,3518.8000,3519.8000,3520.3999,3521.0000,3521.8000,3522.0000,3522.8000,3523.6001,3524.0000,3524.8000,3525.3999,3526.0000,3526.8000,3527.0000,3527.8000,3528.6001,3529.0000,3529.8000,3530.3999,3531.0000,3531.8000,3532.0000,3532.8000,3533.6001,3534.0000,3534.8000,3535.3999,3536.0000,3536.8000,3537.2000,3537.8000,3538.6001,3539.0000,3539.8000,3540.6001,3541.0000,3541.8000,3542.3999,3543.0000,3543.8000,3544.2000,3545.0000,3545.8000,3546.2000,3547.0000,3547.6001,3548.0000,3548.8000,3549.6001,3550.0000,3550.8000,3551.3999,3552.0000,3552.8000,3553.6001,3554.0000,3555.0000,3555.8000,3556.3999,3557.0000,3557.8000,3558.6001,3559.2000,3560.0000,3560.8000,3561.3999,3562.0000,3562.8000,3563.8000,3564.2000,3565.0000,3565.8000,3566.6001,3567.0000,3568.0000,3568.8000,3569.3999,3570.0000,3570.8000,3571.6001,3572.0000,3572.8000,3573.8000,3574.2000,3575.0000,3575.8000,3576.3999,3577.0000,3577.8000,3578.8000,3579.2000,3580.0000,3580.8000,3581.3999,3582.0000,3582.8000,3583.6001,3584.2000,3585.0000,3585.8000,3586.2000,3587.0000,3587.8000,3588.3999,3589.0000,3589.8000,3590.6001,3591.0000,3591.8000,3592.8000,3593.2000,3594.0000,3594.8000,3595.2000,3596.0000,3596.8000,3597.3999,3598.0000,3598.8000,3599.6001,3600.0000,3601.0000,3601.8000,3602.8000,3603.3999,3604.0000,3605.0000,3605.8000,3606.8000,3607.6001,3608.2000,3609.0000,3610.0000,3610.8000,3611.6001,3612.2000,3613.0000,3614.0000,3614.8000,3615.8000,3616.3999,3617.0000,3618.0000,3618.8000,3619.6001,3620.2000,3621.0000,3621.8000,3622.8000,3623.3999,3624.0000,3625.0000,3625.8000,3626.6001,3627.2000,3628.0000,3628.8000,3629.8000,3630.3999,3631.0000,3632.0000,3632.8000,3633.0000,3633.8000,3634.0000,3634.8000,3635.2000,3635.8000,3636.3999,3637.0000,3637.6001,3638.0000,3638.8000,3639.0000,3639.8000,3640.0000,3640.8000,3641.2000,3641.8000,3642.3999,3643.0000,3643.6001,3644.0000,3644.8000,3645.0000,3645.8000,3646.2000,3646.8000,3647.3999,3648.0000,3649.6001,3652.0000,3654.3999,3656.8000,3659.2000,3661.8000,3664.0000,3664.8000,3665.0000,3665.8000,3666.0000,3666.6001,3667.0000,3667.3999,3667.8000,3668.2000,3668.8000,3669.0000,3669.8000,3670.0000,3670.8000,3671.0000,3671.6001,3672.0000,3672.3999,3672.8000,3673.2000,3673.8000,3674.0000,3674.8000,3675.0000,3675.8000,3676.0000,3676.6001,3677.0000,3677.3999,3677.8000,3678.3999,3678.8000,3679.2000,3679.8000,3680.0000,3680.8000,3681.3999,3682.0000,3682.6001,3683.0000,3683.8000,3684.2000,3684.8000,3685.6001,3686.0000,3686.8000,3687.0000,3687.8000,3688.3999,3689.0000,3689.8000,3690.0000,3690.8000,3691.3999,3692.0000,3692.6001,3693.0000,3693.8000,3694.2000,3695.0000,3695.6001,3696.0000,3696.8000,3697.6001,3698.2000,3699.0000,3699.8000,3700.6001,3701.2000,3702.0000,3702.8000,3703.6001,3704.2000,3705.0000,3705.8000,3706.6001,3707.0000,3708.0000,3708.8000,3709.6001,3710.0000,3711.0000,3711.8000,3712.3999,3713.0000,3713.8000,3714.2000,3715.0000,3715.8000,3716.0000,3716.8000,3717.6001,3718.0000,3718.8000,3719.3999,3720.0000,3720.8000,3721.2000,3722.0000,3722.6001,3723.0000,3723.8000,3724.3999,3725.0000,3725.8000,3726.2000,3727.0000,3727.8000,3728.0000,3729.0000,3729.8000,3730.8000,3731.6001,3732.2000,3733.0000,3734.0000,3734.8000,3735.8000,3736.6001,3737.2000,3738.0000,3739.0000,3739.8000,3740.8000,3741.3999,3742.0000,3743.0000,3743.8000,3744.6001,3745.0000,3745.3999,3746.0000,3746.3999,3746.8000,3747.3999,3747.8000,3748.2000,3748.8000,3749.2000,3749.8000,3750.0000,3750.8000,3751.0000,3751.8000,3752.0000,3752.8000,3753.0000,3753.8000,3754.0000,3754.6001,3755.0000,3755.6001,3756.0000,3756.6001,3757.0000,3757.3999,3757.8000,3758.3999,3758.8000,3759.2000,3759.8000,3760.2000,3760.8000,3761.0000,3761.8000,3762.0000,3762.8000,3763.0000,3763.8000,3764.0000,3764.8000,3765.0000,3765.6001,3766.0000,3766.6001,3767.0000,3767.3999,3767.8000,3768.3999,3768.8000,3769.2000,3769.8000,3770.2000,3770.8000,3771.0000,3771.8000,3772.0000,3772.8000,3773.0000,3773.8000,3774.0000,3774.6001,3775.0000,3775.6001,3776.0000,3776.6001,3777.0000,3777.8000,3778.3999,3779.0000,3779.8000,3780.2000,3781.0000,3781.8000,3782.0000,3782.8000,3783.6001,3784.0000,3784.8000,3785.3999,3786.0000,3786.8000,3787.2000,3788.0000,3788.8000,3789.0000,3789.8000,3790.6001,3791.0000,3791.8000,3792.3999,3793.0000,3794.0000,3794.8000,3795.8000,3796.3999,3797.0000,3798.0000,3798.8000,3799.8000,3800.3999,3801.0000,3802.0000,3802.8000,3803.8000,3804.3999,3805.0000,3806.0000,3806.8000,3807.6001,3808.3999,3809.3999,3810.3999,3811.2000,3812.2000,3813.2000,3814.2000,3815.2000,3816.2000,3817.2000,3818.2000,3819.2000,3820.2000,3821.2000,3822.2000,3823.2000,3824.0000,3824.8000,3825.0000,3825.6001,3826.0000,3826.3999,3826.8000,3827.0000,3827.8000,3828.0000,3828.6001,3829.0000,3829.2000,3829.8000,3830.0000,3830.8000,3831.0000,3831.6001,3831.8000,3832.2000,3832.8000,3833.0000,3833.8000,3834.0000,3834.3999,3834.8000,3835.2000,3835.8000,3836.0000,3836.6001,3837.0000,3837.3999,3837.8000,3838.0000,3838.8000,3839.0000,3839.6001,3840.0000,3840.3999,3841.0000,3841.6001,3842.0000,3842.8000,3843.0000,3843.8000,3844.3999,3845.0000,3845.6001,3846.0000,3846.8000,3847.0000,3847.8000,3848.2000,3848.8000,3849.3999,3850.0000,3850.8000,3851.0000,3851.8000,3852.2000,3852.8000,3853.3999,3854.0000,3854.6001,3855.0000,3855.8000,3856.0000,3856.8000,3857.2000,3857.8000,3858.3999,3859.0000,3859.3999,3860.0000,3860.6001,3861.0000,3861.8000,3862.0000,3862.8000,3863.0000,3863.8000,3864.2000,3864.8000,3865.3999,3865.8000,3866.3999,3867.0000,3867.6001,3868.0000,3868.8000,3869.0000,3869.8000,3870.0000,3870.8000,3871.2000,3871.8000,3872.3999,3873.0000,3873.6001,3874.0000,3874.8000,3875.2000,3875.8000,3876.3999,3877.0000,3877.8000,3878.0000,3878.8000,3879.2000,3879.8000,3880.3999,3881.0000,3881.8000,3882.0000,3882.8000,3883.2000,3884.0000,3884.6001,3885.0000,3885.8000,3886.0000,3886.8000,3887.3999,3888.0000,3888.8000,3889.6001,3890.2000,3891.0000,3891.8000,3892.8000,3893.3999,3894.0000,3895.0000,3895.8000,3896.8000,3897.3999,3898.0000,3899.0000,3899.8000,3900.8000,3901.3999,3902.0000,3903.0000,3903.8000,3904.6001,3905.0000,3905.8000,3906.3999,3907.0000,3907.8000,3908.2000,3909.0000,3909.8000,3910.0000,3910.8000,3911.6001,3912.0000,3912.8000,3913.3999,3914.0000,3914.8000,3915.0000,3915.8000,3916.6001,3917.0000,3917.8000,3918.3999,3919.0000,3919.8000,3920.2000,3920.8000,3921.0000,3921.8000,3922.0000,3922.6001,3923.0000,3923.2000,3923.8000,3924.0000,3924.8000,3925.0000,3925.6001,3926.0000,3926.3999,3926.8000,3927.2000,3927.8000,3928.0000,3928.8000,3929.0000,3929.6001,3930.0000,3930.3999,3930.8000,3931.2000,3931.8000,3932.0000,3932.8000,3933.0000,3933.6001,3933.8000,3934.2000,3934.8000,3935.0000,3935.8000,3936.0000,3936.8000,3937.0000,3937.8000,3938.3999,3939.0000,3939.8000,3940.0000,3940.8000,3941.2000,3942.0000,3942.6001,3943.0000,3943.8000,3944.2000,3944.8000,3945.6001,3946.0000,3946.8000,3947.0000,3947.8000,3948.3999,3949.0000,3949.8000,3950.0000,3950.8000,3951.2000,3952.0000,3952.6001,3953.0000,3953.8000,3954.3999,3955.0000,3955.8000,3956.2000,3957.0000,3957.6001,3958.0000,3958.8000,3959.3999,3960.0000,3960.8000,3961.2000,3962.0000,3962.6001,3963.0000,3963.8000,3964.3999,3965.0000,3965.8000,3966.2000,3966.8000,3967.6001,3968.0000,3968.8000,3969.2000,3969.8000,3970.6001,3971.0000,3971.8000,3972.0000,3972.8000,3973.2000,3974.0000,3974.6001,3975.0000,3975.8000,3976.0000,3976.8000,3977.3999,3978.0000,3978.6001,3979.0000,3979.8000,3980.2000,3980.8000,3981.3999,3982.0000,3982.8000,3983.0000,3983.8000,3984.2000,3984.8000,3985.0000,3985.8000,3986.0000,3986.6001,3987.0000,3987.2000,3987.8000,3988.0000,3988.8000,3989.0000,3989.6001,3990.0000,3990.3999,3990.8000,3991.2000,3991.8000,3992.0000,3992.8000,3993.0000,3993.3999,3993.8000,3994.2000,3994.8000,3995.0000,3995.8000,3996.0000,3996.6001,3997.0000,3997.3999,3997.8000,3998.0000,3998.8000,3999.0000,3999.6001,4000.0000,4000.3999,4001.0000,4001.6001,4002.0000,4002.8000,4003.0000,4003.8000,4004.0000,4004.8000,4005.2000,4005.8000,4006.2000,4006.8000,4007.3999,4008.0000,4008.6001,4009.0000,4009.6001,4010.0000,4010.8000,4011.0000,4011.8000,4012.0000,4012.8000,4013.2000,4013.8000,4014.2000,4014.8000,4015.3999,4016.0000,4016.8000,4018.0000,4019.0000,4020.0000,4021.2000,4022.6001,4023.8000,4024.8000,4025.8000,4027.0000,4028.0000,4029.2000,4030.3999,4031.8000,4036.0000,4044.80

wlog ""
wlog ramfree
serial.mode 1000000


for i=1 to 250
  PIN.DAC 25, i '    // DAC output (8-bit resolution)
  pause 100
  ' rawReading = adc(34)   '                      // read value from ADC
  readvoltage 34,32,rawreading
  calibratedReading = LUT(rawReading)'    // get the calibrated value from LUT
  ' calibratedReading = rawReading'    // get the uncalibrated value
  '  // Run Serial Plotter to see the results
  print "DAC = ";
  print i*16;
  print " rawReading = ";
  print rawReading;
  print " calibratedReading = ";
  print calibratedReading
  pause 10
next i


Sub ReadVoltage(InputPin,Smoothing,ret)
  Local Count
  local voltage
  local accVoltage
  if smoothing=0 then smoothing=1
  For Count = 1 To Smoothing    'take mulpiple reads
    voltage = adc(inputpin)   ' read value from ADC
        AccVoltage = AccVoltage+Voltage
  Next Count
  'print accVoltage/smoothing
  AccVoltage = (AccVoltage/smoothing) '
  'wlog "ADC:";accvoltage
  If AccVoltage<1 Then accvoltage=0
  ret=int(AccVoltage)
End sub
You do not have the required permissions to view the files attached to this post.
Post Reply