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 vote
1 answer
76 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 ...
user avatar
  • 45
-1 votes
1 answer
29 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: ...
user avatar
  • 99
1 vote
0 answers
68 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 ...
user avatar
1 vote
1 answer
74 views

Per-Arduino calibration files? [closed]

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 ...
user avatar
0 votes
1 answer
50 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 ...
user avatar
0 votes
2 answers
182 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?...
user avatar
  • 170
1 vote
2 answers
214 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/ ...
user avatar
  • 11
1 vote
0 answers
26 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 ...
user avatar
  • 49
1 vote
0 answers
69 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&...
user avatar
  • 11
2 votes
1 answer
81 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 ...
user avatar
  • 55
1 vote
1 answer
130 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 ...
user avatar
1 vote
3 answers
753 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 ...
user avatar
0 votes
1 answer
48 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?
user avatar
  • 55
2 votes
1 answer
162 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 ...
user avatar
  • 121
3 votes
2 answers
247 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 ...
user avatar
1 vote
1 answer
126 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 (...
user avatar
  • 11
1 vote
1 answer
481 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/...
user avatar
  • 127
2 votes
1 answer
808 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, ...
user avatar
2 votes
1 answer
87 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....
user avatar
0 votes
2 answers
434 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 ...
user avatar
1 vote
4 answers
473 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 ...
user avatar
5 votes
2 answers
552 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 ...
user avatar
1 vote
1 answer
122 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 ...
user avatar
0 votes
0 answers
138 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 ...
user avatar
1 vote
3 answers
139 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 ...
user avatar
  • 11
0 votes
0 answers
130 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 ...
user avatar
0 votes
2 answers
423 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 ...
user avatar
0 votes
2 answers
298 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 ...
user avatar
1 vote
1 answer
2k 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?
user avatar
  • 13
0 votes
1 answer
909 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 ...
user avatar
1 vote
0 answers
161 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 ...
user avatar
2 votes
2 answers
289 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; ...
user avatar
1 vote
1 answer
138 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 ...
user avatar
0 votes
2 answers
834 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 ...
user avatar
  • 321