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

using string to display text on serial monitor

After using int to display text in serial monitor, now i am trying to use string but there is something wrong. The expected reslut is "Led1 is on" in serial monitor but what i get is "285". This is ...
0
votes
0answers
23 views

GSM module Arduino change number

Is it possible to change the phone number the GSM module sends a message to by texting it a keyword or something?
0
votes
1answer
19 views

How to HTTP post a data to Node express API from a Arduino esp8226?

I am HTTP Posting a data to web api https://morning-cliffs-85779.herokuapp.com/api/users from a arduino connected to esp8226. I am using wifiesp library to HTTP_POST a data. The REST apis are hosted ...
0
votes
2answers
25 views

Iteed SD card breakout info for Arduino

I got an SD card breakout from an online shop, its the iteed kind without the level shifter, it has the 3.3 / 5 V switch. I cannot find any libraries or write example for it. Has anyone dealt with it ...
0
votes
1answer
23 views

endless iterations a function in arduino [on hold]

legend: Yi = Y new Yi-1 = Y old i want to make this in my arduino my function Yi = Yi-1 +6 start y0 = 0 ==================================================== Y1 = Y0 +6 = 6 Y2 = Y1 +6 = 12 Y3 =...
0
votes
1answer
23 views

My Serial plotter isn't working (arduino)

I'm trying to upload this code and it works properly but I can't see anything on my serial plotter const int AnalogIn_Pin0= A0; const int AnalogIn_Pin1=A1; const int Pwmout_PIN=11; float ...
0
votes
0answers
21 views

How do I use input capture along side waveform generation mode in the same timer?

The objective is to use timer 1 to generate a waveform on pin 10, fast PWM with a prescaler (frequency and duty cycle is selected by serial input, which leads the prescaler to be selects through a ...
0
votes
1answer
19 views

Problem uploading to board error, but I've selected the port and the board type?

I am having an issue when I try to upload a program to the board. I am working on a Simon Says game, and when I first started uploading, my computer handled it fine. Everything worked properly. ...
0
votes
1answer
25 views

My brand new LCD screen doesn't display anything, even though there is no code errors?

I have a LCD screen, and I wanted to use it with a Simon Says game that I am making. I tried the tutorial on the Arduino website, but it doesn't work. Then I tried another tutorial on Adafruit. On ...
1
vote
1answer
50 views

5 switches, 5 leds, 5 tones, in an Array

The idea is when a switch is pushed, the corresponding tone will be played as well as lighting up the corresponding LED. I have the circuit set up to where each array matches another, for example ...
0
votes
1answer
64 views

Will this sketch eventually fail because of integer limit issue?

I am a novice in Arduino programming and I'm setting up an Arduino controlled, underwater time-lapse camera to take a picture every 2 hours. It's going in the ocean for a month and I want to be sure ...
0
votes
0answers
14 views

ESP8266-01 w/ Arduino Uno: Failed to connect to Espressif device: Invalid head of packet

I have an Arduino Uno hooked up to an ESP8266-01. I've changed out the wiring multiple times and reassembled them just to make sure that I'm wiring everything the way it should be. I am however unable ...
0
votes
2answers
20 views

Arduino Force sensitive Resistor with an lcd

So we were asked to do something with a force sensitive resistor so naturally i thought of a project which takes the name of the main component which is force and applies it ,mine works by as you ...
1
vote
2answers
41 views

Not enough memory

I am making a simple calculator with Arduino Uno R3. It only has +, -, x and /. I use 3 libraries: This use for LCD with I2C module. Arduino-LiquidCrystal-I2C-library This use for keypad 4x4. Chris--...
0
votes
1answer
15 views

ESP8266 - 12F High consumption in led blink (with pictures)

My esp is consuming 180mA with a led blink. The same consumption happens when I put it in WIFI_STA mode with the WiFi.mode(WIFI_STA); function. What should I do to reduce consumption? Used AMS1117 CI ...
1
vote
0answers
33 views

What are the specific pins to connect the following : DHT 11, ULTRASONIC SENSOR, ESP8266 and arduino uno? [on hold]

I researched a lot on how to connect this devices to each other to get the data from ultrasonic sensor and DHT11. But it wasn't clear on how I will connect the devices on their pins. I found one ...
0
votes
0answers
32 views

Error in arduino interrupt program

I'm facing some problem in the arduino code written below using interrupt. The letter 'i' never gets printed even when pin 3 is low. Can someone point out the errors in it please? #include <...
1
vote
3answers
421 views

Can now() roll over just like millis()?

I'm using now() and millis() to trigger events after a certain time has passed. I am aware, and it's also easily found on the web, that millis() rolls over after a certain time has passed and for code ...
0
votes
1answer
24 views

ESP8266 - One server sending data to multiple clients

I have a few arduinos with ESPs, one of which is set up to measure temperature, and I'd like to have it send commands to other connected arduinos to perform various functions (open/close valves etc.) ...
0
votes
0answers
16 views

Powering the adafruit motor shield externally

I have an adafruit motor shield v2.3 that needs to be powered externally without plugging it in the arduino UNO. For example, I program the shield with the UNO, plug it out and put it on a custom ...
0
votes
0answers
16 views

How to code 'Adafruit motor shield v2' in 'Scratch'?

I bought two motor shields from 'Adafruit' and stacked them each other and set on an Arduino UNO board. /* ************************************************************************** source : https://...
0
votes
1answer
65 views

Why are my if statements acting like the condition is always true? [on hold]

Here is my code. My issue is is that the keys are getting "pressed" even though there is nothing jumping any of the pins on the arduino. // UNO-HIDKeyboard-Library - Version: Latest // This ...
0
votes
0answers
29 views

its showing cannot declare variable“client”to be of abstract type “WiFiClient” below is code

#include <ESP8266WiFi.h> #include "Adafruit_MQTT.h" #include "Adafruit_MQTT_Client.h" #define Relay1 D5 #define Relay2 D2 #define Relay3 D1 #define Relay4 ...
-1
votes
1answer
43 views

Arduino NOOB - Stepper Motor + Rotary Encoder Control

I have a very basic Arduino setup : Arduino Uno Rotary encoder Nema 17 stepper motor + A4988 driver How can I control the rotation of the motor with the rotary encoder? How can I get it to make one ...
0
votes
1answer
49 views

Garbage stored in SD card

I am an electronics graduate and an embedded design engineer, working in this field for about two years apart from the hobby time during my graduation. I am currently working on a system that has an ...
0
votes
4answers
51 views

How much voltage and current can a Arduino uno digital input sink?

I am having a digital output of 24VDC and 0.5A from ABB IRC5 controller. I need to feed this digital output to the digital input of Arduino uno. How can I do that?
0
votes
0answers
21 views

Test the RPM readings of servo motor through Wireless Frequency meter [closed]

How can we test the RPM readings of the high power servo motor by fetching the data from wireless frequency meter (trying to interface with Arduino) which actually sense the frequency as well as the ...
0
votes
0answers
38 views

Ardunio Keypad Multiplier [closed]

I have an Arduino project which measures power and it has a price displayed. My problem is when I enter the per kilowatt value from the keypad in case 1, and when I go back to the case 1, the value is ...
0
votes
1answer
16 views

ESP8266-01S Stopped responding after second launch

Here's the code: #include <SoftwareSerial.h> #define RX 6 #define TX 5 String AP = "..."; String PASS = "..."; SoftwareSerial esp8266(RX,TX); void setup() { Serial.begin(9600); Serial....
0
votes
0answers
15 views

How to send the data of a sersor to Eclipse? [closed]

I want to make my own Java program which can be plot the real time graph with Arduino's sensor datas. I can make the basic plot graph program with default values. But I don't know how to connect ...
0
votes
1answer
25 views

Read Multiple Sensors Data from a text file located in SD Card in Arduino/ESP32

I am working on a small home project 'glucose meter' via non invasive techniques. I am using four sensors like RGB color sensor, two multi-wavelength photo diodes (A & B) and temperature sensor (K-...
0
votes
0answers
29 views

Want to know about Timer1 library for my digital timer project

It is a timer which control 2 nos of AC by a relay. Timer interval show in a seven segment display. Just show only hours like 1 or 2 or 3. Count down not required. 4 channel DIP switch select the ...
0
votes
1answer
31 views

How to have multiple digital outputs for the same pin on Arduino Uno and Simulink?

I'm trying to develop a PID controller with Simulink as shown in the image PID. I'm using a PID controller to control a motor via an Arduino Uno and motor driver. I have the PID output connected to ...
0
votes
1answer
31 views

How to use? ATmega328P Development Board for Arduino UNO R3 Bootloader Project DIY

How to use? ATmega328P Development Board for Arduino UNO R3 Bootloader Project DIY.
0
votes
2answers
26 views

Leonardo Problem

I have boiled this down to a very simple piece of code: int testKey; void setup() { Serial.begin(9600); } void loop() { Serial.println("Input Source ID "); //Ask me the number while (Serial....
-2
votes
0answers
29 views

Arduino Hello World [duplicate]

So here's my code for the when i enter 3 ready to read bits in the serial monitor it prints a hello world and resets the number of available bytes to 0, i got the, it wont print anything when only one ...
0
votes
1answer
22 views

Using Arduino UNO for uploading a sketch to the Espresso Lite v2

I am trying to use my Arduino UNO as a programming interface to load sketches on the Espresso Lite v2. I followed the instructions to setup the Wifi network (long press gpio13 and the AP thing), but ...
0
votes
0answers
21 views

Arduino Uno + ESP-01 get request value print in serial monitor [duplicate]

Hello i have made a webpage on esp-01.In the webpage there is a textbox and submit button.I want to display the characters written in the textbox in my serial monitor. if(esp8266.find("+IPD,")) { ...
0
votes
1answer
44 views

If/Else Statements on Arduino not executing

I have a bit of code below, the problem is only the first 'if' statement will execute when called on. When I call on u, q, or any of the other if statements it will go straight to the else and not ...
0
votes
0answers
10 views

24W Linear Solenoid and ADXL335 Accelerometer on Uno R3

How to figure out what base-resistor and what ratings are needed for the diode and transistor, based on the power of the solenoid and from the Arduino? Goal: make a solenoid pull when the system ...
0
votes
0answers
29 views

How to write a Arduino program for 5 sensors [closed]

I'm going to use a Arduino Uno board and I want to connect 5 sensors to my board, they are PIR sensor, Water flow sensor, Water level sensor, humidity sensor and soil moisture sensor.And also I want ...
3
votes
1answer
34 views

Change operational mode of CAN transceiver

I have two MCP2515 stand-alone CAN controllers with SPI interface, two TJA1042 CAN transceivers and two Arduino Uno boards. As you may know TJA1042 have two operational modes: Sleep mode Normal mode. ...
0
votes
0answers
25 views

board.digital[pin].write doesn't work as expected [closed]

I'm using pyfirmata to turn on an LED light from my Arduino Uno. In my code, when I execute board.digital[pin].write(1), then this will turn off the light, but if execute board.digital[pin].write(0), ...
0
votes
1answer
18 views

Powering Arduino and LED strips from one adapter

My project has my Arduino controlling 10 led strips. I'm going with a plan by @gre_gor that is posted here: Setting 10 RGB Strips Independently from Single Arduino ...where each strip is controlled by ...
0
votes
1answer
24 views

Need help on Arduino as ISP

If I use an Arduino board to bootload a new chip, is it still possible to use the microcontroller on the board for another project, or it will only be for bootloading new chips.
-1
votes
2answers
30 views

Fluctuating voltage coming out of arduino uno 3.3 output pin [closed]

Problem with my arduino is when I check voltage of 3.3 volt pin using multimeter , voltage varries a lot from 1.5v upto 5v. Due to which esp8266 wifi module connected to this 3.3v pin gets very hot. ...
0
votes
3answers
61 views

(ultrasonic sensor code : No such file or directory)

I'm beginning in Arduino I do not understand what the error means. Please tell me where I can find the resources to understand it and allow the code to compile. #include <RCSwitch.h> #include &...
0
votes
0answers
37 views

Humidity sensor showing weird readings

I am new to arduino and was testing humbidity sensor. when i run the program the its showing humidity = -999 and temp = -999 which is strange. Here is my code:- #include <dht.h> dht DHT; #...
1
vote
1answer
52 views

Arduino Uno ADCH register stuck at 255 when read from ISR

I'm working on a project that will essentially become an oscilloscope in the long run. I am following this guide. My code is uploaded here for more reference. In my .ino file I have called functions ...
1
vote
4answers
83 views

Multiple RGB led strips with Uno - options? [duplicate]

I know there's quite a few threads with similar answers already, but I hope you won't mind me asking anyways. One thread has what looks like a good solution but it's old and thought it may be better ...