Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [analog]

Electronic devices with a continuously variable signal. The term "analogue" describes the proportional relationship between a signal and a voltage or current that represents the signal.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
75 views

How to use ESP12F analog pin to read battery voltage?

I'm using an ESP12F microcontroller powered by a 3.7V battery. What I want is to get actual information about the battery's state of charge. So to know when the battery needs to recharge. To achieve ...
stanimirsp's user avatar
-1 votes
0 answers
12 views

Need advice: Safe way to measure ultra low currents with ARDUINO using CT coils during short conditions [migrated]

Question: Is this safe, or is there a better way to do it? Is there a ready made solution that can also handle shorts to protect arduino? The problem: It's primary is square wave AC. And it can go ...
Donald Hess's user avatar
1 vote
3 answers
94 views

Confusing Pinouts on MH-ET ATTiny88

I am a little bewildered about the analog pins on the Arduino ATTiny88. First of all, am I correct in thinking the functions analogRead() and analogWrite() can use either the string A0 - A7 or a ...
LesRhorer's user avatar
0 votes
2 answers
94 views

How does actually arduino measure voltage?

I am not interested into the AnalogRead() part, but rather on how he converts 5 or 2 V into a number between 0 and 1023. How does it practically do it to convert the voltage level into a number or ...
DaveTechICX44's user avatar
4 votes
1 answer
50 views

Issues using mini microphone module off AliExpress

I have been trying to get a mini microphone module with an inbuilt microphone module I got from AliExpress to my Arduino to confirm if it is working. It was a four pin microphone with pins labeled V, ...
Daniel Abayomi's user avatar
-1 votes
1 answer
2k views

Controlling a servo without the servo library

I am trying to control a servo without the "Servo.h" library.I am sending using analogWrite() some values to the servo.I know the servo takes input a continuous time signal however I dont ...
appliedSciences's user avatar
0 votes
1 answer
133 views

Why is my analog output limited to 2.7V?

I have an MKR WIFI1000 (v2.0 [Arduino:XYZ]) with a "real" analog output pin (DAC0/A0/PIN15). According to the documentation, this is a 10 bit DAC, so I assume I can write analogWrite(15, ...
Bart Friederichs's user avatar
0 votes
1 answer
231 views

AD8232 - Measuring heart rate only if USB connector is touched. Grounding issue?

TL;DR I can read out my heart rate but I have to physically touch GND of the Arduino or else the signal is just noise. Description So I've started to play around with an Arduino and wanted to try out ...
Stefan Falk's user avatar
-1 votes
1 answer
129 views

How to connect Draw wire encoder to Arduino Uno?

Hello Stack Community, I am new to Arduino, and I am trying to figure out how to connect a draw wire encoder to Arduino and collect data from it. I have attached a link of the product that I currently ...
Shiv's user avatar
  • 3
1 vote
1 answer
144 views

Why use multiple filters output thousands value, use one or two filter can output normal value?

Problem If the loop runs only one simulated pin and uses a filter, it will output normally (analog 1600~2200, filter 0~500), but creating an array to store multiple filtered simulated pin values will ...
C.SH.K's user avatar
  • 45
-1 votes
1 answer
411 views

Using Analog Pins for Power

I'd like to power something needing 5V DC using the Arduino Uno analog pins. Specifically, I'm following the "Fun Plug-in Hack for Arduino UNO" section of this Adafruit tutorial. It states: ...
armani's user avatar
  • 99
1 vote
0 answers
720 views

ESP32 WROOM32E w/ Arduino IDE 2axis joystick - how do I get a good reading?

How do I get the full range of motion from an analog joystick and the ESP32 WROOM32E using the arduino IDE with esp-idf installed? Using a 2 axis analog joystick, the 5v/3.3v pin, ground pin and the ...
localmartian's user avatar
1 vote
1 answer
110 views

Per-Arduino calibration files?

I am planning on having an array of embedded devices in my garden, and each of these is going to have its own analog moisture sensor. Each moisture sensor needs to be individually calibrated. In an ...
Matt Simmons's user avatar
0 votes
1 answer
302 views

How to transmit DTMF signal to Arduino

I'm trying to read an incoming DTMF signal through the A0 input pin. I want to do this programmatically and not with the MT8870 module. This library (https://github.com/Adrianotiger/phoneDTMF) is ...
user3080392's user avatar
0 votes
2 answers
319 views

Plug in analog sensor into digital pin

If I take an Arduino (samd21, if it matters) and plug in an analog sensor/pot into a digital pin and then set that pin to be an input, would digitalRead(#) trigger HIGH and LOW at some threshold point?...
rfii's user avatar
  • 170
1 vote
2 answers
572 views

how to config the Arduino ADC'S input on A0 instead of use default?

I am try to build this AC-DC meter, the code original used default A3 as input, how can change the input on A0? the link: https://simple-circuit.com/arduino-autoranging-ac-dc-voltmeter-with-trms/ ...
oldbin's user avatar
  • 11
1 vote
0 answers
69 views

ESP32 reading analog 2.4Ghz

Is there a possibility to analog read on the 2.4Ghz band to just read how much activity is in the presence of your device? Not parsing the messages but just listening to how strong of a signal you are ...
Roel's user avatar
  • 49
1 vote
0 answers
240 views

Proper wiring for a HiLetgo DAC to Arduino

I have been having trouble finding any recourses for a DAC chip that I bought. It is the HiLetgo PCM5102 DCA. https://www.amazon.com/gp/product/B07Q9K5MT8/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&...
Jacob's user avatar
  • 11
2 votes
1 answer
186 views

Controlling op amps amplification ratio by arduino

Is there any option how to control amplification ratio of operational amplifier by some logic signal which can be produced by arduino? I am talking about some clasic op amp like lm356 or ui741 in ...
FoksaK's user avatar
  • 65
1 vote
1 answer
313 views

send and recieve analog data from one arduino to another arduino via web/ethernet

i am able to send audio signal through mic and send it via arduino and receive it on speaker. i need two things 1.) The voice i am hearing on speaker has on speaker has lots of noise with it. i need ...
sanket jain's user avatar
1 vote
3 answers
2k views

Generate a true analog signal using Arduino

I am looking for a way to create a true analog output with the arduino uno. I am constantly reading an analog input on a0 pin, all i want to do is send the same signal as output. I know arduino ...
eToll Systems's user avatar
0 votes
1 answer
65 views

Stable amplitude of amplified signal

Is there any circuit with opamp where can be (by arduino) set constant output amplitude which doesn't depend on input signals amplitude?
FoksaK's user avatar
  • 65
2 votes
1 answer
349 views

analogRead() doesn't read more than 500Hz

I connected a wave generator to the analog pins to read the frequencies of the waves generated. I used different frequencies of sine waves with a minimum of 0V and maximum of 5V. Whenever the voltage ...
Omar Ali's user avatar
  • 121
3 votes
2 answers
669 views

Arduino measuring high-voltage electric fence

I would like to know if someone has experience with measuring high voltages using an Arduino. I know you can use resistors to lower the voltage, however. I want to be able to measure the pulses of an ...
TeD van Loon's user avatar
1 vote
1 answer
293 views

Arduino analog input to iphone notification

I need some help :) Is it even doable? Is there anyone who wants to help me program it? My wish: I want to receive a iphone notification when 1 arduino analog input drop from 5 to 0 volt. Then (...
Joepl10's user avatar
  • 11
1 vote
1 answer
2k views

How to connect an lcd i2c using only pins A0 and A1 (SDA, SCL, GND, and VCC are given)

I want to know how to connect an lcd i2c, with an led 8x8 matrix at the same time. The problem is, all the analog in pins are used, except A0 and A1. Using this tutorial: https://www.makerguides.com/...
John Doe's user avatar
  • 127
2 votes
1 answer
2k views

How to read an analog value on ESP32-CAM with the SD card reader enabled?

I use an ESP32-Cam module for a project for which I need both the SD card and the cam. According to this page, the only pins that are not in use by either the camera or the SD card reader are GPIO0, ...
Klaus Meier's user avatar
2 votes
1 answer
173 views

Analog input voltage rises when motor is working

I'm making automatic water plant system. I'm using: Arduino Uno 3.3-6V water pump -https://www.amazon.com/Vipe-Micro-Submersible-Motor-Water/dp/B01N0X3CW4 Capacitive soil moisture sensor - https://www....
marejosef's user avatar
0 votes
2 answers
1k views

How can I add a potentiometer and more buttons to my custom game controller?

I'm new to using Arduino, and know next to nothing about programming. I'm currently trying to add a potentiometer, and possibly a few more button inputs to my 3D-printed guitar controller project It ...
taj1994's user avatar
1 vote
4 answers
1k views

Can I control LED brightness with potentiometer without any code, as well as reading the potentiometer value?

I am just getting back into electronics and have started to play around with making my own button box. I am trying to control an LED's brightness using a potentiometer, while also reading the ...
HectorBart's user avatar
5 votes
2 answers
969 views

Multiple Push buttons to one input

So I am trying to use one input to control an LCD display. The goal being that once one of the buttons is pressed it delivers a message. I have watched quite a few tutorials and can get the program to ...
David Wisniewski's user avatar
1 vote
1 answer
197 views

Noise in Analog Read Serial from an instrumentation amplifier(ina122p)

I am trying to read the values from a simple EMG circuit (with an INA122P) using the analogRead() and plotting in the plotter using an Arduino nano v3. I am powering the ina1222p from the 5v pin of ...
Plutonian Fairy's user avatar
0 votes
0 answers
230 views

Triggering a Sleep Wake-up Event using analog output from a triple axis accelerometer?

I am working on a project that uses a Arduino MKR GSM 1400 and a ADXL335 Accelerometer . I am having trouble setting a interrupt wake up event on one of the GSM's interrupt-capable pin due to the ...
yurkoon's user avatar
1 vote
3 answers
200 views

Continuous voltage on IO Pins while 5V is not Connected?

i have a small project where i just sucessfully destroyed my frist of 5 Digisparks (Attiny85). In the Picture you see the Cirucit. I have 2 Liion cells connected in series to get high enough voltage ...
KidCe's user avatar
  • 11
0 votes
0 answers
288 views

Convert 1-5V to 4-20mA using Arduino

I am trying to convert 1-5V to 0-20mA which is then used to drive VFD. Actually, I want 1-5V Variable output from Arduino. I am using PWM but its output 0V or 5V depending upon the duty cycle. Is ...
usman shah's user avatar
0 votes
2 answers
817 views

Boost an audio signal for analog read - Envelope Detector

I'm working on my first Arduino project and I have a sensitivity issue. I'm building a module to listen to an audio signal and to start the power source of my speaker with a relay. Everything seems ...
Alex Dupuis's user avatar
0 votes
2 answers
613 views

Connecting two sensors to one analog pin

I am completely new to programming with Arduino so please bear with me if this seems stupid. I am using an Arduino Uno R3. I have two sensors, a Soil Moisture sensor and an LDR Light Sensor. Both ...
bobthebuilder's user avatar
1 vote
1 answer
4k views

DHT11 analog or digital?

I saw some projects with DHT11, some connect it with analog pin, others connect with digital pin. Is there any difference / advantage connecting to the analog?
wesWWW's user avatar
  • 13
0 votes
1 answer
2k views

How to find the peak value of analog signal?

I have a question .. Please help me I don't know how Arduino can read the peak value of the sensor signal. The value I want is in the ADC value .. What I want is ... for 5 seconds there will be 1 ...
Apridho Rozaqy's user avatar
1 vote
0 answers
225 views

Can't figure out source of interference reading 10k POTs with 74HC4051

I realize this gets asked a lot, but I feel like I've applied the most common fixes without success. I have 10 10k potentiometers plugged in to an arduino via a custom shield. 2 are wired directly to ...
mrpeverill's user avatar
2 votes
2 answers
386 views

ADC register always returning high

Regardless of whatever voltage at A0, the software is always returning high (1023) volatile unsigned char* ADmux = (unsigned char*) 0x7C; volatile unsigned char* ADCSRa = (unsigned char*) 0x7A; ...
ClockwerkSC's user avatar
1 vote
1 answer
312 views

How to Measure many voltages (Uno) - Analog extenders a good option?

I am trying to make a battery capacity tester (3.7v li-ion 18650 battery) using arduino uno. If possible i'd like to test 20 or more batteries at the same time. I need to measure the voltage of each ...
Maarten -Monica for president's user avatar
0 votes
2 answers
1k views

Is AREF a stable output Ref voltage with analogReference(INTERNAL)

I'm using an analog input on a NANO board to measure the midpoint between two photo resistive (Cadmium) cells, with the two outside ends tied to GND and a source voltage. Basically a simple voltage ...
Randy's user avatar
  • 407