Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ADC Library Interface With PicMicroController (MikroC)

ADC Library Interface With PicMicroController (MikroC)

ADC Library Interface With PicMicroController (MikroC)
Created byTrsian Team
Last updated 6/2019
English

What you'll learn

  • ADC Library

Course content

1 section11 lectures29m total length
  • 1- Introduction What is ADC Library3:49

    Explore the ADC library for MikroC, initialize the ADC, read a channel, and convert analog inputs to digital values with proper channel mapping.

  • 2- Explain ADC_Init() Routines1:12
  • 3- Explain ADC_Get_Sample() Routines2:35

    Explain how the ADC_Get_Sample() routine reads an analog value from a specified adc channel and returns a 10- or 12-bit unsigned value, after initializing and configuring the MCU's adc.

  • 4- Explain ADC_READ() Routines2:19
  • 5- Create Example For ADC Module Part 12:43

    Create an example for the ADC module part 1 in MikroC for the PIC microcontroller, incorporating digital input references.

  • 6- Create Example For ADC Module Part 21:52

    Create an example for the adc module using MikroC on a pic microcontroller, as part 2 of the series.

  • 7- Create Example For ADC Module Part 32:12

    Create an example for the ADC module using MikroC on a PIC microcontroller, showing how to read a channel and display the converted value.

  • 8- Create Example For ADC Module Part 46:06

    Create an example for the ADC module using MikroC on a PIC microcontroller, focusing on resistor connections.

  • 9- Create Example For ADC Module Part 53:06
  • 10- Create Example For ADC Module Part 62:46

    Create an example for the adc module using MikroC on a PIC microcontroller, detailing input connections, clock considerations, and routine adjustments.

  • 11- Note0:50

    Learn how to configure the adc input on a picmicro controller using mikroC, select channel one via rb1, and complete the note.

Requirements

  • Proteus Program
  • MikroC Program

Description

ADC Library Interface With PicMicroController (MikroC)

ADC Library

ADC (Analog to Digital Converter) module is available with a number of PIC MCU modules. ADC is an electronic circuit that converts continuous signals to discrete digital numbers. ADC Library provides you a comfortable work with the module.

Library Routines

  • ADC_Init

  • ADC_Get_Sample

  • ADC_Read

ADC_Init

Prototype

void ADC_Init();

Returns

Nothing.

Description

This routine initializes PIC’s internal ADC module to work with RC clock. Clock determines the time period necessary for performing AD conversion (min 12TAD).

Requires

  • MCU with built-in ADC module.

Example

ADC_Init();  // Initialize ADC module with default settings

Who this course is for:

  • Any Person Using Adc in Electronics Project