ARM LPC2129 Mini Development Board – Temperature Sensor Interfacing(ADC)

The “LPC2129 Interfacing Temperature Sensor” wiki discussed here is in reference to the rhydoLABZ make LPC2129 Development Board-Mini, however it makes no difference even if the board used is either LPC2138 Development Board-Mini or LPC2148 Development Board-Mini.i.e, this interfacing guide is common for LPC2129/LPC2138/LPC2148 Mini Development Boards from rhydoLABZ.The LPC2129 Development Board – Mini has on board temperature sensor MCP9700, here in this section we discuss the interfacing of the same with its host controller LPC2129. LPC2129 has two 10-bit successive approximation ADCs. 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), and thus the resolution is 3.3V/1023=3.22 mV.

On the Mini Development Board the temperature sensor MCP9700 is connected to pin P0.28 of the controller i.e, AD0.1 via jumper J11. The MCP9700/9700A and MCP9701/9701A family of  Linear Active Thermistor™ Integrated 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. So that’s the spec and description for MCP9700, now lets see its actual working here below. 

Schematic:

The figure above shows the MCP9700 provided on the LPC2129 Mini Development Board. And the sample code for reading the values from it is given below. To use temperature sensor, don’t forget to short jumper J11. Leaving it open frees P0.28 and it can be used for any other desired purpose.

Sample Code:

Once the above code is loaded on to the controller, it starts reading the temperature values and the same will be displayed on the LCD module as shown in the image below.Topics related to ARM LPC2129 Mini Development Board:

  1. ARM LPC2129 Mini Development Board – Overview
  2. ARM LPC2129 Mini Development Board – LED Interfacing
  3. ARM LPC2129 Mini Development Board – LCD Interfacing
  4. ARM LPC2129 Mini Development Board – UART0 Interfacing
  5. ARM LPC2129 Mini Development Board – UART1 Interfacing
  6. ARM LPC2129 Mini Development Board – Switches Interfacing
  7. ARM LPC2129 Mini Development Board – BUZZER Interfacing
  8. ARM LPC2129 Mini Development Board – POT Interfacing (ADC)
  9. ARM LPC2129 Mini Development Board – Temperature Sensor Interfacing(ADC)
  10. ARM LPC2129 Mini Development Board – Interfacing Servo motor
  11. ARM LPC2129 Mini Development Board – CAN Interfacing

Resources:

How to buy:

Support:

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

 

Leave a Reply