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
0 answers
24 views

How to serially send a string from Arduino UNO to PIC18F4550? [closed]

I am using a Sparkfun Breakout Barcode Scanner with an Arduino UNO to read specific bar codes. These barcodes are scanned and printed in the UNO's serial monitor. I am having trouble finding a way to ...
Thomas Evans's user avatar
0 votes
0 answers
17 views

Controlling dynamixel servo from Arduino-Mega

I was trying to control a dynamixel servo from Arduino Mega. The protocol for the communication is half duplex, and I successfully sent data to the servo motor and got it actuated/turned the LED on ...
Lawliet's user avatar
  • 183
0 votes
2 answers
41 views

Why does my Arduino show weird characters with my code?

When I had the code run just the LCD it worked perfectly fine, but when I added an HC-SR04 without changing the text it showed weird characters. All I had the code do with the HC-SR04 was print it in ...
zachlikestech's user avatar
-1 votes
0 answers
10 views

Making two Arduino BT boards communicate wirelessly [closed]

I want two arduinos to wirelessly communicate with each other via bluetooth. I've tried using two Arduino Unos with the HC05 Bluetooth Module, but it was difficult to incorporate into my project. I ...
eva's user avatar
  • 1
-1 votes
0 answers
23 views

HC-SR04 Sensor Problems [closed]

I connected a HC-SR04 Sensor to the A0 and A1 pins (Trigger pin and Echo pin respectively) on an L239D Driver (Connected to an Arduino Uno R3). We're trying to create a car Smart Vacuum Cleaner, where ...
Vyntra's user avatar
  • 1
0 votes
0 answers
33 views

Libraries not found for Arduino Uno even though they're installed [closed]

I have Linux Mint with latest version of Arduino IDE (1.8.19 at the moment). My Arduino IDE used to work just fine before with Arduino Uno. But nowdays whenever I try to compile some code with a ...
Kaomer's user avatar
  • 1
-1 votes
0 answers
13 views

What is the best option to replace a switch with an Arduino [closed]

How can I make this work with Arduino. I want to replace a switch with an Arduino so I can control it remotely. The device after is turned on is sending power in waves to the switch so I will need to ...
My SK's user avatar
  • 1
-2 votes
0 answers
60 views

Is this board recoverable, or is it destined for the parts pile? [closed]

Re-writing my question again for clarity and brevity. Current problem: Arduino Uno will power up with green power LED and 2 blinks from the yellow pin 13 LED, but is then unresponsive to any inputs ...
RedneckMD's user avatar
-2 votes
2 answers
41 views

Compilation error: what's wrong with my code? [closed]

My program keeps saying Compilation error: expected primary-expression before '==' token when I try to compile. My code is meant to turn the LED on every 5 seconds and turn off when the sensor is ...
WildCoffee's user avatar
-1 votes
0 answers
19 views

Platform for drawing electronics free [closed]

I want free app or platform for drawing electronic circuits free, could you recommend? *I don't want simulation just drawing *I want good visuals support various IC's and board like this
Amrt Abdaldayem's user avatar
-2 votes
0 answers
44 views

How to control a DC motor with a push button with an Arduino Uno? [closed]

I recently started a project to use a a push button to activate my code for a DC motor to move and stop. I have the full code for the push button completed, I'm just having trouble fitting in the code ...
GemmyIsDaBest10 10's user avatar
0 votes
0 answers
37 views

Moving servos with IR sensors

This is what I have so far: The plan: I have two IR sensors I have two servos What I would like to achieve is as follows: Enter IR sensor 1 and leave, servo 1 will turn to 180 Enter and leave IR ...
PeterJoe's user avatar
1 vote
1 answer
50 views

Can't get serial port's attention once sketch is running

This sketch is supposed to listen for a single character sent to the serial port, as a means of starting and stopping data collection (which in this example is mocked by printing some register values)....
Bryan Hanson's user avatar
0 votes
0 answers
17 views

When I upload code I get this error [duplicate]

When I upload code I get this error, how can I fix it? avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x35 avrdude: stk500_recv(): ...
Yug Savaliya's user avatar
0 votes
1 answer
22 views

Issue with uploading Arduino sketch on Ubuntu 20.04 [duplicate]

I'm encountering an issue while attempting to upload an Arduino sketch on my Ubuntu 20.04 system. Despite ensuring that the correct board is selected and the USB port is recognized properly, I ...
athiyan sankar's user avatar
1 vote
0 answers
45 views

USB Driver for LGT8F328P Arduino clone

Where is the USB driver for LGT8F328P Arduino Nano clone downloaded from for Windows 10 64-bit? When I plug in the LGT8F328P into USB, using IDE 1.8.13, it does not detect it. I think it is because ...
Z.E.'s user avatar
  • 45
1 vote
1 answer
86 views

Incremental Rotary Encoder sends data when shaft is untouched

I'm trying to build an Arduino project that counts pulses sent by an encoder. I've bought an Omron E6B2-CWZ5B-2 2000P/R and face the issue of it sending pulses non-stop, even when I'm not touching it. ...
Do I Care's user avatar
1 vote
2 answers
195 views

Why doesn't this code for an 8x8 LED matrix work properly?

There's an Arduino Uno (Keyestudio KS0078) and a 788BS 8x8 LED matrix. I built the circuit as on the image and ran this program: #define MY_PERIOD 200 int displayColumn = 0; uint32_t tmr1; unsigned ...
Mik's user avatar
  • 139
0 votes
0 answers
21 views

How to integrate two codes like fingerprint scanner and RFID for door lock system [duplicate]

#include <Adafruit_Fingerprint.h> SoftwareSerial mySerial(2, 3); Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial); uint8_t id; void setup() { Serial.begin(9600); while (!...
KingJulien's user avatar
0 votes
1 answer
73 views

How to connect an Arduino Uno with an ESP-01 to the Arduino IoT cloud?

I have been trying to connect to the Arduino IoT cloud using my Arduino Uno and an ESP-01. The Arduino IoT cloud does not recognize my device as genuine. Hence, I've been trying to create a thing and ...
Saurav Ghimire's user avatar
2 votes
1 answer
60 views

How to change the direction of a stepper motor using the AccelStepper library?

I'm using a Nema 17 stepper motor (200 steps) and a DRV8825 motor driver. This is the configuration I am using: I am using a 9 V power supply. The dirPin is connected to pin 3 on the Arduino board, ...
Michael Junior's user avatar
0 votes
0 answers
45 views

AVRDUDE issue with port on Linux [duplicate]

I've seen similar posts like this but I haven't been able to figure out the issue. I am trying to program my Arduino Uno R3 which uses an ATmega328p on Debian linux with AVRDUDE. I am following this ...
tekteky53's user avatar
2 votes
1 answer
59 views

RTC DS1307 module not working

I have a problem with an RTC: it doesn't work correctly. When I try to read date or time, I only see the characters "àààààààà" or or the program is blocked. #include <Wire.h> #include &...
Qmails's user avatar
  • 23
0 votes
2 answers
68 views

I can't get my interrupt to control my project

I'm building a programmable resin pump for my resin printer. The goal is to enable the ability to set a print volume and print time provided by the printer. The pump would then pump at full speed to ...
TheCodeGeek's user avatar
-1 votes
2 answers
54 views

I cannot resolve the errors with attachInterrupt() (error: invalid use of non-static member function) [duplicate]

I have been trying for days to get this code to work, but I cannot find a solution. Can anyone please help me find what I am missing here? My sketch: #include <ControlInterrupt.h> const int ...
TheCodeGeek's user avatar
1 vote
0 answers
35 views

Arduino Uno R3 with USB host shield: keyboard input issue [closed]

I'm currently working on a project using an Arduino Uno and a USB host shield to interface with a USB keyboard. However, I'm encountering issues with the keyboard input, and I could use some help in ...
Loke Brian's user avatar
1 vote
0 answers
39 views

Unable to connect to SHT4x sensor probe through I2C bus

Error trying to execute serialNumber(): ReceK on transmit of address Error trying to execute serialNumber(): Received NACK on transmit of address Error trying to execute measureHighPrecision(): ...
Ajai Arjun's user avatar
-1 votes
1 answer
178 views

Why does an ESP01 WiFi module reset when it's connected to a DC motor/water pump?

When I connect an ESP01 WiFi module and water pump in a parallel circuit to an Arduino Uno's 5 V pin, the ESP01 stops working. The ESP01's built-in LED starts blinking chaotically and the serial ...
stanimirsp's user avatar
-1 votes
0 answers
14 views

Upload error: Failed uploading: uploading error: exit status 1 [duplicate]

Global variables use 196 bytes (9%) of dynamic memory, leaving 1852 bytes for local variables. Maximum is 2048 bytes. avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() ...
ringo1234's user avatar
0 votes
1 answer
78 views

How does the serial monitor know where a string terminates when we use Serial.print instead of Serial.println?

EDIT: I thought I had to parse the things coming into the program but the speed it is running at makes it indistinguishable to the eye that the word is being printed piecewise. I am trying to create a ...
Aman's user avatar
  • 3
-1 votes
0 answers
25 views

arduino uno failure [duplicate]

Sketch uses 7256 bytes (22%) of program storage space. Maximum is 32256 bytes. Global variables use 414 bytes (20%) of dynamic memory, leaving 1634 bytes for local variables. Maximum is 2048 bytes. &...
Anas El Haram's user avatar
0 votes
1 answer
41 views

Why does the ADC report 0 in this sketch?

This sketch always reports 0 for the ADC reading. I think this is going to turn out to be something silly, but I cannot find the source. I've reviewed the sketch ADC lines carefully and they seem ...
Bryan Hanson's user avatar
-1 votes
1 answer
75 views

LED control with a string variable

I would like to control three LEDs with a string variable using an Arduino Mega. I have connected the three LEDs to pins 10, 11 and 12 of the Arduino. If my string equals Red, the red LED should turn ...
learn design's user avatar
1 vote
2 answers
146 views

"Done uploading" but Uno still running old sketch

So, this is my first experience, I bought new original Uno, trying write some code there and it stuck in running only one sketch. Tools->Boards is ok, Tools->Ports is ok. I try created new ...
Сергей Белогуб's user avatar
1 vote
1 answer
110 views

ESP8266 - Where to find pin assignment guide for uploading code?

I try to upload a script which starts a webserver on the ESP8266 with a simple web GUI where the user can enter his WLAN credentials. /* ===============================================================...
Black's user avatar
  • 109
-1 votes
1 answer
37 views

Arduino Uno error resp=0x27 [duplicate]

I use the Chinese copy of board. My code is right, but when i upload to board, it print me this: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in ...
DenisBaramygin's user avatar
-1 votes
1 answer
43 views

inputs randomly turn on and off [duplicate]

I'm building the dactyl manuform, and I'm writing all of the code myself, but I've ran into a problem here's my code: // the setup routine runs once when you press reset: void setup() { Serial.begin(...
Umikali's user avatar
0 votes
1 answer
27 views

Photoresistor Matrix has the same values

I'm a second-year System Engineer student who needs to make a project for class. I have a 4x4 matrix of photoresistors that goes to an analog digital multiplexer connected to an Arduino Uno. This ...
Iustinian Serban's user avatar
1 vote
0 answers
154 views

I just downloaded the Arduino IDE and it doesn't compile any code

FQBN: arduino:avr:uno Using board 'uno' from platform in folder: C:\Users\Kareem\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6 Using core 'arduino' from platform in folder: C:\Users\...
kareem's user avatar
  • 11
-1 votes
0 answers
34 views

What special considerations or conditions must be met to run IDE 2.x on Ubuntu?

I have been attempting to run IDE 2.2.1 on an Ubuntu 20.04.3 LTS, which I have running on a virtual machine. The first thing I noticed is the IDE graphics and appearance are pretty much the same as ...
Loonhaunt's user avatar
2 votes
3 answers
144 views

Importing content of text file as string into Arduino code

Is there any macro for importing the content of a file (for example html code) located in the sketch folder as a string for the Arduino IDE during compilation time?
Ali.kavari76's user avatar
-1 votes
1 answer
49 views

Equivalent libary of RTCZero for Arduino UNO

I am a beginner to Ardunino UNO This is my first program to light up an LED strip #include <Adafruit_NeoPixel.h> #include <RTCZero.h> #define PIN 6 #define NUMPIXELS 60 ...
suni's user avatar
  • 101
-1 votes
1 answer
57 views

How to output two PWM signals, one of 50% duty cycle, the other 25% duty cycle, from an Arduino Uno?

I need to output two PWM signals, one of 50% duty cycle, the other 25% duty cycle, from an Arduino. Feed both signals into the 2 channels of a PicoScope and measure: a) the time difference between the ...
Regan Corban's user avatar
0 votes
1 answer
80 views

GPS module Serial.begin value

I've disassembled a drone and found a GPS module. I want to use it. I haven't found any information about the architecture and the Serial.begin value I have to use. Could I break it if I tried ...
drMAIN's user avatar
  • 1
0 votes
1 answer
72 views

Unable to get keypad key in while loop [closed]

I'm a beginner into Arduino so I have a little problem where I'm trying to do a countdown on LCD using while loop but I'm also trying to get a key input inside that same while loop. Problem is that ...
DevChips's user avatar
-1 votes
1 answer
69 views

L298n driver with Arduino with 2 motors won't work

I connected the 12v power supply with 9v battery. The problem is that when i run 1 motor at time from any side (out 1, 2 out 3, 4) it works perfectly, but when I try to run both of them, only one will ...
nitu sahay's user avatar
1 vote
2 answers
152 views

DHT20 and OLED display not working together

I am trying to get my DHT20 and OLED (both from the Arduino Sensor Kit) to work at the same time. I am able to get them working separately with their respective test codes, but when I try to combine ...
Darren D'Arcy's user avatar
1 vote
1 answer
49 views

6v High Torque Servo Won't Function On Motor Shield?

I have only ever been able to get this servo to “somewhat” work when connected to 5v pin on the shield, the ground on the shield, and the signal line attached to whatever pin. But 5v is not enough and ...
ConnorC's user avatar
  • 11
0 votes
1 answer
73 views

Arduino Uno, does a lower Aref voltage work well for measuring current? without increasing ADC integral non-linearity

I want to measure current using a Arduino Uno and use a very low resistance of 0.1Ohm or lower for the shunt resistor to measure the current(to reduce power waste and heat generation), as a result ...
TeD van Loon's user avatar
2 votes
1 answer
101 views

Why my pushbutton always reads LOW?

This is the code I used in my project void setup() { Serial.begin(9600); pinMode(6,OUTPUT); pinMode(7,OUTPUT); pinMode(8,OUTPUT); pinMode(9,OUTPUT); pinMode(10,OUTPUT); pinMode(11,...
KillerJosh345's user avatar

1
2 3 4 5
162