Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use FMC920: Examples, Pinouts, and Specs

Image of FMC920Design with FMC920 in Cirkit Designer

Introduction

The FMC920 is a high-performance, low-power analog-to-digital converter (ADC) manufactured by Teltonika. Designed for precision data acquisition and signal processing, the FMC920 offers a flexible interface and supports multiple input channels, making it ideal for complex measurement systems. Its compact design and robust performance make it suitable for a wide range of applications, including industrial automation, medical instrumentation, and environmental monitoring.

Explore Projects Built with FMC920

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of STM32F103C8T6-Based Water Level Monitoring and Communication System with SIM900A and LoRa Connectivity: A project utilizing FMC920 in a practical application
STM32F103C8T6-Based Water Level Monitoring and Communication System with SIM900A and LoRa Connectivity

This circuit features a microcontroller (STM32F103C8T6) interfaced with a SIM900A GSM module, an HC-SR04 ultrasonic sensor, a water level sensor, and a LoRa Ra-02 SX1278 module for long-range communication. The STM32F103C8T6 is configured to communicate with the GSM module and LoRa module via serial connections, and it reads data from the ultrasonic and water level sensors. An FTDI Programmer is connected for programming and serial communication with the microcontroller.

Open Project in Cirkit Designer
Image of Dual-Mode LoRa and GSM Communication Device with ESP32: A project utilizing FMC920 in a practical application
Dual-Mode LoRa and GSM Communication Device with ESP32

This circuit features an ESP32 Devkit V1 microcontroller interfaced with an RFM95 LoRa transceiver module for long-range communication and a SIM800L GSM module for cellular connectivity. Two LM2596 step-down modules are used to regulate the 12V battery voltage down to 3.3V required by the ESP32, RFM95, and SIM800L. The ESP32 facilitates data exchange between the RFM95 and SIM800L, enabling the system to send/receive data over both LoRa and GSM networks.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Parameter Value
Manufacturer Teltonika
Part ID GPS
Resolution 12-bit
Number of Input Channels 4
Input Voltage Range 0–5 V
Sampling Rate Up to 1 MSPS (Mega Samples Per Second)
Power Supply Voltage 3.3 V or 5 V
Power Consumption < 10 mW
Operating Temperature -40°C to +85°C
Interface SPI (Serial Peripheral Interface)

Pin Configuration and Descriptions

Pin Number Pin Name Description
1 VCC Power supply input (3.3 V or 5 V)
2 GND Ground connection
3 CH1 Analog input channel 1
4 CH2 Analog input channel 2
5 CH3 Analog input channel 3
6 CH4 Analog input channel 4
7 SCLK SPI clock input
8 MISO SPI data output (Master In Slave Out)
9 MOSI SPI data input (Master Out Slave In)
10 CS Chip select (active low)

Usage Instructions

How to Use the FMC920 in a Circuit

  1. Power Supply: Connect the VCC pin to a 3.3 V or 5 V power source and the GND pin to the ground.
  2. Analog Inputs: Connect the analog signals to the input channels (CH1–CH4). Ensure the input voltage does not exceed the specified range (0–5 V).
  3. SPI Interface: Connect the SPI pins (SCLK, MISO, MOSI, and CS) to the corresponding pins on your microcontroller or processor.
  4. Configuration: Use the SPI interface to configure the ADC settings, such as sampling rate and channel selection.

Important Considerations and Best Practices

Example Code for Arduino UNO

Below is an example of how to interface the FMC920 with an Arduino UNO using the SPI library:

#include <SPI.h>

// Define SPI pins for the FMC920
const int CS_PIN = 10; // Chip select pin for the ADC

void setup() {
  // Initialize serial communication for debugging
  Serial.begin(9600);

  // Set up SPI communication
  SPI.begin();
  pinMode(CS_PIN, OUTPUT);
  digitalWrite(CS_PIN, HIGH); // Set CS pin to inactive state

  Serial.println("FMC920 ADC Initialized");
}

void loop() {
  // Select the ADC by pulling CS low
  digitalWrite(CS_PIN, LOW);

  // Send a command to read from channel 1 (example command: 0x01)
  byte command = 0x01; // Replace with actual command for your application
  SPI.transfer(command);

  // Read the ADC data (12-bit result split into two bytes)
  byte highByte = SPI.transfer(0x00); // Read high byte
  byte lowByte = SPI.transfer(0x00);  // Read low byte

  // Combine the two bytes into a 12-bit result
  int adcValue = (highByte << 8) | lowByte;

  // Deselect the ADC by pulling CS high
  digitalWrite(CS_PIN, HIGH);

  // Print the ADC value to the serial monitor
  Serial.print("ADC Value: ");
  Serial.println(adcValue);

  delay(1000); // Wait for 1 second before the next reading
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output or Incorrect Readings

    • Cause: Incorrect SPI connections or configuration.
    • Solution: Verify the SPI connections (SCLK, MISO, MOSI, and CS) and ensure the SPI settings (clock speed, mode) match the FMC920's requirements.
  2. Noise in ADC Readings

    • Cause: Power supply noise or poor grounding.
    • Solution: Add decoupling capacitors near the VCC pin and ensure a solid ground connection.
  3. Overvoltage on Input Channels

    • Cause: Input voltage exceeds the 0–5 V range.
    • Solution: Use a voltage divider or clamping diodes to protect the input channels.
  4. SPI Communication Fails

    • Cause: Incorrect chip select (CS) handling.
    • Solution: Ensure the CS pin is pulled low before sending commands and pulled high after communication.

FAQs

Q: Can the FMC920 operate at 3.3 V?
A: Yes, the FMC920 supports both 3.3 V and 5 V power supply levels.

Q: What is the maximum sampling rate of the FMC920?
A: The FMC920 supports a maximum sampling rate of 1 MSPS.

Q: How many channels can be used simultaneously?
A: The FMC920 has 4 input channels, but only one channel can be sampled at a time.

Q: Is the FMC920 compatible with Arduino boards?
A: Yes, the FMC920 can be interfaced with Arduino boards using the SPI interface.