ARM LPC2138/48 Mini Development Board – Temperature Sensor Interfacing(ADC)

LPC 2138/48 has two 10-bit successive approximation ADC s. ADC0 has 6 channels & ADC1 has 8 channels. The maximum possible input to ADC is 3.3V which gives output reading as 1023(The maximum value that can be represented in 10 bits). Thus the resolution is 3.3V/1023=3.22 mV.The development board has the temperature sensor MCP 9700 connected to pin P0.28 i.e, AD0.1 via jumper J11. The MCP9700/9700A and MCP9701/9701A family of  Linear Active Thermistor™ Intergrated Circuit (IC) is an analog temperature sensor that converts temperature to analog voltage. It has an accuracy of  ±2°C from 0°C to +70°C (MCP9700A/9701A)  ±4°C from 0°C to +70°C (MCP9700/9701) while consuming 6 µA (typical) of operating current. Sensitivity is 10mV/°C. At 0°C, the output is 500mV.

Sample code to check the temperature sensor is given below. The output is displayed on LCD.

SchematicNote: To use temperature sensor, don’t forget to short jumper J11. Leaving it open frees P0.28 and can be used for any other desired purpose.

Sample Code

Topics related to ARM LPC2138/48 Mini Development Board

  1. ARM LPC2138/48 Mini Development Board – Overview
  2. ARM LPC2138/48 Mini Development Board – LED Interfacing
  3. ARM LPC2138/48 Mini Development Board – LCD Interfacing
  4. ARM LPC2138/48 Mini Development Board – UART0 Interfacing
  5. ARM LPC2138/48 Mini Development Board – UART1 Interfacing
  6. ARM LPC2138/48 Mini Development Board – Switches Interfacing
  7. ARM LPC2138/48 Mini Development Board – BUZZER Interfacing
  8. ARM LPC2138/48 Mini Development Board – POT Interfacing (ADC)
  9. ARM LPC2138/48 Mini Development Board – Temperature Sensor Interfacing(ADC)
  10. ARM LPC2138/48 Mini Development Board – Interfacing Servo motor
  11. ARM LPC2138/48 Mini Development Board – Internal Real Time Clock (RTC)
  12. ARM LPC2148 Mini Development Board – USB Interfacing (Human Interface Device)

Resources

How to buy?

Support

Please share your ideas with us, visit our forum for discussion

Leave a Reply