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
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 ...
-1
votes
1answer
18 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 // ...
-2
votes
0answers
30 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
40 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
43 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
56 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
112 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
32 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 ...
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
114 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
47 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
55 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
152 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
29 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
votes
1answer
55 views

Arduino expected ')' before '{' token

for (byte i = 0; i < mfrc522.uid.size; i++) { Serial.print(mfrc522.uid.uidByte{i} < 0x10 ? " 0" : " "); Serial.print(mfrc522.uid.uidByte{i}, HEX); content....
0
votes
1answer
61 views

Change/declare a constant in setup and use it in loop

I want to change or declare a constant in the setup() and then, I want to access it in the loop(). I have searched a lot, but the only questions I found could be solved by declaring the constant in ...
1
vote
6answers
312 views

My two ultrasonic sensors are reading inaccurately

I am having trouble getting two of my ultra sonic sensors to read accurate results in cm. I am using a HC-SR04 currently. I get random numbers at different distances with an object in front (smooth ...
2
votes
1answer
29 views

Ultrasonic Sensor(HC-SR04) recording random distance

I am am trying to make a code which automatically controls relay on basis of ultrasonic sensor measurements. I am using a nodeMCU as a microcontroller rather than an arduino. The relay and the ...
1
vote
2answers
144 views

What are patterns of bits sent to or read from GPIO pins called?

I want to call them “words”, but I’m uncertain if this is how they are referred to in documentation for the use of a header board that might plug into an ardino board. So if you have a sequence of ONs ...
0
votes
0answers
25 views

Errors occured when switching from Uno to Nano Every

I wrote a code that worked perfectly on an Uno. I switched everything out to a Nano Every, and now I'm getting the following errors: In file included from C:\Program Files\WindowsApps\ArduinoLLC....
1
vote
1answer
36 views

Is there any way to catch the response of SIM800L after sending the at command?

I am using sim 800l with arduino. I am successfully sending AT command from arduino, not in serial monitor but I am unable to catch the response after each successful command execution if its ok or ...
1
vote
3answers
9k views

Using Arduino UNO to retrieve ATMega328P-PU chip signature

Good day. I have successfully built and tested an Arduino-on-breadboard about 2 days ago. The device is rather straight forward, I have added a voltage divider and an LED to indicate power. The ...
0
votes
1answer
49 views

Uno doesn’t get enough power from 5v barrel connector. Why?

I’m using a 5v 20a power supply run through a barrel connector into an Arduino Uno to control an LED strip. When only the barrel is connected, the green light on the Uno comes on but the yellow light ...
1
vote
1answer
40 views

Turning on and off two set of LEDs with two tactile buttons

I have two sets of 4 LEDs. Set A (Led1 Led2, Led3, Led4) Set B (Led5 Led6, Led7, Led8) Both sets have its own tactile button: Tactile A, Tactile B, Tactile A, turning on the LEDs set A and tactile B ...
0
votes
1answer
56 views

Reading sensor with current ouput with Arduino

I am having diffuclt times with this sensor, so I kndliy ask for your help! The sensor is named "SPUVA-CS-C3535-A", datasheet here. The sensor I use (cs3535) has just two pins (+ and -). From my ...
2
votes
1answer
35 views

RS-485 Serial communication problem with arduino

I use 485 modules to transmit data serially from one arduino uno to another uno. If I connect the 2 arduino boards directly without using the rs485 module, the data is sent and received without a ...
1
vote
3answers
430 views

How come my transistor doesn't work?

I have a TIP 120 to 229 NON 60V 5A transistor I'm trying to use it to switch an electro magnet. Using the blink example to test it out: // the setup function runs once when you press reset or power ...
3
votes
2answers
306 views

Switch case options get broken after a function call

I'm sorry for the basic question, but I have a switch case where any code placed after a certain function call simply never gets called, and I've spent half a day looking at it, so thank you so much ...
0
votes
1answer
25 views

How to send Serial data from an Arduino Uno into the Serial of an ESP-01?

So, i need to send sound sensor data from an Arduino Uno to the ESP8266 (ESP-01), so it can output a push notification to my phone whenever there's a loud noise. I have the sensor just powered and ...
0
votes
1answer
40 views

Creating an array, assigning a value to each indices, and assessing the array

I am trying to create an unassigned array of size 512 and then assigning a reading to each indices. I want to get the start time before and after the loop and only run it once. Then I want to know how ...
0
votes
0answers
35 views

OV2640 Camera example with Arduino

I searched for ov2640 with Arduino examples but only I could get the examples of Arducam. So I'm trying this example with OV2640 camera. As ov7670 and ov2640 have similar pinouts. But I'm not getting ...
1
vote
1answer
21 views

RadioHead library change the state when a new message is received

I would like to control a toy car from the server. I use RadioHead library for communication and it works fine. The application running on the server side is as follows. #include <...
0
votes
1answer
80 views

How can I use separate power source for the Arduino and the motors

How can use a separate power source for powering Arduino, and another battery for powering the motors? How can I make connections through the motor driver module L298N? I know how normally we use one ...
1
vote
2answers
1k views

MPU 6050 stuck on same values

I'm having a problem with my MPU6050. I'm using PID to speed up a motor with the MPU values. What could the problem be? Here is a link to a previous question that I asked concerning a problem with ...
0
votes
2answers
131 views

Communication between 2 arduino boards

I am not really 100% too sure how to do this but I am trying to make my arduino UNO communicate with my arduino MEGA. The reason why I needed to do this was because I was using the RFID module along ...
0
votes
1answer
35 views

Error for compiling for board Arduino Uno

I am new to Arduino and just got this error after writing this code:The error message is pasted after the code. I am kindly requesting for assistance so that someone can help me understand why it isn'...
1
vote
2answers
162 views

5v relay module and suitable bulb adapter

I have 5v relay module . I want to use it to connect e27 bulb adapter but i cant choose any suitable adapter . Pls help me sir. I to find exactly the same as the picture
0
votes
1answer
34 views

Coding a Stirrer with Different Speeds

I'm in charge of creating a code for my class using Arduino an Arduino UNO Board. There are 7 switches total: One acts as an start/stop, which allows it to have power when other settings are chosen. ...