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.

1
vote
2answers
118 views

Connecting 12V WS2811 RGB LEDs to Arduino Uno & 5V Power Source (Breadboard needed?)

I have an Arduino Uno, 12V WS2811 RGB LEDs (from Mokungit), a 5V power source, and DC power connector. I do not have a breadboard and hope I don't need one. This is almost exactly what I need to ...
0
votes
1answer
47 views

How to regulate a led on-board? [closed]

There is blink project consisting 3 sections: 1 - regulation of the led brightness using a potentiometer 2 - whenever: the button is pressed - the led is on - the button is released - the led is ...
2
votes
2answers
57 views

Arduino UNO socket

As I learnt so far is that Arduino UNO board has a socket for power input. The available power input range is between 7V - 20V, but the optimal usage range is 7V-12V. Here I am wondering: ---> if ...
0
votes
1answer
32 views

esp8266 + octocoupler relay: WDT reset when using AC current

I'm trying to switch on bulb via 4 channel 5V optocoupler relay controller from ESP8266 using WIFI Access point. All my connections looking fine and i can able to connect WIFI SoftAP and send signal ...
0
votes
1answer
24 views

DF Robot W5200 Ethernet Shield for an Arduino Uno not working?

I've been working on using an ethernet shield for my Arduino Uno for a couple weeks now. I've been going through the problems one by one and now realise that there seems to be nothing transmitting. ...
0
votes
0answers
15 views

I want to control a mini servo with 2 sensors (trct5000)

I have an Arduino Uno connected to one mini servo (SG90) and 2 sensors (tcrt5000). I've made code that controls the servo when the sensor has detected an object. In this code when the servo moves ...
0
votes
2answers
41 views

Why isn't the stack pointer changing in this simple sketch?

I'm playing around with context switching, and my first idea is to play with SP and see how it changes. However, Sp doesn't do what I expect. The sketch is below. I'm using an Uno R3. What I expect ...
2
votes
3answers
85 views

How to do I2C on Arduino with SDA and SCL pin already used

i have a Arduino screwshield from sparkfun that I purchased: https://www.sparkfun.com/products/9729 which I used to put between my arduino uno and my 2.8" TFT LCD touch shield so that I am able to use ...
0
votes
1answer
47 views

Beginner problem with DC motor

I am new to electronics and I'm having a problem when creating my project. I have created a Bluetooth controlled rover using HC-06, Dual H-bridge motor driver and 4 DC motors. However, only two of the ...
0
votes
1answer
214 views

Connection from Arduino Uno to Microsoft SQL Server Database

I would like to make a connection from Arduino Uno to Microsoft SQL Server for storing student attendance records into a table from my database. So, what is the best way to do that? I need a ...
0
votes
2answers
45 views

How to get a feedback that something connected to an Arduino is working? [closed]

Assume you have an Arduino Uno board, the board is connected to some sensors, maybe a stepper motor or something, it does not matter. How to get feedback or diagnostics or something that all the ...
0
votes
1answer
43 views

ESP8266 + HC-05 on same arduino

I'm absolutely new to arduino, so please excuse me if this is a noob question. I want to use a ESP8266 esp-03 Wifi module with a HC-05 bluetooth module together with my arduino uno. Unfortunately ...
-1
votes
1answer
40 views

using string to display text on serial monitor [closed]

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
1answer
37 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
3answers
35 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
29 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
1answer
34 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
34 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
56 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
76 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
2answers
35 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
65 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
17 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
43 views

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

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 ...
1
vote
3answers
443 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
93 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
20 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
1answer
84 views

Why are my if statements acting like the condition is always true?

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 program ...
-1
votes
1answer
200 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
67 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
94 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
1answer
24 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
1answer
51 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
1answer
48 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
53 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
28 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....
0
votes
1answer
47 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
1answer
48 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 ...
3
votes
1answer
42 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
1answer
26 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
34 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
155 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 &...
1
vote
1answer
61 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
111 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 ...
-1
votes
1answer
57 views

How to connect 2 Arduino Unos when one has a TFT LCD display attached to it? [duplicate]

I have to make a school project involving an Arduino Uno with a 2.8" TFT LCD touch screen display. in my project, i have to connect it such that the display is linked to a LED push button that receive ...
0
votes
1answer
31 views

Serial communication between an Uno and an Esplora by connecting their usb ports together

I’m trying to send a character message from an arduino uno to an esplora by connecting their usb ports together. The esplora has a micro usb port, while the uno uses a usb B port. To hooked them up, ...
0
votes
1answer
49 views

How do you use the plastic cover/case that came with Arduino?

They have holes for screw on, on top of the holes on the Arduino itself. Where can I find parts that are compatible with this case/cover? What was the intended use of this case/cover? Thanks.
0
votes
2answers
83 views

Arduino Hello World in Serial monitor

Hi we were asked to program something which when i enter something in the serial monitor it prints Hello world but the catch is it only prints hello world under the conditions that your input in the ...
0
votes
2answers
46 views

How do I run a bipolar motor with an arduino uno? [duplicate]

At the risk of looking like a complete idiot on the internet, I'll preface with this; I'm incredibly new to this. I'm new even to coding, and not sure what questions I should be asking. I'm trying to ...