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
1 answer
100 views

The RF 433MHz receiver code is working only when I reset the Arduino

I'm working on RF modules using Arduino but I observed the if statement is only running once and I need to reset the receiver every time to make it work with real-time changes in the transmitter. I ...
0 votes
1 answer
93 views

L LED keeps staying on

I am trying to get the Arduino to reboot my PC when it is off. Using the front panel header on the PC, I connected the power switch and PLED directly to the Arduino Uno as the header only outputs 5 V. ...
  • 11
1 vote
2 answers
347 views

Gyro reading of MPU6050 drifts too much on fast changes only

I am trying to write a simple sketch for the MPU6050. The problem is that the sensor is pretty much solid when stationary or changing the angle steadily at slow to mid angular velocities but if I try ...
0 votes
0 answers
206 views

Stabilization of HX711 and Faster Sampling. Code improvements

Helllo, I am using load cells in my research project. I have 4 load cells and have connected 4 HX711 modules (one to each load cell) and have connected them to the arduino uno. I have taken the ...
  • 53
-1 votes
1 answer
80 views

LED button press for particular LED In LED pattern not working in Arduino

what I expect is as below. If I press the button of pattern one. then pattern one has running. If I not pressing any of the particular LED button like "LED_Button_two", "LED_Button_one&...
  • 1
2 votes
1 answer
101 views

Is there a way to connect two Arduinos, when one of them has all of its pins occupied?

I want to connect an Arduino Uno to an Arduino Nano, so that it can send signals. The problem is that the Arduino Uno has a motor shield connected to it, and it takes up all pins of the Arduino. This ...
  • 33
3 votes
1 answer
412 views

Prevent Resetting of Null Weight when using HX711 with a load cell

Helllo, I am using the HX711 module and load cell with an arduino uno for force measurements. I am using this library. I first use the example "Calibration" code for calibration with a 200 g ...
  • 53
0 votes
1 answer
72 views

Arduino Uno Analog pot values are not smooth

I have tired Arduino smoothing example but mine analog value are not staying constant even when I don't rotate the potentiometer. I am mapping the values from 0 -> 1024 to 0-> 100. I have tried ...
  • 126
-1 votes
1 answer
203 views

Stopwatch stop/start button and reset

i am trying to make a stop watch with a stop/start button and a reset button i have made this #include "RTClib.h" //Setup the Real Time Clock, DS3231 RTC_DS3231 rtc; const byte SQWinput = 2;...
2 votes
1 answer
318 views

Using Arduino to read and write data to RS232 device

I have a micro turbojet engine (JetCat P100-RX) which is operated through an Electronic Control Unit (ECU). The ECU has a lot of information about the engine. I want to access that information and ...
  • 53
1 vote
1 answer
23 views

Noise in RF 434 transmitter and receiver

I'm working on RF transmitter and receiver modules using two Arduino UNOs. I'm getting an additional noise on the receiver side in serial.println. To be more clear about the question. Hre is my ...
-1 votes
1 answer
729 views

POST request (HTTPClient) with ESP8266 not working on localhost (http code = -1)

I've been looking around for a solution, but couldn't manage to find one. I'm looking to send a post request from an ESP8266 on a local API. Here is my code : #include <ESP8266WiFi.h> #include &...
-2 votes
2 answers
113 views

Problem with push button

I am making a project where if the push button is pressed, the LCD screen will show a message. But with many trial and errors, it doesn't give the right result. Here is the circuit: Here is the code: ...
  • 9
1 vote
2 answers
88 views

Will many nrf24L01 radio modules running at the same time cause interference?

I am working on a battle bot type of project where their will be 4 transmitters communicating with 4 receivers attached to the robots in the 4 foot x 4 foot playing field. Are their any complications ...
-2 votes
1 answer
110 views

LED blink patterns with multiple LEDs with millis() not using Delay()

I want to make LED blink patterns with multiple LEDs with the millis() function. I researched about it but did not find a perfect solution. I found one blog, but it is using a LED pin number array; I ...
  • 1
1 vote
1 answer
127 views

Why doesn't serial communication work on Arduino Uno r3 and ESP8266 WiFi module?

I have a simple problem here. I use an ESP8266 WiFi module and an Arduino Uno r3. What I want is to receive a serial message from the ESP8266 on the Arduino Uno. Note: I set the upload speed of the ...
1 vote
0 answers
50 views

Why is my SD shield making my Arduino not power on?

I wanted to use an SD shield on an Arduino Elegoo to make a typewriter (for saving files). I put the shield on the Arduino Elegoo, then connected an LCD screen, then tried to power on using USB to ...
2 votes
2 answers
551 views

How can I log data to a thumb drive?

I am working on a project where I need to log data, but I was wondering if it is possible to log that data to a thumb drive? I know that I can log data to an SD card, but I thought a thumb drive would ...
0 votes
1 answer
59 views

Detect where touch happened on a big capacitive electrode

I have a big-ish electrode (10cm x 10cm) that works fine for detecting touch over the whole electrode (as a boolean - simple touch vs. release) but I was wondering if there was a way to detect where ...
  • 109
0 votes
1 answer
42 views

Can I make an Arduino Uno Rev3 pretend to be a joystick?

I want to create a joystick for my flight simulator and I need to make an Arduino Uno Rev3 pretend to be a joystick when I plug it to my computer.
2 votes
1 answer
110 views

Mildly accurate oscilloscope using Arduino Uno R3

I'm trying to make a mildly accurate oscilloscope using Arduino Uno R3 and I've done some research on the best method to do so. First of all I need to measure the voltage with a rather high sampling ...
-1 votes
1 answer
35 views

Servo retaining its position every time I send some value

I wanted to control my servo with a Bluetooth module. I gave certain values for rotating it. When I press those values the servo rotates, but then retains its original position and the PC also makes ...
4 votes
1 answer
598 views

ISR for very fast processes, strange code found. Has ISR effect on timer behaviour?

I found the following code within an example for performing very fast changes on a PWM-output. It works, however I'm wondering about some details. TIMER2 was set up in setup() as follows: TCCR2A = 0; ...
  • 567
0 votes
1 answer
64 views

Is it possible to use assembly with arduino?

I want to learn assembly, but would like to learn by doing, is it possible to learn and make something useful with arduino hardware? I dont know where or how to start something like this.
1 vote
0 answers
18 views

Controlling Bluetooth voice-controlled car with ultrasonic sensor

I am trying to use an ultrasonic sensor to stop a tiny voice-controlled car but I can't get it to work. once the motor starts moving it doesn't stop I'm trying to make the car stop moving even though ...
  • 11
1 vote
1 answer
69 views

Fluctuation in 4 half bridge load cell via combinator

I'm currently using a Sparkfun 4 Half-Bridge load sensor (50 Kg) with combinator and amplifier both are from the Sparkfun. Link:https://www.sparkfun.com/products/10245 (For Load Sensors)https://www....
  • 13
1 vote
1 answer
182 views

Why are raw data bytes not converting to ASCII, but only in one part of my program?

I am writing a program to read from the Atlas Scientific EZO-HUM, -O2, and -CO2 sensors simultaneously via the I2C protocol with an Arduino Uno. The sensors all work, but for some reason, just the O2 ...
1 vote
1 answer
221 views

How to convert a reading to percentage in Arduino [closed]

I am using this example on how to use a photoresistor to detect the value of light that the sensor is getting but I want to convert the reading of the resistor to a percentage but I can't use the map()...
2 votes
1 answer
112 views

How to make the compiler ensure that local variables memory allocation won't cause any RAM overflow during execution?

Upon compiling a sketch using the Arduino IDE, a message like the following gets displayed in the console: Global variables use 1540 bytes (75%) of dynamic memory, leaving 508 bytes for local ...
1 vote
1 answer
246 views

Error while uploading the sketch to Arduino UNO using CLI

I have connected my Arduino UNO through USB to Raspberry pi 3B. I am using CLI for editing, compiling and uploading sketches > arduino-cli upload --fqbn arduino:avr:uno cli-test. However, after ...
1 vote
0 answers
47 views

How can I rename how my Arduino UNO (or any other Arduino) shows up on the computer?

I need to rename my Arduino UNO in a way that when it connects to the computer then it reads not as "Arduino" in device manager but as "My instrument name". I need to know how to ...
  • 11
1 vote
1 answer
69 views

Requires accurate RGB color values by the tcs3200 RGB color sensore

I used the TCS3200 sensor to read the RGB color values.First, I calibrated the sensor with white and black colors.The sensor detects red, blue, and green correctly, but does not give an accurate value....
  • 11
0 votes
2 answers
64 views

breadboards and accurate voltage measurments

I am trying to setup a thermistor(PT1000) to work with arduino. For that I used voltage divider and 5V pin as the voltage source. I was getting very unstable results so I removed the thermistor and ...
  • 111
1 vote
1 answer
672 views

SIM800L not responding to AT commands

I am using SIM800L module the module. I am new to GSM modules, so I've searched for the basic to use the GSM with the Arduino. this is my code. #include <SoftwareSerial.h> SoftwareSerial ...
-2 votes
1 answer
85 views

My Atlas Scientific sensors measurement give zero values at first reading

I am still continuing my hydroponic nutrient monitoring project. In short, I made a hydroponic nutrient monitoring system with I2C connection, and decided to do serial communication with Raspberry Pi ...
-1 votes
1 answer
57 views

What are these 18 extra ports on the adafruit-gfx 2.8"

I recently got the Adafruit gfx 2.8" display, which works fine. It's quite obvious that it requires almost all of the pins on the UNO. However, I don't understand what are the 18 avaliable "...
  • 101
1 vote
3 answers
1k views

How to do multiple serial.read()

first of all im new here and im really sorry if there's some mistakes when im making this question. So im trying to make a program to calculate using serial read, and im going to input a lot of values....
  • 13
1 vote
1 answer
50 views

Apparently the photoresistors don't pass the input at the leds

I am making a school project where i need to create a parking loot in tinkercad. Me and my mate tried to use a bunch of photoresistor that worked as a sensor. No light = car = red led; light = no car =...
  • 13
1 vote
1 answer
85 views

Help with Arduino sleep and watchdog timer interrupt

I want to use Arduino's sleep and wakeup functionality but have hit a roadblock and can't seem to get past it. As I am just prototyping for a final system, I cannot use the LowPower library to ...
1 vote
1 answer
141 views

Round to first significant digit

I want to round a decimal number (x), but I need to do it differently depending on how it is. If it has integer significant digits, we round to the nearest integer, and if not, we round to the first ...
1 vote
0 answers
94 views

FastLED changing colour at holding state

Basically make a code to guide users through a box breathing exercise (breath in for 4 seconds, hold for 4, release for 4, hold again for 4, repeat) to help relax them. Right now my code is running ...
-2 votes
1 answer
36 views

Powering LEDs with Arduino uno 5v

I'm working on the sound reactive led lamp as my first project and have slightly different materials to start with. First I'd like to simply learn to power the LED strip. from https://www.youtube.com/...
-1 votes
1 answer
62 views

Can't get input from 4x4 keyboard

I'd like to make some basic calculator. Currently, I'm struggling with inputs. I wanted to get from user some numerical input, then, I'd like to have an information, which type of calculation he is ...
1 vote
1 answer
73 views

Connecting various devices to Arduino

I need to connect the following devices to an Arduino UNO board. The problem is that I run out of pins to be able to connect them all. Is there any way to do it? ultrasonic sensor yellow led green ...
1 vote
0 answers
94 views

Unable To Upload Source Code on Arduino UNO(Windows 11)

I was trying to upload the source code of a project to the Arduino UNO and this is the error that I keep on receiving. After I closed and reopened it again, the Port option is gray. I tried everything ...
-1 votes
1 answer
28 views

Externally powering Arduino while reading voltage off it via USB

I have an Arduino UNO R3 where I’ve set Pin 13 to “HIGH” (as shown here) and I’ve connected an LED to Pin 13 and GND which glows brightly using a USB attached to my MacBook Air providing (I think) 5V. ...
1 vote
0 answers
62 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 ...
  • 11
1 vote
0 answers
32 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 ...
  • 11
0 votes
1 answer
144 views

Why the led is always on in proteus?

I am simulating a circuit with arduino, which determine if there is current at input, then turn the led on at the output. The problem is the light is always on even when the button is open at the ...
  • 11
-2 votes
1 answer
167 views

how to save float with 3 decimal places [duplicate]

i am transmitting sensor data from my atmega328p to my esp8266. The Sensordata has 3 decimal places. The esp8266 sends this data to my pc and there I see only two digits. This is because the data is ...
  • 1