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

ESP8266 -01 doesn't reply with anything

The problem started when I tried to upload the Blink program to the module, it uploaded with no issues through Arduino but after that the blue LED didn't blink. I searched a lot for it and found that ...
2
votes
2answers
2k views

How to use external libraries in CLion

I would like to use the external libraries that are downloaded by Arduino IDE into the default sketchbook location (~/Arduino/libraries/). If you open Library Manager in Arduino IDE and if you ...
1
vote
1answer
52 views

Message is sent multiple times from one arduino to another, using nRF24L01

I am trying to build a bidirectional communication channel, using nRF24L01 and two arduinos. The message is introduced using a button (but) in Morse code, decoded and then sent when another button (...
1
vote
0answers
15 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

esp-8266 wont return php file echo

i am using a esp8266(esp-01s) with arduino uno and a screen. i am trying to get esp-01s to read an echo from a HTTPS website. but the esp connects to the domain(i think) but cant return the echo on ...
1
vote
1answer
354 views

Can't connect my ESP-12F to WiFi with my Arduino Uno

Recently I bought this wifi adapter for my IOT projects that I connected to my arduino uno that seems to not working. I have tried with the arduino ESP8266WiFi library with RX connected to pin 0 and ...
-1
votes
0answers
31 views

I m doning solar monitaring system i want code with given components [closed]

Hardware Specifications Arduino Uno R3 Solar Panel Wifi Module Voltage Sensor Current Sensor LCD Display Crystal Oscillator Resistors Capacitors Transistors Cables and Connectors Diodes PCB and ...
1
vote
0answers
37 views

How to convert a hexadecimal string to an ascii string? [closed]

I want to convert the string "6867" to the string "hg" and use the arduino serial port to output. 68 is hexadecimal h, 67 is hexadecimal g. How should this be achieved?
0
votes
1answer
2k views

is there a timeout for Ethernet.begin?

I'm working on a project, but just for testing, I haven't connected it to the internet yet, even though the code SHOULD be ready to roll out. When trying to test some of my code with the serial ...
1
vote
0answers
19 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
1answer
38 views

Is it possible for a body temp, blood pressure, oximeter, and pulse rate sensor be in only one Arduino UNO? [closed]

Also, I'm available for one on one converse[rsation]. I'm a G12 student from the Philippines making a capstone project as my thesis for my senior year. My capstone project would be about a smart glove ...
3
votes
1answer
40 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 ...
0
votes
1answer
74 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
1answer
61 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
32 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 ...
2
votes
1answer
29 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 ...
0
votes
0answers
31 views

How to implement a PD Controller using PID library in Arduino UNO? [closed]

How to implement a PD Controller using PID library in Arduino UNO? Can anybody please guide me asap? It's urgent. Please provide a code for a PD controller in Arduino UNO
1
vote
0answers
32 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 ...
2
votes
2answers
302 views

Using the same variable between if-statements within loop()

I wonder if there is a good way to use the same variable value between two different if-statements within the loop(). Within the Servomotor section of the code, I want to use the value from the first ...
1
vote
0answers
28 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
44 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
30 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,...
2
votes
2answers
6k views

DFRobot GPS init error [Arduino Uno, SIM808]

i have problem with initialization DFRobot SIM808 actually when i try to recieve gps data by SoftwareSerial only it does works (i mean examples based on sending and reading command to and from serial'...
1
vote
1answer
31 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 ...
2
votes
2answers
58 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 ...
1
vote
4answers
1k views

Arduino does not work on battery

The day before I got my used full package arduino uno. I tested it on USB plug. Everything worked fine. I wrote a piece of testing code and uploaded. After I have accomplished with the test I have ...
0
votes
1answer
47 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 ...
1
vote
1answer
26 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.
1
vote
2answers
260 views

Arduino Uno - Analog Circuit Simulator

I control an analog circuit with Arduino Uno. I want to simulate an Arduino Uno with operational amplifiers (741). Can I simulate Arduino with SPICE?
1
vote
3answers
62 views

Is there any way to create some AI with Arduino?

Is there any way to create some AI with Arduino?. The question is just that. I would like to give some intelligent (explore the house, trigger alarms, etc) to a rover but I dont have so much ...
0
votes
1answer
2k views

ESP send data to Arduino

I'm trying to send data from my esp to my arduino using serial using the following codes : esp : server.on("/drive",HTTP_GET, handleDrive); void handleDrive() { server.send(200,"text/html", "...
2
votes
0answers
44 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:...
0
votes
1answer
93 views

How to wire and use a L6219 motor driver

I have 4 of these L6219 motor drivers and I dont know how to wire them. They have almost no wiring diagrams and when there is something, I cannot understand it. And I forgot I also need help sending ...
1
vote
1answer
183 views

How I can send data information without work WiFi to LCD?

Hi everyone I am beginning learn coding and the second language English. I have small project I use Arduino uno , esp8266 , dht11 , lcd I2C and use blynk app in my project I have the code and work ...
1
vote
1answer
42 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 (...
1
vote
0answers
41 views

Code help for ATM machine project [closed]

Could someone help me with this code? I want to make an ATM machine for 5 users. But, I don't know what's wrong with the code. #include <Keypad.h> #include <LiquidCrystal.h> ...
0
votes
2answers
1k views

When connecting, client.connect() returns 0

I'm using an arduino UNO with ethernet shield. When following a few guides online for a school project I came across this issue. First code sample: #include <SPI.h> #include <...
2
votes
1answer
99 views

Interrupts Within Critical Statements

I've redone a previous Arduino sketch I posted in which I was having trouble capturing encoder counts within critical statements, having no luck properly attaching and detaching interrupts. I've ...
2
votes
1answer
1k views

How do I use I2C from an Arduino Uno when I have a GSM shield mounted?

This may be an extremely obvious question but I don't seem able to find a definitive answer. I have an Arduino Uno and a Sim900 GPRS/GSM shield fitted on top of it. I had I2C working on the Arduino ...
1
vote
3answers
344 views

Powering the Arduino with a battery and reading the battery voltage

I am trying to display the battery level as it is being used to power the arduino. I have tried powering the arduino through the USB and the battery voltage is read accurately, when compared to the ...
1
vote
1answer
48 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 ...
2
votes
0answers
26 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 ...
1
vote
2answers
57 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 ...
0
votes
1answer
169 views

HID communication between Arduino Uno and computer

I used some firmware I found online to turn the UNO into an emulated HID device. The Arduino is no longer connected to a Serial COM port so I can't send serial data from my computer to the device. Is ...
0
votes
1answer
61 views

Stuttering motor using rf module

I am trying to control a stepper motor wirelessly with a button. I am using the 433MHZ rf module and the Virtualwire library. the code is working, the receiver is getting the messages from the ...
1
vote
1answer
36 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
50 views

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

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
38 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
47 views

Transmitting multiple values to the arduino, and Interpreting them with minimum delay

I am building an underwater robot, which can move Up/Down, Forward/Reverse, controlled by a Joystick. The situation is like this : USB Joystick is connected to a PC, PC is connected to an Arduino via ...
1
vote
1answer
40 views

How to set 60 min beeper?

I am trying to make a device that will register latency and number of shocks for passive avoidance behavior in drosophila. My device has two buttons green and red. I press green when I put a fruit fly ...

1
2 3 4 5
162