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
37 views

How do I connect my Arduino to a FT-H30 thermal sensor?

I want to use my Arduino to measure from a thermal sensor that I’m not familiar with and I'm trying to figure out what are the proper steps to take. The device is a FT-H30 thermal sensor with FT-50A ...
-1
votes
2answers
40 views

Connect MPU6050 in pins other than A4 & A5

I need to use a MPU6050 gyro and a Ultrasonic sensor for my project. My Arduino Uno did not come with separate SDA and SCL pins, so I have to use the A4 and A5 pins for that purpose, and I have ...
0
votes
2answers
42 views

Using MPU-6050 without I2C

My target is to use multiple MPU-6050 at once, I searched on the internet and found that they can be hooked up really simply. Just connect in parallel and use I2C-Scanner. Then get those addresses and ...
0
votes
0answers
18 views

How to create a server or manage the database using Arduino UNO and GSM [closed]

I made a project which detects the car accident using an accelerometer and vibrational sensor. Further GPS and GSM sends the location of the accident spot to the hospital for SOS service. Now I want ...
0
votes
2answers
42 views

Is it possible to output a variable clock using Fast PWM?

I am trying output a clock and change its frequency dynamically with a rotary encoder. When the code for the rotary encoder is included the clock doesn't reach its max freq(31Khz). But without the ...
0
votes
1answer
23 views

Dynamic memory 'new' (of an overridden class) call affects SRAM memory

I have made a quite large program (not executed at an Arduino lately). However, if I compile with the next fragment: void LightSetupClass::CreateFixtures() { for (fixture_number_t fixtureNumber =...
0
votes
1answer
29 views

"variable does not name a type

Hey guys I'm getting an error that is im pretty sure to do with how i am initializing my variables. It is: exit status 1 'threshold' does not name a type Here's my code: //Global Variables for ...
0
votes
4answers
183 views

What is this shield? (AST Space Arduino Kit)

I recently got a box with Arduino components from someone who didn't want it (in part, because the manual was (probably) in Chinese). However, to my surprise, I could not find this kit on the internet....
-1
votes
2answers
26 views

How to make text typed on touch sensor show up on connected lcd [closed]

I'm trying to make text typed on a touch sensor appear on LCD, so I can see what I can type. But I don't know the code for this. Can someone please help me with the code to do this??? This is the ...
0
votes
1answer
75 views

20 m LED WS2811 Pixel Stripe 12 V

i need some help for my masterthesis. I plan an Light and Sound installation and for this I decided to use the shape of an Dodecahedron and I want to put LED RGB Pixel Stripes on the surfaces to light ...
0
votes
2answers
496 views

MFRC522: Firmware Unknown

Can someone help me what is the meaning of this sketch? It always outputs in the serial monitor: Firmware Version: 0x1C = (unknown) Scan PICC to see UID, SAK, type, and data blocks... This is the ...
0
votes
0answers
31 views

Encrypting data between NRF24L01 using AES

I am trying to send encrypted data using AES via a pair of NRF24L01 and two Arduino Uno boards. I have made two sketches but can not get it working. The used library for AES: enter link description ...
-2
votes
2answers
34 views

Exit status 1 '' not declared in this scope [on hold]

I literally started arduino and coding today so I know nothing. The code is as follows: // Define controllers/triggers by pin const int buttonPin = 3; const int ledPin = 5; //Define LED pin at 5 ...
0
votes
1answer
43 views

Can a Arduino Uno handle all these components?

Its my first project with an Arduino, so please bear with the dumb questions. For this project of mine, I need an Ultrasonic Sensor, a Gyroscope, a Buzzer, three push buttons and an 16x2 LCD. Can ...
1
vote
0answers
41 views

ARDUINO PROGRAM

I have a project that consists in measuring the mass of an object with a strain gauge HX711. so I found an interesting Arduino program and the editing that goes with it. but I have a problem, I ...
0
votes
1answer
193 views

How to send big data (long string) from PC to Arduino using Bluetooth

One of the requirements of my projects is to send data from my application to the Arduino robot. I have windows 10, and my robot is Arduino Uno. The Bluetooth I'm using on my robot is HC-06. The app ...
1
vote
2answers
31 views

Multiple defintion error, Linker error

Trying to create an elf file for two sets of files in different folders. LIDARBOT.h ----------- #ifndef LIDARBOT_H_ #define LIDARBOT_H_ #include <avr/io.h> #include "drivers/motors.h" #endif ...
0
votes
1answer
1k views

How to import data from SDcard on Arduino to the computer using Arduino serial/COM port?

I have Arduino UNO with Adaruit wifi shield. I store some data on the sd card successfully and now I need to import that data on to the computer. I am sending some token, say "1", to the UART port of ...
0
votes
1answer
455 views

Arduino Uno + aRest + ESP8266

So, I can use the aRest library to program to the ESP8266 standalone, but if I have the ESP8266 connected to the Arduino Uno, can I still use the aRest library? Or will this no longer work? I am ...
0
votes
1answer
57 views

A1-A5 pins not declared in this scope error

When I set my board to 'Generic ESP8266 module' then only A0 pin of arduino is working while all other analog pins are coming out of scope , when I set the board to 'arduino /genuino uno' , then "...
0
votes
1answer
351 views

SPI conflict with two shields - IOREF?

Update: I've refactored the code to be very resilient to boards missing or not being able to talk to them. Then I tinkered with a bunch of pins and learned that it all comes down to the IOREF pin ...
0
votes
1answer
31 views

why my arduino uno r3 restart when plugged in to a battery(9v)

i have a personal challenge that is to make a arduino avoidance robot it has a"hc-sr04 ultrasonic sensor, a servo, bread board(for the sharing of vcc and gnd), l9110s motor driver, and two dc motors, ...
0
votes
1answer
561 views

Connect Arduino to PLC (Data Exchange)

The Arduino should read data from a PLC. Has anyone experience with this? What would be possible interfaces? I would prefer OPC-UA, but all the research I did, only OPC-DA was mentioned. Thanks in ...
0
votes
1answer
39 views

I am getting expected unqualified id before if [on hold]

#include <IRremote.h> int IRpin = 11; IRrecv irrecv(IRpin); decode_results results; int Relay1=4; // Initializing the pins for Relay int Relay2=5; int Relay3=6; int Relay4=7; int ...
0
votes
0answers
20 views

Only take certain characters from Arduino Serial Output [duplicate]

I am trying to create a ble scanner but only want the device address to be displayed The device address is the 12 characters before the :-0 in the outputs. In my code shown below I have tried to run ...
0
votes
1answer
27 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
1answer
49 views

Switch Control Between Two Different Techniques

I have implemented PID control of a generator governor to maintain a constant RPM using an Arduino Uno. It works pretty well, but there is a tradeoff between stabilty and response time. Using PID ...
0
votes
1answer
60 views

Arduino Uno will not connect to MAC computer running Sierra

I purchased an Arduino Uno. I am trying to set it up, but when I got to the "port" on my MAC, there is no option to select anything related to my board. The only connections the port tab allows me to ...
2
votes
1answer
397 views

Arduino Uno unable to detect serial port on MAC os Mojave 10.14.2

Ive upgraded to Mojave. I've never used Arduino before. I was given Arduino Uno. Arduino Uno does not find any serial ports... can't load Blink example (the first step) In blind frustration, I ...
1
vote
3answers
188 views

Why am I getting this error- “exit status 1 expected ';' before '{' token ”

void setup() { pinMode{13, OUTPUT}; } void loop() { digitalWrite{13, HIGH}; }
2
votes
2answers
2k views

I can't upload my program to Arduino Uno

I've not used my Arduino for about 2 months. Before this time it worked fine, but now when I want to upload my program I get this error: Couldn't find a Board on the selected port. Check that you ...
0
votes
0answers
29 views

Servo not moving

I have connected my servomotor (MG996R) to my L293D motor shield, which is connected to an Arduino Uno R3 Board. I use 4x AA 1.2V NiMH batteries to power the shield, and a regular 9V battery to power ...
0
votes
0answers
31 views

Stop getting values from arduino after some time

I have a strange problem, I have Arduino UNO/MEGA and I need to get Gyro sensors's data and I want to see the data in the serial monitor. Seems like a simple task, I wrote a simple C program which ...
1
vote
2answers
84 views

How to send and receive unsigned int from one arduino to another arduino

I'm trying to send some big numbers ranging from 0-62000 from one arduino to another via serial communication. I'm using unsigned int to hold values from 0 to 65535. And I'm using serial.print() and ...
1
vote
0answers
37 views

local libraries and include dependencies

I'm using PlatformIO in Atom for Arduino programming. I get dependencies error when build. This is my reproduction sample code: /lib/mylib/mylib.h #ifndef MYLIB_H #define MYLIB_H #include <...
2
votes
1answer
32 views

expected unqualified id-before '/' token ---— can someone help, please [closed]

/* Multiple State Handling * 05-22-2019 */ #define button 3 //Push button on D3 #define lowbeam 5 //Low Beam on D5 #define highbeam 6 ...
0
votes
0answers
33 views

Can´t load a program into my ESP01 using an ArduinoUno

This is my problem, I´ve been trying to load a program(any program) into mi ESP01 and because I do not have the usb adapter, I decided to use my Arduino Uno to do the work. This is my first time ...
0
votes
0answers
13 views

How to wire an lcd and a button [duplicate]

Anyone know how to wire a lcd with a button to react when the button is pressed and print on the lcd
-1
votes
1answer
27 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!!!
0
votes
2answers
67 views

Controlling multiple 12v solenoids with 5v relay modules (Arduino Reset Issue)

I have 4 12V(1A) solenoids running on a 12V(4.16A) power supply. Each solenoid circuit is controlled by a 5V relay module connected to the Arduino Uno (powered by USB). The solenoids actuate ...
1
vote
2answers
1k views

GSM and GPS module don't work together

I am trying to create a project which involves getting latitude and longitude via GPS Module and send it via GSM Module. My problem here is that individual code is working perfectly. However, if am to ...
-1
votes
3answers
4k views

Arduino : How to write a variable value into a text file and modify it in the SD card? [closed]

I want to write a variable value into a text file in the SD card and modify it while reading if needed. I found a text reading code which reads a desired line in the text file.(not tested) //reading ...
2
votes
1answer
15k views

Getting BPM from the given code

I have found code that can blink an LED on Arduino according to Heart Beat. I am using AD8232 as a sensor for Heart Rate. Code for it is: // Variables int PulseSensorPurplePin = 0; // Pulse Sensor ...
1
vote
1answer
16 views

How to control two 12 V motors with the dual MAX 14870 Motor Drive Shield for Arduino?

How to control two 12 V motors with the dual MAX 14870 Motor Drive Shield for Arduino? I am a beginner and I need help on how to control two 12 V motors using the Pololu dual MAX 14870 ...
0
votes
1answer
48 views

Arduino programming with multiple loops

I was trying to program my Arduino (along with a connected motor controller) to switch from cycle to cycle with this program. It doesn't seem to work however. There's still plenty of storage space ...
0
votes
1answer
19 views

Powering a L293D + 2 motors + servo [closed]

I would like to power a L293D Motor Shield, two DC motors and a servo motor. I'm using an Arduino Uno R3. Here are the motor specs : DC motor Servo motor Apparently my motors don't need more than ...
1
vote
1answer
46 views

Dynamically create functions for AccelStepper that use Adafrut_StepperMotor.oneStep methods?

In the Adafruit_MotorShieldV2Library>Accel_MultiStepper example, AccelSteppers are initialized using the following static forwardstep1 and backwardstep1: #include <Wire.h> #include <...
1
vote
3answers
16k views

SMS Receiving problem - Arduino Uno and SIM900A GSM Module

My intention is to control an LED according to the content of the SMS received. For example, if the SMS is "ON", turn on the LED and if it is "OFF", turn it off. I referred many sites and got the ...
-3
votes
2answers
49 views

Coding multiplexer for 64 IR-sensors [closed]

I'm new to arduino and I was hoping if anybody can show me how to code a multiplexer (CD4051BE) for 64 IR-sensors? Really need it! Okay, To be more direct the problem is a software and not a hardware ...
-1
votes
0answers
46 views

What configuration is needed to use an ATMega328p micro-controller on a breadboard [migrated]

I previously bought an Arduino Uno that came with a store bought/prebuilt PCB and ATMega328p to program it and use the pins. I also have a second ATMega328p that was bought by itself and I ...