MIKROE AN to PWM 2 Click

AN to PWM 2 Click is a compact add-on board that contains an easy-to-use component that converts the value of the input analog signal to a fixed frequency PWM voltage output, with a duty cycle proportional to the input voltage. This board features the LTC6992CS6, a silicon oscillator with an easy-to-use analog voltage-controlled pulse width modulation (PWM) capability from Analog Devices. It features the PWM signal controlled by analog input in range of -2.5V to 2.5V, frequency range up to 1 MHz, frequency error less than 1.7%, and it has good temperature stability. It has many features that make it well suited for heater control, PWM servo loops, LED dimming, signal isolation, and other duty cycle control applications.

AN to PWM 2 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development.

AN to PWM 2 Click is based on the LTC6992CS6, a voltage-controlled PWM generator from Analog Devices. This device is chosen because it keeps its output clocking at all times, and it offers glitch-free, a first cycle-accurate startup within 500μs of Power-On. The output of the this Click board™ can source or sink up to 16 mA, and it has a linear response, so applying a voltage in a range of -2.5 to 2.5V on its input, will result in generating the PWM pulse train with duty cycle linearly proportional to the input voltage. The output PWM signal is brought to the INT pin of the mikroBUS™ socket to enable fast and precise duty cycle measurement using the interrupt routines.

The LTC6992CS6 has a MOD pin which represents pulse-width modulation input where is necessary to bring an analog signal. To bring the corresponding signal to that pin, this Click board™ uses an analog circuitry made of OpAmp AD8616ARZ from Analog Devices. In the first part of the circuit, amplifier OPA1 attends to adjust the input signal through a reference voltage of 2.5V by the MCP1525 from Microchip and applied input voltage in a range of -2.5 to 2.5V. The next part of the circuit is the voltage divider and amplifier OPA2 which has the function of a buffer, after which the signal required by the MOD pin of the LTC6992CS6 is obtained.

The output frequency can range up from 3.81Hz to 1MHz and is controlled via the AD5171, a 64-position (OTP) digital potentiometer from Analog Devices, which programs the LTC6992CS6’s internal controller oscillator frequency. The output frequency is determined by this controller oscillator and an internal frequency divider programmable to eight settings from 1 to 16384. It communicates with MCU using the standard I2C serial interface that operates at clock rates up to 400 kHz and represents the most accurate way to set the frequency. It’s also left the possibility to adjust the frequency via resistors RH and RL by placing resistors of appropriate resistance.

This Click board™ is designed to be operated only with a 5V logic level. A proper logic voltage level conversion should be performed before the AN to PWM 2 Click is used with MCUs with different logic levels. More information about the LTC6992CS6’s functionality, electrical specifications, and typical performance can be found in the attached datasheet. However, the Click board™ comes equipped with a library that contains easy-to-use functions, and a usage example that can be used as a reference for the development.

  • Interface: I2C
  • Compatibility: mikroBUS™
  • Dimensions: 42.9 x 25.4mm
  • Input Voltage: 5V
  • Input Supply Voltage: Min. -2.5V, Max. 2.5V
  • Output Current: ±20mA
  • Output Frequency: Min. 3.81Hz, Max. 10MHz
  • Operating Temperature Range: Min. -40°C, Max. +85°C

MIKROE AN to PWM 2 Click Product Help and Resources

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.