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
-1 votes
0 answers
14 views

Wireless communication with HC05 [closed]

How do I communicate between the Arduino IDE and my Arduino with the HC05 Bluetooth module? I've tried literally every tutorial on YouTube but non of them work. Can someone please help me?
user avatar
  • 1
-1 votes
0 answers
28 views

How to send data to a local server using Arduino Uno and ESP-01 8266?

I'm using an Arduino Uno to sample data from an MPU6050 and flex sensors at about 50 samples per second. I want to be able to send live data to a local web server which will then handle that data and ...
user avatar
0 votes
1 answer
21 views

Arduino + ESP8266 to send MQTT messages

I'm wondering if an Arduino Uno (or any other 328 family) that connects via Serial to an ESP8266 can send MQTT messages, rather than AT commands.
user avatar
  • 858
1 vote
1 answer
114 views

Code explanation when pH sensor is connected to Arduino

I have to measure the pH value for some experiment. I have checked various codes and all include the average of pH values. #define SensorPin 0 // the pH meter Analog output is connected with ...
user avatar
-1 votes
1 answer
36 views

Error: expected unqualified-id before 'if'

#include <IRremote.h> #include <Servo.h> #define CSPOWER 0xFDC03F; #define CSPMODE 0xFD08F7; #define CSSMODE 0xFD8877; #define CSTVVIDEO 0xFDE21D; #define CSUNO 0xFD00FF; #define CSDOS ...
user avatar
-1 votes
0 answers
38 views

Burn bootloader to ATMega328P

I have a model UNO+WiFi R3 ATmega328P+ESP8266. I want to burn bootloader ATMega328P with another Arduino Nano as ISP programer and I found many articles about this. But can I do this on my model? On ...
user avatar
  • 1
0 votes
1 answer
48 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 ...
user avatar
-3 votes
0 answers
29 views

Plz Suggest me a battery for the project [closed]

A 9V battery only works for about eight minutes. I want a portable power that would work for a few hours because I have to present this project at that specific time. Devices Used are: Arduino UNO ...
user avatar
0 votes
0 answers
28 views

How can I generate LTC?

As an Arduino hobbyist (witout EE training) I could really use advice on generating an LTC audio signal. Ideally I'd like to not only generate the signal, but also add a few buttons to control ...
user avatar
-1 votes
0 answers
17 views

Board is not responding to commands, also doesn't reset or reprogram

I am making a CNC (2d) stage using Arduino Uno SMD but when I program the Arduino after one time use the Arduino does not respond and I even can't reset or reprogram it. Please guide me, it gives the ...
user avatar
0 votes
0 answers
32 views

Arduino Bootloader hex file loading

Today I come up with a question kinda disturbing me as I need a solution for it. I usually load the bootloader to atmega328 by using Arduino. In order to do that I first need to program Arduino as isp ...
user avatar
  • 51
0 votes
0 answers
61 views

Why does my function need to be called twice in order to work?

I am stuck in my Arduino dishwasher (or a low voltage model of) project. I have written some header files for the control panel, pin definitions, program functions and more. However, I am experiencing ...
user avatar
0 votes
1 answer
63 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. ...
user avatar
  • 11
1 vote
2 answers
159 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 ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
  • 53
-1 votes
0 answers
33 views

State Management with Button

I'm trying to do a simple state management using Attiny85, my scenario is as follows. Counter starts from 0. Counter can go up to 3 at most. Certain functions are called according to the state of the ...
user avatar
-2 votes
0 answers
40 views

Hooking up PLED cables to Arduino to indicate if PC is off or on [closed]

I am new to arduino, but I recently bought it for a project I am trying to do. Basically, I want the Arduino to act as a replacement power button switch on a PC. I've seen from other forums how to ...
user avatar
  • 11
-1 votes
1 answer
58 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&...
user avatar
  • 1
2 votes
1 answer
87 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 ...
user avatar
  • 29
3 votes
1 answer
172 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 ...
user avatar
  • 53
0 votes
1 answer
60 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 ...
user avatar
  • 56
-1 votes
1 answer
43 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;...
user avatar
2 votes
1 answer
80 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 ...
user avatar
  • 53
1 vote
1 answer
10 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 ...
user avatar
-1 votes
1 answer
65 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 &...
user avatar
-2 votes
2 answers
75 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: ...
user avatar
  • 9
1 vote
2 answers
41 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 ...
user avatar
-2 votes
1 answer
53 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 ...
user avatar
  • 1
1 vote
1 answer
47 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 ...
user avatar
1 vote
0 answers
39 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 ...
user avatar
2 votes
2 answers
153 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 ...
user avatar
0 votes
0 answers
37 views

problem with simulating arduino in proteus8

on my way for making this project I am trying to simulate and test my code (the part on hardware) in proteu8 professional. in the the last post (link in the beginning) Edgar Bonet has told me that ...
user avatar
0 votes
1 answer
46 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 ...
user avatar
  • 109
0 votes
1 answer
31 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.
user avatar
2 votes
1 answer
81 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 ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
0 votes
0 answers
50 views

Why does my Arduino Uno stop looping after several minutes running my program?

I did some research of my own before asking this question, and stumbled across this Arduino forum discussion. In case it was indeed a memory issue, I tried converting what I thought were my own string ...
user avatar
0 votes
0 answers
30 views

Find a sequence of pulses (preamble) for a certain duration and number of pulses

I am using a receiver module with arduino. I want to use my own transfer protocol and now I need to accept it. I tried to use various libraries but all without success. I need to somehow select a ...
user avatar
4 votes
1 answer
575 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; ...
user avatar
  • 566
0 votes
0 answers
20 views

Bluetooth HC-05 only takes one command and then disconnects

I'ma total noob at Arduino and this is my first project. It is a Bluetooth controlled RC car. As you can understand fon the title, my hc-05 takes only takes only one command and then disconnects ...
user avatar
0 votes
0 answers
20 views

LM35 sensor and arduino, we have to print a physical process that is represented by eqution

How do we design a temp sensior based on LM35 that represents a physical pricess Z= 5+3T+5T^2. and we have to print T and Z, i am an amatuer and solving this problem and i am stuck, dont know how do i ...
user avatar
0 votes
1 answer
56 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.
user avatar
1 vote
0 answers
16 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 ...
user avatar
  • 11
1 vote
1 answer
37 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....
user avatar
  • 13
1 vote
1 answer
80 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 ...
user avatar
1 vote
1 answer
53 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()...
user avatar
2 votes
1 answer
80 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 ...
user avatar
0 votes
1 answer
42 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 ...
user avatar
0 votes
0 answers
35 views

How to incorporate HMC5883L compass module with Arduino RC Car?

I have successfully made a RC Car with Arduino, L298N Motor driver and HC-06. The next step is I am working on is to use HMC5883L compass module as well and control the RC Car by passing strings like &...
user avatar
1 vote
0 answers
40 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 ...
user avatar
  • 11

1
2 3 4 5
158