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

MIDI keyboard controlled LED strip

My objective is to light a led on a strip corresponding to a keyboard note. I have Arduino Uno with MIDI in module hooked up to a serial port. Piano is hooked with a standart midi cable, Led Strip is ...
0
votes
1answer
17 views

Error: “'lcd' does not name a type” using LiquidCrystal library

I'm following an online Arduino tutorial/course and trying to make a simple moving character on an LCD screen, but for some reason I get the following error: "error: 'lcd' does not name a type". I'm ...
0
votes
1answer
18 views

Setting up I2C with HTU21D, no response after beginTransmission

I'm playing with the temperature/humidity sensor HTU21D. Datasheet: https://www.te.com/commerce/DocumentDelivery/DDEController?Action=showdoc&DocId=Data+Sheet%7FHPC199_6%7FA6%7Fpdf%7FEnglish%...
-1
votes
4answers
86 views

I need help programming my arduino in assembly [closed]

I am new to using an Arduino and I am trying to program my it to implement a flashing pattern with two LEDs. When one LED is off, the other must be on. The program needs to be done in assembly. I have a ...
0
votes
1answer
262 views

How to use use 2 or more HC-SR04 sensors as one single sensor?

I'm new to Arduino and this is my problem. I need to track an object in a room. For now I have placed 3 sensors on the edges of each axis (x, y, z), where the x axis will the line between the east and ...
3
votes
3answers
11k views

Maximum frequency of digital signal in Arduino Uno?

As Arduino Uno has a 16 MHz oscillator but while running program it has less frequency because some of the processing power is used for running the program. I have used the delay(1) but it is giving ...
1
vote
1answer
168 views

How to write a script if water sensor comes into contact with water for more than 2 mins and LED lights up

I am a newbie to arduino and programming. I would like to come out with a code for water sensor to detect the presence of water for more than 2mins before lighting up the LED lightbulb. Currently ...
1
vote
1answer
43 views

Error Compiling sketch for Arduino Uno(ld return 1)

I have got an telnet server with esp8266 + SoftwareSerial+ UNO, and here I want to on led with command ON . will be 1 or 2. It is for recive 1 or 2 numbered pins. And I extract pin from request with ...
0
votes
3answers
218 views

What is the best way to connect multiple Arduinos?

In my situation, I have a map divided into multiple parts, each part could have about 20 to 100 Arduinos that they should send information from time to time to the master. How could I do this? ...
0
votes
1answer
223 views

ESP8266 sends data to the website but doesn't return status

I have problem with my esp8266 it connects to my site and sends 89 bytes of data but does return a confirmation status all i get is SEND OK but i don't get any confirmation from my server This is my ...
0
votes
1answer
716 views

Avrdude verification error

I use an Arduino UNO with IDE 1.8.5 and for the last few days it doesn't let me upload any code. When I try, it pops up with the following error: avrdude: verification error, first mismatch at byte ...
0
votes
1answer
30 views

How to connect two LED strips (APA102/SK9822) to Arduino UNO?

So what I am trying to do is to connect two SK9822 LED strips to Arduino UNO. I am a bit confused about how to properly set this up so I can individualy control any led. So obviously 5V should go to ...
0
votes
1answer
29 views

Any reason to acquire more watts than really needed?

Basic question (again): I have a LED-strip that requires 5V, and each LED (150 in total) requires about 60 milliamps. Calculating everything, I need 3 of these LED-strips (450 LED in total). This in ...
0
votes
1answer
2k views

How do I get a nonzero output from my HX711 and load cell?

I am trying to set up a load cell using the HX711 amplifier. Whenever I upload my sketch, my serial monitor only will read zeros regardless of load applied to the sensor (no signal appears to be ...
0
votes
0answers
27 views

My alterate flashing LED program is not working

I am trying to program my Arduino UNO ATMega 328p in assembler to implement a flashing pattern with two LEDs. When one LED is off, the other must be on. I have made a program but it is showing errors ...
1
vote
1answer
756 views

How to get PPM value from MQ-3?

I tried to build project to detect alcohol with Arduino Uno and an MQ-3 Alcohol sensor. I already have the R0 value, but I faced problem here: I don't know how to convert it to PPM or BAC. I already ...
0
votes
1answer
40 views

Possible to put the ESP8266 in bootloader mode without a FTDI?

I am trying to upload something directly to the ESP8266 using the ESP8266 IDE. I have configured the ESP8266 to communicate at 9600 using UART_DEF and I have set the ESP8266 IDE at 9600. I see some ...
0
votes
1answer
287 views

Capturing interrupt on both edges when it's set on RISING or FALLING

I've been trying to capture rising edge of an IR sensor output. This sensor's Vcc connected to Arduino 5V and it has a digital output pin. I've observed the digital output pin on an Oscilloscope. It's ...
0
votes
1answer
29 views

arithmetic operation outcome differs from the expected outcome

I am writing a function void Sound_Play(int frequency,int millisec) A part of this function is: counting=(millisec*frequency/1000); //counting is type int Serial.println((String)"millisec="+...
0
votes
0answers
44 views

Communication with sensor KMX63 in I2C

I trying to use a new sensor the KMX63 with a Arduino Uno board, my sensor is on a evaluation board made by kionix. For the connexion il linked as follows: | Pin Uno | Pin evaluation board | | A5 | ...
0
votes
2answers
62 views

I think I just bricked my Arduino. Any ideas how?

I think I have a short circuit in my Arduino Uno R3. The symptoms are: It does not seem to be responding as before. The orange "L" LED does not blink on boot-up, but just stays on continuously. If I ...
0
votes
2answers
357 views

Using an ESP8266 with an Arduino Uno - can't get AT command to work

I am trying to connect an ESP8266 to my Arduino Uno. Connections: RX -> RX TX -> TX CH_PD -> 3.3v (Arduino 5v using voltage regulator) VCC -> 3.3v GND -> GND I am running the RX and ...
1
vote
1answer
313 views

Sim808: Is My GPS Module Broken?

Is my GPS module broken? My GPS returns $GPGGA,000250.262,,,,,210,,2,700,,*4C as NMEA. Why there is no latitude longitude? the first value is the UTC time, but there are so many null values ,,,,, Is ...
0
votes
1answer
589 views

Bluesmirf Mate Silver (RN-42) enter command mode when in HID mode

I am having problems getting the Bluesmirf Mate Silver (RN-42) into command mode once I have switched to HID mode. I have bought a second new Bluesmirf Mate Silver to confirm my issue. I soldered the ...
2
votes
1answer
2k views

How to get response of issued AT command for ES266 on Arduino programatically?

I'm successfully running AT commands via the Serial Monitor. But now I'm issuing AT commands via Arduino code and facing problems getting the correct response. Goal: After issuing AT commands ...
0
votes
0answers
6 views

Not able to send message using gsm900a module as the serial monitor is blank

I have connected my GSM module 900A to Arduino and run the code but the serial monitor is not show anything neither its responsive. I have connected the TX and RX to 4,2 respectively and uploaded ...
0
votes
1answer
142 views

Problem using Optiga Trust X I2C

Did someone ever used the Infineon Optiga Trust X module with Arduino using any I2C library ? Here is the technical documentation of the Trust X module. I'm trying to get the I2C_STATE register data ...
0
votes
2answers
29 views

Is it possible to read and load image using arduni uno? [on hold]

I was wondering if i can read and load images using Arduino Uno , I've searched on internet and reached to "TFTLibrary" and I get error while using UNO , because of Esplora . Does it matter using " ...
0
votes
0answers
19 views

Hx711 is outputting only zero

I am strain guages in a wheatstone bridge along with hx711 . For testing amplifier I used potentiometers to change the input voltage for hx711. It is outputting only zero. Here is my code. #include "...
0
votes
1answer
51 views

Can I use GSM and Data Logger Shield at the same time on one Arduino?

Me and my classmates are trying to make an arduino base project where we will be using sensors, GSM, and Data logger shield. We want the arduino to store the data collected and at the same time send a ...
0
votes
1answer
23 views

I´m trying to make a kind of videogame with Arduino UNO

it´s a school project, but I'm having some problems to create a menu selection. In the LCD, all the character are overwriting, I'm a beginer, so i dont have any idea of what i was doing wrong (ps.: ...
0
votes
1answer
33 views

RGB not working properly

My RGB led is not working properly. It should light up red when the ultrasonic sensor detects more than 10 cm and green when it detects less than or equal 10 cm. It is just blinking red and green at ...
-2
votes
2answers
218 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): ...
1
vote
1answer
102 views

Will this sketch eventually fail because of integer limit issue?

I am a novice in Arduino programming and I'm setting up an Arduino controlled, underwater time-lapse camera to take a picture every 2 hours. It's going in the ocean for a month and I want to be sure ...
1
vote
1answer
143 views

Arduino Nano /Uno USB is not getting recognized

I have multiple Unos and Nano and recently due to some bad configuration the USBs are not getting recognised on my Mac Air Laptop. These were working models for almost 1-2 years. I used it to control ...
0
votes
2answers
126 views

Elechouse Mo3 Shield Play Random Song

using this code to try and play a random song when someone walks by my distance sensor I get an error, the same song(track 0001) plays every time. Any advice? #include <SoftwareSerial.h> ...
0
votes
1answer
22 views

Burning Arduino Bootloader

I'm trying to use an atmega chip from an arduino on a breadboard, with minimal hardware (using the internal 8mhz clock). I am using the article in the link provided. When I reach the final step (...
0
votes
0answers
10 views

SIM80L EVB not working

I have a problem with my SIM800L Module. I use the Code from https://www.ayomaonline.com/programming/quickstart-sim800-sim800l-with-arduino/ I want it to send an SMS to my phone, but it doesn't do ...
0
votes
2answers
90 views

nRF24L01 - leaves out end characters during transmission

This is my Master's code. #include <nRF24L01.h> #include <RF24.h> #include <RF24_config.h> #include <SPI.h> RF24 radio(7, 8); const byte address[6] = "00001"; char text[20] =...
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
34 views

Non-blocking incrementation with single button pressure

I am looking for a way to increment a variable by one each time a button is pressed. Current approach is the following : if (redButton.isPressed()) { a++; delay(100); } ...
0
votes
1answer
69 views

RadioHead and Servo compile problems

I am having this problem when trying to compile my sketch. I am using RF frequency modules to send data between devices and a servo motor to control the tilt of a ramp. I understand that both ...
0
votes
1answer
22 views

TSX0108 logic level converter not working

Am trying to setup logic level converter with arduino for eps8266 WiFi module. Am using this logic level converter but it’s not working not sure what am doing am not getting any output. My circuit ...
0
votes
0answers
20 views

Monitoring Power Down Using Arduino UNO and ZMPT101B

I am in the process of implementing power down alerting system suing Arduino UNO and ZMPT101B Single phase relay. My code as follows, #include <Filters.h> //Easy library to do the calculations ...
0
votes
2answers
868 views

Nema 17, Arduino Uno and stepper motor drive ~2H42B

I tried running Nema 17 stepper motor using the drive in the pic below (not the basic L298N drive, which BTW I successfully used to rotate the motor) . Could any of you review my existing connections ...
0
votes
1answer
130 views

Trying to use Tap Detection solution using ADXL345 with Arduino

I am using ADXL345 sensor connecting with Arduino via I2C interface, I am able to test the data at tri-axial axis but as there are some other features also, which I am going to try with Tap detection ...
1
vote
2answers
614 views

Arduino UNO/Nano communication with SP1ML-868 module

Good evening, I'm trying to establish serial communication between an Arduino UNO/Nano (ATMega328P) and a SP1ML-868 RF radio module (http://www.st.com/en/wireless-connectivity/sp1ml.html). I can talk ...
-1
votes
4answers
3k views

BH1750 Light sensor always giving output as 54612lx

urgently need some inputs, Connection: VCC-5v GND-GND SCL-SCL(analog pin 5) SDA-SDA(analog pin 4) ADD-NC or GND Code pasted below used library from GIT : https://github.com/claws/BH1750 #include &...
0
votes
1answer
705 views

SIM800L can't send SMS

I have a SIM800L module (green board). I used this to test my module. In that page, it use a SIM800L red board with a 3.7v LiPo battery. But I directly connected 5v from the Uno to the module. GND ...
1
vote
0answers
103 views

Arduino not responding while trying to flash over BLE

I'm working on wireless uploader for Arduino from iOS devices. I'm using HM-10 BLE module which seems to work ok. PIO 2 is used as DTR for resetting (see A [0x41] T [0x54] + [0x2B] P [0x50] I [0x49] O ...