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

SG90 servo motor not working

I tried to test a servo motor for a project using this simple circuit but the motor won't move. I've used this before with the same setup and code and it worked, but now suddenly nothing works, even ...
-1
votes
0answers
17 views

Connecting Arduino to 10hp 3 phase ac motor? [migrated]

I want to connect Arduino to 3 phase 10 hp ac motor. I just want basic functionality that is I should be able to turn it on or off using the code. Is it possible to do with 3 phase solid state relay? ...
0
votes
0answers
18 views

how can use arduino to control a 24 V stepper motor? [closed]

The description of the motor is the following
1
vote
0answers
52 views

Arduino UNO R3 clone acting as Arduino Nano

I just got a bunch of Arduino Uno R3 (ATmega328P + CH340).In arduino IDE when i'm selecting board as Arduino UNO then i'am getting this error avrdude: Version 6.3-20171130 Copyright (c) 2000-...
0
votes
1answer
15 views

Serial monitor shows repeated CIPSEND and CIPCLOSE

I'm trying to build a heart rate monitor using ESP-01. The code compiles and uploads well but once uploaded, in the serial monitor it shows the following. It keeps repeat CIPSEND and CIPCLOSE over and ...
1
vote
0answers
35 views

Setup Firmata for PC-less usage

I want to use an Arduino Uno with Firmata as a standalone datalogger for recording analog signals. I will use power banks to power the Arduino. How is it possible to setup Firmata pins once with PC ...
1
vote
1answer
68 views

Unexplainable int behavior in encoder/LED project

I am trying to use a rotary encoder to cycle through the brightest versions of R, G & B. And it works! Red goes to blue just fine. Then G happens. For some reason, the int for green goes ...
0
votes
0answers
29 views

i2C master/slave Arduino uno Programming to run 2 motors at once off separate boards [duplicate]

I am attempting to run a master/slave receiver arduino using two arduino uno's. I'm synchronizing both Arduino to control 1 dc motor and 1 stepper motor at once which each of the Arduino UNO board ...
-1
votes
0answers
39 views

i2C Arduino Programming [on hold]

I am attempting to run aI'm synchronizing both Arduino to control 2 Motor driver module which each of the Arduino UNO board controlling a single motor driver module. For sure there will be one master ...
0
votes
2answers
78 views

Value read is not changing while rotating pot in arduino?

I am trying to read voltage using analogRead in Arduino Uno from a voltage divider circuit consisting of 1k resistor and 10k pot. The Pot used is bourns 3296. The values obtained only range from 1011 ...
0
votes
2answers
49 views

Voltage measure range of an arduino?

I recently thought of using an Arduino to measure voltage and I stumbled across the problem that what is the max voltage I can measure??? It is an Arduino Uno and I am thinking that I would also ...
0
votes
0answers
19 views

Using 16x2 LCD code causes error in sensor reading

I haven't done much programming with Arduino, compared to my previous projects this one is kind of a major one. I have one of these DIY Filament extruder , I am trying to add Filament puller and ...
0
votes
0answers
28 views

Load cell and hx711 with arduino

I wanted to connect the load cell with hx711 to Arduino to check the presence of load. If there is load on the load cell then an LED can light up and when there is no load the LED will be off. I tried ...
0
votes
2answers
58 views

How to find out the maximum used stack space?

I am creating an Arduino sketch which involves quite some classes, and I want to check if it will run on an Arduino Uno or Mega (2 KB vs 8 KB SRAM). So far my global variables take up around 1,200 ...
0
votes
0answers
23 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 ...
1
vote
1answer
124 views

declared variable inside void setup is forgotten in void loop

if i declare a var in void setup() and try to do something with it in void loop(), it just says that the variable is undeclared. here is the code: #include "Servo.h" void setup() { Servo servo1; ...
0
votes
0answers
24 views

How do i fix these errors that change everytime i save in ESPlorer? [closed]

im following a guide on how to make a doorlock that works on wifi via Feather-huzzah and a 3.3V ftdi programmer connected to a ARduino-uno and a servo. After some hours trying to get everything ...
0
votes
1answer
39 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
0answers
18 views

Spinning ESC Brushless Motor Slower

I am controlling a g-series 1000kv brushless motor with my arduino. Currently I have my setup as follows: Now I used the code given to me in a tutorial which is also as seen below: #include <...
0
votes
0answers
15 views

Moving timer-related code into a separate file causing timing inconsistencies?

I have written the following code, attempting to re-implement the Arduino micros function: main.c #include <avr/interrupt.h> #include <stdbool.h> #define CLOCK_CYCLES_PER_MICROSECOND (...
0
votes
0answers
17 views

How to use sparkfun qwiic rfid with arduino uno [duplicate]

https://learn.sparkfun.com/tutorials/sparkfun-qwiic-rfid-idxxla-hookup-guide Hardware: Arduino UNO R3 Sparkfun qwiic rfid Id-20LA I followed this tutorial. I used the code on the website. I don't ...
0
votes
1answer
52 views

Send Strings via SPI both ways using two Arduino UNOs(Master to Slave & Slave to Master)

I need to create a two way String exchanger via SPI with two Arduino UNOs. Strings and their lengths are independent variables of the main loop and they can change with every iteration. I need both of ...
1
vote
1answer
31 views

The Ultrasonic sensor just detects the same distance

int tPin = 11; int ePin = 12; long duration, inches, cm; void setup() { Serial.begin(9600); pinMode(tPin, OUTPUT); pinMode(ePin, INPUT); pinMode(2, OUTPUT); } void loop() { ...
0
votes
0answers
20 views

Denoising accelerometer data mounted on moving vehicles

Can you suggest a method for denoising accelerometer data mounted on moving vehicles? I have read several suggestions like using Kalman filter, moving average, etc. but I'm not sure which suit best in ...
0
votes
0answers
44 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
0answers
29 views

AI Thinker A7 and Arduino Uno

I have the following code #include <SoftwareSerial.h> byte RX = 10; byte TX = 11; SoftwareSerial *A7board = new SoftwareSerial(RX, TX); void print_result() { Serial.print("A7 board info: "...
0
votes
0answers
24 views

Modifying NMEA of Adafruit GPS

I use a Adafruit Ultimate GPS Breakout - 66 channel w/10 Hz updates to collect data on animal movement. I have two questions regarding the produced NMEA: - there are some information about PGACK, ...
0
votes
1answer
29 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
0answers
23 views

Exchange data between Arduino and a remote server

I want to read name and user code stored in a magnetic card by using my arduino and then send this information to a remote server. The server runs an application which is able to control if the user ...
1
vote
0answers
30 views

How to secure the communication between android app and door lock controller?

I have been working on a small project using android app over Bluetooth to control a servo motor (close or open lock). To authenticate the communication, I implement HMAC (with SHA256) on both the ...
0
votes
1answer
20 views

MXCHIP IoT DevKit too many initializers for 'unsigned char [0]

Question Trying to call the Display draw API using the sample code for the azure logo bitmap sample code. I'm unable to reach a point where I can the API because breaks when constructing the bitmap ...
0
votes
0answers
23 views

MPU-6050 Interrupt Sample Code

does anyone know where I could find some working code the demonstrates how to use the interrupt pin on the MPU-6050? My goal is to be able to shake the sensor in order to trigger an interrupt which ...
0
votes
1answer
17 views

Can i use a sparkfun rfid qwiic without an id-xxla? [closed]

Sparkfun rfid qwiic id-20la I am using an Arduino UNO R3. You should assume that i don't know anything. If yes can you give some information about how to do it? Thanks for any help.
3
votes
2answers
75 views

Frequency measuring using Arduino (AC analog input)

What I aim to do: To measure the frequency of an AC analog signal generated by an electrodynamic shaker, which has a peak voltage of 10V-- using an Arduino Uno. What I have tried: Tried using a ...
0
votes
1answer
20 views

Can Arduinos keep a 500mu timer?

I need to output a serial message on a 500 microsecond interval (10 bytes), can be a little slower but no more than 1 milisecond between messages. Can it be done with an Arduino? I know there is a ...
0
votes
1answer
75 views

My Arduino got stuck and continuous looping in if condition

I'm using RTC and when the if condition is true the Time gots stuck and the condition keeps looping. Please help Here is my code: // CONNECTIONS: // DS1302 CLK/SCLK --> 5 // DS1302 DAT/IO --> ...
0
votes
1answer
23 views

There's an error I don't know how to fix

I basically have a bread board with an rgb led and a peizo buzzer with a photocell. I have the codes for both. If I put a code for the rgb, it works. If I put the code for the peizo, it works. Once I ...
0
votes
0answers
32 views

Can't use MEGA as Transmitter and UNO as Receiver nRF24L01

I have a project with 7 May Deadline, i really need help on this. Here is the problem, I need to use my Arduino MEGA 2560 as transmitter and Ardino UNO(CH340G) as receiver. I can use uno as ...
1
vote
0answers
26 views

UDP behavior different for STM32

I'm facing a weird situation, where the UDP behavior seems different in STM32 porting (stm32duino). Short question Besides port and address, what are the other parameters that characterize the UDP ...
0
votes
2answers
47 views

How do I remove powerline noise interference (50 Hz) from ECG signal using Arduino?

I built a circuit to get the ECG signal and plot the graph using Arduino serial plotter, but it plots the graph with 50 Hz power line noise interference. So I try to use the notch filter circuit, but ...
0
votes
0answers
30 views

28BYJ-48 with Darlington array [closed]

I have been hacking away at this for a couple of hours and I'm getting nowhere. I'm converting an old HVAC system in an old car to run a newer system that uses vacuum to open and close flaps. I ...
1
vote
1answer
32 views

Serial input help

Hey guys I have a LED strip with 6 LEDS (I control these through Kinect & processing. It sends 1,2,3,4,5,6 to Arduino. This seems to work fine.) In Arduino LED0,LED1,LED2,LED3,LED4 work ...
0
votes
0answers
10 views

I am getting an error while uploading program on my arduino uno [duplicate]

Arduino: 1.6.9 (Windows 10), Board: "Arduino/Genuino Uno" Sketch uses 2,526 bytes (7%) of program storage space. Maximum is 32,256 bytes. Global variables use 201 bytes (9%) of dynamic memory, ...
0
votes
0answers
13 views

Different level TTL driving each other? A problem? [migrated]

I connected a GPIO of an 3.3V level board (pin is 5V tolerant) as output to a 5V atmega328p pin configured as INPUT_PULLUP. I perform a low active control function with that. Is there current ...
0
votes
1answer
21 views

How to read this hmackey for arduino?

I understand the HMAC with SHA256 example provides a set of keys: (https://github.com/Cathedrow/Cryptosuite/blob/master/Sha/examples/hmacsha256test/hmacsha256test.pde) #include "sha256.h" uint8_t ...
0
votes
2answers
34 views

Receive Signal from different circuit

I am an mid experienced Programmer but I have no clue about electronic circuits. I want my Arduino to do sth if he gets a signal from an external source. The external source has 5V and is 0V or 5V and ...
0
votes
1answer
23 views

connecting a push button to a step Motor Problem

I can't get this code to work. The button code and the step motor code works separately. However, when I code using an if statement saying when the button is pressed the motor will move or else it won'...
0
votes
0answers
29 views

Arduino not responding to macbook pro

When I try to upload my code onto the Arduino it just gives me the error message: "avrdude: ser_open(): can't open device "/dev/cu.usbmodem14201": No such file or directory Problem uploading to board. ...
0
votes
1answer
21 views

ISR definition causing boot loop?

I am trying to compile and upload code to an Arduino Uno from the command-line, however I seem to be experiencing an odd issue. When I compile this code: #include <avr/interrupt.h> #include &...
0
votes
1answer
23 views

nRF24L01 6TXA_1RXA network + 6TXB_1RXB network with arduino

How to build nRF24L01 network shown above with arduino ? SPI pins are shared between RXA,RXB and separate pins for both CE, CSN, IRQ. Which nRF24L01 library supports my requirements ?