Questions tagged [input]
The input tag has no summary.
127 questions
-2
votes
1
answer
181
views
Controlling Vintage floppy drives
After researching a solution to a problem I want to solve, I'm hoping the third time posting is a charm. :)
I'd like to use an Arduino to control a vintage floppy disk drive. I'm looking to use it as ...
0
votes
1
answer
496
views
Interfacing 8 ohm speaker ouput with ESP32
I'm trying to use an ISD1820 recording module with the ESP32, except I want to store the recordings and send them over Wifi rather than playing them back. The ISD1820 has an output for an 8-ohm ...
2
votes
0
answers
117
views
How to show repeated result on LCD while button is pressing
my results are here.
0 press--"a"
1st press--"b"
2nd press--"c"
3rd press-- still showing "c"
When button pressed 3rd time, It must be repeated to show "a&...
2
votes
2
answers
107
views
Looking for a very simple board
I’ve worked with esp8266/esp32 boards in the past and they were great. But now I have a very simple project where both of these are way too powerful.
I want to read one analog input over USB per COM. ...
3
votes
1
answer
714
views
Input Oscillating Wildly
I'm trying to read an input from a switch but instead of getting 0 and 1 for closed/open, I'm getting 0 and a rapid series of 1s and 0s. Originally I tried (and failed) to simply read a rotary encoder ...
2
votes
2
answers
83
views
How do I fix my code so that it reads text from the serial monitor?
I have created a code that should print out "Enter true to deactivate alarm" in the serial monitor, then store the user's answer and print "alarm off" if they enter true and "...
0
votes
1
answer
157
views
Drum game controller - Problem with Piezo inputs [closed]
I currently try to build some Drums for the game Clone Hero. The problem that I have is that I can't use both of my Piezo inputs that I have hooked up at the same time.
I have a Arduino Pro Micro and ...
1
vote
0
answers
114
views
Serial communication problems
When I run this script serial communication just stops after a random period of time. There is no error it just stops outputting data and does not respond to inputs in IDE. Does anyone know a fix for ...
0
votes
1
answer
584
views
What is happening when digitalWrite(pinname, LOW) is invoked after pinMode(pinname, INPUT_PULLUP)?
I read the Arduino official docs on digitalWrite and am confused about what is happening from an electrical perspective when digitalWrite is invoked on INPUT_PULLUP pins.
Say my code says this:
...
4
votes
4
answers
3k
views
Why am I receiving random input values in my Arduino?
I want to use a switch for my Arduino using digitalRead(), but I keep receiving random inputs. Whenever I connect energy to that pin, it always returns HIGH, but otherwise it goes completely random.
I ...
1
vote
1
answer
64
views
Unable to make a really basic sketch work
I've been learning how to encapsulate my code within functions, and one of the examples I worked on is a simple INPUT_PULLUP button. When I upload the sketch from the arduino website everything works, ...
1
vote
1
answer
323
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 (...
0
votes
2
answers
263
views
Turn on relay for amount of time by continuous input
I have a project having two input status
first the input is not continuous the output buzzer relay will be on for 10 seconds and then turned off or it can be off directly by push button
the second ...
2
votes
2
answers
6k
views
Measure the time between 2 inputs
I am making a small project, and for that, I need to measure the time between 2 inputs.
basically, a program to measure the time elapsed from when digital pin 2 is high to when it again becomes high.
0
votes
1
answer
237
views
Attiny85 Clone Cannot set P1 to input [closed]
Everything i read about the chinese Digispark attiny85 clones says you can use p0-5 as digitlal I\O (p5 as after fuse reset)
Simple test code for a button will not let me use P1 as an input tied to a ...
2
votes
2
answers
437
views
Plotting data from Arduino and using the serial monitor in parallel
I'm very new to the Arduino world so bare with me.
I would like to plot live data that I receive from my arduino. I use the Serial Monitor to read user input, show text, etc.
The only way I found to ...
2
votes
1
answer
82
views
Input state is stuck HIGH when function called using input also uses same input to call another function
I'm writing a choose-your-own-adventure style project for a class project. My Arduino Uno is set up with a 16-digit LCD display and two pushbuttons with pulldown resistors. I'm wanting each function ...
-1
votes
2
answers
54
views
Certain componenet does not seen to respond when given voltage
I am using a part off an electronics set I got a long time ago. It is off a electronic set called
snap circuits rover deluxe
Its a disc launcher and I have wired it to how it seems to want to be ...
3
votes
3
answers
7k
views
How to wire a three-pin on-off-on switch for reading input?
I would like to read the output of an on-off-on switch with my Leonardo board, but I have very little knowledge of electronics and don't know how to wire it up.
This is the switch in question: E-...
1
vote
1
answer
76
views
Is it possible to exit a loop on the change of an input state?
I would like to exit a particular loop if the state of an input changes from LOW to HIGH. This is the current loop:
void brakeFade() {
pixels.clear();
pixels.setBrightness(255);
pixels.fill(16711680, ...
1
vote
2
answers
51
views
Generate 5VDC signal when external sensor input changes from high to low
I am new to arduino. I have a project in which I need an arduino to generate a +5VDC signal in response to a change of status, (high/5VDC To low/ground) from an external source.
The external ...
0
votes
1
answer
405
views
How to code an arduino to execute a particular code using a slide switch
I’m pretty new to arduino. I need help concerning a project I’m making. I’m using a SPDT slide switch to switch between what code(method) should be executed.i.e when I shift the switch to the left, ...
1
vote
1
answer
53
views
What is the name of a peripheral which reads servo output data physically?
I know the title is phrased terribly, but I'm not sure how to phrase it since I'm not sure of the name.
I have a servo, that I cannot connect to, except for the output spine/shaft (physically). I ...
-3
votes
4
answers
348
views
How should I connect 5 buttons to arduino so that I can use the least number of inputs all the buttons are connected to ground
The problem here is that I want to connect 5 input buttons to an Arduino but I do not want to utilize 5 input pins of Arduino, is there any matrix like connection using which I can reduce the number ...
1
vote
0
answers
656
views
Not Able to get INPUT_PULLUP pinmodes to work on multiple pins
I am working with an Arduino nano, and ic2 128x32 OLED display and a 1x4 membrane keypad. Problem is that only one of the 4 pins are detecting the button press. it's not the Arduino, I already was ...