Questions tagged [input]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
35 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 ...
0
votes
2answers
53 views

Can't get actual output when, both input logic is high

I want When, light=0, ir=0 then output will pin 8 high & pin 12 low. light=0, ir=1 then output will pin 8 high & pin 12 high. light=1, ir=0 then output will pin 8 low & pin 12 low. light=...
4
votes
2answers
295 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 ...
4
votes
2answers
100 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??
0
votes
2answers
165 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
4answers
890 views

Why should a pin be set as an input if it can read input when set as output?

I recently created a circuit to read the value from two sets of buttons using only two analog pins. It involves setting one pin HIGH and reading the input on the other pin and then swapping. With both ...
2
votes
2answers
108 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-...
0
votes
1answer
1k 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
votes
1answer
23 views

Longruner Nano ATMega 328P input stays HIGH for 1s longer than the reality

I have a Longruner Nano ATMega 328P (copy of arduino nano, main difference being the USB connector, CH340 instead of the usual FT232, from what I could find using google searches). I wrote a super ...
0
votes
1answer
41 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, ...
0
votes
0answers
38 views

Why Serial.begin does not use INPUT_PULLUP on RX

Im programming esp32 using arduino framework and today i run across some noise issues on serial lines and i went to see the underlyings of the Serial.begin() method. In the execution of this function, ...
2
votes
3answers
3k views

Industrializing Arduino - 24V io? (Electronics)

I would like to make an arduino board that is capable of handling 24V i/o. Powering the Arduino would be done through either a linear or switching regulator of some sort. Low amperages, so efficiency ...
2
votes
1answer
310 views

PWM Every Other Pin Doesn't Read

Scenario I've plugged 6 pins from my RC receiver into my Arduino in order to read the incoming values. Problem I'm using Digital PWM~ pins 2-6. Oddly the Arduino only reads odd channels: 1480, 0, 1175,...
1
vote
2answers
2k views

Arduino nano getting powered through analog input?

I noticed something today. I am powering the Arduino Nano from a battery and a 5v step up converter. That works just fine and I'm getting a stable 5v output. I have a second cable coming out from the ...
0
votes
1answer
69 views

Using the LED pin for input

I have an Arduino-like device with few GPIO pins (DigiSpark clone). It is based on an 8-pin AtTiny85 IC so there are Power, Ground and six other pins, two of those six are being used for USB keyboard ...
-1
votes
1answer
28 views

Ultrasonic Sensor as Unlock Sensor

Is it possible to use ultrasonic sensors maybe HC SR04 type as unlock sensors? I'm figuring out if it can replace matrix keypad? For example 6 HC SR04 are used to be an input sensor waiting for a ...
0
votes
2answers
22 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
1answer
67 views

USB control panel with endless turn knobs

I understand that some arduinos are capable of presenting themselves as a USB HID device to a PC. I would like to use one to build a custom input controller that lets me read maybe 8 or so turn knobs ...
0
votes
1answer
44 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
1answer
28 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 ...
0
votes
2answers
1k 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 ...
-3
votes
4answers
129 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 ...
0
votes
2answers
235 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
70 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
120 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
40 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
1answer
56 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 ...
1
vote
1answer
600 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 ...
0
votes
2answers
81 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
1k 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.
2
votes
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
0answers
27 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
2answers
108 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 ...
1
vote
0answers
41 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
4k 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); ...
0
votes
3answers
819 views

How to check if a pin is set from bank?

How would you go about checking if an input pin has been set using the entire bank? I am thinking that I need to use bit twiddling with a bit mask but I have not used this enough to figure out how to ...
1
vote
1answer
587 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
1answer
698 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 ...
1
vote
2answers
367 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
1answer
153 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
84 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
120 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
124 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 ...
2
votes
2answers
21k views

Arduino: Read frequency of input from audio jack

I want to trigger an arduino from a sound from an audio jack from a mobile phone. The audio is a 1 Khz sound that the mobile will play. I want to avoid accidental triggering of the audio by testing ...
0
votes
1answer
658 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 ...
1
vote
2answers
2k 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
1answer
611 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 ...
1
vote
3answers
1k 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 ...
2
votes
1answer
183 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
2k 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 ...