Skip to main content

Questions tagged [arduino-uno]

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

How to read my Three button inputs

I am creating a 3 person reaction time game but i would like to be able to read all three buttons proximity to zero. currently only the winner is displayed on the serial read. here is my code. int ...
ggamalero05's user avatar
-1 votes
0 answers
30 views

AltSerial & Serial not working together

I have a product on the market that has two arduinos connected by I2C, along with other I2C devices. One is master, the other is slave. On the slave Arduino, I am running atlserial, which I believe is ...
PreppComm Amateur Radio's user avatar
0 votes
0 answers
18 views

Homodyne that turns on or off a light [closed]

this is my first post to this forum asking for assistance. If I need to move this post somewhere else please let me know. I am attempting to run a homodyne based program that detects a signal range ...
Dave W.'s user avatar
0 votes
1 answer
25 views

implementing wireless communication between 2 arduino uno

i want to make 2 Arduino uno boards at distance less than 2 meters communicate wirelessly but the problem with nrf24l01 module that it consumes to many digital output pins can any one suggest a method ...
Omar Gamal's user avatar
-1 votes
0 answers
15 views

Combining dht11, mq135, max30100 in arduino uno. No readings from max30100

the combined code for all sensors dht11, mq135, max30100 dht11 and mq135 combine works max30100 works separately but not when combined #include <Adafruit_Sensor.h> // Include library for LCD ...
who16's user avatar
  • 1
-1 votes
0 answers
21 views

How to 2 separate motors with 12v input with remote [closed]

Okay bare with me as I’m new to all this stuff. I’m building a hot rod and need to roll the windows down before popping the doors open as the handles are shaved. In the car already I have a remote ...
Shane Heidt's user avatar
0 votes
0 answers
61 views

nRF24L01 simple bidirectional issue [closed]

I'm making a simple project with an Arduino and a nRF24L01 module. I want two identical circuit, lets say project_A and project_B. Both of them should be on 'Receiving' mode when idle. If project_A ...
Kokachi's user avatar
  • 123
-1 votes
0 answers
38 views

Programmable switch timer [closed]

I have beginner skills in Arduino, and I kind of jumped the gun into a project for school. I have to build a programmable switch timer with 4 buttons. The switch has to be able to program on and off ...
David Okusanya's user avatar
-3 votes
0 answers
30 views

Is there a way to post data to cloud on demand?

Hello I'm using esp32 to post arduino sensor data to firebase every 1 minute. However I don't need this much data. I just want esp32 to send data when I request it. Is there any way to do this? I have ...
across's user avatar
  • 95
-2 votes
0 answers
19 views

I need the button to set the time after which the entire cycle stops [closed]

I wrote code for the intervalometer on Arduino. There are 4 buttons left at the dip switch. I want to set the time on them (30, 60, 90, 120 min or something like that). You need to stop the cycle ...
Makarik's user avatar
1 vote
3 answers
74 views

AREF pin on Arduino Uno R3

edit So then, AREF can only output a voltage when used by the ADC, but not when used by the AC. That is what I sense all your answers are pointing at, yet none has it black on white. My questions ...
kellogs's user avatar
  • 137
0 votes
0 answers
38 views

Arduino Uno, TCA9548, BME280 - Not Found Sensors BME280

It is not recognizing the BME280, however, when I run the I2C Scanner, it finds them.... I have checked many times and I can't find any problem / solution.... Please help! #include <Wire.h> #...
Ruben de Jesús Moraga Ramírez's user avatar
0 votes
0 answers
75 views

Arduino UNO RX LED always on and can't upload any sketch

I have an Arduino UNO which doesn't let me upload any sketch to it nor does it get detected on the computer when I connect it to the USB port. The last sketch I uploaded on the UNO had something to do ...
Nitish's user avatar
  • 1
0 votes
0 answers
34 views

LILYGO T-Display-S3 (ESP32) with two AHT20 don't work

I have a LILYGO T-Display-S3 (ESP32) with two AHT20 Humd / Temp Sensors. The sensors initialize fine. I try to print two values, but it only shows the values of sensor A. I have already done several ...
Ruben de Jesús Moraga Ramírez's user avatar
2 votes
1 answer
69 views

Arduino R3 Uno Clone - When barrel plug connected there is 5V on USB. Why?

I have been using Arudino Megas for some projects and never had this problem. Simply enough - I am powering arduino with 12V in via barrel and take power out via VIN to 12V low very low current small ...
Petr's user avatar
  • 21
0 votes
0 answers
26 views

How to tell if Uno R3 mega16u2 is dead after voltage regulator blew up (and removed) - still draws ~250mA via USB, polyfuse is hot

When powered there is a slight smell of burning electronics. The polyfuse gets hot. Part U1 (NCP117ST50T3G or compatible, visibly damaged) has already been removed from the board. It doesn't enumerate ...
Johannes's user avatar
0 votes
1 answer
41 views

Software debouncing a button when released

I'm having some trouble with software debouncing on Arduino UNO. There is a condition in my code where an unwanted debounce registers as a button push. I'm using an interrupt for my button press, ...
Boyfinn's user avatar
  • 223
0 votes
1 answer
50 views

Error: void value not ignored as it ought to be done = radio.read(&Irms, sizeof(float));

Good morning everyone, I had this sketch that worked now when loading the program gives me an error: #include <Wire.h> #include <SPI.h> #include <nRF24L01.h> #include <RF24.h> ...
ksalva's user avatar
  • 9
-1 votes
1 answer
63 views

LED ring with different effects cycling

I need help for my little project. I don't know Arduino so I used ChatGPT to write me the code. After few hours of testing I almost got what I need. The scheme is the following: LED ring, push button ...
Niki's user avatar
  • 1
0 votes
0 answers
111 views

Adjusting brightness of 1-digit 7-segment indicator with 74HC595

The goal of the project is to display numbers from 0 to 9 using seven segment indicator, 74HC595 and pushing remote control buttons. It is assumed that brightness of the numbers that are displayed ...
Artur Krush's user avatar
1 vote
1 answer
112 views

Need help with programing the LCD for my project

I am trying to make a digital dice for my project in school. I am having troubles with the programming, I don't really know how to write code and I am not a programmer. I took inspiration from a post ...
Urban's user avatar
  • 19
-1 votes
1 answer
102 views

How to use ESP12F analog pin to read battery voltage?

I'm using an ESP12F microcontroller powered by a 3.7V battery. What I want is to get actual information about the battery's state of charge. So to know when the battery needs to recharge. To achieve ...
stanimirsp's user avatar
-1 votes
1 answer
19 views

HC-05 bluetooth not working

i connect HC-05 to L293d Driver shield ( vcc to + / Gnd to - / rxd to 1 / txd to 0) but the HC-05 keep flashing red and blue light what does that mean?
rawo's user avatar
  • 1
0 votes
1 answer
63 views

Keypad library isn't working or I am wrong somewhere [closed]

I am using PICSimLab to simulate a keypad. The configuration of the keypad is as shown in the picture: and the code is: #include <LiquidCrystal.h> #include <Key.h> #include <Keypad.h&...
ElectronicsBeginner's user avatar
-1 votes
1 answer
64 views

1602 16×2 LCD display is not lighting up for my Automatic watering system project

I'm working on a project to create an automatic watering system using an Arduino Uno R3 board, a 16x2 LCD display, a water pump, and a soil moisture sensor. However, I've hit a roadblock and could ...
Not_Lucky000's user avatar
-1 votes
1 answer
96 views

How to power 2 MG996R towerpro servo

I am a beginner and tried powering MG996R Tower Pro (180 deg Metal Gear) Servo from Arduino UNO and ended up hibernating the host PC. I want to power 2 such motors (in parallel configuration) for lets ...
Aditya Jain's user avatar
1 vote
1 answer
81 views

Emulating Arduino Uno with QEMU: interrupts do not work

So I wrote this code for Arduino Uno: // file qemu.ino void setup() { Serial.begin(9600); } void loop() { Serial.println(millis()); } And then compiled and uploaded it to the real ...
lch361's user avatar
  • 11
0 votes
1 answer
64 views

IR sketch keeps getting the same code: 4294967295

#include <Wire.h> #include <LiquidCrystal_I2C.h> #include <IRremote.h> // Khai báo địa chỉ I2C của màn hình LCD LiquidCrystal_I2C lcd(0x27,16, 2); // Khai báo chân analog A0 (cảm ...
user97498's user avatar
3 votes
1 answer
79 views

I can't upload my sketch to Arduino Uno using avrdude

I have already spent a couple of days by trying to upload a sketch onto my Arduino Uno R3 board and now it's time to give up, so I'm trying to ask some more experienced developers. My hardware and ...
Alexander Perechnev's user avatar
0 votes
2 answers
131 views

Capturing frequency using a photodiode

I've just bought the following photodiode (here) and I am trying to make a simple Arduino circuit/code so that the photodiode is able to record an LED blinking at an arbitrary refresh rate (frequency)....
wisdom's user avatar
  • 99
1 vote
0 answers
41 views

Driving stepper to follow sequential positions

I was exploring the stepper motor library AccelStepper and using it because of it's easy interface to control multiple stepper motors simultaneously. Recently I got a problem. I needed a stepper motor ...
winner's user avatar
  • 11
1 vote
0 answers
94 views

Issue with multiple RC522s connected to Arduino Uno

THIS IS NOT A DUPLICATE QUESTION. My main problem is that whenever I attach the third RC522, the whole system becomes unstable. When I attach the fourth, suddenly one or two of the modules stop ...
Arman Asgharpoor's user avatar
0 votes
1 answer
80 views

How to connect TFT screen (ST7735S) to Arduino?

I'm learning to work with Arduino and I decided to work with a TFT display (driver ST7735S, I connect to Arduino Uno), but I encountered a problem in the form that my contacts are labeled differently ...
Prog's user avatar
  • 111
0 votes
1 answer
83 views

How to make a stepper motor's speed follow a sine wave

I'm trying to have the rotational speed of a stepper follow that of a sine wave with a period of x seconds. So it starts at a speed of 0 at 0°, picks up and peaks at 90°, slows back down to 0 at 180°, ...
Dezcat's user avatar
  • 11
1 vote
1 answer
62 views

Bad symbols in the serial monitor when connected via USB 3.0

I tested DHT11 + Arduino Uno with a very basic example sketch. The Arduino board was connected to USB 3.0 and sometimes I saw incorrect symbols in the serial monitor, e. g. "Humidit?: _7%" ...
Mik's user avatar
  • 149
0 votes
1 answer
32 views

Arduino Uno/Nano + ML

I couldn't find any clear answers elsewhere, hence I'm asking here. I have a TensorFlow/TensorFlow Lite model which I have already trained on some sensor data. Now, how can I utilize this model on my ...
S.A's user avatar
  • 11
0 votes
2 answers
71 views

Translating analogWrite() into PWM duty cycle formula

We can use the function analogWrite(int x) for digital pins which support PWM because any microcontroller has a built in PWM generator.For given x and for Arduino Uno which is the formula to calculate ...
Root Groves's user avatar
1 vote
1 answer
46 views

What prescaler to use for finer control?

I'm using a UNO to generate a 10 kHz PWM signal. I need finer duty cycle variation. The prescalers supported are 1, 8, 32, and 64. void setup() { pinMode(3,OUTPUT); TCCR2A = bit (WGM20) | bit (...
Pranav Pillai's user avatar
-1 votes
2 answers
288 views

I need a 10KHZ PWM signal from pin 3 and 11 using timer 2

The op of pin 11 should be inverse of pin 3. I used digitalreadfast and digitalwritefast and used simple if else. But the delay is high as 10us. What should i do? I found this code in forum but its ...
Pranav Pillai's user avatar
0 votes
0 answers
42 views

Controlling dynamixel servo from Arduino-Mega

I was trying to control a dynamixel servo from Arduino Mega. The protocol for the communication is half duplex, and I successfully sent data to the servo motor and got it actuated/turned the LED on ...
Lawliet's user avatar
  • 183
0 votes
2 answers
107 views

Why does my Arduino show weird characters with my code?

When I had the code run just the LCD it worked perfectly fine, but when I added an HC-SR04 without changing the text it showed weird characters. All I had the code do with the HC-SR04 was print it in ...
zachlikestech's user avatar
1 vote
1 answer
60 views

Can't get serial port's attention once sketch is running

This sketch is supposed to listen for a single character sent to the serial port, as a means of starting and stopping data collection (which in this example is mocked by printing some register values)....
Bryan Hanson's user avatar
0 votes
1 answer
43 views

Issue with uploading Arduino sketch on Ubuntu 20.04 [duplicate]

I'm encountering an issue while attempting to upload an Arduino sketch on my Ubuntu 20.04 system. Despite ensuring that the correct board is selected and the USB port is recognized properly, I ...
athiyan sankar's user avatar
1 vote
0 answers
259 views

USB Driver for LGT8F328P Arduino clone

Where is the USB driver for LGT8F328P Arduino Nano clone downloaded from for Windows 10 64-bit? When I plug in the LGT8F328P into USB, using IDE 1.8.13, it does not detect it. I think it is because ...
Z.E.'s user avatar
  • 45
0 votes
1 answer
380 views

Incremental Rotary Encoder sends data when shaft is untouched

I'm trying to build an Arduino project that counts pulses sent by an encoder. I've bought an Omron E6B2-CWZ5B-2 2000P/R and face the issue of it sending pulses non-stop, even when I'm not touching it. ...
Do I Care's user avatar
1 vote
2 answers
216 views

Why doesn't this code for an 8x8 LED matrix work properly?

There's an Arduino Uno (Keyestudio KS0078) and a 788BS 8x8 LED matrix. I built the circuit as on the image and ran this program: #define MY_PERIOD 200 int displayColumn = 0; uint32_t tmr1; unsigned ...
Mik's user avatar
  • 149
0 votes
1 answer
472 views

How to connect an Arduino Uno with an ESP-01 to the Arduino IoT cloud?

I have been trying to connect to the Arduino IoT cloud using my Arduino Uno and an ESP-01. The Arduino IoT cloud does not recognize my device as genuine. Hence, I've been trying to create a thing and ...
Saurav Ghimire's user avatar
2 votes
1 answer
202 views

How to change the direction of a stepper motor using the AccelStepper library?

I'm using a Nema 17 stepper motor (200 steps) and a DRV8825 motor driver. This is the configuration I am using: I am using a 9 V power supply. The dirPin is connected to pin 3 on the Arduino board, ...
Michael Junior's user avatar
2 votes
1 answer
116 views

RTC DS1307 module not working

I have a problem with an RTC: it doesn't work correctly. When I try to read date or time, I only see the characters "àààààààà" or or the program is blocked. #include <Wire.h> #include &...
Qmails's user avatar
  • 23
0 votes
2 answers
82 views

I can't get my interrupt to control my project

I'm building a programmable resin pump for my resin printer. The goal is to enable the ability to set a print volume and print time provided by the printer. The pump would then pump at full speed to ...
TheCodeGeek's user avatar

1
2 3 4 5
163