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
16 views

Doesn't stay in sub menu

So hello everyone. I'm creating simple menu with few sub menus,on my lcd screen. But i have run into small problem, i can't stay in my sub menu. When i press select button, it goes into submenu ...
0
votes
0answers
17 views

All at commands return Fail

I,m trying to send data from sensor to thingspeak but the AT commands always return Fail, They work sometimes and send data but most of the time they return fail. My Connections: ESp : Arduino Gnd : ...
1
vote
1answer
49 views

What component can I use with an Arduino to measure the capacitance of objects?

What component can I use with an Arduino to measure the capacitance of objects like a glass bottle or a roll of paper?
1
vote
0answers
26 views

Arduino button voltage versus HIGH/LOW state

I'm measuring voltage between button's ground and input pole on the following sketch. When button is on off state, there's 5V there, when it's switched on and led turs on, there's 0. Is this a correct ...
2
votes
1answer
39 views

Making pushbutton behave as a toggle switch with ezButton - do I have to use ledstate with =! operator

I'm using ezbutton to make a pushbutton act like a toggle switch, first press doing permanent on, second press doing permanent off. I'm just trying to understand the basic coding. This project is just ...
-3
votes
0answers
40 views

Help me please!! I can´t find my mistake. --> In function 'void loop()': 35:31: error: expected ';' before ':' token exit status 1 [closed]

int buttonState=0; void setup() { pinMode (4, INPUT); pinMode(12, OUTPUT); pinMode(10, OUTPUT); Serial.begin (9600); } void loop() { buttonState=digitalRead (4); if (buttonState == HIGH) {...
2
votes
0answers
23 views

SIM808 Doesn't detect SMS if sent while offline

I'm running UNV SIM808 Shield with Arduino Uno using DFRobot_SIM808. The shield has no issues detecting incoming SMS while powered on. Since it is going to be powered by a battery. I want it to run it ...
1
vote
0answers
26 views

AJ-SR04M Screw Purpose

I've got 3 AJ-SR04M sensors working on an Arduino MKR Wifi 1010, but I was curious what the purpose of this screw on the sensor boards is. It seems to somehow impact the accuracy/performance, but I ...
1
vote
0answers
36 views

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

I'm new to programming and cant seem to understand Whats going on but here is my code https://pastebin.com/W55B7RAk #include <Servo.h> // servo library #include <IRremote.h> // ir library ...
1
vote
0answers
23 views

Esp8266 Not showing in Arp table of router [closed]

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
4answers
33 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 ...
2
votes
0answers
29 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 ...
1
vote
1answer
166 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
42 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
22 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 ...
3
votes
3answers
142 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
36 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, ...
3
votes
1answer
235 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
32 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
39 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
32 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
13 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
19 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
47 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
57 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
55 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
50 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
2 3 4 5
159