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 votes
0 answers
16 views

How do you connect (or enable the A0, analog input, in my case a sound sensor) with a CNC shield? [closed]

How do you connect (or enable the A0, analog input, in my case a sound sensor) with a CNC shield? Without the CNC shield v3, I could not read the input as I have doing with Arduino without the shield ...
William Olders's user avatar
0 votes
0 answers
17 views

Arduino Uno Carrier board not responding [duplicate]

I have a Arduino uno and Whenever I try to upload code it gives me this error Sketch uses 5804 bytes (17%) of program storage space. Maximum is 32256 bytes. Global variables use 238 bytes (11%) of ...
Divyansh undley's user avatar
0 votes
1 answer
42 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 tryieda ...
drMAIN's user avatar
  • 1
-2 votes
0 answers
27 views

How to power a microcontroller with solar power? [closed]

I want to power 4 microcontrollers (Uno, Mega, ESP8266 and ESP32) but I do not know the recommended specification required for them. What I read tells me that I should plug in XX volt (DC power source)...
Marifin -'s user avatar
0 votes
0 answers
46 views

Arduino IDE 2.2.1 stuck in blank and does not let me write or load any code, no board is detected either

I am new at programing with Arduino have done some basic stuffs with it. Today, when I tried to open Arduino IDE again to do a new project I found out that it wouldn't let me write any code on it. It ...
George1234's user avatar
-1 votes
0 answers
31 views

How to read potentiometer using Win32 [closed]

Is it possible to use a Win32 script to read the value of say, A0, and store it in a local variable? I need to use the value to control another part of the script.
NotM1zzel's user avatar
0 votes
1 answer
47 views

Unable to get keypad key in while loop

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
0 votes
0 answers
41 views

TowerPro MG995 cannot just rotate 90 Deg [closed]

I want to code a program that commands the servo motor only rotate 90 Deg but it keeps turning and not rotating 90 deg, this is my code #define Servo_PWM 6 Servo MG995_Servo; void setup() { ...
Tan Jun Jie's user avatar
-1 votes
0 answers
23 views

Audio+Video sync project [closed]

I have an audio book with some pictures and I would like to make a project with an LCD display and audio module, but I would like the video to be synced with the audio. meaning, I want the visual to ...
parvin's user avatar
  • 107
0 votes
1 answer
16 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
0 votes
0 answers
36 views

Error downloading arduino:avr:1.8.6 in Arduino IDE with Network Proxy

With Arduino IDE v2.2.1, I've connected Arduino UNO board and it automatically tries download the avr board - however it repeatedly throws errors while downloading the boards. As the PC that I'm ...
Giri's user avatar
  • 101
0 votes
0 answers
20 views

2 independent PWM signals with an ability to change frequency on Arduino UNO R3

I tried to generate 2 independent PWM signals with their inverted signals on Arduino UNO R3. I can change the frequency for just one PWM signal, but the frequency of the second signal is constant at ...
Aya's user avatar
  • 1
1 vote
1 answer
84 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
53 views

Fluctuate output produce by LM35 temperature using Arduino and LINX LabVIEW

So I am currently working on a small project which involves Arduino, LINX LabVIEW and LM35 temperature sensor. I dont know why but sometimes the output graph plots weird fluctuate value (kinda looks ...
Minh's user avatar
  • 11
1 vote
1 answer
31 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
-1 votes
0 answers
22 views

Arduino USB PORT PROBLEM [duplicate]

While connecting arduino uno to the system showing unknown usb device. Tried many ways like updating drivers, restarting system, installing ch340 drivers, etc. but no use. Don't understand what the ...
user93423's user avatar
0 votes
1 answer
62 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
0 votes
0 answers
26 views

Detecting an approaching car with a microphone?

I am currently trying to detect an approaching car with a microphone. Currently, I am using an Arduino Uno in conjunction with a SparkFun sound detector. I have tried using FFT and am currently trying ...
Jack's user avatar
  • 11
-1 votes
0 answers
33 views

Serial Monitor not reflecting commands (Connecting Arduino and ESP8266 Module CG340G)

I have a Arduno Uno R3 and ESP8266 Module Module CH340G. Currently using a Macbook. With google and youtube, I saw that I can test if my ESP8266 module (via connection through Arduino) is working, I ...
user93355's user avatar
1 vote
0 answers
45 views

Scrolling function for existing Arduino menu using 16x2 LCD [closed]

I am creating a menu system for my project. I have successfully finished my code to configure up to 2 menu items on my 16x2 LCD I2C. I would like to extend it and add up to 5 menu items in the code ...
neospice's user avatar
0 votes
0 answers
23 views

Arduino IDE: Delays in void loop() prevent counting number of switches

How can I count the number of prox switches and at the same time reference this value for conditionals within loop()? The delays make my loop counter stop adding. I need to know the total number of ...
remusconnor's user avatar
2 votes
1 answer
91 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 vote
0 answers
26 views

Motor Shield Enable and Input Pins

Hello, I am new to the Arduino UNO board and am trying to make a dc motor run using the MATLAB software. The motor is connected to the motor shield board in a similar way shown in the picture below (...
KnightRider's user avatar
1 vote
0 answers
43 views

How do I control a BLDC with greater precision using bluetooth?

I am building a quadcopter drone and I have 4 BLDC motors that I can control using an HM10 Bluetooth module and the "Dabble" application. My problem is that when I use a virtual joystick in ...
gabe29's user avatar
  • 11
4 votes
3 answers
512 views

How to compile without adding the bootloader?

I'm using a standalone atmega328p with a 16MHz crystal. I'm programming it via avrdude on a raspberry pi, using the SPI and RESET pins. When I compile my program, this is what I see at the end of the ...
php_nub_qq's user avatar
-1 votes
1 answer
45 views

Compilation error: 'Serial' does not name a type [closed]

#include <IRremote.h> IRrecv IR (11); Serial.begin(9600); void setup() { // put your setup code here, to run once: IR.enableIRIn(); } void loop() { // put your main code here, to run ...
maxerex's user avatar
0 votes
0 answers
54 views

Setting flag for sending data through advertisements using hm-10 mlt bt05 and arduino uno

I have succesfully connected to my hm-10 device and started configuring it using AT commands. I would like to know if it is possible to modify the data sent in advertisement and read it on another hm-...
stamley's user avatar
0 votes
1 answer
47 views

ATmega328 drop-in replacement with more flash memory

Is there a ATmega328 drop-in replacement with more flash memory? Needs to be 28 pin DIL to fit the socket. Alternatively, is there a board that has the exact dimensions and pins as an Arduino UNO, but ...
Björn Morén's user avatar
0 votes
0 answers
37 views

Python program can read but not write on serial monitor

I'm trying to write a small python program to communicate with my Arduino board but, somehow, I'm having a little trouble. My goal is to switch on and off a LED by interacting with the desktop program ...
Zay's user avatar
  • 11
2 votes
1 answer
100 views

Get address of a I2C transaction when multiple addresses are registered

I have an application polling 4 ADCs by I2C. The application shall also write on some ADC registers. In order to test it, I'd like to use a single Arduino UNO, enabling it for receiving I2C messages ...
lumaca96's user avatar
2 votes
1 answer
66 views

I would like to know why my four gear motors are rotating at different speeds when connected to 2 L293D motor drivers, controlled by the arduino

Ignore direction of the motors(for now). This is my connection diagram. Any and all improvements to this are welcome. Bottom left motor seems to run at 210-224 rpm Bottom right motor runs at 160-180 ...
Veeraja Veeraesh's user avatar
1 vote
1 answer
104 views

How to handle class initialization when using brace-enclosed initializer lists

I'm working with a custom C++ library, CPSTL, for Arduino, which includes a cpstd::vector class that is designed to work with cpstd::initializer_list, cpstd::initializer_list is supposed to mimic std::...
Cheche Romo's user avatar
0 votes
0 answers
59 views

Waking PC from sleep with Arduino keyboard doesn't work, but a regular keyboard does

I have an Uno R4 Minima that tells an attached Linux PC to sleep/wake using keyboard keys to save power. It works fine to make the computer sleep (using Keyboard.write(238); which Linux interprets as ...
Skylar Ittner's user avatar
1 vote
1 answer
123 views

Sounds are being played at the same time

I'm making a school project that allows plants to 'talk'. As in when the plant is in an un-ideal environment (low or high soil moisture, not ideal temperature or humidity and not enough light). I have ...
I-like-turtles's user avatar
1 vote
0 answers
16 views

Sparkfun canbus shield with LSM6DS33 dual SPI problem

Hello fellow arduino users! I have a question regarding using the Sparkfun Canbus shield in conjunction with the LSM6DS33 sensor on a dual SPI configuration. I have managed to get theese two to ...
Paul Boutsiadis's user avatar
-3 votes
1 answer
89 views

RF24 if statements are not reading properly, even if an "if" value is wrong, it still follows the associated code [closed]

My code is taking values from a remote and transmitting the state of it. Right now the states are just 1 and 0, on or off, and is writing over the serial monitor on the transmitting Arduino. On the ...
Bradbut's user avatar
-1 votes
1 answer
32 views

The code is showing same angles for all three axis in the mpu gyro. can anyone solve it so that it works

#include<avr/io.h> float x, y, z, baf = 0, j, i = 0, k, angle, a, b, c, d; unsigned long current_time = 0; unsigned long previous_time = 0; unsigned long time_interval = 0; float gyro_offset_x = ...
Divy Shah's user avatar
-1 votes
1 answer
108 views

error: expected unqualified-id before 'if' if (send) { but all semicolons are available [closed]

I am getting a compilation error: expected unqualified-id before 'if' . Btu I have check all the semicolons . Please help finding my error. The rest of the message error reads C:\Users\jecalderon\...
Jose Enrique Calderon's user avatar
0 votes
1 answer
136 views

Lora SX1278 stops receiving after a short time

I am working with two Lora ra-02 sx1278 modules and two Arduino Uno. Programming on Arduino IDE 2.1.1 sender receiver The problem is the receiver receives a few packets successfully, but then the ...
Rouhi's user avatar
  • 11
2 votes
3 answers
429 views

Is there a way to increase the number of output pins in Arduino Uno? [duplicate]

I am an amateur. I know about Arduino, but I am still learning. And I was making this Bluetooth rover with a camera, ultrasonic sensor, mecanum wheels, air-soft shooter, and sand sample collector. I ...
Anik Singh's user avatar
3 votes
1 answer
68 views

Arduino Servo with temperature sensor (TMP36)

The essence of the program is to measure the temperature, and if the temperature is higher than 26 degrees, the servo rotates by 45 degrees, and if it's lower, it rotates by 179 degrees. However, a ...
Pain's user avatar
  • 33
0 votes
0 answers
116 views

Arduino Uno RFID-RC522 won't scan any card or tag

So I bought a RFID-RC522 module with a blue tag and a white card, and I searched for tutorials and found this library that I used it. and here is my code : #include <MFRC522.h> #include <SPI....
Mr Code Gamer's user avatar
0 votes
2 answers
46 views

Why is my LED strip value always equal to 255 on my potentiometer?

I'm pretty new to Arduino and this is my first project I'm working on and I'm really struggling with why my code isn't working properly. The LED strip should be able to adjust the colour with one ...
user92341's user avatar
2 votes
1 answer
290 views

Why am I getting wrong compass heading using magnetometer readings?

I have been trying to calculate the compass heading using the magnetometer in an MPU9250 sensor. But the result is not making sense to me. I am completely new in this and do not have much ...
Sayantan Das's user avatar
0 votes
1 answer
52 views

With TIMER1 in CTC mode can't get above ~200khz in arduino UNO runnning @ 16MHZ with no prescaller?

I got the following code, and based on the datasheet the Freq should be clk / 2 * Prescaller * (1 + OCR1A) making it that if I set the OCR1A to 0, I should get something close to 8Mhz, but the maximum ...
Nuno Santos's user avatar
0 votes
0 answers
48 views

Can TFT displays share the same RST?

I am trying to connect up to 5 TFT displays to one Arduino Uno R3 and use a multiplexer to control the output to each display. At the moment I am stuck being able to only write to a single one. Every ...
griegs's user avatar
  • 131
-1 votes
1 answer
52 views

Serial does not read buffer with integer characters greater than 43

I'm trying to write a script to move an object coupled to a linear axis through a stepper motor. The user must send information such as the length to be moved, the speed of movement, the direction of ...
Yan Araújo's user avatar
-2 votes
2 answers
80 views

IR Remote control on UNO

I am working on IR remote code run on Arduino UNO I can already get it work. but when I press the button and hold, the output is sent with the same value repeatly. So,the quesion is how can I do to ...
Tanwa Kankang's user avatar
1 vote
0 answers
110 views

How to use a DF Mini Player Busy Pin to start an LED Sequence?

I'm using a DF Mini Player with my Arduino Uno project I keep getting stuck on the same point - how to trigger my LED sequence. I discovered, through some google searching, that utilizing the BUSY ...
Ian's user avatar
  • 11
2 votes
0 answers
82 views

Shift register 74595 does not shift values [closed]

I am using a 74HC595 shift register IC connected to my Arduino board to drive 8 RGB LED modules. The LED modules have built in resistors and require a +5V at anode which I provide from the Arduino. ...
Pratyush Kumar's user avatar

1
2 3 4 5
162