Questions tagged [arduino-uno]
The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.
8,148 questions
0
votes
0
answers
45
views
PIR sensor gives high voltage [closed]
I wanted to test my new PIR sensor but it always shows the LED high voltage. Please tell me what to do?
code:
const int pirPin = 2; // пин pir датчика
const int ledPin = 13; // пин диода или ...
-2
votes
0
answers
33
views
Controlling a gear motor turn a valve handle [closed]
How to make the gear motor to turn only from 0 degrees to 90 degrees and back to 0 degrees?
-2
votes
1
answer
72
views
NEMA 17 with A4988 Runs Smoothly During Code Upload but Moves Erratically Afterward [closed]
Problem Description:
I'm controlling two NEMA 17 stepper motors with A4988 drivers and an Arduino Uno. I'm experiencing a peculiar issue where one motor runs perfectly smooth during code upload but ...
0
votes
0
answers
52
views
Trouble connecting Uno + ESP8266 to Wifi
I am trying to build a simple project to get data from a web server and display it, using an Arduino Uno R3 clone with integrated ESP8266 wifi.
What I have so far:
The ESP8266 attempts to connect to ...
0
votes
1
answer
44
views
Is there a c++ library for the GitHub API and Arduino compatible?
I'm logging some data using an ESP32 board, and I need the data logged to be uploaded from the ESP32 to one of my repositories on GitHub.
Are there any C++ libraries for the GitHub API compatible with ...
0
votes
1
answer
42
views
Sketch Upload Fails -USB bus damaged?
My desktop computer abruptly started failing to upload sketches to the Arduino UNO (a smd "Make: Special Edition" board) I've been working with for the last few weeks. The sketch compiles ...
0
votes
1
answer
56
views
L298N Motor Driver works only for a single direction
I'm using a L298N motor driver with an UNO and when I try to run a motor few seconds for forward and few seconds backward, it will only move for a single direction and remain still in the second ...
0
votes
1
answer
95
views
Ultrasonic sensor showing random readings
I am using a HC-SR04 ultrasonic sensor to measure the distance using an Arduino Uno. When I run this code which is worked perfectly in the previous, it only shows just random readings in the serial ...
1
vote
0
answers
53
views
Why LoRa Ai Thinker 433Mhz doesn't go in Receive mode after we send ACK? [closed]
So basically I created a simple Receiver and Transmitter using Two Lora Ai Thinker 433Mhz (Sx1278). I am using Esp8266 with one Lora (as transmitter). It sends packet when we press button. On Receiver ...
0
votes
0
answers
57
views
Arduino R4 Minima, trigger function being bypassed?
I am running a trigger function in a while loop in setup that takes in 3 analog inputs, checks if they are within a certain range, then outputs true if they are, false if none of them are.
The code I ...
-1
votes
1
answer
111
views
Difference between using GND and digital LOW for 7-segment display pin
I am using this 4-digit 7-segment display.
So my circuit is basically 220 ohm resistors for all the segments (display pins 6 through 16 on the bottom each go through a resistor before going to a ...
-1
votes
2
answers
142
views
I need more free memory on my Arduino. What can I do if I don't want to use float? [closed]
I realize that using float results in loading all or at least parts of the floating point library, which consumes a significant amount of memory.
How can I avoid using float?
-2
votes
1
answer
81
views
How do I change what variable I am changing based on a separate number?
I am trying to change thing2 if I input 0, and thing3 if I input 1. I don't want to just have if/else to determine if I should be changing thing2 or thing3 because I want this to be more dynamic than ...
-1
votes
1
answer
77
views
Replace bootloader in ATTiny88
There are other threads about replacing the bootloader on Arduino boards, but the ATTiny88 seems to be rather a different beast. Instead of creating a serial port and sending the compiled code to the ...
0
votes
1
answer
127
views
Stepper motor not moving
this is my second Arduino project and I am trying to figure out why my stepper motor is not moving. I was able to get a basic 28byj-48 stepper motor to work using stepper.h and some sample code.
Now I ...