Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
277 views

i need some help. i built custom board and had problem with my adc reading, it's not software problem...yet. my question is really hardware. it might be my lack of understanding from reading STM32f407 ...
FREEMASTER's user avatar
0 votes
0 answers
53 views

I've tested this script, and it works on independent servos, but when I add more, it stops working, is this something I'm being an idiot about? Or is there an actual problem? I tried to assign the ...
Mayochup 's user avatar
3 votes
2 answers
2k views

What I want to accomplish So I want to accomplish the following: I have 3 FreeRTOS-Threads which all shall read one of 3 (5) channels of my ADC. I want to poll the ADC. The Threads then enter the read ...
Blub's user avatar
  • 611
1 vote
0 answers
150 views

I want to measure the RMS value of the input audio signal over periods of 100-200 ms on an Android device without recording the audio to a file. This is not to measure the noise level, I only need the ...
Ivan Vashchenko's user avatar
1 vote
1 answer
297 views

I have an assembly code for PIC18F458 that gets data from channel 0 (RA0) of ADC and displays the result on PORTC and PORTD. Therefore, I am trying to stimulate the RA0 pin on a PIC18F458 using a SCL ...
aLoHa's user avatar
  • 165
0 votes
1 answer
200 views

I have been trying to read a channel by interfacing MCP3008 with Raspberry Pi zero w through SPI. I am using the Adafruit blinka lib to do so. After giving data for some time it shows the error [Errno ...
Ax111_'s user avatar
  • 9
0 votes
1 answer
2k views

I am reading 5 ADC channels in polling mode. For each channel I get 10 samples and calculate the average. Looking for the samples array, it is visible some instability. First readings have higher ...
IGtti's user avatar
  • 59
0 votes
1 answer
1k views

My goal is to record audio using an electret microphone hooked into the analog pin of an esp8266 (12E) and then be able to play this audio on another device. My circuit is: In order to check the ...
Hamid Rajabi's user avatar
0 votes
1 answer
41 views

I connected the PCM1860 ADC in this manner. I expect data on my oscilloscope on the digital output (pin 18). I have so far only seen square wave on the clock pins but nothing on the data pin. Is this ...
Don P's user avatar
  • 539
1 vote
0 answers
76 views

I'm working on signal acquisition and transmission using Openmote-B. I have an analogue signal from a sensor, that is to be transmitted using an openmote. Is it possible to directly feed the analog ...
jishnu k's user avatar
2 votes
1 answer
73 views

Analog device provides instant result as you can see at this simplified picture. Is there known algorithm that solves the same problem when I have similar situation in digital world, with arrays of ...
Ibiza's user avatar
  • 149
0 votes
0 answers
153 views

Support on ADC current measurement and Offset removal. I am kindly asking for support and details in understanding the concept of dc-offset removal from an ADC current measurement in a motor drive ...
Jacopo Riccio's user avatar
0 votes
0 answers
307 views

I am developing a measurement system, comprised of a MCU (being STM, ESP or PIC), multiple (let's say 8) ADCs sending data over SPI. ADCs are to be triggered using a SYNC signal so that they sample at ...
kubajed's user avatar
  • 31
1 vote
0 answers
705 views

I like to sample an analogue mic sample. The sampling should be synced with the I2S master clock. Since I like to do some DSP after, a block of samples should be processed while another block should ...
Stefan Jaritz's user avatar
0 votes
1 answer
277 views

I have a gas sensor that I am trying to read. I have connected the sensor to the analog input of ESP-S2 TFT Feather. When I change the analog to digital and read the measured voltage, the measured ...
Saleh's user avatar
  • 1
0 votes
0 answers
119 views

Hello im having a bit of trubble with getting KissFFT to work on my ATmega32a. I am pretty sure it's a problem with how im handling my buffers, but im not completly sure tbh :S Edit: Sorry im new here ...
F. Nobel's user avatar
0 votes
1 answer
607 views

I try to use 4-20 ma pressure transmitter With stm32 internal adc Problem reading is flacuating too much I have to take average for 128-256 reading to take stable reading Is that normal solution or ...
Moh'd Beshlawy's user avatar
1 vote
2 answers
4k views

The HAL for my stm32f10x provides an adc interface with the following mode selector by enabling ScanConvMode, which determines whether multiple channels or a single one are processed by the ADC, or ...
Mitch Ostler's user avatar
-1 votes
1 answer
140 views

In STM32F103 there are 2 ADCs and in ATMEGA328 there are 5 ADCs, now, if I am using 3 of the 5 ADC channel in AVR to measure three different analog inputs, is it same as using 3 regular groups of ...
Ax111_'s user avatar
  • 9
0 votes
0 answers
80 views

I am trying to read a value from a light sensor using an i2c protocol. It goes into my ADC through the channel 1 (that's what's written). I read the data like this: data = i2cbus.read_i2c_block_data(...
Eliot Janvier's user avatar
0 votes
1 answer
1k views

I'm working on a project that calls for displaying ADC values on an LCD screen. I don't know much about coding because I'm new to STM32IDE. In essence, I'm utilising a (0–25 v) voltage sensor and an ...
Unique Soul's user avatar
0 votes
0 answers
349 views

Here i pasted my code, the problem i am facing is i can able to read the data but i can't able to read change in data in in_voltage1_raw , can you please anyone help me out to how to solve this ...
MKT's user avatar
  • 1
0 votes
0 answers
71 views

I am trying to program an MPPT solar charge controller for a constant output to charge the connected tubular battery. I have used an ADC pin to get the output voltage through feedback and generate the ...
Suvendu Sahu's user avatar
3 votes
2 answers
2k views

I was trying to read some voltages from a sensor, but before doing that, I checked how readings would look like, when nothing is connected to pins. Here's my code based on examples: #include <stdio....
pawrok's user avatar
  • 43
0 votes
0 answers
307 views

I have been trying to read values from two potentiometers connected to channel1 and channel2 in ADC1 and read the values through UART in a serial Terminal,but unable to do it. It either comes random ...
Ax111_'s user avatar
  • 9
0 votes
1 answer
1k views

I'm trying to read two ADC channels sequentially from my STM32F407ZGT6 using DMA. I'm just trying to get the values from two potentiometers independently on each channel. Although the program doesn't ...
mgmussi's user avatar
  • 574
0 votes
1 answer
1k views

I want to read data from AD7124-8 with arduino Due via SPI. I found several libraries, but i dont get anything back from my ADC modul. By using an Oscilloscope i made sure my Arduino sends data via ...
Onza01's user avatar
  • 3
1 vote
3 answers
719 views

Good morning, I am using the ADC1 of a dsPIC33EP512GM604 and getting incorrect converted values. To check this I made a cycle of 10 consecutive sampling/conversions. The first value is always quite ...
Guille's user avatar
  • 472
0 votes
0 answers
147 views

I am learning to use MSP430 FR5994 for microcontroller development. I wish to measure an external voltage using the built in ADC, the external voltage is in the range of 2.2V to 3.3V. The reference ...
SouthStar's user avatar
0 votes
1 answer
317 views

I am trying to know the status of MCP3424, either it is connected or not to the master STM32 with defined address 0x68. The ADC module gets connected with the Arduino in same address but using STM32, ...
Prashant Waiba's user avatar
4 votes
0 answers
286 views

I have a High Precision AD/DA board from waveshare with Raspberry Pi 3B (running on Raspbian). With this setup, I get a sampling rate of above 20KPS at my terminal display. However, I can write only ...
Varun Dhankhar's user avatar
0 votes
2 answers
2k views

is there any way to use the ADS1115 with a raspberry pi pico?, I'm in the middle of a project where I need 4 analog inputs but the pico only has 3, I'm using circuit python btw... any help is ...
Strimis 10's user avatar
0 votes
1 answer
1k views

I am currently working on a project about "Digitization of sensor signals". The sensor signal is to be digitized with an ADC and passed on to the PC via an interface, e.g. USB or Ethernet. ...
FMech's user avatar
  • 1
0 votes
1 answer
859 views

i am using the Nucleo64 STM32F446 board and i am trying to read out 3 temperature sensors with the polling method and via DMA but with both methods i can get only 1 correct value. The voltage at every ...
Ruffy's user avatar
  • 27
0 votes
0 answers
231 views

So I am trying to read data from a strain load cell, which has a 2mV/V output, using the INA128P amplifier and LTC1296CCN ADC. The ADC datasheet states it works in half duplex operation and suggests a ...
Νίκος Χαλκιάς's user avatar
0 votes
0 answers
190 views

I have a number of issues with stm32g491cet6. When using the ADC interrupt, it remains in an infinite loop. When using the HAL_Delay () function, an infinite loop also results. The code is simple and ...
vsa's user avatar
  • 1
0 votes
1 answer
233 views

I'm trying to read internal temperature of an ADC (ADS1235 from Texas Instrument) using the Raspberry Pi Pico running MicroPython. SPI communication between Raspberry Pi Pico and ADC works (I used an ...
Jakobs's user avatar
  • 1
0 votes
1 answer
600 views

I am trying to configure a PIC24FJ256GB412 to use the SPI interface with an ADC module(ADS114S08). And now, I can view data by oscilloscope(by measuring the SDI pin). But the SPI1BUFL didn't receive ...
John Jhong's user avatar
1 vote
1 answer
4k views

I'm using CubeIDE for development. I'd like to sample an analog pin with a consistent sampling rate and I'd like that sampling rate to be as high possible. Hence I configured PCLK2 to run at 72 MHz, ...
Cosinux's user avatar
  • 321
0 votes
1 answer
1k views

I'm using an STM32H755 (on NUCLEO-Board) with CubeIDE and trying to set up an ADC with HAL. Without any changes to the default ADC and clock setup, the ADC goes into "error internal" state ...
DaveR's user avatar
  • 21
0 votes
2 answers
1k views

I have an ADC module with 1 MHZ sampling rate. Here is the URL of his sample program I will give him a 40khz carrier signal as an analog input. I want to write the voltage signal he received into the &...
user19104274's user avatar
0 votes
1 answer
369 views

i have a problem with getting value from ADC on the nucleo144 board. I connected a potentiometer to the pin A0, but the ADC is stuck in the HAL_PollForConversion function and returns 0 if the delay ...
JanSam's user avatar
  • 1
0 votes
1 answer
4k views

I have added ADC functionality to my Nucleo-F446RE development board. 4 channels, DMA enabled, scan and continuous conversion mode enabled, DMA continuous requests enabled, varying sample time per ...
ritchie888's user avatar
1 vote
1 answer
367 views

Could someone provide me a basic code that just implements ADC with DMA for STM32 please ? I'd like to compare it to my solution that doesn't work. Thank you.
Ats's user avatar
  • 11
3 votes
1 answer
16k views

I've been tinkering around STM32 (F103RB) for a couple of weeks now and one thing I don't get is HAL_ADC_PollForConversion function purpose. I mean, I don't see any impact of this function on ADC ...
Dawid W's user avatar
  • 67
1 vote
1 answer
4k views

How can i use micropython firmware alongside a Max9814? I have written the code below but cant hear clear voice in audacity... from machine import Pin, ADC import ustruct , time analog_value = ...
Alirezadigi's user avatar
0 votes
1 answer
1k views

I can measure signals and write in memory with DMA but speed is too slow (60 KSPS) while the ADC clock (same as system clock) is at 16 MHz.. I measure the speed but measuring a square signal at the ...
Ats's user avatar
  • 11
2 votes
0 answers
528 views

I'm using python to read in values from a high-speed 8-bit ADC (the ADS7885 linked here) and convert them into voltages using the SPI0 ports on a Raspberry Pi 4. At this point, I do receive values ...
mchammer58's user avatar
1 vote
0 answers
863 views

The program needs to take several consecutive ADC measurements without interruption and the WiFi task interferes with that, that is why the scheduler needs to be suspended. However, I get the ...
daneil's user avatar
  • 11
-2 votes
1 answer
1k views

Within a project of mine, I use DMA to share data between the two cores of the STM32H747. The data comes from an ADC controlled by the core M7. While testing my DMA, I noticed that the data stored ...
Sympathic_Cone's user avatar

1 2
3
4 5
14