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
5answers
141 views

Why does the transistor burn out

I have an arduino uno which turns on a water pump (12V, 3.6W) once every 10 hours for a few minutes (I've followed this tutorial on how to connect the water pump). To turn on the water pump I used a ...
0
votes
2answers
70 views

Is My Motor Shield Broken?

So I am trying to work on a mini battle bot project. However, it has been a while since I have worked with my Arduino electronics. So I am going through and learning how to do each thing before ...
0
votes
1answer
23 views

Burn bootloader into Arduino UNO from Arduino Duemilanove

I have been working with my Arduino UNO for 2-3 hours and after that it was not possible to load sketchs into the board since it returns a "avrdude: stk500_recv(): programmer is not responding" ...
0
votes
1answer
27 views

L298N beeps and malfunctions when receiving certain analogWrite values

I created a simple circuit with an UNO, L298N and a single motor. Wrote the following code to test controlling the speed of the motor. Tested motor with digitalWrite() function and it works fine. ...
0
votes
0answers
22 views

TM1637Display is not updating on loop

Alright so I've been trying to update/change the number on the display during a loop, but nothing really happens. It doesnt change/update, the value is always exactly same. #include <TM1637Display....
1
vote
2answers
45 views

Sampling stereo audio at greater than 40 Hertz using arduino

I am working on a project to make a speaker with reactive lighting. I need to be able to sample stereo audio at a decent rate for songs. The audioRead () function can do about 8 kHz and I have heard ...
0
votes
1answer
31 views

arduino boolean function

In the following code :- The aim of code is " when push button is pressed , led is on and when push button is is pressed again led is of" #define led 12 #define button 7 boolean trigger = false; ...
-2
votes
0answers
21 views

How to Power Motor shield from arduino?

I have an Arduino UNO and Motor Driver Shield L293D, for Line following project. Q: If I power arduino using barrel jack and plug Motor Driver Shield L293D onto arduino, would it automatically power ...
1
vote
3answers
92 views

DC motor does not work using PWN or Digital pins

I have connected pin 3 to a DC motor and using analogWrite and DigitalWrite to try making it start. However, nothing happens. If I try to move the pin from pin 3 to 5V or 3.3V the motor starts. Q: ...
0
votes
1answer
36 views

Why does my code treat my sound sensor as if it's always HIGH

I have a sound sensor that was working perfectly fine as I was using it as a clap sensor to turn lights on and off. However, I tried to change the code to make it work a little smoother and for ...
1
vote
1answer
59 views

How can I give power to Arduino Uno using a 12V 7.5 Ah Lead-Acid battery?

I am trying to give power to my Arduino Board using a 12V 7.3 Ah Lead-Acid Battery but I am unable to do it. I connected the battery to Arduino Uno (via DC Pin) and it worked for a couple of minutes ...
0
votes
0answers
40 views

Ethernet Shield Issue

I just bought a Ethernet Shield for my Arduino UNO. I connected it to my arduino and flashed the Example code for Ethernet Shield, but the code didn't work. The COLL LED on ethernet shield is glowing ...
1
vote
1answer
39 views

Connect 5v 30a relay with Arduino Uno

I have previously connected 5V 10A relay switches to my Arduino. But for my new project I need to use a 5V 30A relay switch with my Arduino. In 10A relay switches, we make connection with Arduino ...
0
votes
2answers
68 views

Arduino slave with 2 masters sharing the same I2C Bus?

Consider a scenario where two (or more) master devices (the NodeMCU's, in this case) share an I2C bus with one (or more) slave device(s), like thus: Would this be a feasible setup? In other words, ...
0
votes
1answer
35 views

Can 1 arduino control 6 stepper motors?

I want to make a single cell 3×2 Braille grid that has 6 up and down shafts each of which can be controlled by arduino using 6 stepper motors . So will that work with 1 arduino uno and/or stepper ...
0
votes
0answers
15 views

send data scanner via RF24

I have arduino uno+usb shield+barcode sacnner+RF24 for transmitter and arduino uno+RF24 for receiver. i want to send scanner data to receiver. This is my code //**********************************NRF*...
-1
votes
1answer
29 views

Breadboard arduino uno not working properly

Is there any mistake in the circuit of arduino uno on breadboard... I am using arduino uno board to program this 328p mcu and after that i remove 328p from arduino uno board and placing on breadboard ...
1
vote
0answers
30 views

STM32 Nucleo-L432KC can't send data to Arduino Uno via nRF24L01 module

Hello everyone. First of all, I know you're going to tell me to send my question on the stm32duino forum. But I tried to enter the stm32duino forum and I didn't succeed (I think their forum is closed)...
0
votes
1answer
31 views

Two flow sensors, one ESP32, LCD and/or Arduino

I want to build a flow meter but the Gal/Min rating of something like this flow meter is too low. I am thinking of strapping two side by side with suitable plenums for In and Out. I have found some ...
0
votes
2answers
55 views

Reading consecutive two pulse periods continuously

I'm controlling the DC motor/fan speed by PWM through varying analog input. Using Uno or Nano. The loop is as follows: void loop() { val = analogRead(analogPin0); // read the analog input pin ...
0
votes
1answer
23 views

Pro Micro with Atmega32U4 - reset - reprogramming

i am a new user on arduino card. i have a question about "Pro Micro with Atmega32U4". - is this product programmable several times ? and the third pin (RST) - (Reset). so, does reset mean it erases ...
0
votes
0answers
44 views

How can I pause a stepper motor with a ultrasonic sensor?

I'm trying to use a stepper motor to stay stationary and rotate about 90 degrees, when the ultrasonic sensor detects something in front of it, and stay at that position until the ultrasonic sensor ...
0
votes
1answer
33 views

Is it possible to transmit radio signal with cheap 433Mhz transmitter as strings and receive it with an RTL-SDR

I have these Arduino transmitters and receivers. They are very common. I am just trying to transmit a "Hello" Message using this code. #include <RH_ASK.h> #ifdef RH_HAVE_HARDWARE_SPI #include &...
-2
votes
2answers
62 views

How to read distance of passing object?

Ok, guys this is my first post and I am new to Arduino but somewhat familiar with programming so I hope you guys can assist me. If any of this is confusing, I apologize in advance! :) I want to be ...
0
votes
0answers
40 views

RFduino device required for RFduino hex file

So I have been working trying to measure the velocity of a string attaches using Rfduino microcontroller. I have downloaded all the library(based on https://www.youtube.com/watch?v=K0JiPQnrkHQ) and ...
1
vote
2answers
39 views

maximum interrupt-based PWM frequency at 500 Hz

I need to control a 24 kHz ultrasonic transducer and decided to use an arduino uno I have lying around. Using tone() or the atmega's hardware pwm is not very suitable because I need two 50/50 square ...
0
votes
0answers
11 views

Why is my quadrature encoder writing as irregular intervals in serial monitor after working fine?

I'll try to keep this brief and add code/output at the bottom. I am using an Arduino Uno with a Pololu motor shield and two Pololu motors. I am driving speed control using the encoders at the ends of ...
1
vote
2answers
65 views

How can I pass multiple variables to a function? [closed]

Using the FastLED library, I want to light up multiple lights at once. Currently I am passing in just one light to the function. spell( int LEDNumber ) { FastLED.clear(); leds[LEDNumber] = ...
-2
votes
1answer
26 views

Write and read problem while interfacing 93LC46B EEPROM through SPI

I try to save and read data from 93LC46B EEPROM using SPI with Arduino UNO. I'm following this article https://www.arduino.cc/en/Tutorial/SPIEEPROM . So far I have correctly connected EEPROM pinout (...
0
votes
1answer
20 views

request for a member “X” in something not a structure or a union

i was programming a Self Balancing Robot, I am writing the code in vscode using platformio extension. when i put the code i need to get the angle out of the gyro in another file (named angle.c) ...
1
vote
2answers
46 views

Why do all analog pins measure the same value?

I measure 2 analog pins: A4 and A5. The A5 pin is connected to another Arduino's digital out (through a 10k resistor) which has a simple program: 5ms on and 100ms off. The A4 pin is not connected ...
0
votes
1answer
33 views

Can I connect this LED Matrix to a ESP8266 Huzzah directly?

This tutorial for the 16x32 LED Matrix makes it sound like you have to use an Arduino Uno or Mega, but the tutorial was also written a few years ago. I have a Huzzah ESP8266 (my project is about ...
0
votes
0answers
20 views

How can I set the SIM900a to Europe?

I got a chinese SIM900a module but it can't connect to the network (I live in Europe). Is there a way to get it work on Europe mobile networks?
1
vote
1answer
50 views

What is this extender?

I recently got an Arduino starter kit from a friend that he wasn't using and this came with it but, i can't find anything about it, cause i don't know how to search for it. Anyone can enlighten me ...
0
votes
0answers
31 views

Unable to upload to Arduino Uno From Raspberry Pi

I am trying to upload code to my Arduino Uno from my Raspberry Pi 3B+ and have been following this guide. After following the instructions and trying to upload, I received this error message. pi@...
0
votes
0answers
14 views

Data not uploading on Thingspeak server using ESP8266-01 Wifi -shield

Here's the problem. My sketch has NO errors in it. I can see the output in the Serial monitor but the data is not being uploaded in ThingSpeak server. I've tried changing the API KEYs but it a'int ...
1
vote
1answer
30 views

about how to share one External serial EEprom using two microcontrollers?

strong texti have Vector nav100 IMU sensor that sends data serially UART.I want to receive data from it using ATmega32 and then store data in AT24c1024 EEprom using I2C,then using another ATmega32 to ...
0
votes
1answer
78 views

i2c Connection for MCP4725(Dac) with Esp8266 wemos d1 mini

------------ This question has been edited ------------ note: Dac and Adc is12bits my problem : I use two ESP. Using esp1, I read the Adc amount of the alternating signal (ECG) and send it to esp2 ...
-1
votes
1answer
32 views

For DC. Motor speed slowly increase to reach the highest speed also reverse

I have tried to to control 12v DC motor speed slowly increase to reach top speed , also reverse , but didn't get satisfactory result, the code is below: int motor = 3; int fade valu=0; void setup() (...
0
votes
0answers
35 views

Sound sensor dont work in whole project

When I put this code only on arduino, sound sensor works: int soundSensor=A1; int LED=5; boolean LEDStatus=false; void setup() { Serial.begin(9600); pinMode(soundSensor,INPUT); pinMode(LED,...
1
vote
0answers
22 views

Arduino Uno - Stepper motor not working with button

I am completely new to Arduino, and all sorts of hardware and software. I have a stepper motor, which I want to rotate by a number of rotations when I press a button, and then go backwards by a number ...
1
vote
1answer
25 views

Mains And Battery Monitor Using Delay on And Delay off

I am very new to Arduino. In fact I am entirely new to embedded system. I have been using other platforms for my experiments specifically PICs. I just moved to Arduino for more easier coding but I am ...
0
votes
0answers
22 views

I can't write or read data in an external eeprom

I've been trying to store data in an external I2C EEPROM but it doesn't seem to work, and i don't know why. When i run the i2c scanner it founds my memory but i can't write in it, or at least it ...
0
votes
0answers
40 views

Arduino emulating a keyboard that has a demultiplexer

I have a old typewriter which I want to automate with an Arduino. The way I am trying to do it is to replace its keyboard with the Arduino and make the Arduino emulate the keyboard i/o. The keyboard ...
0
votes
1answer
40 views

Distinguishing between multiple Infra Red Transmitters [closed]

I am working on an Arduino project where I use an infra red camera along with 4 transmitters placed each on a corner of a square platform to park a robot perfectly on this platform. However, it is ...
0
votes
0answers
29 views

How to get interrupt while in sleep mode?

I am using Arduino-uno, attached ESP-01 module I want to give interrupt when I send some wifi-signal to arduino, which is in sleep mode. so I write this code: SoftwareSerial esp(2, 3); // RX, TX ...
1
vote
0answers
22 views

Measuring DC voltage without common ground [closed]

I wish to measure DC voltages of 0-10V and 0-110V using an Arduino. I am sure that these supplies have different grounds to that of the Arduino. I do not wish to connect their grounds together. Is ...
1
vote
0answers
27 views

If an Arduino goes to sleep, does the attached ESP also sleep?

I am using Arduino Uno + an attached ESP-01 (ESP8266). I want to save battery, so I made my Arduino get sleep & interrupt by a watchdog timer. But if the Arduino goes to sleep, does the attached ...
0
votes
1answer
40 views

Sampling rate of multiple analog pins on Arduino

as I checked on Arduino website, they mentioned all boards: UNO, Nano, Mini, Mega have maximum sample rate 10kHz for each analog pin. So my concern is: 1) is there any difference between sampling ...
1
vote
1answer
46 views

Arduino Communication with Sim 900

Im using an arduino uno and a sim 900, the simcard is setup and working as I can make a phone call to it and it rings. The sim 900 is powered via the power jack and the uno is currently powered using ...