Questions tagged [arduino-uno]

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

1,420 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
48 views

How to get my LCD contentiously updating with data from sensor?

EDIT DOWNSTAIRS: Hello beautiful people of the internet! How are you smart people doing with all that's going on these days. Okay so the title says it pretty much. I've got a code and inside of my if'...
1
vote
0answers
60 views

Uploading a sketch without using the usb cable

I've lost my usb cable used to upload a Sketch to my arduino from my laptop. I do have my Bluetooth 4.0 module. Can I use it to upload my sketches?
1
vote
0answers
39 views

Project concerning wireless communication between raspberry pi (transmitter) and arduino uno(receiver) using nrf24l01. Receiver not working

We are trying to send a message using NRF24L01, raspberry pi as transmitter and arduino uno as receiver. Our concern is, the receiver arduino might not be working because we are not getting the proper ...
1
vote
0answers
53 views

Problem driving segment display

First off, I'm not really sure if it belongs here on on electronics stackexchange, since it involves an Arduino, some code and a small circuit. I'm trying to create a simple countdown timer using a 7 ...
1
vote
0answers
39 views

How do I adjust this?

We're supposed to create a Simon Says game for our final. My professor is telling me I shouldn't need to modify much with what I already have. but I'm so confused because it feels like starting over. ...
1
vote
0answers
61 views

Problem burning bootloader to ATmega chip using nano/uno

I designed a custom PCB that has the chip, an oscillatorm, decoupling capacitors, and all other connections for the ATmega along with the rest of my circuit. I followed all steps in the tutorial for ...
1
vote
0answers
61 views

Infinite loop if Serial.println() is not used

I'm trying to reset my program from software using the third method described here: Reset an Arduino Uno in code The function is basically showing some data on an OLED display and afterwards should ...
1
vote
1answer
2k views

Are there any alternatives to Tinkercad Circuits that is PC application based instead of web app based?

I have been using Tinkercad's Circuits web application to create my Arduino circuits and apply my Arduino code (c++) for testing. Despite the amazing product they have and the fact it's free, I find ...
1
vote
2answers
1k views

Arduino UNO and RS485 Communication Problem

I am learning Arduino, a beginner in programming. I want to use Arduino UNO to connect a wind direction sensor RS485. The problem is the output in the serial monitor, the return data from the wind ...
1
vote
0answers
159 views

STM32 Nucleo-L432KC can't send data to Arduino Uno via nRF24L01 module

Hello everyone. First of all, I know you're going to tell me to send my question on the stm32duino forum. But I tried to enter the stm32duino forum and I didn't succeed (I think their forum is closed)...
1
vote
0answers
41 views

Arduino Uno - Stepper motor not working with button

I am completely new to Arduino, and all sorts of hardware and software. I have a stepper motor, which I want to rotate by a number of rotations when I press a button, and then go backwards by a number ...
1
vote
0answers
31 views

If an Arduino goes to sleep, does the attached ESP also sleep?

I am using Arduino Uno + an attached ESP-01 (ESP8266). I want to save battery, so I made my Arduino get sleep & interrupt by a watchdog timer. But if the Arduino goes to sleep, does the attached ...
1
vote
0answers
384 views

read with Arduino SSI encoder signal

I'm stuck in my project, I try to read an absolute encoders angular position with my Arduino. I used and cabled a differential line receiver and driver between Arduino and the encoder, like explained ...
1
vote
0answers
76 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 ...
1
vote
0answers
108 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 <...
1
vote
0answers
68 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-...
1
vote
0answers
43 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
0answers
44 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 ...
1
vote
0answers
150 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 ...
1
vote
0answers
365 views

(Arduino Uno reflashed as USB HID) How to send Scroll Lock key?

I am having a hard time finding documentation on how to properly use USB HID buffers, so the issue may lie there instead of with my code. To get 0x47, I used this table: https://www.usb.org/sites/...
1
vote
0answers
120 views

Can't POST data with Arduino and ESP8266

I'm having problems with my Arduino UNO and the ESP8266 module. I need to send values from Arduino to my PHP web page in this way: http://www.server.com/km/db.php?id=53 the ESP8266 module is working ...
1
vote
0answers
143 views

Code stuck on mag.getEvent(&event); in HMC5833L Compass

Last week I created some code in which I can run a Ublox GPS NEO-6 and a magnetometer HMC5883L together. Which at the time worked brilliantly. Yesterday I have attempted to run the code again, with ...
1
vote
0answers
62 views

Interfacing Uno to Logitech Attack3 Joystick

I bought a Logitech Attack3 joystick at a garage sale for a couple of bucks and now I want to use it for something useful, like controlling a car or my small robotic arm. This joystick has 11 buttons ...
1
vote
1answer
104 views

Limitations of connecting to many Arduinos via Ethernet?

I'm planning a project where I need to control a lot of Arduino Unos from a single PC. I'll need to send commands to the Arduinos and receive responses, as well as have the ability to update each ...
1
vote
0answers
209 views

RS485 Serial Communication not working with Arduino

I am trying to control 2 devices with my arduino using RS485 communication. Basically switch on device 1 for 5 seconds when I send 'g' to the master. And switch on device 2 for e3 seconds when I send ...
1
vote
0answers
42 views

How can I get the count of pulses of two encoders on the serial monitor?

I have two encoders; I connected them to pin 2 and 3 and I want to count the pulses of them to make two DC motors to work until it reaches a specified number of pulses, than stop working. I have ...
1
vote
0answers
70 views

Help with code for changing motor speed depending on MPU6050 angles read

I have been trying to create code where my MPU6050 is constantly reading the angle it is at and based on that angle, increase or decrease the motor speed. For example the motor will be off when the ...
1
vote
0answers
212 views

MPU6050 Acc and Gyro readings swapped

I have been trying to figure out this MPU6050 for a bit but the RAW readings are confusing me. It seems to me that the accelerometer readings and the gyro readings are getting swapped... and I don't ...
1
vote
0answers
21 views

Selection of External CT for my application

Here I have attached my ckt for my application. My application is Motor protection Relay. Based on Current sense of 3 CT tripping of relay will occur. Tripping might due to under/over/SC/Locked rotor ...
1
vote
1answer
815 views

Can I power a Wemos D1 R2 via the VIN and GND pins?

Can I power a Wemos D1 R2 via the VIN and GND pins? If so, at what voltage?
1
vote
0answers
188 views

Ideal voltage level for attachInterrupt()

Well I am working on old textile machines, it is taking motor RPM with ISR. I want to read this RPM and publish on web. but the output voltage of this old system is 0 and 22 Volt. (0 Volt when the ...
1
vote
0answers
318 views

Seeed CAN Shield - Not receiving extended CAN-Message

I want to receive an extended CAN-Message. I send a extended CAN-Message, but nothing happens. Maybe somebody have an idea what the problem is.. It works with a standard CAN-Message. Thanks in ...
1
vote
1answer
2k views

'“/dev/ttyACM0”: Permission denied' on Ubuntu 18.04

I'd like to say that I'm a noob at both Arduino & Ubuntu (have some command line experience). I've set port permissions, joined the relevant groups (tty,uucp,dialout & plugdev). I know that ...
1
vote
0answers
316 views

Arduino Modbus slave error

I am trying to use Arduino as Modbus- RTU slave and Raspberry Pi as a Modbus master I have interfaced Max485 (RS485 to TTL converter) with Arduino and Rs485 to USB converter in Raspberry Pi, Initially,...
1
vote
0answers
72 views

Arduino Swissflow Meter

We've hooked up a Swissflow sf800 flow meter to our Arudino Uno. The system works, our interrupt callback is triggered and as water flows through the metre, it counts up. The issue is, that the pulse ...
1
vote
1answer
392 views

esp8266 + octocoupler relay: WDT reset when using AC current

I'm trying to switch on bulb via 4 channel 5V optocoupler relay controller from ESP8266 using WIFI Access point. All my connections looking fine and i can able to connect WIFI SoftAP and send signal ...
1
vote
0answers
67 views

TLC5917 SPI Speeds

I am attempting to use 3 x TLC5917 chips to drive a row of LEDs in PWM. The LEDs share a common anode being powered through a transistor, with each LEDs cathode going to pins on the TLC5917 Chips. ...
1
vote
2answers
151 views

Two serials can't work on the same speed

I have a device which sits on pins 10/11 of Arduino UNO. I am trying to send commands from my PC using Arduino to relay my commands to the device via Serial. The problem is that if I use speed 9600 ...
1
vote
0answers
620 views

Arduino/ESP8266 - TCP server, connect to AP, receive connections/data

We're trying to use an ESP8266/Arduino Uno as a TCP server, which connects to a wireless AP and then receives commands from other devices on the same network. Currently we got the "connect to AP" part ...
1
vote
0answers
62 views

Arduino Uno LED not working

so I'm new to all this Arduino stuff and have been trying to get into it, starting off with a simple project/test but have been having some issues. I followed the set up the book provides, and am ...
1
vote
0answers
68 views

Problem with incrementing values of an RGB LED

I'm trying to use a remote control to control the red/green/blue values of an RGB LED using an Arduino Uno. Here's what I've got so far: #include <IRremote.h> #define IRPin 7 #define bluePin 9 #...
1
vote
0answers
330 views

What is the best way to communicate with ESP8266-01 in LAN?

I've been working on this small project, not that small for me though, for a while. Because I also had classes and exams I didn't really have time for it. But almost everything was done except that I ...
1
vote
0answers
35 views

Arduino Uno with data logging shield has a problem switching power sources

I have the basic Adafruit "Light & Temperature data logger Tutorial kit" made, and it works well when connected to a PC, but when I unplug the PC USB connection and hook it up to another power ...
1
vote
0answers
1k views

Reading +IPD response from serial.read() using Arduino UNO and ESP8266

I have a python server running on my PC and I am using an Arduino Uno (wifi enabled by a ESP8266 chip) as the client. I can make the the server and client communicate using AT commands as shown below: ...
1
vote
0answers
47 views

Can only upload certain programs to standalone Arduino

I can't upload a program that uses digitalRead, analogRead, and Serial.print on my standalone Arduino, because I get this error: avrdude: stk500_recv(): programmer is not responding avrdude: ...
1
vote
0answers
71 views

SD card doesn't work properly

I have this SD-card module. I have formatted the SD with this tool. My problem is that the Arduino Uno can't initialize the SD. I tried with this script: // include the SD library: #include <SPI.h&...
1
vote
0answers
1k views

NFC PN532 SPI - Error: Timeout when waiting for ACK

I've been struggling to get the PN532 module working over SPI with an Arduino Uno. I have the wires connected as follows: SCK -> 13 MISO -> 12 MOSI -> 11 SS -> 10 VCC -> 5V ...
1
vote
0answers
2k views

Send Bluetooth Data to Android App (HC 05)

I'm struggling to send data strictly from my arduino UNO to an android app using bluetooth module HC 05. I am able to send/receive using 1) the serial monitor in arduino IDE and 2) Bluetooth Chat ...
1
vote
0answers
107 views

What might be the errors of my codes?

I tried to imitate lagsilva's clock projects using Arduino Uno and made the circuitry, then I've tried to upload the main source code of the author but noticed that it didn't work, so I've edited the ...
1
vote
0answers
803 views

NRF24l01+ works only when touching its antenna

I have two simple NRF24l01+ (with range of 200m) and two NRF24l01+ with range of 1km.and two socket adapter. or what I have and I have two good library with names RF24 and RF24-master . problem ...

1
2
3 4 5
29