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
2answers
227 views

How to interface ESP8266-01 Wifi Module with Arduino Uno

I have an Arduino Uno and ESP8266-01 Wifi module with me currently. So I'm going to use ESP8266 to connect to the MQTT broker to allow me publish data to other devices. However, I have a problem with ...
0
votes
0answers
65 views

Sending .wav via network

I'm working in a project and part of this project is sending a .wav file from an Arduino to other device (for example anther Arduino). I already am able to send a .txt file from an SD which was ...
0
votes
1answer
68 views

Random numbers recived by wifi shield

So I am sending a web request to a server, but for some reason the result is the number: ...
0
votes
1answer
153 views

is any windows application available for accelerometer based computer mouse

I want to make an AIR mouse using Arduino and accelerometer, for this i used USB to TTL converter i have done everything successfully but can anyone tell me how use it in computer. I mean i don't know ...
0
votes
2answers
2k views

It is possible to control brightness of an LED strip (connected using a relay and having a seperate power supply ) using output from an arduino?

The circuit contains a relay interfacing with 12v power supply and LED strip. Can the brightness for this strip of LEDs be controlled using the analogWrite command? This works perfectly for a single ...
0
votes
2answers
120 views

How to calculate illuminance from the output of a TCS34725 color sensor?

I am using Arduino UNO with the sensor with the following programm. #include <Wire.h> // TCS34725 I2C address is 0x29(41) #define Addr 0x29 void setup() { // Initialise I2C communication as ...
0
votes
1answer
406 views

Arduino Mega 2560 with SIM808 module - Incomplete SMS response

I have this code to read a SMS: String read_SMS(int index) { Serial.println("--START READ SMS POSITION" + String(index) + "--"); delay(400); sendATcommand("AT+CMGF=1", "OK", 1000); // sets ...
0
votes
2answers
330 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
2k views

Problem : Trigger limit switch to stop DC motor

I want to make a project about automatic gate and garage door via Android app and connected by HC-05 bluetooth module. Each of the gate and garage door have two limit switches(located at each end of ...
0
votes
2answers
1k views

How to automatically reset the nrf24l01+ with code?

I have two separate nrf24l01+ connected to two different Arduino UNOs, one as TX and the other as RX. The problem is the connection stops after a while between them. On the Arduino COM screen I have ...
0
votes
1answer
2k views

4 channel relay module reversed? Or is it my code?

So I am designing a simple project where my Arduino reads analog values from a potentiometer, or rotation sensor, as it is called on EBay, and uses that value to determine how many relays to close. I ...
0
votes
2answers
63 views

Easy bipolar motor control?

Is here some easy way to control bipolar motor without using any other external devices, drivers or shields? I have small motor from CD-ROM so I expect it's low voltage. By control I mean just ...
0
votes
2answers
39 views

What is the necessity of “Prototyping Shield” for an arduino UNO R3?

I just want to learn Arduino and make some small projects. But in the beginner starter kit there's a part named Prototyping Shield. Is it necessary or will it help me?
0
votes
1answer
38 views

Split serial monitor output to only save part of the output

This is the output i get from the serial monitor from using a HM10 in . How could i go about splitting the data using arduino uno. I only want to save the last 12 digits before the :- (4CAA0DE091B7) ...
0
votes
2answers
4k views

AttachInterrupt in a library

I'm having trouble adding attachInterrupt in a library that I am creating. I researched a lot, and I noticed that this is a common mistake, but do not quite understand the answers I found. The error ...
0
votes
1answer
124 views

Usbasp Arduino Uno Bootloader Flash Error - Win 10

I'm trying to flash an Arduino Uno using usbasp but i'm getting the following error,I have checked all the connection and voltage using multimeter but still this error: Arduino: 1.8.8 (Windows 10), ...
0
votes
1answer
169 views

HTTP request as bytes

I need to send this line of HTTP request as bytes. What is the correct way? client.write(byte(" <? xml version: '1.0' encoding='utf-8'?><VideoOverlay><normalizedScreenSize><...
0
votes
1answer
67 views

What is the difference between the two sensors? [closed]

I am working on a project which requires the use of sensors and i don't know which one to use so i would like to know the difference between the two.
0
votes
1answer
50 views

can't power up arduino from dc jack

Yesterday I was working on Arduino based bluetooth car. I was using adafruit motor shield v1. Arduino and shield were on same power supply(11v li-ion cell battery). Every thing was fine. I decided to ...
0
votes
2answers
2k views

Expected } at the end of input

I am getting the error in my title when I try to compile the following code: #define char incomingByte; //Defines incomingByte #define char sendBack = K; #define char ?; #define pollTime; bool ...
0
votes
1answer
81 views

if/else on digitalRead not executing on 'else' portion

I am a beginner with C++ but used to be good with BASIC (2 decades ago lol). I'm building a peristaltic metered doser that allows you to input desired mL on a 4x4 keypad and then when 'fill' button is ...
0
votes
0answers
78 views

How to use sparkfun rfid qwiic reader

Project(skip to here if you don't care): I wanna use the rfid tags as products that i send to a mobile app and from there a suite of different applications. I succeded with a mfrc522 but only for 3cm ...
0
votes
2answers
924 views

Making three led's blink at different times in Arduino

I have a breadboard connected to an Arduino Uno, 220k resistors connected to an led, of course it has a common ground and a pin connected to 5v. All pins are digital. Now, I want led 1 to turn on ...
0
votes
2answers
171 views

How do I replace a burnt atmega328 with a new atmega328(bootloaded) in arduino?

I have an arduino UNO with atmega 328 whose microcontroller got burnt. I bought a new atmega328. I have another working arduino with atmega8. I followed the instructions in http://arduino.cc/en/...
0
votes
0answers
39 views

Please help. Error message “sendSMS not declared in this scope” im frustrated. :(

//INCLUDED LIBRARIES #include <GPRS_Shield_Arduino.h> #include <SoftwareSerial.h> #include <Wire.h> //SERIAL PIN ASSIGNMENT, BAUDRATE, PHONE NUMBER, MESSAGE #define PIN_TX 2 #...
0
votes
2answers
2k views

How to get different parsed JSON data?

In my recent project, I have to parse incoming JSON data in Arduino and I successfully did it. But it is only for one constant data string. For example, if my incoming JSON string like: {"TPS":"0.40"...
-1
votes
1answer
35 views

Code and wire a LCD and button [closed]

I need to code and wire: “Button is pressed.” to an LCD screen when a button is pressed. When the button is released, the LCD should display, “Button is released.” NEED HELP!!!
-1
votes
3answers
7k views

I keep on getting a stray '\302' in program error.How do I fix it.This is in arduino uno

#include <LiquidCrystal.h> int trigPin = 13; //sensor's trigger pin connected to pin 13 int echoPin = 7; //sensor's echo pin connected to pin 11 float pingTime; //time for the ping to hit ...
-2
votes
1answer
495 views

Why is the piezo buzzer not looping/making sound? [closed]

/* */ void setup() // Built in initialization block { Serial.begin(9600); Serial.println("Beep!"); tone(4, 3000, 1000); // Play tone for 1 second delay(1000); // Delay to finish tone } void ...
-2
votes
2answers
240 views

I am trying to combine an automatic door lock with an RFID MFRC522 with a IR REMOTE program

I am getting this error. Arduino: 1.8.2 Hourly Build 2017/02/17 11:33 (Windows 8.1), Board: "Arduino/Genuino Uno" Tone.cpp.o (symbol from plugin): In function `timer0_pin_port': (.text+0x0): ...
30
votes
14answers
46k views

Most compact method of powering Arduino from wall socket

There are a lot of methods to power an Arduino from a large range of voltages: USB cable from PC or from a phone charger or an USB hub step down converters step up converters switching power supply ...
9
votes
2answers
26k views

Increase PWM bit resolution

I would like to increase the PWM bit resolution of the Arduino Uno. At this moment it is 8-bit which I consider too low. Is this possible without losing the ability of interrupts and delays? Koen ...
6
votes
2answers
48k views

Sending and receiving different types of data via I2C in Arduino

I have found a few good tutorials on how to send and receive data via I2C in connected arduinos. My limitation is now how to transmit different types of data like for instance, long, float, etc. Right ...
15
votes
2answers
34k views

How many interrupt pins can an Uno handle?

I am looking at using a 7 channel RC receiver with the Arduino Uno R3. In the documentation, there are mentions of a maximum of 2 interrupt pins, whereas on certain other blogs I have seen mentions of ...
8
votes
4answers
33k views

What is the work of pulseIn?

I have code for an ultrasonic sensor which I found from a site. Here is the code: #define trigPin 12 #define echoPin 13 void setup() { Serial.begin (9600); pinMode(trigPin, OUTPUT); pinMode(...
5
votes
2answers
9k views

Connecting an Arduino to a telephone line?

I would like to connect my Arduino Uno to a telephone line in order to answer a call, record a sequence of DTMF tones, generate a DTMF tone in response, and hang up. The telephone line uses a ...
12
votes
2answers
18k views

Controlling Floppy Disk Drive with Arduino

I am having problems controlling a 3.5" Floppy Disk Drive with an Arduino Uno. I have the floppy disk drive powered with a computer power supply that is switched on, and the Arduino powered by my ...
10
votes
1answer
13k views

Both red and blue led of ESP8266 stays on

I've connected ESP8266 to Arduino UNO. After a getting a huge trouble I successfully managed to run some AT commands. I have also tested AP mode. Then I got some trouble with software serial ...
5
votes
1answer
22k views

Get data from website with ESP8266 using AT commands

I'm trying to get data from a website by sending a HTTP GET request via AT commands for the ESP8266. Here is my current code: #include <SoftwareSerial.h> const byte rxPin = 2; const byte txPin ...
5
votes
5answers
7k views

OTA updates for Arduino using nRF24L01+

Is it possible to send OTA updates to Arduino via nRF24L01+ module? Here are my findings: Here is an instructable explaining how to program Arduino wirelessly but this thing uses a BT module which ...
4
votes
6answers
26k views

How to connect Wi-Fi shield ESP-12E-ESP8266-UART-WIFI-Wireless-Shield with Arduino

I have bought this shield from ebay and now I don't know how to use it, ESP 12E ESP8266 UART WIFI Wireless Shield for Arduino UNO R3 Bouclier Sans filfr: There are no instructions in the box or ...
8
votes
5answers
14k views

Reasons why it is not OK to connect a relay directly from an Arduino digital pin

After looking into various schematics on controlling a relay via an Arduino, I have noticed that, most of the time, transistors are used to switch the separate supply into the relay coil rather than ...
6
votes
5answers
65k views

How do I resolve “avrdude: stk500_recv(): programmer is not responding”?

Whenever I try to program my Arduino UNO Rev.3, I'm seeing the following error avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 ...
5
votes
3answers
19k views

Sending a value from one arduino to another

I wonder if it is possible to send a value from one arduino to another. Basically, I have one arduino measuring let's say weight, but I want to display that value using an lcd in another arduino. ...
4
votes
1answer
2k views

SoftwareSerial too slow for MIDI?

I tried to use the SoftwareSerial library for MIDI (by 47 effects), but it seems I get regularly corrupted/unexpected messages. The circuit I'm using works perfectly when I connect it with the ...
3
votes
3answers
2k views

WiFi module ESP8266 + Arduino Uno

I'm trying to connect a WiFi module, ESP8266-01 to an Arduino Uno. But, as I've understood, this module will only work with 3.3 V. Since all of the data pins use 5 V, one of the solutions is to use a ...
2
votes
1answer
532 views

What's the problem with baudrate?

I was trying to evaluate the speed of communication between pc and Arduino, using this code in Arduino: void setup() { Serial.begin(9600); } void loop() { Serial.println("Ciao Arduino"); } and ...
1
vote
5answers
23k views

How to have an Arduino communicate with 3 other Arduinos?

I was wondering how I can get 4 Arduinos in total to communicate with each-other through a wired connection. The goal is to have the master Arduino send a number 0-100 to each of the other Arduinos. ...
31
votes
2answers
45k views

What are the AREF, IOREF, and the unlabeled pin next to IOREF on the Uno R3?

There are some pins on the Arduino which I haven't been able to find out anything about: IOREF AREF An unlabeled one next to IOREF What are they?
12
votes
3answers
12k views

Can tx and rx pins on the uno be used like regular digital pins?

The uno has digital pins marked 0-13. 0 is marked as rx and 1 is marked as tx. Can these two pins be used as regular digital pins if i am short of digital pins?