Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino-uno]

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

0
votes
0answers
9 views

How do you move motor car forward for set amount of time and turning left/right

Am new to Arduino, wanted to know how to give motor direction to move and the duration of those movements. Goal is to move forward for say 5 seconds, turn left, move for 0.5 seconds, turn right, move ...
0
votes
0answers
14 views

arduino dose not working with my mac [on hold]

Arduino: 1.8.8 (Mac OS X), Board: "Arduino/Genuino Uno" fork/exec /Users/apple/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++: no such file or directory Error ...
0
votes
0answers
25 views

Prioritizing one sensor

I want to ask is there a possible code to prioritize a specific part of a code? So I'm doing this project where I want to utilize muscle sensor, servo, and a button on an app over Bluetooth. The ...
0
votes
0answers
36 views

Analog pins giving off the same value

So recently I made code that used two custom sensors that are connected to the analog pin A0 & A5. Schematic can be seen here (http://inmoov.fr/test-your-finger-sensor/). const int ono = A0; ...
0
votes
0answers
28 views

How to make an audio player using arduino uno? [on hold]

I was trying to play .wav file using an arduino uno. Although I tried with TMRpcm library, the audio didn't play. It was showing a warning: ISO C++ forbids converting a string constant to 'char*' ...
0
votes
0answers
10 views

Read SNMP OID values with Arduino

I wish to read SNMP predefined OID values from other devices, can it be done with Arduino? I searched all over the internet for the past 2 weeks about Arduino with SNMP and found a lot of great ...
0
votes
0answers
11 views

Ultrasonic,pir,gas mq2 sensor using Arduino in one code? [duplicate]

I have a three sensors codes but its are separately. I don't have knowledge of these code merg in single one code
0
votes
0answers
15 views

Did not found fingerprint sensor even if the sensor light is on [on hold]

I'm using Arduino Uno, the wirings are Black - GND Red - 5V White (RX) - TX Yellow (TX) - RX The wires are in bundle so the white one and yellow one is on RX and TX respectively. Red wire is on ...
0
votes
0answers
11 views

my problem is when configuring the XBee with the arduino

I tried configuring the xBee using arduino but it always fails, I downloaded the X-CTU to configure it but it doesn't recognize my XBee. Knowing I am using XBee pro S2B it shows me the following: ...
-1
votes
0answers
24 views

Smart shopping system project [on hold]

I am doing smart shopping system project. I can added and remove product using RFID in ARDUINO. I need ur help to show all added products in lcd by pressing a push button
0
votes
1answer
25 views

How to use 2 serial port when WifiEsp library uses one of both

I try without success to receive datas from DataPort and transmit them to my computer via WifiPort, using ESP8266 wifi module. Each second, serial datas income on DataPort from another device. ...
0
votes
0answers
15 views

Arduino - State of Charge (SOC) Measurement [on hold]

I am doing a University Project which requires determining the State of Charge (SOC) of a battery. The usage of battery voltage for approximate determination would reduce the accuracy. So I am ...
0
votes
1answer
20 views

Reading NFC card (PN532) with Arduino Uno

I am trying to detect a RFID card using the NFC-PN532 module and Adafruit_PN532 library. Initialization code:- #include <Adafruit_PN532.h> #include <Wire.h> #define SCK (13) #define ...
1
vote
1answer
32 views

Force TCNT to stay below OCRxA on ATmega328P

I'm using a timer and the TIMERx_COMPA ISR to generate a signal in "the background". This ISR is triggered when the timer reaches a certain value (OCRxA), which in turn can be changed by the user. ...
0
votes
1answer
32 views

problem with connect arduino with atmega32

i need to connect atmega32 as master and arduino as a slave so i write this code and i don't know where is the wrong #include <Wire.h> int led1= 13; int led2 = 12; int x =0 ; void setup() { ...
1
vote
1answer
49 views

16 X 2 LCD display blank with Arduino Uno

So I am following this tutorial to make my arduino display hello world and millis(), I got it to work for a minute, but then it stopped updating the milliseconds, and when I pushed the reset button it ...
-1
votes
0answers
21 views

3 button password sequence [duplicate]

im trying to make an led turn on after a sequence of buttons is pressed (1, 2, 3, 3, 1) but after i press one button the incorrect led comes on straight away and im not really sure why. im not very ...
0
votes
1answer
24 views

Run website / Javascript game from a Arduino UNO device?

I apologise if this is a dumb question, but I'm trying to find information on whether or not this is possible. I'd like to build a arcade machine to play my custom Javascript 2D game. The game ...
1
vote
1answer
35 views

Im trying to get a 3 button password sequence working

I'm trying get a password system working that when you click 3 buttons in a certain order (1, 2, 3, 3, 1) then an LED will light up. But as I'm going to implement this into a larger code I can't just ...
-1
votes
1answer
37 views

Replace Arduino bootloader

My Arduino board is malfunctioning in its bootloading and I thought weather I can overwrite the previous bootloader on the atmega. I mean to ask than can I simply reinstall bootloader on a chip that ...
0
votes
0answers
15 views

How o calibrate ZE11-C2H4 sensor with Arduino Uno? [on hold]

I want to calibrate ZE11-C2H4 with Arduino?
0
votes
0answers
14 views

PLC with Arduino UNO [duplicate]

In my current project I have to communicate with 10 different devices with PLC. PLC is the master. When input comes from PLC to a device, the Arduino controller through RS485, I want to check the ...
0
votes
1answer
29 views

Sending command through SPI on Arduino UNO

I am assuming the default pin configuration is pin 10(SS), 11(MOSI), 12(MISO), 13(CLK) from a default setup, SPI.begin(). The code compiles OK. Not sure about the int valuex and using the SPI.transfer(...
0
votes
2answers
36 views

Arduino and Solenoid Water Valve

I use Arduino UNO and two SPST Relay (Wemos Mini D1 Relay) to make the reverse polarity circuit. I use this circuit to open and close the Solenoid Water Valve (SWV), which work with 9 to 12 volt. The ...
0
votes
0answers
19 views

Having trouble reading directly from VEML6075 UV sensor from its registers(I2C)

I'm kinda new to Arduino and decided to dive deeper into learning abit more about Arduino; So i decided to grab a Sparkfun VEML6075 UV sensor and try to: 1) Initialise it 2) Take readings from it ...
0
votes
0answers
20 views

Getting the error calibrate' was not declared in this scope

#include <LiquidCrystal_I2C.h> #include <Wire.h> #include <ESP8266WiFi.h> LiquidCrystal_I2C lcd(0x27, 16, 2); #define DT D2 #define SCK D1 #define sw 9 long sample=0; float val=0; ...
0
votes
1answer
22 views

making power harmonics analyser which will measure the amplitudes of the fundamental and its multiples (like 50hz, 100hz, 150hz,200 hz,…) there are)

i have been intendng to make a power frequency harmonics analyser which will measure the amplitudes of the fundamental and its multiples (like 50hz, 100hz, 150hz,200 hz,...) there are examples for ...
0
votes
0answers
20 views

ESP8266 wifi at command did't work [on hold]

it showing like this rll⸮⸮|⸮l⸮| ⸮ l⸮ b|⸮⸮⸮⸮r⸮c⸮ c⸮⸮on⸮lno⸮⸮⸮ bp⸮lrlslp⸮n⸮ ⸮ l ⸮⸮ c n⸮|l⸮ ⸮b⸮⸮oo⸮l⸮⸮l⸮no lns⸮⸮⸮o b ⸮lr⸮⸮o b ⸮l⸮l⸮p⸮⸮⸮⸮`⸮⸮o⸮ how to shove please help me...! Whatpp No ...
0
votes
1answer
36 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
0answers
26 views

What is the Lifespan of NodeMCU 12-E? [on hold]

i am using the NodeMCU in a homeautomation project, how much does the NodeMCU last, and what about its efficiency? thanks in advance
0
votes
0answers
23 views

LCD not displaying any character with I2C or when used separately

I have an arduino uno and pin connection for I2C are - SDA --> A4 SCL --> A5 VCC --> 5v GND --> GND This the code i am uploading taken from the examples - #include <Wire.h> #...
0
votes
0answers
33 views

ESP-01 responding to some codes not all ; like of ADAFRUIT MQTT?

I am Arduino Uno to upload code into esp-01 and this is code i using to send random values from my esp chip to Adafruit Mqtt server - ****************************************************/ #include &...
0
votes
0answers
39 views

Is there a module for Arduino that can be used to read movment? [closed]

Does anyone know if there is a module for Arduino that can be used to read movment? How far has it gone and in which direction? I want to make a thing that the person will catch and walk, and i want ...
-2
votes
0answers
25 views

How to fix the error in SoftwareSerial Serial1 and how i add the codes of multi send to multi reciever ? Can you help me to make final codes of this [closed]

#include <LiquidCrystal.h> #include <SoftwareSerial.h> int initModule SoftwareSerial Serial1(2,3); //make RX arduino line is pin 2, make TX arduino line is pin3. SoftwareSerial gps(10,...
0
votes
2answers
43 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
0answers
18 views

Arduino UNO and ESP8266-01 Wi-Fi cutting out after few seconds

I followed this tutorial: https://www.youtube.com/watch?v=2cjufbgOBYo My serial output in Arduino editor is this: AT AT AT AT AT AT AT AT+RST ATE0 AT+CWMODE=2 AT+CWDHCP=0,1 AT+CWSAP="RemoteXY","...
0
votes
0answers
31 views

How to put the inputs in array?

I face a problem and I really need help. For my Arduino project, I'm using RFID reader with tags. The story is, I have a desired arrangement for the cards and I defined it as an array called desired[]=...
0
votes
1answer
13 views

NeoICSerial and SPI on the Uno - pin 10

The NeoICSerial documentation contains a table that states for the Uno: Transmit: 9 Receive: 8 PWM Unusable: 10 Pin 8 and 9 are used for the serial connection. Pin 10 is part of the pins for the SPI ...
1
vote
2answers
25 views

L1 is not declared in this scope error

I have a project where I have to control a DC motor. In this code the purpose is that every time you press a button the direction of the motor changes. I only get the error that L1 (and L2,R1 and R2)...
1
vote
1answer
21 views

Create a device to detect object and voice alert what kind of object it is [closed]

Here is what I want to do (since I'm not a embedded guy) create a prototype with an Arduino to detect objects using camera(object classification?) that prototype will detect objects and alert that ...
0
votes
0answers
11 views

VNH2SP30 Motor Driver not working in reverse

I bought 2 new VNH2SP30 Motor Drivers because i thought the first one was broken but they are both giving me the same issue, they run in forward direction but not reverse... When the motor is ...
0
votes
1answer
17 views

GPS module Ublox Neo 6M issue

I using the above mentioned GPS module with Arduino UNO. I find that I cannot receive the Latitude and Longitude values in the $GPRMC string in the NMEA data, as I used the module inside a concrete ...
-1
votes
0answers
16 views

how i can programming send and reserved threw IR INFRARED (COMMUNICATION)? [closed]

how i can programming send and reserved threw IR INFRARED (COMMUNICATION)?strong text
0
votes
0answers
17 views

Computer vision without internet connection? [closed]

I want to recognize a purple flower between green grass and to do this I will use computer vision. I read that most used methods is OpenCV but I have a problem. I will use this technique with a robot ...
0
votes
0answers
9 views

gsm A6 module sms sending problem CME error 58 [closed]

I have to send SMS to mobile CME error 58 my sim there is no pin protected but still, now I'm getting this error
-1
votes
1answer
56 views
0
votes
0answers
19 views

Communicationg PLC with arduino Uno board [closed]

In my current project I have to communicate with 10 different devices with PLC. PLC is the master. When input comes from PLC to a device, the Arduino controller through RS485, I want to check the ...
0
votes
0answers
21 views

RS485 Arduino Communication Issue

Friends, I am trying to achieve half duplex communication between two Arduinos using RS485 Protocol. The hardware I am using is a MAX485 module and an Arduino Uno. I am using the SoftwareSerial ...
0
votes
0answers
24 views

Music Reactive Fountains

I want to make Music Reactive Fountain. When You say "Holaaaaaa" The fountain (PWM arduino signal) should increase making the fountain reach it's maximum height according to the amplitude of my voice ...
0
votes
1answer
23 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 ...