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

Serial communication detect

guys. I am workin on a project. I have two channel for Serial RS232 communication. Main and Stand-By channel. If Main channel has some problem and, cannot communicate for 15 seconds then I want to ...
0
votes
1answer
48 views

Why am I getting Invalid head of packet (0xF0) error when trying to upload code to esp8266?

The current connection between uno R3 and esp8266 is UNO ----- ESP8266 RX — RX TX — TX GND — GND 3.3V — VCC (used bread board) 3.3V — CH_PD (used bread board) GPIO - GND UNO ----- UNO Reset -- GND ...
1
vote
0answers
37 views

Can someone help me with this two loops coding?

#include <LiquidCrystal.h> #include <Servo.h> void UpDown(); void LeftRight(); Servo servo1; Servo servo2; const int en1 = 11; const int en2 = 13; LiquidCrystal lcd1(12, en1, 5, 4, 3, 2);...
2
votes
1answer
36 views

Assistance with PID DC Motor Acceleration

I'm working on a project that uses an Arduino UNO and a motorized fader to send and receive MIDI data from my computer/musical keyboard. I'm trying to set up my motor with PID to control the position ...
1
vote
1answer
39 views

DC Motor Acceleration with PWM

I'm not sure why this has been so difficult for me, but I'm trying to control the acceleration of a 10v DC motor with an Arduino UNO and an L298n H-Bridge. Using a 12v regulated power supply to power ...
0
votes
1answer
31 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 ...
0
votes
0answers
14 views

what are the components used in connection of arudino uno +bolonath stepper moto+MSD 11 Em drive [closed]

what are components required in order to connect the bolonath stepper motor along with msd 11 em driver . I have tried the connection and code given in this site .But iam unable to get reuslt
3
votes
1answer
34 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
262 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
57 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
31 views

8 Touch Screen Displays with single custom Microcontroller Board [closed]

I want to build a project like this but with touch screens. So that I can drag the moving text all across different touch screens from one to another. I want to know what would be your approach to ...
0
votes
0answers
37 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
148 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
33 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
17 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
36 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
votes
0answers
32 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
27 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
40 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 ...
1
vote
0answers
39 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?
1
vote
0answers
33 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
34 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
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,...
1
vote
1answer
32 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
27 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
59 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
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:...
2
votes
1answer
30 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 ...
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> ...
1
vote
1answer
62 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
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 (...
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 ...
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 ...
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
49 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
50 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
51 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
31 views

DigitalWrite enabling external circuit only half ot the times

I'm a beginner making a simple arduino for a school project with an arduino uno. After the press of a button I activate, after a small delay, an external circuit obtained by disassembling another ...
1
vote
0answers
37 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
85 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
27 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
59 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
39 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
59 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
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 ...
0
votes
1answer
33 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
23 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
20 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 ...

1
2 3 4 5
162