The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
1
vote
0answers
22 views

OLED display hectic behavior - interference with other parts of the code?

Disclaimer: I'm a total novice to Arduino so please forgive me if the question may seem trivial, I'm trying my best to learn :) I'm working on a small project where I have a fingerprint sensor, a ...
0
votes
0answers
24 views

How to modify this code to simulate a binary encoder?

I have come across the following SPI slave code at this site: #include <SPI.h> char buf [100]; volatile byte pos; volatile bool process_it; void setup (void) { Serial.begin (115200); // ...
0
votes
0answers
6 views

SIM900 can't attach GPRS

I have a SIMCom SIM900 GPRS Shield that works with an Arduino UNO R3. I am finding problems when I try to perform an HTTP POST request. I started guessing it was a problem with the GPRS because the ...
0
votes
1answer
16 views

turning off diesel engine after atmospheric gas detection (eg-hydrocarbon) [on hold]

Is it possible for Arduino to turn a diesel engine off when the gas detector connected to it gives a signal of presence of harmful vapours say Hydrocarbon in atmosphere. Also the arrangement should be ...
1
vote
2answers
132 views

Why are my thermistor readings backward?

I'm trying to build a thermistor that will flash an LED when the temperature is above 30 C. My set-up appeared to be reporting the room temperature correctly to the Serial Monitor, but then I noticed ...
0
votes
1answer
30 views

Need a component to connect a 9v water pump

I have a 9v water pump that i want to turn on\off from the arduino, What module should i use to turn it on and off? I am using now a mosfet for my 5v pump, can a mosfet be used for 9v as well? Or is ...
0
votes
1answer
29 views

How to dynamically set pinMode and dynamically write value to pins in Arduino using arrays?

I am trying to create a library called "LED" for LED Sequencer in Arduino IDE,where the user has to configure the LED pins using an array and pass it to LED constructor in program and then will be ...
0
votes
0answers
12 views

What is the best way to connect arduino uno with matlab ?? For my project

I conect MPU6050 sensor with arduino uno and read data 1-temperature 2-accelerometer 3-gyroscope on arduino And i wont to send this data to matlab to draw it What is the best way can i do that
2
votes
2answers
200 views

ignoring potentiometer value variations

I've got a 50k potentiometer connected to an Arduino Uno. The user should adjust the hue of an Adafruit NeoPixelStrip. I've got the following code inside the loop function: int hue = analogRead(...
0
votes
0answers
8 views

neo6m doesn't work

I'm using a NEO-6M with my Arduino Uno to get GPS data. Here is my code. But it gives me always null. From few discussion, I came to know that - NEO-6M may take hour to boot or sync clock and it ...
0
votes
0answers
18 views

Hi, I need help with a way to update String pass = “1234” with new string value of (otpcode) in the loop? [on hold]

#include <virtuabotixRTC.h> #include "timestamp32bits.h" virtuabotixRTC myRTC(6, 7, 8); #include "sha1.h" #include "TOTP.h" #include "IRremote.h" int chances = 3; //Chances before buzzer will ...
0
votes
1answer
35 views

Water pump control hysteresis

I'm using arduino with analog pressure sensor, temperature sensor and a relay to control water pump. The simple code I wrote works, but I want better control. #include <OneWire.h> #include <...
0
votes
1answer
42 views

Controlling multiple servos as one

I want to attach multiple servos to Arduino but all them must receive same command. If it possible to connect all servos to one command pin (I don't want to use "for" in code to minimize processor ...
0
votes
0answers
23 views

Please help! My Bluetooth Controlled Car Isn't working

I followed this tutorial: enter link description here I built it according to the schematic except I didn't connect an LED (I assume this isn't the problem). This is the schematic: I'm a beginner so ...
0
votes
0answers
20 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....
0
votes
0answers
11 views

Arduino and EV 3 Compatibility and Simultaneous Usage

I am trying to figure out a way to build a robotic hand that goes rock paper scissors spiderman. Arduino and Minstorms are the software and hardware that I want to use. How can I use an arduino ...
0
votes
0answers
17 views

Help with turning LED on using smartphone with HC-05

I followed this tutorial: Remote Controlled LED using HC-05 I've assembled everything, uploaded the code and connected it with my phone. The code: /* Arduino Turn LED On/Off using Serial Commands ...
0
votes
0answers
17 views

Characters like '$' coming through weirdly (as in '$$amd4') when sent from ESP8266 to Uno via Serial

I am running a program on an Uno using data that an ESP8266 is sending via Serial (can't run directly on the ESP8266 due to not enough GPIOs) and I'm having a problem where characters like '$' on a ...
0
votes
0answers
21 views

Interface gps and ultrasonic sensor simultaneously

I am able to interface gps and the ultrasonic sensor and obtain data successfully for individual interfacing with the Arduino UNO. When I combined the code for these two, I only get the data values ...
0
votes
1answer
21 views

Receiving two values over serial port using servos

So I have a java program that picks up the mouses x and y coords on the display and I would like to send those to my arduino and then move my two servos to those locations (I have two servos ontop of ...
0
votes
0answers
14 views

fingerprint sensor r307

am using fingerprint sensor r307 on my project and when l use connection from datasheet(My circuit connection is: (Green) TX => Pin 0 [PWM] (White) RX => Pin 1 [PWM] //It doesn't respond when ...
0
votes
2answers
30 views

SoftwareSerial interfers with TVout

I'm using an Arduino uno and a Nodemcu for making a game with the phone as a WiFi controller. The Nodemcu is the server that receives inputs from the phone connected via WiFi and sends to the Arduino ...
0
votes
0answers
11 views

Using Library LoRa.h with Wemos D1 R2 for Lora Shield

I have been using Lora Shield for communication between server and multiple sensor with arduino . But recently i must save data received to Cloud . So i choose Wemos D1 R2 that have similar board with ...
1
vote
1answer
42 views

Can someone help me solve a loop question and a couple others for my program?

I am currently working on the elegoo uno r3 smart car kit that uses arduino. I have written some code and it works for the most part but I could use some help. I am trying to figure out what i need to ...
-3
votes
0answers
29 views

emg signals with arduino [closed]

.i want to get emg signal by arduino with this sampeling (250samples/sec) but i cant get more than (160sample/sec) .do you know what should i do?what's max sampeling rate of arduino?
-1
votes
0answers
25 views

How can I use Adruino to control pest in farmer section?And what device that I need to build the prototype? [closed]

Im doing my final year project for my university.Basically,I didn't know so much on how to build prototype,and I need some advice and help on how to build an IOT prototype to control and repel pest in ...
-1
votes
0answers
27 views

Laser engraver that has Arduino Uno controller [closed]

Someone loaded Ribs engraving software and it is not working correctly. It keeps resizing the image that I want to engrave and image editor changes won't save. I want to try something different but I ...
-3
votes
0answers
37 views

Another verification error

This is another post where I am getting the dreaded verification error. Pretty much exhibiting the same thing that many other people are experiencing. So I will cut to the chase. I haven't touched ...
-1
votes
0answers
13 views

Proximity sensor

I'm working on a school project. To be honest, I really don't know anything about arduino, and I need to work with a proximity sensor, the question is: Is there any way to connect the proximity sensor ...
-1
votes
1answer
29 views

Trying to create a delay function whilst performing other functions, using Timer.h libraries. Arduino uno

I am having a compilation error saying invalid useof template-name 'Timer without an argument list.
0
votes
0answers
22 views

tft rong colors arduino [closed]

I have a problem in the TFT screen driver type ili9341 I used mcufrind library after connecting the screen with Arduino as 8-bit by Bord of my design everything works fine except colors appear in ...
0
votes
1answer
27 views

Sparkfun CCS811 Air Quality Sensor is just not workin

i have an Arduino uno board and a sparkfun ccs811 sensor. I tried to reproduce the howto from the sparkfun homepage (https://learn.sparkfun.com/tutorials/ccs811-air-quality-breakout-hookup-guide?_ga=2....
-1
votes
0answers
16 views

SIM 800A error in output as i am unable to receive sms on mymentioned mobile number even after selecting the correct network

Actually my main project is gas leakage detection using arduino and gsm module but I am unable to receive the alert sms ..so I am trying only gsm module program first...plzz help OUTPUT:- AT+CMGF=1 ...
0
votes
1answer
34 views

Getting an Arduino Uno and MKR zero to communicate

I'm very new to Arduino and especially the forum so please let me know if I am on the wrong topic or anything. Anyways let me get straight to the point. I am working on a school project where I need ...
0
votes
1answer
23 views

Reset I2C connection with arduino as slave

I am currently using I2C serial communications with arduino as slave and raspberry pi as the master. I am sending sensor data from arduino to raspberry pi. I need to reset the I2C connection once the ...
0
votes
1answer
23 views

How much current needed to power arduino uno?

I am planning to build an rc car based on arduino uno. I will use 3S 11.1 V Li-po to power whole circuitry. So my question is; First, can arduino be powered directly with 11.1V from its Vin pin? ...
-1
votes
0answers
23 views

MQ2.h: No such file or directory

So, I wanted to know how to fix this problem as the thing said no such file or directory for the MQ2.h. I’m trying to make an air quality sensor and I feel like I’m almost finished. Though, commands ...
0
votes
0answers
26 views

Arduino and Processing- Conditionals only executing sometimes in response to IR codes

I am reasonably new to arduino and even newer to Processing so still struggle with trouble shooting my code. The intention of my sketch is have Processing receive IR codes from the arduino and ...
0
votes
1answer
54 views

Are there any alternatives to Tinkercad Circuits that is PC application based instead of web app based?

I have been using Tinkercad's Circuits web application to create my Arduino circuits and apply my Arduino code (c++) for testing. Despite the amazing product they have and the fact it's free, I find ...
0
votes
3answers
85 views

pin going high not allowing analog read to change

I have the following problem: My arduino takes analogRead(A0) from a potentiometer whose position I can't adjust directly. When analogRead(AO) goes to a value X, I want pin 8 to go HIGH, this ...
-1
votes
0answers
11 views

SIM800L heating when connected with buck convertor

I am using 12V power supply from the adapter and converting it to 3.9V using this buck convertor to power this SIM Module. But surprisingly the sim module heat up and when disconnected VCC and GND ...
-1
votes
0answers
24 views

JSN-SRT 2.0 Ultrasonic Sensor

I ran into problems with my ultrasonic sensor. Normally, when I connect the pins(5V,ECHO, TRIGGER, GND) on the ultrasonic to my arduino uno, a red led that does not blink turns on. Now when I power ...
0
votes
1answer
28 views

Extending pulses of a square wave signal

My idea is to modify a diesel injection system to increase the fueling into the engine. The signal to an injector is a series of 0.1-1.5ms pulses. I would like to analyse the pulses and then send out ...
-1
votes
0answers
16 views

Is the JSN-SR04T 2.0 have analog or digital signals?

I am new to the world of sensors and arduino. Does this sensor have digital or analog outputs?
0
votes
0answers
10 views

USB Host Shield: How to read output buffer regardless of key sate

I am using Arduino UNO R3 with Sparkfun USB Host Shield along with USB_Host_Shield_2.0 library. The following code works well and I do get the ASCII clicked on the keyboard. However, as the code uses ...
0
votes
0answers
19 views

Relay controller with IO expander

found this http://www.zevendevelopment.com/relayexpander.html I was looking to control 48 relays in sequential order with external controls for duration and frequency. How do I properly communicate to ...
0
votes
2answers
55 views

UART communication - Serial is always empty

I have a payment terminal which uses UART (or simply speaking Rx, Tx, Gnd pins) and I have an Android tablet app which is connected to the terminal using USB to DB9 adapter based on PL2303 chip. The ...
0
votes
0answers
34 views

Control 12V power with 3 transitors to 3 seperate consumers

I have this shematic. With one electrical Pump and two solenoid valves I want to control via the arduino. Here are the specs for the parts: Pump: 12V max. 250mA Valve 1: 12V max. 160mA Valve 2: ...
0
votes
1answer
13 views

Problems integrating Reed Switch and Solenoid Lock in Arduino Code

I am trying to integrate solenoid lock, reed switch in my Arduino Code. The flow that I am trying to achieve is - first, the solenoid lock is set to LOW and then the program checks if reed switch is ...
0
votes
1answer
20 views

SIM800L is not registering on network

I'm testing SIM800L module by registering to network manually and I'm getting an error message. Here are the commands I tried. AT+CSQ +CSQ: 31,0 OK AT+CBAND? +CBAND: EGSM_MODE,ALL_BAND OK AT+...