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
35 views

My Arduino UNO works, but 2 smd overheats. Why?

I can use my Arduino with the usb plug, but 2 smd overheating when I plug into the computer, But when I use the DC plug, the leds on the Arduino barely visible (for example the "ON" led), so ...
4
votes
1answer
48 views

Custom LED toggling function: one out of three LEDs misbehave

I connected three LEDs to an Arduino Uno and wrote a simple LED class. I toggle all the leds the main loop, but for some reason one led (connected to pin7) always misbehaves, skips one toggle or stays ...
2
votes
1answer
302 views

Can’t set duty cycle to 0% with custom PWM

I'm trying to control a heating element with PWM with an Arduino Nano, but the problem is even if I set the duty cycle to 0 it gives a tiny spike. I want to generate a square wave of 1Hz and that's ...
1
vote
1answer
61 views

12V Relay not clicking

Trying to power the 12V relay from an Arduino to make an automatic cocktail maker. Looking to power 12V water pumps off of the relay. However, the relay is not clicking, only getting the light. The ...
1
vote
0answers
42 views

What happens if Millis() method variable goes out of it's capacity? [duplicate]

I am now working on a project which is expected to last at least 5 years from the time it is completed. In that project, i can not use delay() for some purposes so I am using millis() method unsigned ...
2
votes
3answers
160 views

I develop an earthquake detector but when it detects a movement, the alarm doesn't stop from ringing

This is the code that I used. Actually, I use to code: for Arduino sofware and processing IDE software. Arduino Source Code/Program: #include<LiquidCrystal.h> // lcd Header LiquidCrystal lcd(7,6,...
1
vote
0answers
40 views

Program an lcd display with 12 pins

I have a screen just like this (is the datasheet). My question is, Can I use it to an Arduino board?
1
vote
0answers
55 views

MAX31865 and PT100 readings problem

PT100 (3 wire) is connected to arduino uno as i believe i have them connected properly, i have checked other forums such as changing the capacitor to ferrite core, and probably changing up to 4 ...
1
vote
0answers
33 views

Mesure sensor voltage by 328p and OP Amp in parallel

I am designing a circuit to measure the temperature via a thermistor via the ADC pin on a 328p and I am looking for some advice. As a failover I am also using an OP Amp as a comparator, to see whether ...
1
vote
0answers
41 views

How to avoid stepper motor to revert its spin direction from code

I'm working with an Arduino UNO and a stepper motor NEMA 17. I would like to know how to avoid the stepper motor to revert its spin direction when I apply a load in the shaft. The motor works as I ...
1
vote
1answer
37 views

Custom 328P-AU board not responding via ICSP

I created a custom PCB based on a 328P. The design is mainly based on the Arduino Nano schematic (3.0). The boards have arrived some days ago, and I can't get avrdude to recognize them via USBASP (or ...
1
vote
0answers
29 views

Can't transfer information from esp8266 to arduino

I have esp8266. Which I am trying to set up to be a self-contained access point and server (tcp). ESP8266 is connected to ports 2,3 of Arduino Uno. On Arduino, I want to process all information coming ...
1
vote
0answers
56 views

PID Arduino UNO

I want to implement a PD controller in Arduino using the PID library. Should I put Ki=0 and the rest of the constants as desired? /* BALL BALANCING USING A PID CONTROL with 6" resistive ...
1
vote
0answers
41 views

Arduino PID Library

I hope you're doing well. I have some questions regarding the PID functions. Can you please explain to me the following commands? I shall be very thankful to you. PID myPIDX(&InputX, &OutputX,...
1
vote
1answer
74 views

Select pin to connect RF receiver

I use the RCSwitch library receive signals with a RF receiver. I really need to change the pin the receiver is connected to on my Arduino Uno. What should I change in my sketch? What pins can I ...
1
vote
1answer
30 views

Using External Power Supply Arduino Uno

I have an AA battery holder for 9V. Two wires come out of it, one for positive and another for negative. How can I wire it up to my Arduino Uno? It kind of looks like this.
2
votes
2answers
66 views

Higher than 12V Arduino Uno

On many tutorials I have looked at, they say that you should power your Arduino with a 5 - 12V external power supply, but on the Arduino, there is a voltage regulator. Is there anything wrong with ...
2
votes
0answers
46 views

receives 0 0 instead of "hello"

I receive the following: 09:27:10.618 -> 0 0 09:27:12.589 -> 0 0 09:27:14.616 -> 0 0 09:27:16.622 -> 0 0 09:27:18.576 -> 0 0 09:27:20.577 -> 0 0 09:27:22.583 -> 0 0 09:27:...
3
votes
1answer
50 views

How can I pause serial transfer and then un-pause it?

So I am running a USB (UART) connection from my Arduino UNO (using the serialtransfer.h library) to my pc (using the pyserial transfer library). This how the INTENDED cycle of code goes: I receive the ...
2
votes
1answer
74 views

I have a problem with this code where the buzzer won't work

const int buzzerPin = 7; const int flamePin = 10; int Flame = HIGH; int redled = 8; void setup() { pinMode(buzzerPin, OUTPUT); pinMode(redled, OUTPUT); pinMode(flamePin, INPUT); Serial.begin(...
1
vote
1answer
76 views

Simple GET request is failing silently

I'm trying to make a simple GET request to a server (which has a static IP but does not have a name). I'm using EtherCard library and a cheap ENC28J60 Ethernet Module. The basic configurations are OK (...
2
votes
0answers
29 views

About Corrupted LM35 IC and Arduino port problem

I have one Arduino Uno which was working fine by below circuit(link): But when I have connected the new bought the LM35 Ic by the below connection: The Arduino UNO don't be recognized by the my ...
3
votes
1answer
57 views

Water level switches / reed switches and Arduino Uno

How could I estimate the max number of switches that I could connect to an Arduino Uno? I am questioning if Arduino has enough power to simultaneously operate an X number of switches with no issues. I ...
1
vote
1answer
40 views

LEDs not lighting up even though current is flowing through them, problem with ground?

I'm using a 74HC595N shift register to light up 8 LEDs but for some reason they won't turn on even though current is flowing through all of them. I provided an image of my circuit below, there is a ...
0
votes
1answer
65 views

What does avrdude: Device signature = 0x000000 mean? Faulty wiring? Software issue? Incorrect tutorial?

I followed this tutorial a couple of times and when I clicked on bootloader I get this error: avrdude: Device signature = 0x000000 To see the configuration file click here. Why do I get this error (...
1
vote
1answer
68 views

Custom assert() implementation: not printing the error message

I am writing my own assert() macro on Arduino as shown below. When I run it from the main() it always works correctly (prints the message and gets into an infinite loop), however when I call it within ...
0
votes
1answer
80 views

how to communicate between Arduino Uno and ESP8266 via TX/RX Serial ports? [closed]

I am working on a project contains : ESP8266 as a WebServer that has a dashboard on web browser to control 8 relays connected to arduino. arduino uno board to control relays based on commands come ...
1
vote
0answers
40 views

Having preblem in developing smart curtain

I am developing smart curtain system with voice control using Arduino Uno and bluetooth sensor Almost of codes is already written. but I have to fix error with delay function. I am using timer0_millis ...
0
votes
1answer
108 views

Adafruit Thermal Printer unwanted gradient

I have thermal printer from adafruit and when printing images I have problems getting a proper black. I tried playing with the dot print time and the dot feed time using the setTimes function, but ...
1
vote
0answers
29 views

Receiving code between atmega328P (C) and Feather m0 (Arduino)

I've tried to create a receiver code for receiving my data (really only want the ac/gy values and nothing else) and use the following main code for sending via C programming: https://github.com/...
1
vote
2answers
93 views

Regulate Water Pumps flow by DC Stepper Motor Driver

I'm an Arduino beginner. I've got 2 x 12V DC water pumps https://www.ebay.co.uk/itm/224461221015 plus 12V, 2A AC/DC adapter to feed them. I would like to regulate the speed (flow) of the pumps ...
1
vote
0answers
131 views

Potentiometer only display analog voltage value of 1023 in proteus

I connected arduino uno with lcd and potentiometer to display the analog value (this is the basic of my project). However the value displayed on the lcd remain 1023 eventhough i have vary the ...
1
vote
1answer
64 views

I need help with my final year project

I am building a project using bluetooth control as well as an ir sensor. The logic behind my program is when I press a key I want my robot to execute a series of program and while the program is ...
0
votes
1answer
66 views

What battery to use

I just want to ask how many volts of battery should I use to power my arduino project. I have 5 buttons, 2 DC motor, 2 servo motor, 2 HC-SR04 sensor and a bluetooth module if I want it to last for ...
0
votes
1answer
42 views

How to switch HC-05 from DATA mode to AT mode?

I am asking how to enter from the data mode to the AT command mode without restarting and disconnecting any power supply. In other words, I am trying to make a driver to handle HC-05 module and now I ...
1
vote
0answers
80 views

arduino labview basic serial communication

I am trying to have a 2way serial communication between LabVIEW and Arduino. I tried to make a basic program to grasp the concept but it does not seem to work. Labview (2 int values) >> Arduino ...
1
vote
0answers
35 views

AT+IPSCAN HC-05 Command

I have a HC-05 module, directly connected to an STM32 via UART interface and connected simultaneously to a mobile application in order to exchange real time data. I am trying to reduce the power ...
3
votes
2answers
274 views

How to read from and write to rs232 device from/to Arduino

I would like to read data from a rs232 device (SL-5868P Sound Level Meter). protocol and more : https://sigrok.org/wiki/Colead_SL-5868P. I already have a Python script to read the data with a TTL to ...
0
votes
2answers
106 views

Arduino Uno - Raspberry PI - Float Sensors - Water pumps

I am experimenting with Aquaponics and since I am a software developer I found it "smart" to use arduino/raspberry in order to control the water flow and not simply use a water pump with ...
1
vote
0answers
45 views

how do i get data from the website? using arduino uno and esp8266

i have hosted a website on the 000webhost. And i have simply written a line in paragraph tags in html file( means i have created a html file..) so i want to know to know how i get data that data in ...
1
vote
2answers
109 views

Differential voltage measurement using Arduino

I have a electrolysis cell in which the anode is hanging using a Structure in a electrolyte. The cathode is at the bottom of the cell with electrolyte above it and anode being dipped into this ...
1
vote
2answers
47 views

How esp8266 gets response from server..?

#include <SoftwareSerial.h> const byte rxPin = 2; const byte txPin = 3; SoftwareSerial ESP8266 (rxPin, txPin); void setup() { Serial.begin(115200); ESP8266.begin(115200); delay(2000);...
1
vote
0answers
29 views

1 Button + Potentiometer [duplicate]

Sketch arduino-uno programming 1 Button and 1 Potentiometer Sketch: Each time the button is pressed, acquire the value of the potentiometer in a array of 10 positions of these values do the average ...
0
votes
1answer
47 views

Using OR with a while loop

I am trying to get two limits to or on the same while statement. Can this be done? while (digitalRead (home_limit)) { This works for one(1) limit, But when I try using two(2) limits is does not work....
1
vote
0answers
21 views

DC Motor Shuddering

I am testing my BTS7960 Module with my UNO for bi-directional rotation of DC Motor. I am using a small DC motor as a test (like the one here) and I am powering the UNO via USB cable. The problem is ...
1
vote
0answers
44 views

How to set maximal execution time of operation

I'm JSON deserializing output from ESP8266 in my Arduino UNO, but when it fails (for some reason every time after it deserializes successfully) the program lags for few seconds and I don't want that ...
2
votes
0answers
58 views

Arduino Uno R3 stops executing code, when trying to instantiate multiple HX711 objects

This is my first time asking something on this platform, so if form or anything else is off, please feel free to point out things about how I could refine it and ask more concisely in the future. I'm ...
2
votes
1answer
49 views

Serial.println won't format DEC

This is weirding me out. So I wrote to the EEPROM and I would like to read from the address and format it in Base 10, err... Decimal. The normal number thingy that's not ASCII. But it keeps returning ...
3
votes
1answer
533 views

Getting all data of my JSON object from Serial.read() at once

I'm new to Arduino and I'm building a project that fetches data from a website (using ESP8266) and then transfers them to my Arduino UNO via serial port. Data coming from ESP8266 every 20s - [{"x&...
2
votes
1answer
33 views

Connecting LEDs and push buttons 12 feet away from Arduino UNO

I have a PCB (let's call it remote PCB) on which I have 4 LEDs and 4 buttons mounted. The remote PCB is far away from my desk (about 12 feet away). The LEDs are used to indicate the status and the ...