Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
1k views

I am working with a few ESP32-S3-DevKitC-1-N8 boards and have a simple program that reads analog data to the serial monitor using the two SAR ADCs (Program below). I am having a problem where the ADC ...
Andrew Brown's user avatar
0 votes
1 answer
437 views

I working on a project where i need measurement of a bridge circuit(strain gauge) through MCU. For that I am using a MSP430F2013 MCu with 16 bit ADC. I dont have data logging hardware for this Mcu so ...
Hiril Patel's user avatar
0 votes
1 answer
2k views

According to numerous online sources, the Raspberry Pi Pico can perform 500,000 A to D reads a second, i.e., 2 microseconds per read. I am programming in C++ using the Arduino IDE and cannot get ...
John Buckwell's user avatar
0 votes
1 answer
291 views

I'm trying to understand if the negative part of a bipolar ADC has more resolution than the positive. For simplicity, let's say I have a 3 bit ADC, for a total of 8 possible values. Let's also say ...
Diogo Marques's user avatar
0 votes
0 answers
158 views

I am trying to use MCP3008 for sampling. I want obtain 8000 samples/second, but i really can't obtain much than 1000 samples/second. This is my code: spi = busio.SPI(clock = board.SCK, MISO=board....
Mihai's user avatar
  • 3
0 votes
1 answer
210 views

I used PIC16F877 and my purpose is to choose CHANNEL 4 to display the analogue input AN4 value on PortD leds. The approximate value is about 1V. I wrote a code and however, no matter how I ran my code,...
ke zhang's user avatar
0 votes
3 answers
2k views

The goal is to read multiple ADC channels by polling. It does not need to be fast - the idea is to read the voltages from different batteries that are attached. I have a STM32L071 microcontroller. The ...
pallago's user avatar
  • 431
1 vote
1 answer
355 views

Here is the problem: I am trying to initialize the 12-bit built-in ADC on MSP430FR2476, but no matter what I do it seems to work at 10 bits. I change the resolution bits in a control register and alas,...
StanislavOssovsky's user avatar
0 votes
1 answer
768 views

The setup that I'm working with is a Nucleo L432KC connected to 8 different MAX31865 ADCs to get temperature readings from RTDs (resistive thermal devices). Each of the 8 chip selects is connected to ...
user15811406's user avatar
0 votes
2 answers
878 views

I am currently working on a project that requires me to read analog voltages for 16 different sensors and convert them to angle readings. To accomplish this I decided to utilize the MCP3008 ADC chip ...
christian lenzini's user avatar
2 votes
0 answers
229 views

I'm looking to get my STM32F303 discovery board to continuously read from a temperature sensor using the ADC and DMA transfers to a memory location, but during the interrupt callback, the memory ...
tdot123's user avatar
  • 21
0 votes
0 answers
66 views

I have configured for the ADC channel AD0.1 of processor LPC 2148, with ISR. But while ADC value changes ISR is not executing. Because of this VICVectAddr contains the value of ISR function. This ...
SARATH's user avatar
  • 1
1 vote
1 answer
2k views

sorry in advance, i am new at this kind of projects. I tried to implement a connection to an ADC (LTC1609) via SPI. I just want to get the data from the ADC as quick as possible. The ADC has just a ...
T0K4M4K's user avatar
  • 11
0 votes
0 answers
74 views

I am using STEVAL-STWINKT1 Board to capture ADC data to SD Card. Please help me with this- I am not sure if I can see the plot and FFT of my ADC signal on the Bluetooth App. code to save ADC data to ...
SUNIL PRADHAN's user avatar
0 votes
0 answers
53 views

I'm using stm32f411e discovery board. I'm trying to use ADC1 Channel 3 (PA3) to read the potentiometer. When I put the function config for ADC is ADC_SingleChannel_Config() in #if (ADC_SINGLE_DEF), it ...
GOD SERENA's user avatar
0 votes
1 answer
4k views

I am using fmcw radar to find out distance and speed of moving objects using stm32l476 microcontroller. I transmit the modulation signal as sawtooth waveform and I read the recieved signal in the ...
Prajwal Ramesh's user avatar
0 votes
1 answer
2k views

I am trying to use the ADC on STM32f407G-DISC1 board to read joystick x and y position on pins PA2 and PA1 respectively and store the values to a memory location using the DMA. I am configuring the ...
Filip Jeretina's user avatar
0 votes
1 answer
657 views

I am using a G0 with one ADC and 8 channels. Works fine. I use 4 channels. One is temperature that is measured constantly and I am interested in the value every 60s. Another one is almost the opposite:...
JeromeBu1982's user avatar
0 votes
1 answer
1k views

I'm using the STM32H747 on an Arduino Portenta H7. I'm trying to implement the ADC and DMA together. The ADC should run in continuous mode and scan over the two channels. void ADC_Init (void) { /**...
jephan's user avatar
  • 1
0 votes
1 answer
691 views

I'm trying to run an application on Renode that uses ADC and DMA for the STM32F030F4P, I created a stm32f0.repl file with the dma and adc as follows: dma: DMA.STM32LDMA @ sysbus 0x40020000 [0] -&...
Marco Ruthes's user avatar
0 votes
2 answers
2k views

I have been using the STM32l4 ( STM32l342kc nucleo-32 ) line for a few years now, in a current project that I am working on I realized that I have a constant negative ADC offset on my readings (about ...
clixxclixx's user avatar
0 votes
1 answer
241 views

I am trying to record audio using a 12 bit resolution ADC, take the sample buffer and send it through CAN FD to another device, which takes samples of this audio and creates a .wav and plays it. The ...
Suspe18's user avatar
  • 15
1 vote
0 answers
1k views

I am trying to implement ADC AD7606 device driver for Linux on Raspberry Pi 4B+ to make possible to read data from all channels as fast as it possible via SPI. The kernel version is v5.10.83 and the ...
Aro Math's user avatar
1 vote
0 answers
450 views

I'm trying to enable two instances of AD7606 SPI driver for AD7606C. In order for ADC to start the conversion GPIO pins for CONVST (conversion start), interrupt pin (BUSY pin) and RESET pin have to be ...
Darko Alavanja's user avatar
0 votes
1 answer
171 views

I have been trying to hear the real time audio I get from the ADC into the DAC and listen to it through the headphones I connected. I am using a STM32G01CE-EV board, but when I try to listen to the ...
Suspe18's user avatar
  • 15
0 votes
0 answers
197 views

I have an ADC device, I wrote a driver for it, the driver works well. I want to send the sample data from the driver to the application. I choose fasync way, using a SIGIO signal to notify the ...
gaosiy's user avatar
  • 3
0 votes
1 answer
502 views

MICRO: PIC18LF47K42 compiler: XC8 application: MPLABX I am trying to combine the values in of 12 bit ADC. They go into ADRESH and ADRESL. My ADC is set up for right-justify which does formating as so: ...
TJL6012's user avatar
  • 23
0 votes
1 answer
639 views

I am trying to convert an ADC bipolar differential signal in C++. The device I am using is a 12 bit MAX11613 (datasheet) and the microcontroller is a Raspberry PI 3B+. So far I am able to capture ...
Max's user avatar
  • 95
0 votes
1 answer
115 views

I run 4 MCP9600s on ESP32 and experience a problem with setting the TC type. I tried hard to post the code here according to the rules using the code toolbar button and the CTRL+K keyboard shortcut ...
B Shmid's user avatar
  • 21
0 votes
0 answers
251 views

In my project, I am using an ADS1256 24-bit sensor with a RPI CM4 to read the input AC voltage and current. I just fed my AC input voltage to the filter circuit and I got an output of 0.378V, which is ...
sagarnayak's user avatar
1 vote
1 answer
546 views

I'd like some help to debug the example code provided by adafruit. I have connected a potentiometer and an analog servo motor which when using the python2 script give me values just fine. I took from ...
Michael Efraimidis's user avatar
0 votes
0 answers
540 views

I have been trying to speed up the sampling rate on a SPI controlled ADC for an ECG device and have been stumping my head against the wall. I am using an external ADC (MCP3464 datasheet) to read ADC ...
Will Powell's user avatar
0 votes
1 answer
361 views

I'm trying to write a driver for a MAX11613 ADC chip (MAX11613 Datasheet) in c++. I think I've got the write code correct for the setup and config, but I'm having some trouble with the read code. I ...
Max's user avatar
  • 95
0 votes
0 answers
90 views

I was doing a project in STM8L151C6 based measuring the voltage using ADC with 12 bit resolution and a external reference voltage of 2.5 V. It has a 4 digit seven segment display. So I tried to output ...
NINJA's user avatar
  • 119
0 votes
1 answer
6k views

I have to measure adc value using internal reference voltage in STM32L422. According to datasheet STM32L422 internal reference voltage is 1.2 V. I enabled internal Vref from CubeMX. Analog input is 1V ...
sujan_014's user avatar
  • 536
0 votes
0 answers
135 views

I'm currently doing a project where I need do put the values in real time whenever I adjust the potentiometer, however, in my current code, it only updates the value when I reset my arduino. I'm ...
Emanuel Caldeira's user avatar
-1 votes
2 answers
264 views

I'm trying to read a bank of 6 Lifepo4 cells with an ATMEGA328P and I'm struggling to convert the 10 bit value to a voltage. I'm comparing against a TL431 voltage reference that using my multimeter ...
Jay Dee's user avatar
  • 230
0 votes
2 answers
7k views

I made a new C project: Made an ADC_1 channel_1 Enabled Continous Conversion Mode Enabled DMA Continoise Requests Made a DMA channel Created code added a buffer, started the DMA and added a Delay ...
klausDerRiese's user avatar
0 votes
1 answer
3k views

I'm currently using STM32F303VET6 in a project which requires sampling rate as high as possible. I've decided to connect the analog signal to PC0, i.e., ADC12_IN6, which is a common slow channel ...
jerry_fuyi's user avatar
0 votes
0 answers
69 views

I have made a simple program that controls a 10-LED bar graph and the speed in which the LEDs change is supposed to be controlled by a 10K POT. I am using 16F88 (and CSS Compiler/Mplab v8.91) for this ...
StillGrowingUp's user avatar
0 votes
1 answer
397 views

I am using an ATMega2560 with a resistance touch screen (uses the ADC with analogRead commands) – I also use other ADC pins with analogRead (NTC temp sensor). This all works fine. I have recently ...
paulp's user avatar
  • 1
0 votes
1 answer
68 views

In our application we are sending ADC data(240 bytes) to host computer through USB at full speed and using Serial application like (teraterm/minicom/Docklet) to validate the data, but we are facing ...
Sagar C e2-s's user avatar
0 votes
0 answers
145 views

I have an analog to digital converter (ADC) MCP3008 connected to Raspberry PI 4 via SPI interface. I need to process the signal from ADC in ODAS library (Open embeddeD Audition System). ODAS is ...
Artem Chepurnoy's user avatar
1 vote
0 answers
840 views

I'm trying to read to calculate the capacitance with the Arduino Uno. I did this successfully with the Arduino function. unsigned long starttime = 0; unsigned long endtime = 0; double C = 0; float n = ...
BeneKunz's user avatar
0 votes
1 answer
336 views

Is there a way to implement an Infrared sensor as input in an Arduino code ? I want the sensor to send data to the Arduino in values (changes of the IR position) and then use that value as an input in ...
darklight213's user avatar
1 vote
2 answers
662 views

I'm trying to replicate a C++ project I found for sampling sound data on the ESP32 using I2S, but using C# and nanoFramework. In the ADCSampler.cpp file the following headers are loaded #include <...
CobyC's user avatar
  • 2,477
0 votes
1 answer
609 views

I am facing problems in understanding a code that handles the 16-bits output data of a SAR ADC. More specifically, I am not sure about the meaning of the bit-wise operations shown in the code below. ...
luca audino's user avatar
-1 votes
1 answer
4k views

I would like to get peak value from STM32 adc samples. I have written the below code and I've managed to get peak value however most of the time this value includes the biggest noise. In order to ...
Umt's user avatar
  • 1
1 vote
1 answer
248 views

Can somebody help to explain why my code or setup not updating the ADC values of a 10K-potentiometer please? I use MPLAB XPRESS PIC16F18877 board and MPLAB MCC to generate the code. The voltage result ...
forumflaneur's user avatar
0 votes
0 answers
342 views

I need to measure a very small ripple on a power supply output that represents about 0.0017% of the output voltage. As a result, I need high-resolution ADC to do this. I am using the F2837xD board ...
jvnlendm's user avatar
  • 101

1 2 3
4
5
14