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
1answer
53 views

How to save arduino serial monitor data into excel file

I am looking for the software that can help me to save arduino serial monitor data into excel file. And how to use that with your own code.
0
votes
0answers
39 views

Effective Controlling of Continous Servo Motor

I have difficulty in controlling a MG995 continuous motor. For I know I can control the speed of the motor as writing servo1.write(p) , where the value of p changes the speed of the motor. When the ...
-3
votes
1answer
52 views

Can you help me figure out why my arduino code is not working

The code is made to sense were an object is and send out int const trigPin = 10; int const echoPin = 9; int const buzzPin = 1; int const LED1 = 2; int const LED2 = 3; int const LED3 = 4; void setup()...
-3
votes
0answers
24 views

Can you help me figure out why my arduino code is not working pls help [duplicate]

The code is made to sense were an object is and send out int const trigPin = 10; int const echoPin = 9; int const buzzPin = 1; int const LED1 = 2; int const LED2 = 3; int const LED3 = 4; void ...
0
votes
1answer
85 views

sending string from Arduino to ESP8266 works on UNO but not Pro Mini

I have a project where I am getting sensor data and sending it over to an ESP8266-01 to send to ThingSpeak. After some work I got it to work. So like I real smart person I decided to replace the ...
0
votes
2answers
63 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, ...
1
vote
5answers
140 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
1answer
41 views

Changing I2C address of MPU-6050

Is it possible to change I2C address of MPU-6050 ? I am trying to connect a bunch of MPU-6050 to my Arduino. Almost all of them are running on the same address. Few are running on different address. ...
0
votes
2answers
69 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
0answers
33 views

how to send variables from arduino to processing?

I have to send four variables from the arduino to the processing. Unfortunately, I find nowhere code that works: / Arduino Code: int test1=4; int test2=5; int test3=6; int test4=7; void setup() { ...
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" ...
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
75 views

NRF24L01+ Getting Started Acknowledge Failed

I have followed numerous guides and tutorials for getting the NRF24L01+ modules working with an Arduino Uno. I have swapped to a genuine Arduino and tried 4 different NRF modules. All without luck. I ...
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....
-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 ...
0
votes
1answer
30 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; ...
0
votes
1answer
82 views

LMT01 temperature sensor code does not run - need help

Apr 06, 2018, 09:52 pm I hope this is appropriate. I posted this question on the Arduino/Sensor site, got 42 views, but no reply. I had no success getting help with any earlier post on this subject,...
1
vote
1answer
55 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
1answer
27 views

How to read a specific amount of data via serial?

I'm trying to send data via serial from my Arduino nano to my ESP. Its an integer from 1 to 4 digits so something like 0, 13, 1234, 123, ... Every thing works fine but when the data comes too fast it ...
0
votes
1answer
2k views

SoftwareSerial data not available

Second time I'm asking the same question with no solution, let me elaborate in other way for clarity. I wrote an Arduino program which uses two serial ports, one is hardware serial port and other is ...
0
votes
1answer
34 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 ...
0
votes
0answers
38 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
1answer
17 views

My HC-05 Bluetooth Module is not working

I have been trying to use the HC-05 Module with my Arduino Uno to control a LED, which can be turned on and off by my phone. Everything is fine when i input the values from the serial monitor. The ...
0
votes
1answer
34 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
29 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
39 views

Memory usage in AnalogBinLogger of SdFat library

The AnalogBinLogger.ino file of SdFat library says the following: Each 512 byte data block in the file has a four byte header followed by up to 508 bytes of data. (508 values in 8-bit mode or 254 ...
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 ...
1
vote
2answers
71 views

Is it safe to power Arduino project using a power bank and wall charger?

I got an Arduino project that need a constant source of power. Rather than dealing with batteries, I want to use a power bank like this: Better yet, I want to keep the power bank plugged in to the ...
0
votes
1answer
42 views

0 temperature & hummidity DH11

Alright so I'm having problems with my code. Its my first time using DH11 I keep on getting that temperature is 0 degrees so as the humidity #include "dht.h" #define dht_apin A0 dht DHT; void ...
0
votes
1answer
26 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 ...
1
vote
1answer
895 views

Trying to move a stepper motor back and forth

So, I am trying to move a stepper motor through a halfway revolution (1024 steps), and once that is completed, have it move back and forth by about 100 steps in either direction. I am having some ...
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 ...
1
vote
2answers
38 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
1answer
19 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
2k views

Arduino master/slave communication using RS485

I am using Arduino Uno as a Master Device and 3 Arduino Unos as slave devices. I am sending data from each slave to master after every 3 seconds continuously, and is going to execute further logic ...
0
votes
1answer
517 views

Posting data with ESP8266 module? [duplicate]

I have an ESP8266 module attached to an Arduino Uno that is connected to my local network. On the network, at address 192.168.1.13, I have a nodejs/express server running on port 3000. How would I go ...
-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 ...
1
vote
2answers
241 views

Save Data before Shutdown

I am building a positioner and I store the current position to EEPROM when the move is complete. On start up, I want the positioner to return to the HOME position. I am running an UNO powered from the ...
1
vote
1answer
86 views

How can I use a transistor to “press” a button?

I have a heater remote that I want to press the buttons of with my Arduino. I am powering both the remote and Arduino from an external 5V source so both grounds are connected. Currently I have tried ...
-1
votes
2answers
35 views

Load Resistor Use for Voltage Sensing by Arduino

I connected a piezoelectric film to a Arduino Uno board via analog input. However, as I was getting very high voltage values (reaching 5 volts without much movement). Therefore, I added a 1 megaohm ...
-1
votes
0answers
24 views

MPU6050 gyroscope giving wrong measure

i am trying to make an angle meter, using the UNO and MPU6050, following joop brokking video tutorials, when utilizing the accelerometer, the results are fine, however when i try to use gyroscope ...
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 &...
0
votes
1answer
150 views

Sending char arry via nRF24L01

I am trying to send a char array using Arduino Uno board and nRF24L01 modules Here is the code for both transmitter and receiver: #include <SPI.h> //~ #include <TMRh20nRF24L01.h> //~ #...
0
votes
1answer
71 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 ...
0
votes
0answers
37 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 ...