Skip to main content

Questions tagged [digital]

Digital refers to signals which are either on or off (high or low, one or zero). This contrasts with analog signals which have a range of values.

1 vote
1 answer
160 views

Digital Pot with Arduino

I am a newbie in electronics. Please correct me if I am wrong. I am replacing a pot with a digital pot (DS3502) in a circuit. The Vcc of the circuit is 12V. But the digital pot can have a maximum of 5....
Teena's user avatar
  • 23
1 vote
1 answer
181 views

Inconsistent results when reading input looking for spike patterns

I'm writing a library that will interface with a control unit on a refrigerator compressor pump (QDZH35G). One of the features of the control unit is that it can detect what problems it's encountering ...
Justin's user avatar
  • 119
1 vote
0 answers
148 views

Digital potentiometer DS3502 question

I am using adafruit DS3502 breakout board for arduino. When I follow procedure written in https://learn.adafruit.com/ds3502-i2c-potentiometer/arduino My serial display shows correct voltage values. My ...
adeel asif's user avatar
1 vote
1 answer
183 views

Fast digital IO

I have a device programmable via an 8 bit digital parallel bus. I would like an Arduino to translate from a parallel 4 bit output of an existing device to 8 bit by intentionally reducing the ...
P. Egli's user avatar
  • 121
1 vote
2 answers
118 views

How to increase pinout switching?

Consider this code: void loop() { digitalWrite(pinTest, HIGH); digitalWrite(pinTest, LOW); } On an Arduino Mega 2560, running 16MHz (=0.06us), I would expect the width of the pulse to be ...
Bart Friederichs's user avatar
1 vote
2 answers
1k views

Rotary encoder weird values

I am trying to understand this rotary encoder I have, but it makes no sense to me. I am using this rotary encoder: https://www.amazon.com/gp/product/B07DM2YMT4/ CYT1100 aka CY110 aka EC11 I am using ...
John's user avatar
  • 123
-3 votes
1 answer
2k views

If Arduino digital pins can be used as power supply pins then why do we need VCC pins? [closed]

If Arduino digital pins can be used as power supply pins then why do we need VCC pins? VCC pins work the same as digital outputs , don't they? So why do we still need VCC pins to power components
Nathan Francisco-Ribeiro's user avatar
0 votes
3 answers
171 views

Cannot read LED state

I am running into a problem on a very basic functionality. I want to read the state of an LED. I have confirmed that under the specified circumstances, the LED receives 1.9V. I try to read its state ...
user1584421's user avatar
  • 1,435
0 votes
1 answer
753 views

Adjusting Threshold for Digital Pins

I am working on a project using Force Sensors to build a keyboard for MD patients. I have connected the sensors (each with 4 input pins) to digital pins to Arduino Due. I want to adjust the threshold ...
baraah baryhe's user avatar
1 vote
0 answers
186 views

HOW convert momentary button to touch sensor TTP223?

I am trying to convert this project https://maker.pro/arduino/projects/simple-fm-radio-receiver-with-arduino-uno-and-rda5807m to 3 touch sensors TTP223. But so far my new code don't work. Please can ...
massimo's user avatar
  • 11
1 vote
0 answers
92 views

Transfer a single pulse from Tektronix function generator to Arduino UNO

I have set up a single pulse (width of ~400 ms) using the burst feature on the Tektronix AFG3102 function generator and I want to transfer this signal to the digital pin of Arduino UNO. Essentially I ...
Nikan's user avatar
  • 11
2 votes
0 answers
202 views

Arduino Micro digital output pins floating / high Z

so i recently got an arduino micro for a project needing the control of two stepper motors with the A4988 driver. previously i was prototyping on an arduino uno and everything was working fine, but on ...
StanberyTrask's user avatar
2 votes
1 answer
2k views

How does Arduino Servo.h library manage to output PWM when a Servo motor is connected to a non-PWM pin? [duplicate]

While learning more about Servos, the main thing i have learned is that, Servos (SG90) need PWM signal with the frequency of 50Hz. And the duty cycle of the frequency is used to rotate the angle of ...
CoderBittu's user avatar
1 vote
2 answers
167 views

Digital Pins Question

I am new to the world of Arduino and need a little bit of help. I have an Arduino Uno and I am trying to supply 5V to an actuator using the digital pins. It is my understanding that the board I have ...
Jessica Den Haese's user avatar
0 votes
2 answers
395 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?...
rfii's user avatar
  • 170

15 30 50 per page
1
2 3 4 5
9