Questions tagged [adc]

Analog Digital converter

Analog Digital converter is a converter that convert analog voltages to digits

197 questions
13
votes
4 answers

Does ADC conversion to a voltage rely on the actual value of the +5 V pin?

Questions: Does the conversion of the ADC count to voltage depend on the actual voltage of the +5 V pin? If yes, what is the accepted method of getting that voltage from the board? Background/Detail: I have a circuit in which I have an Arduino…
Caribou
  • 233
  • 3
  • 10
8
votes
2 answers

Why analogue pins affect each other?

I have a sensor and it generates an analogue signal. I am reading all analogue data and sending it to my computer. uint8_t sensors[] = { A0,A1,A2,A3,A4,A5,A6 }; const int len = sizeof(sensors) / sizeof(sensors[0]); void loop(void) { for (size_t…
erow
  • 215
  • 3
  • 5
6
votes
2 answers

Using SPI without driving MISO

I am developing an application where an Arduino Pro Mini communicates with a 12-bit ADC over SPI. The communication is one-way, meaning that the ADC will only send data back to the Arduino, not receive any. The MOSI pin is therefore not required in…
Fulcrum
  • 61
  • 1
  • 4
5
votes
2 answers

What will happen if I set ARef to 3.3V and try to use adc connected to 5V

What will happen, if I try to measure voltage higher than ARef? For example, my ref is 3.3V, and I try to measure 4.5V. Will it damage adc?
Etwus
  • 153
  • 4
5
votes
4 answers

How to keep accurate millis() while using ADC_sleep mode?

millis() uses timer0 (linked to CPU clock) to count time, but ADC_sleep mode stops the CPU clock, therefore millis() will drift (lag behind) after each ADC conversion performed in ADC_sleep mode. With the standard number of CPU cycles needed for the…
FarO
  • 339
  • 1
  • 4
  • 16
4
votes
3 answers

Powering the Arduino with a battery and reading the battery voltage

I am trying to display the battery voltage as it is being used to power the Arduino. I have tried powering the Arduino through the USB and the battery voltage is read accurately when compared to the multimeter reading. But when the battery is…
acho
  • 43
  • 4
4
votes
1 answer

Using an External ADC with Arduino

For my project I have to measure a signal of the order of few microvolts. As we know the least an Arduino can measure is ~5mV, due to its 10bit ADC and 5V reference voltage. A solution to this problem can be to use an external ADC (16bit, I…
ANUPAM BISHT
  • 73
  • 1
  • 1
  • 6
4
votes
1 answer

Speed of built in DAC/ADC in Arduino Due

Can someone tell me how fast the built in DAC (and ADC) in an Arduino Due can be written or read? I currently don't have the equipment to measure but need the information to plan my next steps. I try to move galvanometer mirrors and want to make…
FooTheBar
  • 192
  • 1
  • 1
  • 7
4
votes
2 answers

Arduino constant clock output

I am controlling an ADC with my Arduino Uno. I would like the clock of the ADC to be the same frequency of the Arduino. Is there any way that I can have a constant clock output from one of the Arduino pin ? Thanks, Liam
Liam F-A
  • 43
  • 1
  • 1
  • 3
4
votes
2 answers

Usefulness of measuring 0v using ADC

I'm looking at the datasheet of the ATMega328, and I see the different channels you can select for AD conversion. ADC0..7, ADC8 (temperature), 1.1V (VBG), and lastly 0V (GND). What would be the use of measuring 0V? Would it ever result in a…
Gerben
  • 11,332
  • 3
  • 22
  • 34
3
votes
1 answer

ESP32 ADC <-> WiFi issue

I'm using the ESP32's ADC1 (not ADC2, which conflicts with WiFi functionality) to capture some analog data received at IO36 (an ADC1 port). As soon as I uncomment the WiFi.mode(WIFI_AP_STA) line (even when the WiFi.begin() line is still commented…
AKTanara
  • 191
  • 6
3
votes
1 answer

micros() resolution for Portenta H7

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 there any way to measure or look for that
3
votes
1 answer

What is the maximum "wattage" can be pushed into an ATMega328 ADC pins?

I was doing some Ohm's Law calculations to calculate the voltage output from a 2-resistor voltage divider, the input will be with a maximum of 12 volts, I want the ATMega328 to measure that voltage, so I simply thought of putting two resistors in…
Shams M.Monem
  • 216
  • 2
  • 9
3
votes
1 answer

HX711 - Inconsistent Readings

simulate this circuit – Schematic created using CircuitLab Wiring is based on the scheme presented below - (Reference: https://electronics.stackexchange.com/a/174580) I am using Arduino Mega 2560, HX711 and four load cells to build a weighing…
PSharma
  • 31
  • 1
  • 3
3
votes
1 answer

ESP8266: system_adc_read_fast() always gives 1024 as output

I need to use system_adc_read_fast (uint16 *adc_addr, uint16 adc_num, uint8 adc_clk_div) to get a sampling rate close to 100 ksps. I am able to achieve that using adc_clk_div = 32. However, when I print out the values stored in adc_addr, I always…
Ashish Ranjan
  • 455
  • 1
  • 5
  • 15
1
2 3
13 14