Skip to main content

Questions tagged [adc]

Filter by
Sorted by
Tagged with
1 vote
1 answer
91 views

The maximum ADC sample rate for the '328p, using the default prescaler of 128, is given as roughly 10000 samples per second. Maybe I've missed it, but I can't see whether that is the total rate for ...
Jim Mack's user avatar
  • 269
0 votes
1 answer
114 views

I have two RFP602 sensors that I use. One connected to GPIO2, the other to GPIO4, each connected to a 1Mohm resistance. The sensor connected to GPIO2 reads the data how I want it, I have to press a ...
Toderita Teodor's user avatar
1 vote
3 answers
216 views

edit So then, AREF can only output a voltage when used by the ADC, but not when used by the AC. That is what I sense all your answers are pointing at, yet none has it black on white. My questions ...
kellogs's user avatar
  • 136
1 vote
0 answers
83 views

I'm trying to read from an analog mic with a sampling frequency of 10 kHz and transmitting the data over BLE on Arduino Nano 33 BLE Sense Rev 2. The MCU reaches that sampling rate with no problem but ...
Itay Pachelbel Jacob's user avatar
1 vote
1 answer
295 views

Disclaimer: I have asked questions about this project before but this is yet another issue I'm facing. What I really want to do: Build a battery powered device with 6 colored buttons. When you press ...
boop's user avatar
  • 191
2 votes
1 answer
278 views

Here I asked about how to add an hysteresis on ADC readings. The answer received was very good and it worked out of the box. Still I'm having troubles trying to generalize the resample function in ...
Mark's user avatar
  • 393
-1 votes
1 answer
429 views

I am working with a ESP32-C3 devkit. I am using the internal ADC on that chip to read from an analog microphone. I initialize the ADC like this: adc_continuous_config_t dig_cfg = { .sample_freq_hz ...
Alex Flint's user avatar
1 vote
1 answer
779 views

I am working on a project and I need an AD7768-1 library to make this analog-digital-converter talk to my Arduino using SPI. " The AD7768-1" doesn't exist in Arduino's library. Thanks in ...
Jaafar AIT M'BAREK's user avatar
2 votes
1 answer
301 views

I'm trying to make a mildly accurate oscilloscope using Arduino Uno R3 and I've done some research on the best method to do so. First of all I need to measure the voltage with a rather high sampling ...
infinite's user avatar
-1 votes
1 answer
374 views

I am looking for a very low frequency application like below 300Hz. What is the minimum sampling rate in Arduino due? I am very new to this. I see in the datasheet that max sampling rate is 20MHz.
Nimasha Pilippange's user avatar
1 vote
0 answers
174 views

How do I trigger automatic conversion on the ADC on the DUE? If this was the uno, I could just do sbi(ADCSRA,ADATE); sbi(ADCSRA,ADSC); but for the due, I seem to have to use adc_configure_trigger(ADC,...
user1402154's user avatar
1 vote
1 answer
126 views

what are the possible sampling rate the user can set in Arduino pro mini using ADCSRA registers. I want to set my desired sampling rate through registers, is it possible?
varman's user avatar
  • 21
0 votes
1 answer
265 views

I know we can connect 4 ADS1115s to an Arduino Mega 2560. Is there any limit on the number of ADS1115s we can connect to the Mega giving each a different address? I have to connect at least 36 ...
Waqas Wani's user avatar
1 vote
1 answer
611 views

I have no experience about serial communications, with that being said; I have two circuits isolated from each other and each have a ATMEGA8 reading a voltage on their ADC. I want one of them to send ...
ElectronSurf's user avatar
1 vote
0 answers
2k views

I am in a situation close to: Hi-speed external ADC But with 100,000 ~ 500,000 samples per second, I don't need more. I only want to detect changes in 2 sensors, so each loop is only an "...
user1814720's user avatar
1 vote
1 answer
2k views

I'm not sure why this has been so difficult for me, but I'm trying to control the acceleration of a 10v DC motor with an Arduino UNO and an L298n H-Bridge. Using a 12v regulated power supply to power ...
zRockafellow's user avatar
1 vote
1 answer
153 views

I am trying to choose a wire encoder for my project. So far, I found this wire encoder (see link). Assuming the measurement range of my cylinder is 1 m. Then, with a 10 bit ADC converter of my Arduino ...
Joe's user avatar
  • 113
3 votes
1 answer
374 views

Is there any way to know the resolution of micros() for the Arduino Portenta H7. I have checked for other boards e.g. Nano which is mentioned as 4 uS. However, I couldn't find one for Portenta H7. Is ...
Basit Ali's user avatar
0 votes
2 answers
2k views

I wanted to have your comments about one of my questions. I am currently working on the sketch for the Arduino Portenta H7. However, due to my poor electrical background, I would like to ask your ...
Basit Ali's user avatar
2 votes
1 answer
2k views

I am working on storing data from Portenta H7's ADC through a high sample rate (>100kSa/sec) per channel. I am using 2 ADC channel for my work. Through the forum, I learned that the serial. print ...
Basit Ali's user avatar
0 votes
1 answer
689 views

I'm looking for the Library of the ADC MCP33121 for Arduino UNO or functional code, I don't have enough tools for testing so I'd like to get some code already tested. I appreciate any help. Thanks... ...
joshua andres blanco jerez's user avatar
1 vote
1 answer
358 views

I have a basic code about reading true rms.I compiled the same code with arduino ide and atmel studio, then ran it in a proteus simulation.I'm trying to measure how long the read_rms() function takes. ...
harun caliskanoglu's user avatar
2 votes
1 answer
2k views

I'm using ESP8266 at speed of 160 MHz to record ADC results into SD card, I need to do this at rate of 8 KHz. Means that i should save it on the SD Card or i'll run out of memory before 4 Sec passes. ...
A.R.S.D.'s user avatar
  • 151
2 votes
1 answer
1k views

float get_volt() { rawVolt = analogRead(voltageSensor); vOUT = (rawVolt * 4.6) / 1024.0; vIN = vOUT / (R2/(R1+R2)); //if(vIN>12.0){vIN=12;} //if(vIN<11.12){vIN=11.12;} //return (vIN -...
Aditya Singh's user avatar
2 votes
2 answers
1k views

I'm working on a simple ADC project, the goal is to adjust the on/off of the LEDs according to the binary reading (1-on,0-off). I've tried this with 8 bit, and it works as intended. But on 10 bit, two ...
Kenj's user avatar
  • 31