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.

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.

46 questions
5
votes
2 answers

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 work sometimes. Yet, it is still pretty buggy…
4
votes
1 answer

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, L, and two G pins. The V represents voltage in…
3
votes
2 answers

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 electric fence used to prevent farm animals from…
TeD van Loon
  • 254
  • 1
  • 8
2
votes
1 answer

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 basic inverting or non-inverting circuit (i would…
2
votes
1 answer

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 is greater than 2.5V, I made one of the digital…
Omar Ali
  • 121
  • 2
2
votes
1 answer

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, GPIO2 and GPIO16. However, I need to read an…
2
votes
1 answer

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 -…
marejosef
  • 21
  • 2
2
votes
2 answers

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; volatile unsigned char* ADCSRb = (unsigned char*)…
ClockwerkSC
  • 45
  • 1
  • 4
1
vote
3 answers

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 decimal number as inputs? Since I need to use the…
LesRhorer
  • 115
  • 8
1
vote
1 answer

Obtaining wrong analog readings using the ESP32 devkitc v4

I know that the topic is not related to Arduino, but I am completely sure that someone can help me find the problem. I am testing 6 temperature sensors, (3 digital, 3 analog). The digital ones are "DS18B20" which I trust, the analog ones are…
KamelK
  • 19
  • 1
1
vote
1 answer

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 cause problems, and the output will be abnormal…
C.SH.K
  • 45
  • 6
1
vote
0 answers

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 following code. I do not get the correct results…
1
vote
1 answer

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 ideal world, I would have the same software on each…
Matt Simmons
  • 127
  • 2
1
vote
2 answers

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/ Thanks for…
oldbin
  • 11
  • 2
1
vote
0 answers

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 getting on a specific bandwidth? All information…
Roel
  • 49
  • 8
1
2 3 4