Atmel AVR1925 XMEGA-C3 Xplained User Manual Download Page 10

 

 

AVR1925: XMEGA-C3 Xplained Hardware User’s Guide [APPLICATION NOTE] 

Atmel-42053B-XMEGA-C3-Xplained-Hardware-Users-Guide_Application-Note_AVR1925_02/2015 

10 

Table 4-7.  Resistance vs. Temperature (from Murata) 

Temp. 

[°C] 

NTC resistance 

[kΩ] 

Temp. 

[°C] 

NTC resistance 

[kΩ]

 

Temp. 

[°C] 

NTC resistance 

[kΩ] 

Temp. 

[°C] 

NTC resistance 

[kΩ] 

-30 

2197.225 

357.012 

30 

79.222 

60 

22.224 

-29 

2055.558 

338.006 

31 

75.675 

61 

21.374 

-28 

1923.932 

320.122 

32 

72.306 

62 

20.561 

-27 

1801.573 

303.287 

33 

69.104 

63 

19.782 

-26 

1687.773 

287.434 

34 

66.061 

64 

19.036 

-25 

1581.881 

272.500 

35 

63.167 

65 

18.323 

-24 

1483.100 

258.426 

36 

60.415 

66 

17.640 

-23 

1391.113 

245.160 

37 

57.797 

67 

16.986 

-22 

1305.413 

232.649 

38 

55.306 

68 

16.360 

-21 

1225.531 

220.847 

39 

52.934 

69 

15.760 

-20 

1151.037 

10 

209.710 

40 

50.677 

70 

15.184 

-19 

1081.535 

11 

199.196 

41 

48.528 

71 

14.631 

-18 

1016.661 

12 

189.268 

42 

46.482 

72 

14.101 

-17 

956.080 

13 

179.890 

43 

44.533 

73 

13.592 

-16 

899.481 

14 

171.028 

44 

42.675 

74 

13.104 

-15 

846.579 

15 

162.651 

45 

40.904 

75 

12.635 

-14 

797.111 

16 

154.726 

46 

39.213 

76 

12.187 

-13 

750.834 

17 

147.232 

47 

37.601 

77 

11.757 

-12 

707.524 

18 

140.142 

48 

36.063 

78 

11.344 

-11 

666.972 

19 

133.432 

49 

34.595 

79 

10.947 

-10 

628.988 

20 

127.080 

50 

33.195 

80 

10.566 

-9 

593.342 

21 

121.066 

51 

31.859 

81 

10.200 

-8 

559.931 

22 

115.368 

52 

30.584 

82 

9.848 

-7 

528.602 

23 

109.970 

53 

29.366 

83 

9.510 

-6 

499.212 

24 

104.852 

54 

28.203 

84 

9.185 

-5 

471.632 

25 

100.000 

55 

27.091 

85 

8.873 

-4 

445.772 

26 

95.398 

56 

26.028 

86 

8.572 

-3 

421.480 

27 

91.032 

57 

25.013 

87 

8.283 

-2 

398.652 

28 

86.889 

58 

24.042 

88 

8.006 

-1 

377.193 

29 

82.956 

59 

23.113 

89 

7.738 

Two common approximations can be used to model the temperature vs. resistance characteristic; these are the B 
parameter and the Steinhart-Hart equations. Coefficients for both formulas can be calculated from 

Table 4-7

. 

When the internal reference VCC/1.6 is used and the ADC is measuring in signed single ended mode the codes in 

Table 4-8

 can be read from the ADC at the various temperatures. The calculation is based on 

Table 4-7

. 

Table 4-8.  ADC Codes vs. Temperature (Signed Single Ended Mode with Internal VCC/1.6 Reference) 

ADC input [V] 

Temp. [°C] 

ADC codes 

ADC input [V] 

Temp. [°C] 

ADC codes 

2.076 

-14 

2047 

0.347 

38 

345 

2.030 

-13 

2014 

0.334 

39 

332 

1.983 

-12 

1968 

0.321 

40 

319 

1.936 

-11 

1921 

0.309 

41 

307 

1.889 

-10 

1875 

0.297 

42 

295 

1.841 

-9 

1828 

0.286 

43 

283 

Summary of Contents for AVR1925 XMEGA-C3 Xplained

Page 1: ...xpansion headers Touch Two Atmel AVR QTouch button Memory microSD Card Description The Atmel AVR XMEGA C3 Xplained evaluation kit is a hardware platform to evaluate the Atmel ATxmega384C3 microcontroller The kit offers a larger range of features that enables the Atmel AVR XMEGA user to get started using XMEGA peripherals right away and understand how to integrate the XMEGA device in their own desi...

Page 2: ...uring the Atmel AVR XMEGA Power Consumption 4 2 4 Programming the Kit 5 3 Connectors 6 3 1 Programming Headers 6 3 2 I O Expansion Headers 6 4 Peripherals 8 4 1 microSD Card 8 4 2 Atmel AVR QTouch Button 8 4 3 Mechanical Buttons 8 4 4 LEDs 8 4 5 OLED Display 9 4 6 Analog I O 9 4 6 1 Temperature Sensor 9 4 6 2 Ambient Light Sensor 12 5 Code Examples 13 6 Revision History 14 6 1 Revision History of ...

Page 3: ... a free Atmel IDE for development of C C and assembler code for Atmel microcontrollers Atmel FLIP Flexible In system Programmer BatchISP FLIP is a command line tool for programming the flash and EEPROM memories of the AVR and is part of the FLIP installation It can be used to communicate with the preprogrammed USB DFU boot loader Atmel JTAGICE3 JTAGICE3 is a mid range development tool for Atmel 8 ...

Page 4: ...n boards this margin is recommended The power can be applied to the board either via the USB connector or on pin 10 on the header J3 The USB connector is the preferred input because it is then possible to connect expansion boards on top of the J3 header The 5V USB supply voltage is regulated down to 3 3V with an onboard LDO regulator which provides power to the entire board Expansion top boards th...

Page 5: ...ega384C3 due to current flow into the I O pins 2 4 Programming the Kit The kit can be programmed either from an external programming tool or through an USB boot loader which is pre programmed on the device The boot loader is evoked by pushing the push button SW0 during power on that is push and hold the button and hence connect an USB cable to the kit Programming can be performed through the DFU p...

Page 6: ...e 3 1 XMEGA Programming and Debugging Interface PDI Pin on programming header PDI 1 DATA 2 VCC 3 4 5 CLK 6 GND 3 2 I O Expansion Headers The Atmel AVR XMEGA C3 Xplained headers J1 J2 J3 and J4 offer access to the I O of the microcontroller in order to expand the board for example by mounting a top module onto the board The header J1 offers digital communication interfaces like UART TWI and SPI Tab...

Page 7: ...ight sensor 1 2 PA1 PA1 Temperature sensor 1 3 PA2 PA2 Filter output 1 4 PA3 PA3 Display reset 5 PA4 PA4 6 PA5 PA5 7 PA6 PA6 8 PA7 PA7 9 GND 10 VCC_P5V0 Note 1 Can be disconnected from onboard functionality by cut straps The header J4 offers digital communication interfaces such as UART and TWI but care must be taken because some pins are also connected to on board peripherals Table 3 5 Expansion ...

Page 8: ...ot affected by any touches from the back side of the board Table 4 2 QTouch Button Connection Pin on XMEGA QButton PF4 SNS0 PF5 SNSK0 PF6 SNS1 PF7 SNSK1 4 3 Mechanical Buttons Two mechanical buttons are connected to Atmel AVR XMEGA All buttons have external pull ups so there is no need to activate internal pull ups in order to use them When a button is pressed it will drive the I O line to GND Tab...

Page 9: ...he MCU and the OLED display is shown in Table 4 5 Table 4 5 OLED Display Connection Pin on XMEGA QButton PD0 Data_command PD1 SCK PD3 MOSI PF3 SS PA3 RESET 4 6 Analog I O 4 6 1 Temperature Sensor The temperature sensor circuitry consists of a serial connection of a normal and a NTC resistor The NTC sensor is from Murata and some part details are shown in Table 4 6 more information can be obtained ...

Page 10: ... 47 37 601 77 11 757 12 707 524 18 140 142 48 36 063 78 11 344 11 666 972 19 133 432 49 34 595 79 10 947 10 628 988 20 127 080 50 33 195 80 10 566 9 593 342 21 121 066 51 31 859 81 10 200 8 559 931 22 115 368 52 30 584 82 9 848 7 528 602 23 109 970 53 29 366 83 9 510 6 499 212 24 104 852 54 28 203 84 9 185 5 471 632 25 100 000 55 27 091 85 8 873 4 445 772 26 95 398 56 26 028 86 8 572 3 421 480 27 ...

Page 11: ... 58 159 1 131 7 1123 0 155 59 154 1 093 8 1084 0 149 60 148 1 055 9 1047 0 144 61 142 1 018 10 1010 0 138 62 137 0 982 11 975 0 133 63 132 0 947 12 940 0 128 64 127 0 913 13 907 0 124 65 123 0 880 14 874 0 119 66 118 0 848 15 842 0 115 67 114 0 817 16 811 0 111 68 110 0 787 17 781 0 107 69 106 0 758 18 752 0 103 70 102 0 730 19 724 0 100 71 99 0 702 20 697 0 096 72 95 0 676 21 671 0 093 73 92 0 65...

Page 12: ...uitry that is provided to the ADC R Series resistor of the sensor circuitry 4 7kΩ has been chosen in this design Ev 100 I ICA Illuminance is calculated based on the relation of the actual current through the sensor to the calibrated value at 100lx I U R Since the ADC measures the voltage across the series resistor of the sensor circuitry it is necessary to calculate the voltage based on the curren...

Page 13: ...Examples The example application is based on the Atmel AVR Software Framework that is included in Atmel Studio 6 The AVR Software Framework can also be found as a separate package online at http www atmel com tools avrsoftwareframework aspx For more information about the code example see the application note Atmel AT01639 XMEGA C3 Xplained Software User Guide ...

Page 14: ...he correct document has been updated 42053A 02 2013 Initial document release 6 2 Revision History of the Kit To identify the revision of the Atmel AVR XMEGA C3 Xplained kit locate the bar code sticker on the back side of the board The first line on the sticker shows the product ID and the revision For example A09 1607 2 can be resolved to ID A09 1607 and revision 2 6 2 1 Revision 2 Revision 2 of t...

Page 15: ...tual property right is granted by this document or in connection with the sale of Atmel products EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULA...

Page 16: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Atmel ATXMEGAC3 XPLD ...

Reviews: