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
1answer
89 views

Is there a way for keypad to stop the buzzer while it is running?

I am new to arduino, currently I am looking for a way to make the keypad able to stop the buzzer making a siren alarm when password are keyed in wrong and able to move into password screen by pressing ...
0
votes
1answer
51 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
0answers
25 views

Integrating blinking light code and time on/off code

I'm trying to integrate code from one of my projects with another. One is code that blinks some Adafruit Neopixel LED strips at a specific rate and the other is a time on/off circuit here is the code ...
0
votes
0answers
37 views

ethernet router in arduino using two enc28j60

I have read in the uIP manual that only one interface can be managed by the uip stack: "The uIP implementation is designed to have only the absolute minimal set of features needed for a full TCP/IP ...
0
votes
1answer
15 views

Sending Strings from NRF24L01 to app

I want to send pushbutton status from the nrf24l01 module to the app named nrfConnect. I could only find libraries that allow me to send float values. How could I send String values to the app? Thank ...
0
votes
1answer
28 views

What is “tws_delay” and how can I use it? (with an ATTiny85)

EDIT: Alright I'm stupid, I had the 2012 library installed somehow, maybe when I downloaded it indirectly from another old tutorial site. Thanks a ton to Peter Freerick for pointing that out! It ...
0
votes
1answer
22 views

Sensor to send SMS

Hi guys I am building a sensor which will send a SMS when an object is identified. The sensor is installed at a staircase landing of an industrial property. An SMS should only be sent out when an ...
0
votes
1answer
28 views

Connecting a time on/off circuit and my adafruit neopixel light strip

I'm new to programming and hardware so be gentle. I've used this tutorial https://www.instructables.com/id/Arduino-Ultra-Mega-Timers/ to create a time on/off circuit. I'm attempting to connect some ...
0
votes
1answer
54 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 ...
0
votes
0answers
18 views

Arduino Uno + NodeMCU serial to MQTT

I made a pool monitor with ORP + pH + temp sensor. I had everything working (apart from ORP sensor causing interference with pH sensor, but that is a different topic...) for the past couple days in a ...
0
votes
1answer
14 views

Weird RTC DS3231 Output only when saving the dates to variables

I am sorry to ask this question as I think it has more to do with my mediocre C++ programming skill than with the arduino. I do have a project where I want to use an RTC DS2131. I started out by using ...
0
votes
1answer
78 views

Is this circuit properly made?

I can't get to work a circuit that doesn't look that hard to copy. This circuit was done for an Arduino extension of my DSC HS2032 system. I was trying the example "Status" on the Arduino's ...
1
vote
1answer
56 views

String(int) function stopping the Arduino

Well I am trying make an application with arduino leonardo and GSM Shield. There are conditions if, else if, else .. etc if (smsMetni.indexOf("DURUM") != -1) { Serial.println("SMS ...
1
vote
2answers
278 views

Spikes in CO2 and TVOC measurements with CJMCU-811 sensor

Firstly, I'm not sure if this is the right SE to ask this question. Please feel free to direct me somewhere else if needed. I am observing large spikes in CO2 and TVOC measurements using the CJMCU-...
0
votes
1answer
35 views

can i convert a pin into ground

i recently started using Arduino uno , but to my despair , the ground pin , without which i cant do any project (or can i ) , so i thought of a possible solution , what if i could program the board to ...
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....
-2
votes
0answers
33 views

Turn off 240v supply using arduino?

I have to turnoff a motor running in 240V AC Three Phase with 12Amps of current using arduino. By what means can I achieve that. I tried for relays, but can't get one with more than 12 amps.
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
28 views

EMI resets atmega on switching ON relay with inductive load like a 230v fan

I am making an automation device. I am using an atmega8a to control 6 relays. The setup is standard, 220v load, 5v dc coil, flyback diode and an NPN transistor to trigger with atmega pin. The problem ...
-2
votes
2answers
53 views

Question About The Error In This Code

Could someone point out what exactly I'm screwing up here and provide a specific solution. Here's the error message: Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno" sketch_jul24g:38:11: ...
0
votes
0answers
102 views

Decoding serial packets, please check my work!

I have a Innovate LC-2 wideband and Megasquirt ECU. The Innovate wideband has RS232 serial output I would like to use instead of the default 0-5V analog output. So I designed and built a board using ...
0
votes
1answer
51 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 ...
0
votes
0answers
50 views

Arduino EPROM dumper with utility program in C

I am writing EPROM dumper with Arduino UNO and utility program in C and I am using Ubuntu 20.04. The Arduino sketch works fine, but I am having few problems with the utility program. The first problem ...
0
votes
2answers
41 views

How to use “+” character as a String

Well I am trying to save phone number as a string. For ease of use I want to add "+" character programmatically. Like this: String cepNo ="+" + "901234567"; But program ...
0
votes
1answer
36 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 ...
1
vote
0answers
29 views

Issue with seial communication [closed]

I am a beginner with c and arduino and am trying to create a 'whack-a-mole' style game. I am having problems with the 'score' variable. At the moment, I am just trying to get it to print to the Serial ...
0
votes
2answers
1k views

Receive an array of characters using SIM900 module

I tried to receive an array of characters using SIM900, but I couldn't. I can receive just one character like 'G', but I want to receive a string "abcd". When I used char* to save the SMS, I failed. ...
0
votes
2answers
5k views

DFRobot GPS init error [Arduino Uno, SIM808]

i have problem with initialization DFRobot SIM808 actually when i try to recieve gps data by SoftwareSerial only it does works (i mean examples based on sending and reading command to and from serial'...
0
votes
1answer
26 views

Can we use UART COMMUNICATION with MCP23017?

I am using MCP23017 as a GPIO expander with Arduino in my project. I have too many serial devices and no pins left on Arduino for UART communication. I am wondering if I can use this MCP23017 GPIO ...
0
votes
0answers
26 views

Bootloader problem on Arduino Uno?

Since today, my Arduino Uno (using Arduino IDE version 1.8.13) lost the capacity to store a sketch upon physical disconnection (does not include button reset). This means, the sketch works properly ...
0
votes
2answers
124 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
-1
votes
0answers
20 views

Help controlling a stepper motor with three push buttons and a potentiometer

I am trying to control a stepper motor with a clockwise, counterclockwise, and stop button, as well as a potentiometer for speed. I got most of the code from other internet sources but i'm having ...
0
votes
1answer
57 views

How to read a specific amount of data via serial?

I'm trying to send data via serial from my Arduino nano to my ESP. Its an integer from 1 to 4 digits so something like 0, 13, 1234, 123, ... Every thing works fine but when the data comes too fast it ...
1
vote
0answers
26 views

Unable to use ir receiver and motor shield together

#include <IRremote.h> #include <AFMotor.h> AF_DCMotor motor(1); int RECV_PIN = 14;//The definition of the infrared receiver pin 11 IRrecv irrecv(RECV_PIN); decode_results results; void ...
0
votes
0answers
35 views

regarding ardunio error

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno" c:\program files (x86)\arduino\hardware\tools\avr\bin../lib/gcc/avr/7.3.0/../../../../avr/bin/ar.exe: unable to rename 'core\core.a'; ...
0
votes
2answers
610 views

Sim800 FTP Arduino

I've been unable to FTP anything using an Arduino and SIM800L. I have reduced the code as far as possible: #include <SoftwareSerial.h> //Create software serial object to communicate with ...
0
votes
2answers
141 views

ESP-01 + UNO won't detect gateway

Apparently, this combination of hardware won't accept anything other than WiFiEsp.h together with SoftwareSerial.h (if anyone knows something better/newer than these two, please let me know). Thing is:...
0
votes
1answer
45 views

Error reading file

What should be done to solve it? I have edited the board.txt file and none of my codes are getting verified it shows this error: "Error reading file (C:\Program Files (x86)\Arduino\hardware\...
0
votes
0answers
21 views

Arduino Due Master Programming

I am newbie. In my application Arduino Due is configured as Master and Arduino Uno as Slave. I need to transfer 24-bit Hexadecimal data of about 79-registers to slave device. At the slave end in ...
0
votes
1answer
102 views

Memory usage in AnalogBinLogger of SdFat library

The AnalogBinLogger.ino file of SdFat library says the following: Each 512 byte data block in the file has a four byte header followed by up to 508 bytes of data. (508 values in 8-bit mode or 254 ...
1
vote
1answer
93 views

Reading 4-20ma signal on arduino

I want to read a 4-20 mA analog signal from a 24V flowmeter. I've read the simplest way is to convert it into 1-5V signal using a 250 ohm resistor. The thing is I want my reading to be precise so my ...
0
votes
1answer
65 views

How to use tinygps.h library to measure distance? using NEO6mv2

any reference site for the format code for tinygps.h to measure distance? or any codes for tinygps.h for measuring distance i'm just a beginner in learning arduino thank you
2
votes
1answer
2k views

Using signal strength feature of nRF24L01 module

This is a walkie-talkie project and this circuit really worked, voice can be transmitted from one nRF module to another nRF. Additionally, I want to observe how well the signal strength is, by ...
2
votes
2answers
3k views

How can I record a push button sequence and store it in an array

I have 3 push buttons and I want to record the sequence in which they are pressed in array of size 10,i.e, I want to record 10 values for example {1,1,2,2,3,3,1,1,1,3}. I want to blink an array of 3 ...
0
votes
0answers
46 views

How I can send data information without work WiFi to LCD?

Hi everyone I am beginning learn coding and the second language English. I have small project I use Arduino uno , esp8266 , dht11 , lcd I2C and use blynk app in my project I have the code and work ...
0
votes
1answer
24 views

Instantiate class in the constructor rather in the top end?

Is there a way to define class variables in the constructor or in a method rather than at the top of the document? I have the following code in my custom library: #include "DHT.h" // DHT ...
0
votes
1answer
19 views

Why delay of more than 64 millisecond stops the servo motor from rotating? I am not using “Servo.h” instead i am just managing the length of pulse

The code I used was this int servo = 5; int angle; void setup() { pinMode(servo, OUTPUT); } void loop() { for (angle = 0;angle<180;angle++){ digitalWrite(servo, HIGH); ...
0
votes
1answer
136 views

How to calculate the RZERO value in MQ135 sensor, I have already burned it for 24 hours?

I've already burned it for 24 hours and it is now giving the constant value of 932.36,pls tell me how to calculate the RZERO value.
0
votes
1answer
67 views

Random characters transmitted from ESP8266 to Arduino

Below is the code for getting a value from Firebase and sending the received data to arduino for performing necessary action. The code here here sends a string "o" to arduino once //uploaded to ...
1
vote
6answers
4k views

MFRC522 not scanning card

So I have an Arduino Uno and an MFRC-522 reader, using a breadboard I've wired it up according to the example sketch which is the mfrc522 DumpInfo sketch. /*Typical pin layout used: * * ...