ARM LPC2138/48 Mini Development Board – POT 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/1024=3.22 mV.The development board has a POT connected to pin P0.29 i.e, AD0.2 via jumper J12. On varying the POT, voltage ranging from 0-3.3V gets applied to ADC input.
Sample code to check the ADC module of LPC 2148 with potentiometer is given below. The output is displayed on LCD and the variation can be checked with the POT.

Schematic

Note: To check ADC with POT, don’t forget to short jumper J12. Leaving it open frees P0.29 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

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="">