Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (42 codes)
  2. Alcides Ramos (30 codes)
  3. Dany (24 codes)
  4. NART SCHINACKOW (22 codes)
  5. Alberto Trasimeni (6 codes)
  6. Andrew Hazelden (6 codes)
  7. Rajendra Bhatt (6 codes)
  8. Roman Black (6 codes)
  9. Peter Erasmus (5 codes)
  10. Russell Kelly (5 codes)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

ADC click - Example

Rating:

Author: MikroElektronika Team

Last Updated: 2012-04-19

Category: Measurement

Downloaded: 635 times

Not followed.

Simple example which demonstrates working with the 4-Channel 12-bit A/D Converter (MCP3204) with SPI Serial Interface. The example shows how to measure analog inputs on Channels 0, 1, 2 and 3 and display the results on LCD.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "ADC click - Example" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "ADC click - Example" changes.

Do you want to report abuse regarding "ADC click - Example".

  • Information
  • Comments (0)

Example Blog

ADC click

ADC click

Front and back view of ADC click board designed in mikroBUS form factor. mikroBUS is specially designed pinout standard with SPI, I2C, Analog, UART, Interrupt, PWM, Reset and Power supply pins.

View full image

MCP3204 is 12-bit Analog-to-Digital Converter that features 50k samples/second, 4 input channels and lowpower consumption (500nA typical standby, 2μA max). Module uses industry standard SPI communication interface. It is small in size and features convenient screw terminals for easier connections. 

PIC examples are written for :
  - EasyPIC7 - PIC18F45K22
  - EasyPIC PRO v7 - PIC18F45K22

ADC click board schematics

ADC click board schematics

Board is set to use 3.3V power supply by default. If used with 5V development board, it is necessary to resolder PWR SEL jumper to 5V position.

View full image

ALSO FROM THIS AUTHOR

Interrupts on PIC 18F45K22

This example demonstrates how to setup:
- External INT0 interrupt on PORTB.0 pin
- UART RX event interrupt
- Interrupt on change on PORTB.7 - PORTB.4

[Learn More]

MMC FAT16 Legacy Library

The Multi Media Card (MMC) is a Flash memory card standard. MMC cards are available in sizes up to and including 32 GB and are used in cellular phones, digital audio players, digital cameras and PDA’s.

[Learn More]

Network Ethernet Library

Ethernet library designed to simplify handling of the underlying hardware (ENC24J600/ENC28J60 and internal ethernet module on PIC18 and PIC32). Library supports: TCP Stack (Server/Client), UDP, IPv4 protocol, ARP requests, ICMP echo requests, ARP client with cache, DNS client, DHCP client.

[Learn More]