Questions tagged [input]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
34 views

How to read input pin on MCP23017?

I'm working to develop a simple code for MCP23017 that I want to use to run LCD128x64. I was succeeded to set IODIRB as output and blink LED as a test. Now I want to read the pin state, but I couldn'...
0
votes
0answers
25 views

Issue with TTP223 capacitive buttons

I got some TTP223 to be able to trigger some inputs from an Arduino Nano thru a plastic cover without drilling anything (and hiding the buttons was cool so no one knows that there is functionality ...
0
votes
0answers
28 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 ...
0
votes
1answer
29 views

Arduino Due Digital Inputs without Response

On two of my Arduino Due, when connecting the pin 3.3V to any digital inputs (37,36,35,34), no serial message nor LED_BUILTIN is thrown as output, only the Test message. Digital Pins are set as ...
0
votes
2answers
71 views

Handling arduino output current

I need to power an actuator that requires 12 volts and consumes between 5 and 10 amperes depending on the weight it is charging. Therefore I bought a power supply of 12 volts and 10 amperes. My ...
1
vote
1answer
689 views

Can I use the PWM pins as regular digital input/output pins?

In regards to the arduino which has pwm pins, can I use these pins as normal input/output digital pins or not? Thanks in advance.
0
votes
0answers
24 views

Loop failure after unset amount of time

I am building an art piece that takes in input from three rotary encoders and two buttons. and outputs data to a large neopixel display and 2 large 4 digit seven segment displays. The displays are ...
0
votes
0answers
38 views

Input value constantly

The code is for a DC motor position control PID system. I need the angle I need to move to "setpoint" and change it throughout the process. Though it is only changing once and then nothing happens if ...
2
votes
2answers
2k views

How can I tell the resistance of an internal pull-up resistor?

I have a SparkFun ESP8266 Thing Dev board, to which I want to perform a digitalRead() on one of the GPIO ports. I'm using D15, and I'm configuring it for input like this pinMode(15, INPUT_PULLUP); ...
1
vote
1answer
300 views

Can Arduino accept HDMI input video stream, and output it without any modification to the video?

I'd like to know please whether an Arduino can accept an HDMI signal from a satellite receiver, let it flow without any modification to the stream, and output it to TV?
0
votes
2answers
69 views

Stacking adc's when making an midi controller ( lots of potmeters)

I'm making a midi controller with the Arduino uno. It contains approximately 50 analog inputs with potentiometers. I have enough MCP3008 adc's here but I have no idea how I connect 2 or more adc's to ...
0
votes
1answer
440 views

Arduino YUN Rev. 2 power supply

I want to connect my YUN Rev. 2 to 7.4V. I read that the older version only provides exactly 5 V at the Vin Pin. Is the Rev. 2 similar to it? I read that the power supply should be improved, but what ...
0
votes
1answer
516 views

How to avoid electromagnetic interference on ESP32 input

I've realized a simple circuit like the following, in order to implement a rain gauge that I can access via HTTP: With the following sketch: #include <WebServer.h> #include <WiFi.h> #...
1
vote
1answer
110 views

How do I connect my Luxorparts keypad to my Arduino?

I just bought a 12 digit keypad from Luxorparts and it doesn't come with any schematics showing how it's wired at all. How do I figure out how to connect it to my Arduino?
0
votes
2answers
41 views

Does a pin (input pin Arduino) still float when connected to GPIO on RPI?

I am currently testing my application on an Arduino, and I experience floating pin issues. My program reads the pin status of input pins, which are configured as pinMode(5, INPUT); digitalWrite(5, ...
0
votes
1answer
75 views

Averaging input from multiple input over a fixed amount of time (estimated)

I am trying to average input values for a number of inputs and have it then store those averages into a string to write to a txt doc on a sd card. I am using: // read 6 sensors and append to the ...
0
votes
1answer
99 views

If I use a biasing circuit for a signal going into an analog input pin, will it affect the ADC operation?

If I have a single 100Hz AC signal biased by two 1 M-ohm resistors (as per schematic below), and then output to an Arduino UNO analog input pin, with the UNO sampling at around 1 kHz using delays, ...
0
votes
1answer
57 views

attachInterrupt for mega 2560 not triggering

I recently bought a mega 2560 to toy around with as a hobby. It's pretty fun so far, but I've recently gotten stuck while trying to use attachInterrupt with a button. I'm using the CHANGE mode, and ...
0
votes
1answer
389 views

Binary addressing and coding to control a 96 input mux matrix

I’m trying to wrap my head around using binary addresses in a mux. Failing miserably. For the circuit I have six 16 channel analog multiplexers CD74HC4067 as slaves to an eight channel multiplexor ...
0
votes
1answer
342 views

4x4 matrix keypad - Multiple inputs cause extra readings

I have the following matrix keypad - I am using this as a sort of controller with my Arduino (Mega2560) but I can't get real multiple inputs to work. I am able to have say two individual keys ...
2
votes
1answer
155 views

Reading Ground/Open signal wire combonations to power specific LED's - Can it be done?

This might be a super easy question to answer. I ordered an Arduino Uno anyways for the sole purpose to understand this. Would not mind getting a jump on things before it's here. I would like to ...
0
votes
2answers
1k views

How to input text from Serial monitor into a character array? [closed]

I'm using a Mega 2560 and Uno and want to input text to the serial monitor which can be stored in character array char in[]; I want array specifically as I'll be breaking each character to trigger ...
1
vote
2answers
47 views

User interface solutions [closed]

Are there "user intefrace" solutions for Arduino based gadgets? Solutions, that is, accepted as something more or less standard by the community. I am unaware of the relevant keywords, if there are ...
1
vote
3answers
634 views

digitalRead keeps giving 1

I am new to arduino programming and I have bought arduino UNO a few days ago. I am trying to read the value of pin 4 using digitalRead with pinMode INPUT_PULLUP but it keeps giving me 1 even when the ...
-1
votes
2answers
59 views

Can I change Vcc to some other pin?

I was working on an Arduino Uno and while carrying it to my teacher the wire's pin got stuck into the Vcc of 5 V. Can I set Vcc to other inputs? If so, then how?
0
votes
1answer
54 views

Digital Inputs have gone crazy

My digital inputs are behaving as if they were floating, even though I've properly connected them with a resistor. I've tried the pull-down configuration pictured below, as well as a internal pull-up....
1
vote
4answers
292 views

Why can I measure two pins simultaneously?

I would like to do an action if both buttons on my arduino pro micro are depressed simultaneously. I'm getting some strange results: // Buttons Bounce button0 = Bounce(); Bounce button1 = Bounce(); ...
0
votes
2answers
6k views

Arduino simultaneous push button for a counter

I am a newbie with arduino. I am trying to have a counter with 3 buttons. Each Button when pressed will increase the number of counts. The counter should still count if button 2 is pressed while ...
0
votes
1answer
53 views

Simon Says Project - Can't go from random lights to user input

I'm new to using an Arduino and I am attempting the Simon Says game. Right now, I do not understand why my program will not go from activating the random lights to the user input. Currently it is ...
3
votes
2answers
86 views

just a silly doubt about glowing an LED

what will happen if i insert the anode of a LED to pin 12 and cathode of the LED to pin 11 and set pin 12 to high and pin 11 to low,will the led glow??
2
votes
3answers
3k views

How to detect if LED is switched on in external circuit using Arduino NANO?

I want to detect when an LED is powered on using an Arduino NANO. The LED is part of an external circuit. The LED uses about 1.8V. Would the circuit below allow me to detect when the LED is switched ...
1
vote
4answers
126 views

Automotive Lighting Control Module

I am looking for an Arduino-based solution for an automotive lighting application. System Requirements: Able to Operate in Automotive (Interior) Environment (12 +/- 2V DC Voltage) Minimum 3 12 V ...
0
votes
2answers
906 views

How can the sensitivity of capacitive touch sensors be limited?

I have an Adafruit circuit playground classic, and the touch-pads are so very sensitive. From a centimeter away, they trigger. I would be happy to just have regular inputs, or to have the sensitivity ...
1
vote
1answer
472 views

How do I choose proper diodes for a 74HC595 shift register with a wired OR connection?

I want to use a wired OR connection to connect some pins of the 74HC595 shift register to an Arduino Digital Input Pin. How do I choose proper diodes for this situation? Maximum rated forward current ...
1
vote
0answers
1k views

Creating Sine wave with DAC and feeding it back

I want to produce Digital Sine wave send it to DAC0 and then receive it back as input on A0 and plot the graph. I am using Arduino Due. I wrote the following code: #define maxSamplesNum 120 #define ...
1
vote
1answer
332 views

Compilation issues on Arduino Due

I wrote an code on Arduino and I getting compilation errors. I am using Arduino Due . I wrote the following code : void setup() { Serial.begin(9600); analogWriteResolution(12); // set the analog ...
-1
votes
1answer
295 views

How to write arduino code which reads the value of a flex sensor?

Since this is this the first time im doing Arduino, im really confused what the code is to: write a code which reads the value(nae the value 'flexValue') of a flex sensor connected to analog input ...
0
votes
1answer
415 views

Too low voltage on digital input on attiny45

I'm using one of my attiny's pins as digital input. I use it with a pulldown resistor. As input I use simple square wave generated by a separate waveform generator. igh state for square wave is 5V, ...
0
votes
1answer
56 views

Get when a button close the circuit

That seems to be a bit stupid to myself but I can't figure out to get to know when my button is pushed (closed) or released (open). You must know that this not just a simple push button. Actually it ...
0
votes
1answer
229 views

Arduino Yun Analog Read Problem

I am having some major issues with my Arduino Yun. When attempting to read a value from the analog pins, the Yun is giving me incorrect constant values. I have attached everything to a common ground,...
1
vote
1answer
51 views

Input-Output Circuit Issue

I have design a circuit with 2 led (red and UV) and 2 button.So, the circuit supposed to work like this: If i press the button for red led, the red led lights up and the uv led turn off, and if i ...
-1
votes
1answer
887 views

3 buttons digital inputs [closed]

I have 3 digital button inputs, I want to do a continuous scan of 3 of them until a button is pressed and to know which button has been pressed. Please help, I'm new to programming and arduino. ...
0
votes
4answers
1k views

How do I check if a password is right? (keypad input)

Im having a problem with my arduino code.Im trying to make an alarm system with a pir sensor.So when the pir activates and the buzzer starts buzzing i want to be able to type a set password in the ...
1
vote
2answers
1k views

SIM808 module restarting repeatedly

I have bought SIM808 module, everything working fine. All AT commands are giving expected response, i'm accessing it through hyperterminal. My problem is that whenever i make or receive a call or SMS ,...
1
vote
2answers
242 views

Input Capture Pin Atmel ATmega328P

I have some code that relies on the input capture timer value. I assume the timer value (as defined by the pre-scaler etc) is not affected by other code running i.e. it is updated every nth clock ...
1
vote
2answers
53 views

Make something happen on a continous input just once and for a specific amount of time

My project is very complicated, but here is a visual synthesis The input actually comes from a kinect, that detects a person position through Processing, which I connected via Serial to Arduino. ...
0
votes
1answer
5k views

Reading serial buffer taking newline character instead of user input

I am trying to compare whether the user input matches a user ID or not. When I read the input from serial, the program is taking the last character which is newline char '\n' and moving it into the ...
0
votes
1answer
309 views

Intermittent LOW reading from input pin set to INPUT_PULLUP

i have an output pin connected to a magnetic reed switch. The pin mode is INPUT_PULLUP. When the switch is closed, it connects the pin to GND and drags the pin to a LOW reading. I check the state of ...
0
votes
0answers
109 views

Safe way to setup I/O to read switch AND manipulate LEDs at the same time

I would like make educational shield for playing with Arduino, where (at least couple of) pins would be connected to grounded switches (so could be configured as INPUT, or INPUT_PULLUP a digitalRead() ...
0
votes
2answers
89 views

What is wrong with this processing code?

I have written a processing code to work along with my arduino code for the arduino UNO. In this I'm trying to control the colour of the processing window by the arrow keys. However, I'm doing this in ...