ARM LPC2129 Mini Development Board – POT Interfacing (ADC)

The “ARM LPC2129 Mini Development Board – POT Interfacing (ADC)” 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.ARM LPC2129 Mini Development Board has two 10-bit successive approximation ADCs, as per the controller specification. 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 if result is taken in 10 bits), thus the resolution is 3.3V/1024=3.22 mV. The development board has an SMD POT connected to pin P0.29 i.e, AD0.2 via jumper J12. On varying the POT, voltage input on the ADC pin P0.29 varies between 0 – 3.3V

Schematic:

Sample code to check the ADC module of LPC2129 using the on board SMD pot is given below. The output is displayed on LCD and the variation can be checked by varying the POT.  While checking the  ADC never forget to short jumper J12, leaving it open disconnects the POT from port pin P0.29 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 POT 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 to ARM LPC2129 Mini Development Board – LCD Interfacing Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">