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

Problem with my motor and L293D motor shield module

I connected my motor and a servo to my L293D motor shield and i used a 3.7 volt battery with 4800 mAh. I also connected a button to on and off the motor for a certain amount of time but only the servo ...
1
vote
1answer
21 views

Control laser diode from digital pin

I have a 200mw laser module that came with a 3v 1A power supply. I want to control it from a digital pin on an arduino uno. Can I use a simple voltage divider like this or is there some consideration ...
1
vote
0answers
45 views

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30 etc. Arduino Uno

I've seen other posts on here and other places but none of them seems to work for me, which is why I am currently writing here. When I try to compile an empty sketch or an example sketch from Arduino ...
0
votes
1answer
27 views

Struggling to understand how Bluetooth serial is related to USB on Arduino

I've recently acquired a Bluetooth module to attach to my Arduino Uno, but I'm trying to draw parallels to the standard method of communication that I'm familiar with, which seems to be just directly ...
2
votes
3answers
80 views

Send button only works when pressed immediately after

I am new to Arduino and I am trying to create a Morse code based "chat". I can submit a message in Morse code using the send button (the one on the right,) and when I press the button on the ...
2
votes
0answers
28 views

RFID and Keypad Based Door Lock Using Arduino [closed]

I'm new to the Arduino world and I have a question. I found this project to do but I need your help, I want instead of this servomotor to put an electromagnetic door lock, could you help me with the ...
1
vote
2answers
55 views

Where can I know voltage between GND(ground) and each port of UNO R3?

Currently I'm new to arduino uno r3. Where can I find each voltage between each port and GND(ground)? Or can the voltage be changed? I don't want to break my led bulbs since large difference of 2 ...
1
vote
0answers
21 views

Building a line follower and keep getting errors just need help getting in the right direction to finish the code error located at the bottom [closed]

const int leftMotorPin = 9; const int leftSensorPin = A0; const int rightMotorPin = 8; const int rightSensorPin = A1; int rightlightThreshold = 100; int lightThreshold = 300; int buttonPin = 7; int ...
1
vote
0answers
49 views

U-blox Neo-6M GPS module and RX LED of Arduino aren't blinking

I started recently working with a uBlox Neo 6M GPS module. Connection between Arduino and GPS module.... Vcc pin --> 3.3V , Tx pin --> D2, Rx pin --> D3, Gnd --> Gnd I tried with this ...
3
votes
3answers
847 views

Request for help condensing code and saving memory

I'm building a final project for a class that involves playing an audio file of a wave shield every time I scan an amiibo with an RFID scanner. I'm a pretty new programmer, so I'm not very familiar ...
1
vote
0answers
48 views

Need help with my codes? for my Project: Filling and Capping using Arduino uno [closed]

HERE'S MY CODE I have a problem for my codes. Please help #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27, 16, 2); #define IRS1 7 #define IRS2 8 #define ...
1
vote
1answer
43 views

Arduino UNO With On / Off Module Switch + Battery Advice

So I have the following connected and the programming works fine when connect by USB The Parts 1 Arduino UNO 1 Laser Module (KEYS) 1 Rocker Switch Module (Standard 3 PIN) 2 Variation Motors (KEYS) 1 ...
1
vote
1answer
41 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
vote
0answers
22 views

1.8 in tft lcd background goes light when tft.drawPixel(), what is wrong? [closed]

1.8 in tft lcd background goes light when tft.drawPixel(), what is wrong? Using 7735 wit uno. The background is the desired black after writing.
1
vote
0answers
36 views

MFRCC522 “Is Defect or Unkown” [closed]

I am using an RC522 reader with Arduino UNO. This is the library I am using. But, when I try a firmware check, in the serial I get this error: Firmware version: 0x12, result: defect or unknown I ...
1
vote
0answers
26 views

How to connect multiple MPU-9250 IMU sensors to a single Arduino Uno? [duplicate]

The datasheet says the I2C bus limits itself to only two MPU-9250 sensors. How can I control multiple (>2) MPU-9250 through a single Arduino Uno? Is it possible to add another bus? Please, help.
1
vote
0answers
37 views

Arduino UNO R3 not detected by Arduino Create Agent

So I just got my Arduino Uno R3 and tried to use it with Arduino Web IDE. I installed (and reinstalled) Arduino Create Agent and was expecting it autodetect my board, but it did not happen. Below is a ...
1
vote
1answer
50 views

How to send a message to my phone that my Arduino system is on when turning on my Arduino

i have installed a GSM shield on the Arduino to create security alarm system using PIR SENSOR when ever there motion I will receive a call to my phone. but i want to add also a line of code which can ...
1
vote
1answer
46 views

Trouble initializing a struct array

The goal for this is to create a struct that includes a name, ID, fileName, and a boolean, then create an array of that structs. Here's what I came up with: struct Amiibo { char *aName{}; char *ID{...
1
vote
0answers
21 views

can we use TCRT5000 sensor instead of IR proximity sensor?

I am planning to make a human following robot which requires two IR proximity sensors. I already have two TCRT5000 sensor. Can I use it instead of it?
1
vote
0answers
16 views

Will the noise from a voltage regulator interfere with IR LEDs and receivers on an Atmega328? (Arduino Uno sketch)

I have a project which uses an IR LED and receiver to communicate with other Arduinos. I am using the Atmega328 out of the Uno, rather than the whole Arduino board and I need it to be battery-powered, ...
1
vote
0answers
28 views

send images from Arduino Uno to raspberry pi

I am a new to work with ov7670 camera module and Arduino . please let me know whether it could be possible to send images captured from ov7670 module with Arduino Uno to Raspberry pi??
1
vote
0answers
26 views

New to Arduino and looking for direction to research for a project idea [closed]

I'm fairy new to python, learning for about 5 months by myself, and found out later that arduino is coded in C/C##. Transferring general python knowledge to Arduino im sort of able to figure out how ...
1
vote
1answer
52 views

How to show the distance in decimal use sensor TF-Luna Lidar or more specific value

I want to ask about TF-Lunar Lidar, I've written code to know the distance in cm by reading the array data, right now I need some help about how to read the data so it can be showing the more specific ...
0
votes
1answer
47 views

Accelerometer Orientation (LIS3DH)

Newbie here! I’m trying to make a pocket level using an LIS3DH but I don’t know how to “reset” all the axis to start reading from a certain orientation since my LIS3dh won’t be mounted flat and will ...
0
votes
2answers
57 views

How to call multiple delayed functions using a single millis()

I am working in a project where I need to call more than 1 functions actually 4 functions using a single millis() Here is the code below. unsigned long then = 0; void loop(){ unsigned ...
1
vote
0answers
42 views

AVRDude Uploading Error content mismatch [closed]

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno" C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\...
1
vote
1answer
25 views

Converting ESP32 SPI code to Arduino for MAX6921 IV-18 driver board

I purchased a IV-18 VFD tube driver module, which came with some example code for an ESP32 board. The driver module has a 20 output MAX6921 serial chip to drive the vacuum tube. I want to use this ...
1
vote
1answer
32 views

How to calculate required amperage of multiple motors?

I a very simple question about calculating the amperage I need to run 5 stepper motors from my Arduino Uno. If I have 5 28BYJ-48 stepper motors(which are 5V and are said to require about 240mA each) ...
1
vote
1answer
24 views

Servo noise during program flash on Arduino

I'm running serveral servos using a driver A4988 and external power supply. Everything works fine. I've just noticed one issue that I can't explain. As soon as I upload a new program version on my ...
1
vote
0answers
29 views

I was working on ESP module and got some errors. Can anyone please help to resolve those errors?

Code; #include <Keypad.h> #include <Servo.h> #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <PubSubClient.h> const char* ssid = "";//put your wifi ...
0
votes
1answer
40 views

void declaration error [closed]

I am new to Arduino and C++ and I was practicing with a traffic light project. This is my code: int red = 10; int yellow = 9; int green = 8; void setup() { pinMode(red,OUTPUT); pinMode(yellow,...
0
votes
1answer
32 views

How do I make my Arduino do a specific action when the computer is locked/unlocked?

I have a windows computer connected to my Arduino Uno. I work in a area with a bunch of cubicles and we leave our desk fairly regularly to go and troubleshoot other computers (I'm a service desk ...
2
votes
0answers
39 views

Help needed with driving multiple stepper motors on arduino UNO

I am brand new to Arduino but have good experience with Raspberry Pi's and Microchips. My problem is that I am having trouble driving many stepper motors at once. I am using the AccelStepper library(...
1
vote
1answer
35 views

Can someone help me figure out why only one wheel is spinning?

I am attempting to use a code which I have posted below for two wheels. However, when connected to power, only one wheel spins. I am using a 9V battery which is what was suggested so I am not sure why ...
1
vote
3answers
537 views

How to implement Arduino NANO as a RS-232 to USB adapter (Or do I need a Arduino Mega?) For 3D printer comms

I have a PC upstairs running my 3D printing slicer program (Simplify 3D). In the basement, I have several USB-enable 3D printers. My PC upstairs has a USB-to-RS-232 serial adapter. The serial side of ...
0
votes
2answers
48 views

why can Arduino variables of int type contain a value such as A2

How come the following statement is true: int inputPin = A2; I thought int variables can only hold integer numbers. Is the A just a representation of a number? Thanks for any help
1
vote
0answers
28 views

Data output , ds18b20 , lcd1602 , yl-69, dht11

Good afternoon, I wonder if you could help me. I have the code but the data from the sensors is not correct. Perhaps there are some errors, could you fix them? I apologise for my inaccurate statement. ...
1
vote
0answers
41 views

Arduino Uno Clone Error Compilig AVRDUDE

Can anyone please help me with this error? Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno" Sketch uses 2964 bytes (9%) of program storage space. Maximum is 32256 bytes. Global variables ...
1
vote
0answers
29 views

How do I scale a 0 to 5 V signal to -5 V to +5 V? [closed]

In my project, I just want to run a servo motor using an S-curve motion profile. For that, I need a positive and negative power supply that can run on Arduino code. Is there any method to convert the ...
1
vote
1answer
31 views

Why does my stepper motor run when I open the Serial port?

For some reason my motor moves a certain amount every time I open the serial port without giving it any other instructions. It will move further by the same amount if I close and reopen the serial ...
0
votes
1answer
31 views

Interfacing LM35 and MQ2 with Arduino

When I interface LM35 temperature sensor and MQ-2 gas sensor with Arduino - my LM35 sensor gave incorrect values. From research I've found out that MQ-2 gas sensor dragging the AREF voltage down and ...
0
votes
1answer
40 views

Speaker-dependent Voice Recognition

I would like to install speaker-dependent voice recognition in a robot equipped with Arduino Uno compatible boards. Specifically, I want to record the robot's name beforehand and have it respond when ...
1
vote
0answers
49 views

Servo motor won't work for a specific code

I have written a code with interrupts to control the servo but my servos are not working. One is meant to work with interrupt but the other one has to simply move but it is also not working. Even the ...
1
vote
0answers
8 views

sim 900a mini status led glowing constantly instead of blinking

I am using sim 900a module for the first time(sim900a). Initially when i powered it with the arduino 5v supply, the power led of the board glow but the network status led never glow. After searching ...
1
vote
1answer
64 views

Arduino nano digital I/O overload

Is it possible to kill arduino nano with overload? I wanted to drive a relay with arduino, and I used a BC547 to switch 12V for the relay. But in the relay there was a diode, which sorted out the ...
2
votes
0answers
52 views

Servo wont work with LED code!

I'm basically trying to combine my servo code and my LED code but whenever I add my servo code the LED refuses to turn on at all. I am super new to arduino sorry if this doesn't make any sense! Servo ...
1
vote
1answer
42 views

Dealing with noise in arduino interrupt

I'm makeing two modules, module2 gets sensor signal, and send wireless message to module1, with HC-12. Then module1 is going to do some work it is supposed to do. Circuit configuration is in the ...
0
votes
1answer
41 views

Using MCP23017 with 5 rotary encoders, WITHOUT missing a single step from any of them?

I have recently followed the instructions in the answer to this question: Reading several rotary encoders posted by maximilian-gerhardt I've wired everything up, and am using the interrupts example ...
1
vote
0answers
18 views

connecting a MPU6050 and sabertooth 2x12 to a single Arduino Uno

so im using the sabertooth speed controller to control the two motors on my lawn mower and im trying to use the MPU6050 to keep the lawn mower straight. The problem im facing is that im trying to use ...