Skip to product information
1 of 7

Mikroelektronika d.o.o.

AN To PWM Click Board™

AN To PWM Click Board™

SKU: MIKROE-4060

Regular price
£21.00 exc VAT
£25.20 inc VAT
Regular price £14.00 GBP Sale price
£21.00 exc VAT
£25.20 inc VAT
Sale Sold out
Shipping calculated at checkout.
If no stock shown above, check availability

Payment methods

  • American Express
  • Visa
  • Mastercard
  • Maestro
  • PayPal
  • Apple Pay
  • Google Pay
  • Bank transfer
View full details

Overview

The AN to PWM Click Board™ is a device that converts the value of the input analogue signal with virtually any wave shape to a fixed frequency PWM voltage output, with a duty cycle proportional to the input voltage. It has a linear response, and by applying a signal with the voltage between -2.5V to +2.5V on its input, the Click Board™ will generate a pulse width modulated (PWM) output voltage, with a duty cycle ranging from 0% to 100%.

The AN to PWM Click features very good linearity, covers a positive and negative input voltage range and it has good temperature stability. These features allow this device to be used in various voltage to frequency applications, such as AD conversion, inspection, test and measurement equipment, while it can also be used as the variable clock signal generator.

How Does The AN to PWM Click Board™ Work?

The AN to PWM Click Board™ is a device that converts an analog voltage input signal into a pulse width modulated (PWM) output signal. This Click Board™ consists of an analog circuitry, made of two comparators and two op-amps, needed for the described device. Op-amps used on this Click Board™ are OPA365 series, while comparators used are TLV 3201, both from Texas Instruments. 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.

AN to PWM Click Board™

This circuit on this Click Board™ utilizes a triangle wave generator and comparator to generate a pulse-width-modulated (PWM) waveform with a duty cycle that is inversely proportional to the input voltage. An op amp and comparator generate a triangular waveform which is passed to the inverting input of a second comparator. By passing the input voltage to the non-inverting comparator input, a PWM waveform is produced. Negative feedback of the PWM waveform to an error amplifier is utilized to ensure high accuracy and linearity of the output.

One op-amp (U1a) and one comparator (U3) are used in order to form the triangle wave generator. The error amplifier, composed of one op-amp U1b, serves two purposes. First, the error amplifier accommodates feedback of the output PWM waveform in order to correct for any errors in the output voltage introduced by the comparator on the output of the circuit (U2). Second, it adds a dc offset to the input voltage so that negative input voltages can be accommodated by the circuit. That way, in case that input signal is equal to 0V, the value of PWM duty cycle on the output is 50%.

The output PWM signal on the AN to PWM Click Board™ is brought to the INT pin of the mikroBUS socket, in order to enable fast and precise duty cycle measurement, using the interrupt routines. The frequency of the PWM signal is fixed to 500kHz.

The AN to PWM Click Board™ is designed to be operated only with 5V logic level. A proper logic voltage level conversion should be performed before the Click Board™ is used with MCUs with logic levels of 3.3V.

SPECIFICATIONS

Type Measurements
Applications AD conversion, inspection, test and measurement equipment, while it can also be used as the variable clock signal generator.
On-board modules OPA2365 – Dual 50MHz, Low-Noise, Single-Supply Rail-to-Rail Operational Amplifier; TLV3201 - 40-ns, microPOWER, push-pull output comparator, both from Texas Instruments.
Key Features Very good linearity, covers a positive and negative input voltage range and it has good temperature stability
Interface GPIO
Compatibility mikroBUS
Click Board™ size S (28.6 x 25.4 mm)
Input Voltage 5V

Pinout Diagram

This table shows how the pinout on the AN to PWM Click Board™ corresponds to the pinout on the mikroBUS socket (the latter shown in the two middle columns).

Notes Pin mikroBUS logo.png Pin Notes
NC 1 AN PWM 16 NC
NC 2 RST INT 15 INT PWM Output
NC 3 CS RX 14 NC
NC 4 SCK TX 13 NC
NC 5 MISO SCL 12 NC
NC 6 MOSI SDA 11 NC
NC 7 3.3V 5V 10 5V Power Suppluy
Ground GND 8 GND GND 9 GND Ground


ONBOARD SETTINGS AND INDICATORS

Label Name Default Description
LD1 PWR - Power LED Indicator

Overview
CategoryMeasurements
ApplicationsAD conversion, inspection, test and measurement equipment, while it can also be used as the variable clock signal generator.
Key components
On-board modulesOPA2365, Dual 50MHz, Low-Noise, Single-Supply Rail-to-Rail Operational Amplifier; TLV3201 - 40-ns, microPOWER, push-pull output comparator, both from Texas Instruments.
Features
Key featuresVery good linearity, covers a positive and negative input voltage range and it has good temperature stability
Interfaces
InterfaceGPIO
CompatibilitymikroBUS™
Electrical
Input voltage5V
Physical
Click board sizeS (28.6 x 25.4 mm)
Compliance
Country of originSerbia
RoHSCompliant
Ordering information
Part number (SKU)MIKROE-4060
ManufacturerMikroelektronika d.o.o.
EAN8606018717170
Warranty12 months
Shipping weight0.018 kg
  • 1 × AN To PWM Click Board™

Contact us to confirm the full contents of the box.

Engineer Q&A

Questions and Answers

No questions have been asked about this product yet. Ask our engineers below and we'll reply by email.

Can't find your answer? Ask our engineers.

Ask a Question

Ask Our Engineers About This Product

Your question goes to the Debug Store technical team. We answer by email, and useful questions may be added to this page without your name or email address.

We reply within 24 hours.