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

Error sending data from ESP8266 to Uno

I am sending data from an ESP8266 to an Uno (I need to use the Uno because it has more inputs than the ESP and I need those for my project.) The ESP8266 is connected to the Uno's Serial RX/TX, and ...
0
votes
0answers
31 views

So I am making a PWM Solar controller, but I am not using a battery [closed]

The solar panel is of 10W 12V, I am using Arduino UNO to generate the PWM signal. Our pin A0 is connected to a voltage divider configuration of 100 kOhm and 20 kOhm. The pin A1 is connected to our ...
1
vote
1answer
299 views

Button state issue

Let me preface this by saying I'm a beginner, and I know my code must have some logic errors. I need some fresh eyes on this, I have been messing with it a few days and am just running in circles at ...
4
votes
6answers
25k views

Uploading a simple sketch takes forever

I am trying to upload this simple sketch into my arduino with a shield I made. It takes forever (note I have the right COM port on) int sensorValue = 0; void setup(){ Serial.begin(9600); ...
1
vote
3answers
107 views

NRF24L01 Transmission Problems between Arduino UNO and Arduino Nano

I'm a beginner in using NRF24L01 tranceiver module. I tried sending a simple "Hello world" using Arduino Nano and a Arduino UNO with the use of two NRF24L01 modules. I don't get any output ...
1
vote
1answer
18 views

Serial communication between nodemcu and Arduino Uno

For the last days, I am trying to establish serial communication between nodemcu and Arduino Uno but I failed to do this. Currently, I am working on a Home Automation project. I receive data from ...
0
votes
2answers
239 views

Garage Door Opener RFID failing after a period

I've been building an add on to my garage door opener that will allow it to be opened from the outside with a valid RFID token or from inside using push buttons. This works as expected when first ...
0
votes
0answers
30 views

How to make DC motors shut off

I have two DC motors that I want to shut off when the servo is at 140 degrees and then turn back on when the servo is back to 0 degrees. So like if servo == 140 motor 1 and 2 speed == 0. I am using an ...
-1
votes
0answers
45 views

Ardino uno to usb

I am trying to connect a Arduino Uno to a double usb, I don't know how to do this so it would be great if you could help.
0
votes
1answer
75 views

NRF24L01 +pa +lna modules do not communicate

I am building an rc airplane and I want the controller and the plane to communicate using 2 NRF24L01 +pa +lna modules. I am using an Arduino UNO and a Mega. I hooked them up corresponding to this ...
2
votes
2answers
2k views

L298N Dual Motor Controller Enable Pin has power but motors not working

I am trying to get the L298N to work with a simple DC motor. For now, I have simplified the setup and the code to the basics to try to get it to work. I am using the following wiring setup with no ...
-4
votes
1answer
28 views

i was trying to rebuild my code for my bot but then there are errors coming up i am in the middle of my project so i need quick help

#include <AFMotor.h> #include <NewPing.h> #include <Servo.h> #define TRIG_PIN A0 #define ECHO_PIN A1 #define MAX_DISTANCE 200 #define MAX_SPEED 190 #define MAX_SPEED_OFFSET 20 ...
0
votes
1answer
37 views

Port manipulation

My UNO having some stability issues because of heavy memory use, I'm now optimizing the code now looking to reduce the digital read memory use with the help of port manipulation. I got the code for ...
2
votes
1answer
39 views

Can't sync with programmer — but weird

I have a weird problem, and it's probably because I'm doing something wrong. I'm quite new to Arduino. My Uno R3 (Elegoo) has been working fine for a month. It has been sitting on a bench for the past ...
0
votes
0answers
19 views

Need help! Trying to automate DIY Hydroton Expanded Clay cleaning machine

In our industry, we have to clean a lot of Hydroton (expanded clay) we use as a growing media. We had been using a cement mixer, but it involved dumping about 50 liters of media into a heavy plywood ...
1
vote
1answer
98 views

TX,RX,ON,l LEDs were red at all time

First of all Thank you for reading my broblem.Before coming this erro I did a project in my Uno board by using a Bluetooth module.after that; when I powered the board to uploade another programe ;4 ...
1
vote
1answer
30 views

How to separate a specific frequency signal from a summation of a few signals?

I want to calculate THD. SO how do I isolate the fundamental frequency from a signal with harmonics? I have a signal V which is a sum of V1, V2 and V3. V1=A1sin(w1t+phi1), V2=A2sin(w2t+phi2) and V3=...
1
vote
1answer
26 views

Arduino with HC-05 Bluetooth Module | No data will be transmitted

I've got an Arduino Uno (Elegoo R3) and a Hc-05 bluetooth module. First of all i want to send data with an android app (Bluetooth terminal) to the Arduino and turn pin 13 (LED) on. My Arduino code: #...
1
vote
1answer
42 views

How can I use both ultrasonic and IR sensor and ultrasonic sensor at ones with Arduino

I want to use both the ultrasonic sensor and IR sensor with Arduino + motors for a car project. Will I have to do any kind of multithreading on Arduino, or is it something else
1
vote
1answer
42 views

Multiple definition class in arduino

Help me out here. I don't know what I'm missing. I have this code in my arduino IDE #include "Foo2.h" void setup() { // put your setup code here, to run once: } void loop() { // put ...
-3
votes
1answer
26 views

I tried to make a obstacle avoiding car (OAB), but my code seems to have a lot of errors

#include <AFMotor.h> #include <NewPing.h> #include <Servo.h> #define TRIG_PIN A0 #define ECHO_PIN A1 #define MAX_DISTANCE 200 #define MAX_SPEED 190 #define MAX_SPEED_OFFSET 20 ...
-1
votes
2answers
69 views

How do I use a photoresistor?

I found this project and it seemed simple but now I don’t know. Please help. I tried changing the code and the wires but nothing happened. int photoSensorPin = A0; int redLedPin = 3; int greenLedPin = ...
1
vote
1answer
25 views

trying to do a security motion sensor using the peizer and hc-sr04 but i am not able to find the errors the error code is all the way down

#define trigPin 10 #define echoPin 9 #define buzzer 12 long duration; int distance; void setup() {​​ pinMode(trigPin,OUTPUT); pinMode(echoPin,INPUT); Serial.begin(9600); pinMode(buzzer,OUTPUT); }​​ ...
0
votes
2answers
69 views

How to interpret Serial data received by Bluetooth module

I'm experimenting with a hc-05 knockoff the JDY-30 and am confused about the Serial data I'm getting from it. I downloaded an app called BlueUino to send commands from my Android to my Arduino Uno via ...
1
vote
1answer
24 views

SIM800l is not Avalible

I am using : -arduino uno r3 -SIM800L connection: Arduino SIM800L 5v --> vcc gnd --> gnd pin10 --> TX pin11 --> RX the led on the module blinks once each 3~5 seconds but when i use ...
1
vote
1answer
54 views

How to send 2 data to processing from Arduino

I am new to Arduino and processing so sorry for any mistakes. I have a problem with sending multiple data to processing from Arduino. I can send 1 data easily ut I can't send more than 2 data can ...
0
votes
1answer
17 views

can anyone help me debug this code my delay microseconds is not working and my servo write for 180 as well

this is not my code this is what i found on makersguide i tried to use the same but it doesn't work #include <Servo.h> // Define Trig and Echo pin: #define trigPin 10 #define echoPin 9 // ...
-1
votes
0answers
29 views

Arduino Vending Machine application

the students are required to write an embedded based program to perform a specific set of tasks for a Vending Machine application. The program must include the LCD and keypad to communicate between ...
1
vote
2answers
39 views

Can anyone help be get readings off of my potentiometer with a push of a button?

Hi I'm trying to get my Arduino Uno code to work with a in a specific way where if I push a button, the Arduino will read the raw potentiometer value once and if I don't push it nothing happens. https:...
1
vote
1answer
31 views

Current Sensor ACS712 not changing its value even when connected bulb is lit

My task is to find the amount of current a light bulb uses, with that motive I used ACS712 current sensor of 30A connected all the connections properly as shown in the circuit diagram below I tried ...
3
votes
2answers
39 views

Arduino Nano randomly resetting

I am currently struggling with an intermittent problem with an Arduino project. Background I am using a LabVIEW program to control a few pieces of hardware. One of them is a NEMA 17 stepper motor that ...
0
votes
1answer
28 views

DHT11 not working with LED in arduino

the point of my code is to turn on a LED when the humidity level reaches a certain amount. However it reads the amount of humidity but the LED is not turning on. Why isn't it working?? #include <...
1
vote
1answer
66 views

Sound sensor signals with time bracket

I've tried many codes for this to work but anything isn't helping at all, so my code should work like this: If a sound sensor (3 pins, A2) sends 5 signals into the Arduino within 10 seconds (the time ...
3
votes
3answers
55 views

How to get the sizeof array of structs

I'm trying to make a use of a relay module, I want a clear way to configure and control my relay module I've defined the struct and filled it with some info about id, pin number, title, and relay ...
2
votes
1answer
111 views

Connect 12v DC sensor to Arduino UNO using TTL RS485

I'm trying to connect Arduino Uno with BGT PM2510 sensor (which uses 7-12V DC) by using UART TTL to RS485 Two-way Converter. The only thing I wonder is can the sensor damage the MCU ? According to the ...
2
votes
2answers
30 views

Connect 5V relay to ESP32 WROVER B board

I need to use a ESP32 WROVER B based MCU board with a standard (cheap) one-channel 5V relay (e.g. to switch on a mains-power appliance). Attempted removal of excess solder around the headers ...
1
vote
0answers
26 views

CAN bus communication and LCD updation

I am trying to communicate arduino uno with CAN bus using MCP2515 shield. Data sending and receiving both things are done. Whatever data received is displayed on LCD. CAN bus receive is done using ...
0
votes
0answers
101 views

ARDUINO uno / mega etc [closed]

I want to read 9 bit data (which is 1 pulse per second data in decimal form )of rubidium oscillator through arduino in real time (or anything else which can work well). Is it possible to read data ...
2
votes
3answers
2k views

Sending a string from RPi to Arduino - Working Code

I've been researching for 2 days now trying to figure out how to receive a string via I2C on an Arduino. There are plenty of questions online but no real solutions or full tutorials... and sadly I ...
0
votes
0answers
20 views

How to use HM-10 as client, and send messages to specific services/characteristics?

I have been messing around with this module, unfortunately i bought a fake one, but got the original firmware running inside it (V550). So far i can set the HM-10 up as client/master and by using an ...
1
vote
2answers
113 views

Sending letter by letter to LCD, however the LCD knows the full string?

I think this is my last post about this specific project, but I got a really weird curveball right now I managed to do the webpage I wanted, and pass the string along. Now, when a LED lights up, it ...
2
votes
1answer
46 views

Run method Every Hour Passes

I have a method. I need to trigger it every hour passes.(Cron Job) I mean; 10.00 p.m -> Trigger 11.00 p.m -> Trigger 12.00 p.m ->Trigger ... ... Card: Arduino Uno + Wifi Shield. Draft Code ...
0
votes
3answers
54 views

L293D driver DC motors need help to start rotating

I set up this circuit which uses L293D motor driver IC to control two DC motors. +6V input is connected to unregulated power supply. It's current rating is 500 mA. There is a connection between ...
0
votes
1answer
1k views

Serial communication from Arduino to ESP8266 NodeMCU works, but from NodeMCU to Arduino isn't working

My circuit connection is like: (I am following this tutorial) Code uploaded to Arduino: #include <SoftwareSerial.h> #include <ArduinoJson.h> SoftwareSerial s(5,6); void setup() { s....
-1
votes
1answer
35 views

I get an error?

void setup() { Serial.begin(9600); pinMode(13,OUTPUT); } void loop() { if(Serial.available()>0) {s_num =Serial.read();} if(s_num=='0'){ digitalWrite(13,HIGH); delay(100); //the specified time for 0 ...
0
votes
1answer
1k views

Metal detector using Arduino

Is anyone out there building serious metal detectors with the Arduino? By "serious" I mean metal detectors with phase sensitivity to discriminate between ferrous and non-ferrous metals, etc. Seems ...
0
votes
1answer
43 views

Using Arduino to create a countdown that unlock a box

Am new to Arduino. So permit me if I sound so novice. I want to create a countdown device (a clock that will countdown or something) that will unlock a box when the time is up. As an example, let say, ...
2
votes
2answers
151 views

How many connections can Arduino I2C method create?

I was just learning about I2C between 2 Arduinos, one as sender and another as a receiver So I have got curiosity to know how many Arduinos can be connected to I2C connection in serial? I mean, ...
2
votes
3answers
6k views

Sketch will not start with external power source

NOOB Question: when my Uno is connected to an external power source it will not start running the uploaded sketch. The Arduino web site says it's because the RX pin is not connected and then gets ...
1
vote
1answer
28 views

Connecting multiple ultrasonic sensors(hc-sr04) to a single arduino board.(mega)

I am currently working on an alarm system using multiple sensors and one arduino board and I am getting readings from 2 of the sensors but one gives a constant zero and a constant buzzer sound even ...

1
2 3 4 5
153