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
5 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
18 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 votes
0 answers
25 views

trying to make a circuit that uses an IR sensor, after the sensor gets an input it delays the output signal by 3 seconds before turning on the motor [closed]

I am new to this, this is what I have for my hardware, but I don't have any code if someone could please help thank you
Shayan Noor's user avatar
1 vote
1 answer
25 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
24 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
-3 votes
0 answers
32 views

Ultra Sonic Sensor [closed]

Actually I want to check my HRSC-04 ultra sonic sensor by connecting to arduino. I did it by taking an example of ping problem from the ide software. When I opened serial monitor it is showing 0.02937 ...
user93423's user avatar
-3 votes
0 answers
19 views

I want to make 3 axis robotic arm [closed]

so I want to make a 3 axis robotic arm and i want it to detect, pick and place objects by itself. so my first thought was to use computer vision for this. i've never used computer vision before and it ...
yoda_engineer's user avatar
-2 votes
0 answers
25 views

Arduino UNO Uploading Error [closed]

While uploading program into arduino uno. It is showing programmer not responding. What to do?
user93423's user avatar
-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
61 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
22 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
30 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
40 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
88 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
507 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
44 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
53 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
44 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
36 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
-1 votes
0 answers
15 views

Some problems in the code for DCF77 in Arduino

I found this code on the internet to watch the time with a DCF77, but is not working. The code is the following: #define DCF_PIN 2 // Connection pin to DCF 77 device #define ...
Matthieu's user avatar
2 votes
1 answer
98 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
65 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
92 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
58 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
122 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
87 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
103 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
112 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
425 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
60 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
105 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
43 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
272 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
51 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
45 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
51 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
78 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
100 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
0 votes
1 answer
175 views

Control esp32 via keyboard keys

I'm making a project in which I have to control a mini car and get sensor information via bluetooth. I'd like to be able to control the mini car with the computers keyboard (w,a,s,d), but I was not ...
Matrodsilver's user avatar
1 vote
1 answer
53 views

Arduino Nano TX and RX LEDs Not Lighting Up During Upload

I'm encountering a problem with my Arduino Nano board. When I attempt to upload sketches to the board using the Arduino IDE, only the Power LED lights up, and the TX and RX LEDs remain inactive. I've ...
Ryuu's user avatar
  • 11
1 vote
0 answers
97 views

Why are the UART ports not working on my Portenta breakout Board?

I am using a Portenta Arduino Breakout Board (https://store.arduino.cc/products/arduino-portenta-breakout) that is connected to the Portenta H7 (https://store.arduino.cc/products/portenta-h7) for a ...
rcs13's user avatar
  • 11
1 vote
2 answers
138 views

Timer interrupt setup for one second is too slow (~ 4 seconds)

I am trying to use the timer interrupt on an Arduion Uno. Here is a imple example code for displaying a progressive digit on a lcd display, which is updated with timer interupt every second: #include &...
maddes8cht's user avatar
2 votes
1 answer
115 views

communicating esp 32 with arduino uno

I made a spider robot using arduino and from esp. I made an audio output device which is linked to python program which writes a particular data (when we speak a command) to esp board and accordingly ...
Akshit Singh's user avatar
2 votes
1 answer
155 views

Read binary file on SD card

Why I can't read the last byte in the file when I use the Arduino ide code? The code in cpp is work without any mistakes. This is my code on Arduino ide: vector<unsigned char> text; unsigned ...
george's user avatar
  • 139

1
2 3 4 5
162