Skip to main content

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
0 answers
45 views

I wanted to test my new PIR sensor but it always shows the LED high voltage. Please tell me what to do? code: const int pirPin = 2; // пин pir датчика const int ledPin = 13; // пин диода или ...
Яна Анфалова's user avatar
-2 votes
0 answers
33 views

How to make the gear motor to turn only from 0 degrees to 90 degrees and back to 0 degrees?
John's user avatar
  • 91
-2 votes
1 answer
72 views

Problem Description: I'm controlling two NEMA 17 stepper motors with A4988 drivers and an Arduino Uno. I'm experiencing a peculiar issue where one motor runs perfectly smooth during code upload but ...
Sanchit Batra's user avatar
0 votes
0 answers
52 views

I am trying to build a simple project to get data from a web server and display it, using an Arduino Uno R3 clone with integrated ESP8266 wifi. What I have so far: The ESP8266 attempts to connect to ...
Robb's user avatar
  • 1
0 votes
1 answer
44 views

I'm logging some data using an ESP32 board, and I need the data logged to be uploaded from the ESP32 to one of my repositories on GitHub. Are there any C++ libraries for the GitHub API compatible with ...
Miguel Tomás's user avatar
0 votes
1 answer
42 views

My desktop computer abruptly started failing to upload sketches to the Arduino UNO (a smd "Make: Special Edition" board) I've been working with for the last few weeks. The sketch compiles ...
MikeB's user avatar
  • 245
0 votes
1 answer
57 views

I'm using a L298N motor driver with an UNO and when I try to run a motor few seconds for forward and few seconds backward, it will only move for a single direction and remain still in the second ...
Y_Jay's user avatar
  • 13
0 votes
1 answer
96 views

I am using a HC-SR04 ultrasonic sensor to measure the distance using an Arduino Uno. When I run this code which is worked perfectly in the previous, it only shows just random readings in the serial ...
Y_Jay's user avatar
  • 13
1 vote
0 answers
53 views

So basically I created a simple Receiver and Transmitter using Two Lora Ai Thinker 433Mhz (Sx1278). I am using Esp8266 with one Lora (as transmitter). It sends packet when we press button. On Receiver ...
RudraSama's user avatar
0 votes
0 answers
57 views

I am running a trigger function in a while loop in setup that takes in 3 analog inputs, checks if they are within a certain range, then outputs true if they are, false if none of them are. The code I ...
Carmeline Wu's user avatar
-1 votes
1 answer
111 views

I am using this 4-digit 7-segment display. So my circuit is basically 220 ohm resistors for all the segments (display pins 6 through 16 on the bottom each go through a resistor before going to a ...
qwr's user avatar
  • 165
-1 votes
2 answers
142 views

I realize that using float results in loading all or at least parts of the floating point library, which consumes a significant amount of memory. How can I avoid using float?
halfbit's user avatar
  • 124
-2 votes
1 answer
81 views

I am trying to change thing2 if I input 0, and thing3 if I input 1. I don't want to just have if/else to determine if I should be changing thing2 or thing3 because I want this to be more dynamic than ...
Warby's user avatar
  • 1
-1 votes
1 answer
78 views

There are other threads about replacing the bootloader on Arduino boards, but the ATTiny88 seems to be rather a different beast. Instead of creating a serial port and sending the compiled code to the ...
LesRhorer's user avatar
  • 113
0 votes
1 answer
127 views

this is my second Arduino project and I am trying to figure out why my stepper motor is not moving. I was able to get a basic 28byj-48 stepper motor to work using stepper.h and some sample code. Now I ...
Doug Ray's user avatar
  • 109
1 vote
1 answer
57 views

This is unfinished code for driving a 4 digit 7 segment display. When I run my data function that should output the data to send to the shift register, I get a very weird output. 0 00111111 1 00111111 ...
Daniel MacDonald's user avatar
1 vote
1 answer
107 views

Disclaimer: I'm a programmer, not an electronics expert. I built this car using an Arduino Uno, and now I want to add a camera to it. I’ve tried researching online, but I couldn’t find much ...
Carina's user avatar
  • 11
-1 votes
1 answer
172 views

Problem Overview I’m using an MFRC522 RFID module with an Arduino Uno, and it only detects RFID tags sometimes. The behavior is inconsistent—sometimes it reads the card instantly, and other times, it ...
Nano's user avatar
  • 1
1 vote
1 answer
68 views

How to measure distance while controling motors? I am using an Arduino UNO. #include <Wire.h> int motor12pin1 = 2; int motor12pin2 = 3; int motor34pin1 = 4; int motor34pin2 = 5; int pinJacina12 ...
Janko's user avatar
  • 11
0 votes
0 answers
95 views

I am a newbie to Bluetooth communication in Arduino. I have 2 Arduino boards (one runs my main sw, second act as slave to operate a remote command coming from the main board) that i want to establish ...
NirMH's user avatar
  • 109
0 votes
1 answer
90 views

I have this code, work fine! uint32_t id , id2; char s[64]; // Should be enough ... id2 = id = CAN.getCanId(); sprintf (s, "%04d : ", id ); // !!! HERE !!! Serial.print(s); the ...
James's user avatar
  • 11
0 votes
0 answers
127 views

I'm working on an ESP8266-based water level monitoring system using an ultrasonic sensor and an I2C LCD. The problem I'm facing is that sometimes the ESP8266 does not boot properly when powered on for ...
johnson veigas's user avatar
0 votes
1 answer
84 views

I have this Arduino code that will print 1 in the serial monitor and even prints two 1's. I haven't even pushed or clicked the push button, yet it already is already set to HIGH and even activates to ...
Noli Fin's user avatar
1 vote
1 answer
157 views

If I put this in my arduino program, in main.cpp, I suddenly run out of memory for flash program size: if(msgSize > 2) { //sr::sequentialRead(&serialRead, newTram.hash); uint8_t bytes[...
Tomáš Zato's user avatar
0 votes
1 answer
118 views

I have an task for my class where we have to make 2 LEDS blink alternatively using a pushbutton. I've figured out how to do the blinking and alternating but from time to time one of the led would go ...
Reese Reanne SANTOS's user avatar
-1 votes
1 answer
53 views

I've written an ISR routine using an Arduino UNO wired to my RC receiver. The receiver gets orders through the gimbals in my transmitter and executes the ISR every time the gimbals are moved. I was ...
AlexA's user avatar
  • 1
0 votes
1 answer
77 views

I'm using Accelstepper library, when I enable the stepper via enableOutputs() the motor shakes for an instant. Both motors do a small movement when enabled, if I increase the nr of microsteps the ...
Luigi's user avatar
  • 181
0 votes
1 answer
270 views

I wrote a small blink program for an ATMega8U-DIP I bought recently. The source is this, #ifndef F_CPU #define F_CPU 16000000 #endif #include <avr/io.h> #include <util/delay.h> int main(...
Ayush's user avatar
  • 121
-1 votes
1 answer
151 views

Hello Arduino Stack Exchange forum, Learning how to use the FastLED to control a string of 150 WS2812B LEDs Code copied herewith below compiles and operates as expected. Trying to figure out how to ...
user2911480's user avatar
-1 votes
2 answers
136 views

I am trying to take ECG measurements using the Mikroe ECG 2 (ADS1194), connected to an Arduino Uno via an Arduino Uno Click shield. I am able to measure the ECG, and can read the heartbeats somehow in ...
Jakob Strutz's user avatar
-1 votes
2 answers
79 views

I have a gate controlled by a motorline MC2 motherboard. I want to add a distance sensor controlled by arduino so that I can give it the opening command when leaving the yard. From what I have seen, ...
vlad2005's user avatar
-1 votes
1 answer
66 views

Hello I am trying to create a fan controller using Arduino. The (Placeholder LED's) fans run at 12V 0.23A DC so I have an external power supply for them. I plan to control the flow of this with NPN ...
Ironshi's user avatar
-1 votes
1 answer
215 views

Problem Description: I’m trying to interface a Waveshare 1.69-inch LCD module (ST7789V2 driver, 240x280 resolution) with an Arduino UNO board. I’ve connected all the necessary ports as per the ...
Skymero's user avatar
1 vote
1 answer
128 views

I'm trying to build my own CNC machine. Since I need to control a large number of motors at the same time, I want to control it via an Arduino master and several slaves with CNC shields. Now I'm ...
Amamaway's user avatar
1 vote
1 answer
277 views

Can run a LCD without a potentiometer or a resistor? I don't have any. Here it said to connect both:
Rahat Rahman Orchid's user avatar
0 votes
1 answer
93 views

What Happened I'm working on a project to run two peristaltic pumps from an Uno. The previous version used DC motors and L298N's, but I am attempting to upgrade it by using stepper motors and A4988's. ...
Vera's user avatar
  • 11
0 votes
0 answers
113 views

Unpacked my first Arduino today, an Uno. Went to try the instructions from the arduino-cli getting started tutorial. When I connect the unit with USB, I get three quick flashes, then slow continual ...
lash's user avatar
  • 101
0 votes
1 answer
477 views

I want to power one SG90 servo with an 18650 3.7v battery. Since the working range for the servo is 4.8v-6v, I used XL6009 boost converter and got a 5.8v output. I have measured it with my multimeter. ...
Denys Bielov's user avatar
-1 votes
1 answer
86 views

I was trying to use the motor driver, but the motors aren't spinning for some reason. I am sure the motors are working; I tried and tested them. I can't understand if there is a problem with the code, ...
KnightRiderDutt's user avatar
-1 votes
1 answer
72 views

What is a missing puzzle in here, relay, transistor? I would like to pull pin of external device to the ground programatically using arduino's digital pin.
Maleowy's user avatar
2 votes
2 answers
737 views

With Arduino Uno Rev3, I am trying to maintain a delicate timing while handling data transmission. I want to send 6 bytes at a time, which takes around ~44 us when I time Serial.write(). The time it ...
gunakkoc's user avatar
  • 123
0 votes
0 answers
96 views

#include <MIDI.h> int scale = A4; int oct = A2; int potval, octval,octval2=0; int newnote, prevnote = -1; int newpotval,prepotval=-1,potval2=0; int trigr = 7; // Ultrasonic right int echor = ...
DETOX's user avatar
  • 1
7 votes
2 answers
3k views

To gain better understanding of both Rust and Arduino (Uno), I'm trying to write direct hardware code for Arduino in Rust. Here's a very simple LED blink example, that I've tried to write. I've made ...
zombiesauce's user avatar
-1 votes
1 answer
182 views

I recently changed my port number for the arduino USB from COM8 (what it defaulted with) to COM256 (attempting to see if that will work). However, whenever I try to upload it gives 'avrdude: ser_open(...
SnappyRiffs's user avatar
0 votes
1 answer
90 views

I'm trying to create an arduino code that returns a value for the button that was pressed as the user choice. However, whichever button I press the only return is 2. Also, whenever pressing other ...
GIOVANNE LUCAS BARRETO PINHEIR's user avatar
0 votes
2 answers
782 views

OS: Windows 11 Arduino IDE Version: 2.3.2 I recently opened up my Arduino IDE to find that nothing--absolutely nothing--would compile. Whenever I tried, I got the following error message: Using board '...
Robert Goddard-Wright's user avatar
2 votes
1 answer
162 views

I'm working on a program to interface with a development board I spun for an L9780 - wideband oxygen controller IC. At this point, I'm trying to get a consistent "status" read back but ...
jungle_jim's user avatar
1 vote
2 answers
218 views

I get errors to open file on SD card. This is the instructions I use https://www.instructables.com/Micro-SD-Card-Tutorial/ /* SD card read/write This example shows how to read and write data to ...
Gil Sven's user avatar
  • 171
-1 votes
2 answers
456 views

I am trying to use LoRAWAN and sending tempurature values as less bytes. I found that way and tested it works fine it can send negative and positive numbers as 2 bytes instead of "float" as ...
mehmet's user avatar
  • 297
2 votes
1 answer
204 views

I am working on an Arduino UNO board and I want to build my Arduino sketch with CMake. It looks to me there is no official Arduino toolchain version to go by, and I found at least three available ...
y3zh's user avatar
  • 123

1
2 3 4 5
163