Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino-uno]

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

0
votes
0answers
10 views

Power on reset with arduino uno can never happen. Can this be fixed?

When an Arduino Uno is powered on, the USB chip's DTR output pin may (is, in fact) low for a while. This means that the capacitor C5 is connected from the 328p reset pin to ground. Thus, when power ...
0
votes
2answers
21 views

What bootloader is present by default on Arduino Uno?

Or where can i find information of default bootloaders present on each Arduino board. All I could look up was it could be one of these bootloaders on the atmega chip :- .Atmega .Atmega8 .bt .caterina ...
0
votes
1answer
30 views

ets Jan 8 2013,rst cause:4, boot mode:(1,7)

I am facing a issue with the ESP8266-01 as the following below: chksum 0x42 csum 0x42 ~ld ets Jan 8 2013,rst cause:4, boot mode:(1,0) wdt reset Anyone has the solution please help!! #include <...
-1
votes
0answers
9 views

I want to build arduino gas sensor with buzzer and gsm module a6

I need help for coding to turn on and off the system and send alert message to owners phone no. . Please help me
0
votes
1answer
39 views

Program is working wrong while melody playing

My robot working fine but when I added buzzer and melody into code then is something wrong. Melody is playing when accelerometer is activated but rest of the code need to wait to end of melody. I want ...
0
votes
1answer
21 views

threshold voltage level and blinking problem

I am using arduino pro mini 3.3 V,8 Mhz.vcc of the this arduino is coming from AC-DC converter with regulator 3.3 volt.I am listening analog data from voltage divider approximately 250 milivolts. I ...
0
votes
0answers
8 views

can i charge a large capacitor with a small resistor? [migrated]

I am working on this simple Arduino CAPACITANCE METER this project uses 2 resistors a 10k ohms resistor for charging and 220ohms resistor for discharging. The arduino is programmed to measure the ...
0
votes
1answer
14 views

vk2828u7g5lf GPS module over SoftwareSerial

So my goal was simple. Trying to get a GPS speed, and show it on a display (later use it to control a stepper motor). I am using the vk2828u7g5lf GPS module from Banggood, which after days of ...
0
votes
1answer
24 views

Arduino Warnings That I dont know how to solve [on hold]

#define LDR_DriverS A0 #define LDR_MiddS A1 #define LDR_PassangerS A2 #define senQty 3 #define engineA 6 #define engineB 5 //Motor Driver Inputs Pins #define IN1 7 #define IN2 8 #define IN3 9 #define ...
0
votes
1answer
28 views

Programming a switching AC current?

I tried using this code to output AC power from one H-bridge and then another, switching every second, but when I connected a motor to it, it just seemed to output direct current. This is the code I ...
0
votes
1answer
27 views

4 digit 7 segments display wrong number

I'm an Arduino newbie having problems with 4 digit 7 segments display. I want to display some thousands to 4 digit 7 segments display but it display only 0000. I want to receive data from serial with ...
2
votes
3answers
120 views

Control I2C relay board from two Arduino Uno

how can I make multi master Arduino device to work with single I2C device? As both the master device are 20 m away from Slave device, I am using the I2C relay board to connect with 2 Arduino boards ...
1
vote
2answers
39 views

remotely uploading code to arduino board over internet [on hold]

I recently used Particle photon that allows me to upload firmware bin remotely over the internet. I would like to use something like this for my arduino but I cannot find anything like that. Does ...
0
votes
1answer
28 views

Addressable RGB LED Strip

I am looking to create an addressable RGB LED strip circuit with my NodeMCU v3 Wi-Fi. I am looking at a strip of 150 RGB LEDs, 5 meters long, so 30 LED/m. But I am only going to use about 50 LEDs for ...
0
votes
2answers
33 views

Confusion between switch and if?

Following code is to control two LEDs for on and off by two dedicated push buttons. I have used if() for each condition and I was not comfortable writing this code, as I could feel, it can be better ...
0
votes
0answers
34 views

Count fuel liters with Arduino

we have created one fuel sensor in our lab with arduino in order to get fuel data from vehicles.Regarding the code below i receive an error PARSE ERROR: 'attachInterrupt': this function needs to be ...
0
votes
0answers
32 views

Arduino Uno powered by 9v battery gives ticking noises (Otto Robot)

I built an Otto robot based on an Arduino Nano board and powered it with a 9 V block battery and everything worked as intended. I'm currently recreating the project with a group of kids, but we only ...
0
votes
0answers
19 views

FSR Sensor to keep pressure in 7 seconds?

I have a FSR sensor, where I need to ensure that it has a pressing value of at least 250 in 7 seconds. The values are not important, but needs to be above 250 in 7 seconds in order to run an other ...
-1
votes
0answers
22 views

How can i convert data values into an image [on hold]

Yeah so i'm wondering if there is any way to take two values assign them as coordinates, take a third value and assign it as brightness, so it starts drawing a grayscale image. Any ideas?
-1
votes
0answers
12 views

Connecting BO motor with L293D? [on hold]

I have Arduino UNO and this BO motor with me. https://robu.in/product/100-rpm-l-shape-bo-motor/ And motor driver. https://robu.in/product/9736/?gclid=EAIaIQobChMI9r74u5-...
0
votes
1answer
27 views

Trouble understanding connection diagram

The image shows a way of connecting an optocoupler. My problem comes from how the emitter (Q1 in the image) is connected. The emmiter goes to a resistance going to ground and to v_out. When i try to ...
-1
votes
1answer
22 views

Arduino Voice recognition

Is it possible to use only arduino to do voice recognition? or maybe with esp32 no internet. I found speech recognition chip but that's not what i want I got esp32 esp8266 and arduino board. I would ...
0
votes
1answer
51 views

Arduino button-controlled LED with AVR Assembly

I am trying to make a simple button-controlled LED, but I cannot seem to get any input from the button that would change the state of the LED. In other words, the program keeps branching to lighton, ...
0
votes
1answer
32 views

Question about browsing the web using arduino

I have got an arduino, a TFT touch screen and a WIFI module. The question is can i visit a specific web site and display it on that screen and interact with it.
0
votes
0answers
25 views

Arduino commented while loop will not compile [duplicate]

I have a rather weird issue where my Arduino IDE would not compile if I just change a few lines. The quoted is from the verbose output of Arduino IDE. I skip over a lot of lines giving out file paths....
0
votes
1answer
19 views

Using TFT with hardware SPI and speaker with tone()

I want to make a device with a TFT screen and a speaker that uses the builtin tone() function. However, according to the documentation, using tone() interferes with PWM on pins 3 and 11. On the ...
0
votes
0answers
81 views

Arduino burned vacuum cleaner

I'm a newbie in programming and electronics. So far, i get better lol, after all i don't get my Vacuum Cleaner to work, it allways going to burn the board, Could someone just please take a look at my ...
0
votes
1answer
13 views

Feed values to an array using keypad interfaced with Arduino Uno

I am trying to input keypad values to an array. The code compiles without any error. When running the code, the code proceeds into the for loop and prints 'm' on the lcd, but doesn't execute "...
1
vote
1answer
46 views

Arduino Power Consumption

I am pairing an Arduino Uno along with both a HC-05 bluetooth module and a sensor circuit. Show below is the circuit conditions as well as the circuit. As far as powering up the system, I am ...
-1
votes
0answers
29 views

readping wasn't declared in this scope [closed]

#include <Servo.h> //Servo motor library. This is standard library #include <NewPing.h> //Ultrasonic sensor function library. You must install this library int vale; int ...
0
votes
1answer
31 views

FreeRTOS Timer Use

I use Timer1 on an UNO to generate a 38KHZ signal for IR communications. It all works as expected. BUT, I need to convert the code to run as a task under FreeRTOS, and can't seem to find any details ...
0
votes
1answer
34 views

Getting individual outputs from 4 load cells

This is my first time using an Arduino, and I want to connect 4 load cells to one Arduino board and then get 4 separate outputs for each load cell on a computer. What would I need to accomplish this ...
-1
votes
0answers
15 views

Combining codes for DHT22 and BMP180 [closed]

I am trying to build a weather station and to access its data through mobile SMS/Text messages using GPRS sim 900, but I don't know how to combine the codes of DHT22 and BMP180 into a single sketch. ...
0
votes
0answers
21 views

Unable to send serial data received over RS485 on ethernet

I have connected multiple Arduinos using Max485. I am trying to send data received over RS485 to ethernet using Ethernet Shield. I have modified rolling master solution provided by Nick Gammon. Now ...
-2
votes
2answers
62 views

How to make Built in LED blink systematically?

I am trying to make my built in LED on my arduino blink every 1 second while recording my data and putting it in the EEPROM, but I am not sure how to do that. I am supposed to print data to the EEPROM ...
-1
votes
0answers
28 views

running two programs in parallel [closed]

can anyone please tell me how to do the following part? a door which is controlled using RFID technology (RFID reader and tag) and fire sensor. what i mean is, the door should be unlocked whenever the ...
0
votes
0answers
17 views

How to generate 8Nos. 40KHZ burst signal using arduino uno [duplicate]

#include <LiquidCrystal.h> #define burst 18 #define measure 19 unsigned long starttime=0; LiquidCrystal lcd(2,3,4,5,6,7); float time=0,distance=0; void setup() { lcd.begin(16,2); pinMode(...
0
votes
1answer
24 views

problem related to arduino

first of all, I am not very good at English. if I have done a mistake during describe the problem apologize me. I want to combine both ultrasonic sensor code and mpu6050 sensor. can anyone tell me how ...
0
votes
1answer
25 views

Look for Master and Slave code with error for a Arduino Mege

I am building a a-10c Sim. So I need lots of input and outputs. Each Arduino has 54 digital i/o and 16 analog inputs in each. As I need more I just add another arduino mega 2560. I want to thank in ...
0
votes
1answer
30 views

Ultrasonic sensor showing weird reading

When i run a test code in Newping library for ultrasonic sensor SR04 then in works properly but when i run the actual code for obstacle avoiding robot then it shows 0 cm everytime. This means that ...
-4
votes
0answers
23 views

Create a program with two LED. The first LED should blink five times followed by second LED blink three times [closed]

if anybody can help me out ? Create a program with two LED. The first LED should blink five times followed by second LED blink three times.
0
votes
1answer
13 views

How To Stop Linear Actuator?

I wrote a code but the motor does not stop, it keeps moving can anyone send to a code that can I stop the motor after my code that shows bellow? const int forwards = 7; const int backwards = 6;//...
0
votes
1answer
53 views

Is there something wrong in my sketch?

I've been working on a project that need two sensors(mq2 and mpu6050), I got each sketches from the internet and I managed to work the mq2 but for the mpu6050, I'm still not sure if its working. The ...
2
votes
1answer
72 views

LED intensity on digital pins [duplicate]

I am using an Arduino UNO. On any digital/analog pin, if an LED (with resistor) is connected and we use digitalWrite(pin,HIGH) the LED lights up rather dimly. On the other hand, if we use pinMode(...
-3
votes
1answer
28 views

Unable to use com in arduino [closed]

I am using Mac 10.14.1 and there has no com port in Arduino ide but my Arduino detect in that port...I want to use AT command using com3 port...but there has no com3 or com4 port.. please help me to ...
1
vote
1answer
55 views

Getting two Arduinos to talk to each other via an optocoupler [closed]

I've setup two Arduinos connected via an optocoupler on a breadboard. One Arduino is a sender and sends pulses to the optocoupler causing the diode to turn on. When this happens the other Arduino ...
0
votes
1answer
26 views

How to retain the on state of the LED and buzzer if the sensor is triggered?

I'm working on a project which is likely an earthquake alarm. The sketch that I got from the internet does not retain the "on" state of the indicators(LED and buzzer)when it is triggered. I want to ...
0
votes
1answer
25 views

Getting incorrect output from ADC over SPI in Arduino Uno

I am trying to read data from an ADC ADCS7476 (datasheet) using SPI on Arduino Uno. I am using the following code to read the data from the ADC and printing it on serial monitor. However, the code is ...
0
votes
2answers
49 views

Make a float using integers [closed]

I want to make a floating point number that has only one decimal point. I have separate integers for both side. Ex: int n1 = 8; int n2 = 2; I want to make 8.2 as float value using separate ...