Mikroelektronika d.o.o.
V to Hz 3 Click Board
V to Hz 3 Click Board
Couldn't load pickup availability
Key Features:
- Synchronous operation, output frequency provided by programmable oscillator, low power consumption, internal 2.5V reference, 1MHz maximum input frequency, selectable high impedance buffered input, and more
- Based on the AD7740 - voltage-to-frequency converter from Analog Devices LTC6903 - programmable oscillator from Analog Devices
- Can be used for low-cost analogue-to-digital conversion, linear frequency modulation, voltage-to-frequency conversion, and as a variable clock signal generator
- mikroBUS: SPI Interface
The V to Hz 3 Click Board™ is a compact add-on board that converts an analogue voltage input signal into a specific frequency pulse wave signal. This board features the AD7740, an ultrasmall synchronous voltage-to-frequency converter from Analog Devices. The AD7740 has a linear response, so applying a voltage from 3V up to 5V on its VIN terminal will generate the pulse with a frequency linearly proportional to the input voltage. It contains an integrated 2.5V bandgap reference defining the span of the VFC and can be overdriven using an external reference. The full-scale output frequency is synchronous with the input clock signal provided by the LTC6903 programmable oscillator, with a maximum input frequency of 1MHz. Based on the analogue input value, the output frequency goes from 10% to 90% of the input frequency. This Click board™ is the most suitable for low-cost analogue-to-digital conversion, linear frequency modulation, voltage-to-frequency conversion, and as a variable clock signal generator.
The V to Hz 3 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
![Mikroelektronika d.o.o. MIKROE-5250 V to Hz 3 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-v-to-hz-3-click-board-37874437390559.jpg?v=1685078934&width=1445)
![Mikroelektronika d.o.o. MIKROE-5250 V to Hz 3 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-v-to-hz-3-click-board-37874437357791.jpg?v=1685078927&width=1445)
![Mikroelektronika d.o.o. MIKROE-5250 V to Hz 3 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-v-to-hz-3-click-board-37874437292255.jpg?v=1685079116&width=1445)
![Mikroelektronika d.o.o. MIKROE-5250 V to Hz 3 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-v-to-hz-3-click-board-37874437554399.jpg?v=1685078929&width=1445)
![Mikroelektronika d.o.o. MIKROE-5250 V to Hz 3 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-v-to-hz-3-click-board-37874437423327.jpg?v=1685079118&width=1445)
![Mikroelektronika d.o.o. MIKROE-5250 V to Hz 3 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-v-to-hz-3-click-board-37874437488863.jpg?v=1685079112&width=1445)
![Mikroelektronika d.o.o. MIKROE-5250 V to Hz 3 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-v-to-hz-3-click-board-37874437521631.jpg?v=1685079109&width=1445)
![Mikroelektronika d.o.o. MIKROE-5250 V to Hz 3 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-v-to-hz-3-click-board-37874437325023.jpg?v=1685079288&width=1445)
How Does The V to Hz 3 Click Board™ Work?
The V to Hz 3 Click Board™ as its foundation uses the AD7740, a CMOS synchronous Voltage-to-Frequency Converter (VFC), which uses a charge-balanced conversion technique from Analog Devices. The input voltage signal from 0V up to 5V from its VIN terminal is applied to a proprietary front-end based around an analogue modulator that converts the input voltage into an output pulse train. Depending on the analogue input value, the output frequency goes from 10% to 90% of the input frequency provided by the SPI-configurable LTC6903 programmable oscillator, with a maximum input frequency of 1MHz.
The analogue input signal to the AD7740 is continuously sampled by a switched capacitor modulator whose sampling rate is set by a master clock (primary input frequency of the AD7740). The input signal may also be buffered, setting the BUF pin of the mikroBUS™ socket to a high logic state before being applied to the sampling capacitor of the modulator, isolating the sampling capacitor charging currents from the analogue input pin. The AD7740 also contains an on-chip 2.5 V default bandgap reference, the reference input to the core of the AD7740 defining the span of the VFC. Alternatively, an external reference may be used to overdrive the internal reference by applying it to an onboard header marked as REFIN.
Alongside SPI communication, this Click board™ also uses several additional pins. The BUF pin mentioned above represents the Buffered mode selection, while the AN pin indicates the presence of an external analogue signal. The last of the enabled pins is the F signal, routed to the INT pin of the mikroBUS™ socket, which can also serve as output frequency from the AD7740 in the same way as the FOUT terminal.
The V to Hz 3 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Mixed-signal |
Applications | Can be used for low-cost analogue-to-digital conversion, linear frequency modulation, voltage-to-frequency conversion, and as a variable clock signal generator |
On-board modules | AD7740 - voltage-to-frequency converter from Analog Devices LTC6903 - programmable oscillator from Analog Devices |
Key Features | The synchronous operation, output frequency provided by a programmable oscillator, low power consumption, internal 2.5V reference, 1MHz maximum input frequency, selectable high impedance buffered input and more |
Interface | SPI |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V, External |
PINOUT DIAGRAM
This table shows how the pinout of the V to Hz 3 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
Analog Input Indicator | AN | 1 | AN | PWM | 16 | BUF | Buffered Mode |
NC | 2 | RST | INT | 15 | F | AD7740 Frequency | |
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | NC | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
J1 | REFIN | Populated | External Reference Voltage Connection |
V TO HZ 3 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Analog Input Range VIN | 0 | - | 5 | V |
Output Frequency Range FOUT | - | - | 1 | MHz |
Operating Temperature Range | -40 | +25 | +105 | °C |
Software Support
We provide a library for the V to Hz 3 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Library Description
This library contains API for the V to Hz 3 Click Board™ driver.
Key functions
-
vtohz3_set_input_frequency
This function enables and sets the output frequency of the programmable oscillator, which is the AD7740 input frequency. -
vtohz3_read_an_pin_voltage
This function reads the results of A/D conversion of the AN pin and converts them to a proportional voltage level. -
vtohz3_get_frequency
This function converts voltage to the estimated output frequency in Hz.
Example Description
This example demonstrates the use of the V to Hz 3 Click board™ by calculating the estimated output frequency from the input voltage.
void application_task ( void )
{
float voltage;
if ( VTOHZ3_OK == vtohz3_read_an_pin_voltage ( &vtohz3, &voltage ) )
{
log_printf( &logger, " Voltage : %.2f Vrn", voltage );
log_printf( &logger, " Output frequency : %lu Hzrnn",
vtohz3_get_frequency ( &vtohz3, voltage, VTOHZ3_VREF_INTERNAL_2V5 ) );
}
Delay_ms( 1000 );
}
The full application code and ready-to-use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.VtoHz3
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The V to Hz 3 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
V to Hz 3 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.