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
0answers
6 views

getting the error “expected unqualified-id before 'if' ”

I'm new to programming and cant seem to understand Whats going on but here is my code https://pastebin.com/W55B7RAk
1
vote
0answers
8 views

Esp8266 Not showing in Arp table of router

So I'm working on my senior project which is a smart irrigation system based on an esp8266 NodeMCU. Everything is fine but I can't bind the IP of the esp8266 on my router's ARP table since it is not ...
-1
votes
3answers
20 views

Slow USB reading operation

I got an Arduino UNO today, and I am just writing a basic blink program. I have 3 LEDS on the arduino. Those LEDS are connected to Pin 1, 2, and 3. Now I can control those LED by writing octal values ...
1
vote
0answers
14 views

How to let Stepper motor spin constantly?

When i run the code on the Arduino the Stepper only does a small turn every cycle. How can i make that constantly turning? #include <Servo.h> Servo myservo; // create servo object to control ...
0
votes
1answer
157 views

Is it possible to compile and upload code witout the IDE?

I just got started with Arduino, and found out that I need the IDE to compile and upload codes, which works perfectly fine. This is my code: # pragma GCC optimize ("Ofast") char i = 0 ; ...
-1
votes
1answer
37 views

Blink onboard light by reading value from USB

I am interested in building a basic CPU usage monitor with arduino UNO. I have a Ruby code, which blinks keyboard lights based on the CPU usage, disk IO and net usage. So for example, when the CPU ...
0
votes
0answers
19 views

How to make an automatic plant watering system using arduino uno [closed]

Someone please suggest me how to make an automatic plant watering system using following tools:- Arduino uno R3 Capacitive soil moisture sensor v 2.0 Relay module. Jumper wires and bread board. For ...
2
votes
3answers
138 views

Endurance of Arduino UNO during 24/7 operations and mild power fluctuations

I am designing an automation system for my research project and planning on using Arduino Uno to do the same. The program is to execute simple instructions based on few input parameters and does not ...
1
vote
0answers
28 views

Enter a three digits number using push button connected to Arduino [closed]

I have the code given by my tutor and I need to change the code to be able enter a three digits number with the push button of switch module. Here is the code which can only enter one individual ...
1
vote
1answer
23 views

I keep getting the 'expected unqualified-id before if' error message when trying to run my program [closed]

This is my code: const int Speaker = 11; const int trigPin = 9; const int echoPin = 10; long duration; int distance; void setup() { // put your setup code here, to run once: pinMode(Speaker, ...
2
votes
1answer
230 views

Serial plotter looks different and doesnt print graph

When I open my serial plotter to get the graph for my HC-SR04 sensor it doesn't show anything. My plotter looks different too. I have attached images below as well. Only those numbers on the top-most ...
1
vote
1answer
31 views

Get production count for current minute

I am trying to make a production counter for a machine. I want to display production count of the last minute for each seconds. So, display should update every second and should display real value of ...
1
vote
1answer
160 views

Why my arduino board does not blink properly?

I have two files blink1.cpp typedef unsigned char int8_t; typedef volatile int8_t * volatile port_type; port_type portB = (port_type) 0x25; port_type ddrB = (port_type) 0x24; void delay_500ms() { ...
1
vote
0answers
14 views

Getting garbage values on serial communication between Arduino Uno and ESP8266 NodeMCU

I have created a weather station on ESP8266 NodeMCU which has a web interface with logs. I've connected DHT22 on ESP8266 NodeMCU and a BMP180 on an Arduino Uno. Arduino Uno sends pressure to the ...
1
vote
0answers
14 views

DHT11 Module and I2C LCD coding error on Arduino Uno [closed]

This isn't my first time using an Arduino, but it has been a while, so I've been reviewing using a study kit. It has a DHT11 humidity-temperature sensor module, and an I2C LCD module. The included ...
0
votes
1answer
22 views

is there any way to create some IA with Arduino?

is there any way to create some IA with Arduino?. the question is just that. I would like to give some intelligent (explore the house, trigger alarms, etc) to a rover but I dont have so much ...
1
vote
0answers
38 views

Why does the LED state behave differently?

I wanted the sensor to be high when I press the button, but when DigitalRead does low, the LED turns on, when it does high, the LED goes off. Whereas when the digitalRead is high, isn't it supposed to ...
0
votes
1answer
37 views

LED does not blink - Arduino UNO+WiFi R3 ATmega328P+ESP8266 board

As I am learning the Arduino coding, I want to see if my program can turn on the LED light. I have tried all the things, but the code does not start the LED light I have installed on the board. The ...
0
votes
0answers
31 views

How can I connect old door phone to mobile app for audio talking and unlocking door

I'm beginner to Arduino. I need to connect old door phone (like the picture) to mobile app. Whenever it rings, the mobile user can talk with outdoor standing person and unlock the door. The ...
0
votes
1answer
19 views

communication between two arduinos using ENC28J60?

How can i connect and send data between two arduinos using a ENC28J60 ethernet adapters on both of them. Is there any guides or example codes for me to take a look from or any library which i can use ...
0
votes
3answers
50 views

Understanding Arduino input and outputs

I am a research scholar working on exploring the diffusion kinetics of metallic ions into substrate materials. To do so, I have to process 486 specimen combinations and it has been very difficult and ...
0
votes
0answers
6 views

Connecting two FSRs in Series [migrated]

Does anyone know if i can connect 2 FSR in series and then in parallel to a fixed resistor, creating a potential divider circuit. Given the inaccuracies and low repeatability of force reading from one ...
0
votes
2answers
74 views

Electronics Laboratory

I would like to know if someone could explain to me how to create an arduino electronics laboratory with soldering iron etc. with a low budget <3
1
vote
2answers
33 views

Spectrabloom LED light box

I'm looking to make a DIY version of Dan Conrad's Spectrabloom. I've got an Arduinio Uno, a piece of code that uses PWM to randomly fade three 1w LEDs (one red, one blue and one green) and a PicoBuck ...
1
vote
0answers
14 views

How do you count objects (using ultrasonic sensor HCSR04) as 1, after they leave the trigger/echo path?

I found a simple code online that meets my goal to almost 100%, however when I place my hand in front of it, the number continues to count. I am trying to only count "1" when the solid ...
1
vote
1answer
35 views

Converting an int to an unsigned char for display on a Nokia 5110

I've been working on a small project getting some images displayed in a Nokia 5110 screen via an Arduino. I've been getting it working, but one of the issues I have is that I would like to have a list ...
0
votes
2answers
54 views

Ways of communication between two Arduinos?

I have two circuits one having a ultra sound sensor and one other having a relay module. So i'm trying to establish communication between the two to send and recieve data. I just want to know which ...
2
votes
0answers
12 views

Arduino NRF24LO1

I have a problem with transmiter (Arduino uno) and receiver (Arduino nao). When I am trsmiting that I receive that: An this is my code for receiver #include <SPI.h> #include <nRF24L01.h> #...
1
vote
0answers
24 views

Communication between Arduino UNO using an ethernet shield and a RF attenuator

I am relatively new to Arduino and I was wondering if someone could help me with my problem. I have a RF attenuator that can be programmed in various ways. For example if I type http://10.10.10.10/:MN?...
0
votes
0answers
35 views

How to get my Arduino to say specific things

So, I am designing an Arduino with a machine learning model to detect the objects around it. I want the model to make a sound if it 100% detects an object through the speaker that is connected to it. ...
2
votes
0answers
18 views

Issues with Polytone Library?

I'm building a device that uses two ultrasonic sensors to detect objects and provide audio feedback in the form of beeps that get faster the closer an object is. I have two speakers, one for each ...
0
votes
0answers
25 views

HC-05 bluetooth module short range

I have started learning about arduino and just bought a bluetooth module, HC-05. From where i bought, it says it has range of approx.10 meters. I made hc-05 connection with arduino in below described ...
1
vote
1answer
79 views

Digital pins are no longer outputting enough to click a relay

I've been working on a project for awhile now, and I ran into a problem a week ago I couldn't solve. I'm using an Arduino uno R3. My project involves the use of 4 relays triggered by the digital pins. ...
1
vote
1answer
46 views

Programming ATtiny85 with Arduino-IDE and an 8MHz external oscillator

I have a digispark ATtiny85 development board and I am using the Arduino IDE to program it along with the Arduino UNO as my hardware programmer. I have successfully burned the fuses for both the ...
1
vote
2answers
56 views

Arduino UNO with integrated ESP2866 wifi not working correctly

I bought this "knockoff" Arduino UNO with an integrated ESP 2866 wifi module. But I can't make it work. I've followed this tutorial because it's the same product as I have, but I can't make ...
5
votes
1answer
54 views

Scheduler comparison for Arduino Uno

I understand that the official Arduino Scheduler doesn't support Uno, and there are several third-party schedulers to fill the gap, notably, Scheduler, Arduino-Scheduler and TaskScheduler. There are ...
1
vote
1answer
21 views

Arduino esp8266 some times data will not be sent to thingspeak.com

I have made an arduino IOT that sends temperature data to thingspeak and works fine . Now I have two questions 1- In spite of active wifi connection from esp8266 toward the web , but why sometimes ...
0
votes
0answers
47 views

Cannot use Flip, getting AtLibUsbDfu.dll not found error

I am a total beginner. Trying to use the Arduino Uno R3 as a game controller (https://www.youtube.com/watch?v=GrO8ZmxbOyI) I came to a point in tutorials, where using FLIP / UnoJoy to "turn" ...
1
vote
0answers
21 views

Multiple arduino slaves with one master computer that sends instructions for the actuators to work

I am in the middle of an automation project and suddenly after completing one stage of my assembly, I now need to scale it. So my computer which until now was sending data to only one arduino UNO can ...
2
votes
3answers
96 views

send values from arduino uno to wemos d1 r1

I have a weather project in which I have to measure the temperature and humidity ( dht22 sensor ), the pressure and other things and then show them in a local web page ( usings wemos d1 r1 ) in either ...
1
vote
0answers
21 views

Problem uploading to board. arduino-1.8.8-windows [closed]

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" Sketch uses 2018 bytes (6%) of program storage space. Maximum is 32256 bytes. Global variables use 50 bytes (2%) of dynamic memory, ...
0
votes
2answers
34 views

Get a specific item from comma separated text

I use bluetooth (works like serial monitor). Let me say i send a text to my hc-05 (same as sending to serial monitor) My current code is displaying text from serial monitor/HC-05 TO LCD #include <...
1
vote
0answers
22 views

Arduino unable to wake up using interrupt after sending SMS

my use case is that I am building a distance sensor using Arduino Uno. The idea is when the distance is between a threshold, an SMS is sent from the device. I am using DS3231, SIM800L, and HCSR04 for ...
1
vote
0answers
27 views

How to program the joystick button to reset everything?

In this project, I'm making a stickman rush game with a joystick. Where when the joystick moves up and down, the stickman also moves up and down. And there are obstacles, that when the stickman ...
1
vote
0answers
36 views

Is it possible to make a touchpad for PC using arduino and a touchscreen display? [closed]

What would be the difficulty for such project? What components would be best fit for communicating gestures to windows (thought about arduino uno r3 and LCD TFT 3.5” UNO)
0
votes
1answer
39 views

UART between arduino UNO and pc via USB not in sync

I connected my arduino uno to my system and then using serial tried writing and reading data but there is a problem which I found when I tried giving arduino crafted messages. My arduino code is ...
1
vote
0answers
34 views

What specific type of plastic does the Arduino Braccio arm use? [closed]

I've looked all over and I can not find the specific type of plastic that the Arduino Braccio arm uses.
0
votes
1answer
33 views

arduino will not save data after receiving from serial communication

I'm new to Arduino and what I'm trying to do is change the variable by sending it from php to the Arduino. I've added the delay as stated by other questions but it has not worked so far. The pin 13 ...
1
vote
1answer
38 views

Store button presses in an array and sequince it with the LEDs

Example: If the user presses the button sequence 1-2-2-1 then the LEDs light up in the order 1-2-2-1 int userAmount[4]; const int ledPins[] = {4, 5}; const int btnPins[] = {8, 9}; int ...
0
votes
1answer
35 views

Read sd card content(text files) and display it on lcdi2c

i am working for a project based on lifi using arduino and i need to diplay content of sd card to lcd i tried a lot some online programs also i tried but there is a simple blank screen. one of the ...

1
2 3 4 5
159