Questions tagged [arduino-uno]
The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.
7,978
questions
-3
votes
0
answers
22
views
optocoupler with arduino and mcp4725
i want to connect an optocoupler with an arduino board and a mcp4725 with isis proteurs who can help me
0
votes
0
answers
15
views
MAX30102 Pulse Oximeter and Pulse Sensor is not working?
I am trying to get basic heartrate results using MAX30102 but I don't get any results. At first I tried examples on Arduino IDE couldn't get any result and tried check using I2C scanning but got any ...
-1
votes
0
answers
8
views
2 Arduino uno R3 in one GSM module Sim800L V2
it is possible to use 2 arduino uno in 1 GSM module. like there are 2 PIR sensor in 1 arduino so i have 4 PIR sensor in 2 arduinos and i need to connect it in 1 GSM module.
-1
votes
0
answers
20
views
Four servo motor crane troubleshoot [closed]
I built 4 servo motors arduino crane, controlled by two joysticks,
The problem is three of them are working properly, but once i attach the fourth servo signal wire it works for few seconds then i ...
1
vote
0
answers
32
views
Incorrect IP address when using Ethernet library with Arduino Uno and WizNet 5500 ethernet module
I'm trying to get an ethernet module with the W5500 chipset to connect to my network on an Arduino Uno, but whatever I do, I always get an incorrect IP address.
The module is connected as default SPI, ...
-1
votes
0
answers
29
views
How to learn to write Arduino libraries like library [closed]
I'm interested to learn how people are writing such beautiful libraries which we download from Arduino IDE and fasten the prototyping.
Please share any good book/course/anything helpful/if you are ...
1
vote
1
answer
77
views
Incorrect data received on serial communication
I have two Arduino UNO connected with two wires, and ground, that exchange informations through serial data.
The communication is working with INT, but I am having troubles to receive correct ...
-1
votes
0
answers
17
views
How to calculate bending radius of fpc?-Quick Turn Flex PCB Flex Rigid PCB Manufacturer [closed]
The most frequently asked question we received regardingfpc1 is “how much can I bend a fpc?” So, we would like to share how to calculate bending radius of fpc with you today.
how much can I bend a fpc?...
-1
votes
0
answers
28
views
Problem with declaring s abstract variable of Server [closed]
I am new in Arduino and I´m trying to do a system with the Server and IR remote control, basicly after typing the numbers in the control the Server will move the degrees represented by the numbers ...
0
votes
1
answer
37
views
Arduino UNO pin 3V3 OUTPUT have 5V
I just noticed that my original Arduino UNO on pin 3V3 have 4.98V output. That's odds. That pins should have 3.3V. So I measured the Vout on the voltage regulator LP2985-33DBVR where that pins is ...
1
vote
1
answer
41
views
Arduino uno - 4digit 7seg display via 74HC595 keeps blinking
I am trying to get my 4 digit display (SH5461AS) count from 0 to 9 based on millis() function.
The problem is that it keeps blinking. Even if I display just one number, it shows then it goes black ...
1
vote
0
answers
17
views
Code not displaying/working DFRobot SIM808 shield data on Adafruit 1.69" ST7789 rounded screen
I have been having trouble with the code below not display and possibly not working and or looping. Before making changes to my code I had a problem where the Serial monitor would print up to "...
-2
votes
0
answers
16
views
we are trying this code for controlling 1 master to 2 slave from using this library https://github.com/angeloc/simplemodbusng
I am trying to use an Arduino Uno to control two slaves with one master, but I am encountering issues with the code. Although I have attempted to connect the master to one slave, it is not working ...
1
vote
1
answer
27
views
An error is shown as sendCommand was not declared in this scope.how to rectify it
#include <LiquidCrystal.h>
LiquidCrystal lcd(2,8,6,5,4,3);
#include <SoftwareSerial.h>
#define RX 9
#define TX 10
//ESP8266 CODE
String AP = "OPPO F11 PRO"; // AP NAME
...
1
vote
0
answers
39
views
Trying to use an Arduino Uno to control two slaves with one master but its not working
I am trying to use following code but its not working. Need a help in this regard.
#include <SimpleModbusMaster.h>
#define baudrate 115200
#define timeout 2000
#define polling 500
#define ...
1
vote
1
answer
30
views
Processing doesn't respond to arduino
First of all if I make a wrong sentence this is because my main language isn't english.
I have a homework so i am trying to make a radar with Arduino IDE and Processing. I found and wrote the codes ...
1
vote
0
answers
25
views
Communication with scale via rs232
I need help with an Arduino project. I want to read values from a TCS150 scale using the serial port. The hardware I have is an UNO R3 board and a MAX3232 level converter.
I have connected:
MAX3232 ...
2
votes
0
answers
81
views
Using ModbusRTU.h, what would cause holding registers all read 0?
I'm working with a 32-Input Modbus RTU module using RS485. I'm trying to read/poll the inputs to check for ON(1) states. I have tested this module with Arduino UNO, Radzio! Modbus Master simulator, ...
1
vote
1
answer
45
views
I am attempting to control two stepper motors by using serial input. My code works, however I have to press the new directional command multiple times
I am using two 28BYJ-48 stepper motors with two motor drivers that they come with. (I don't know the name of them.)
Here is my code:
/*
* Code to control two stepper motors simultaneously using the ...
1
vote
0
answers
21
views
Sending an image captured using ov7670 using arduino and serially transmit it to python
I am working on using an ov7670 camera module with arduino uno,capturing the image frame wise and transmitting the image serially line by line of each frame to python for image processing, however i ...
0
votes
0
answers
21
views
When the value of enter is greater than rfid tap, the commands under them do not work
LiquidCrystal\_I2C lcd(0x27,16,2);
\#define sensorPin1 7
\#define sensorPin2 8
int enter=0;
\#include <SPI.h>
\#include <MFRC522.h>
\#define exp\_buzz 3
\#define SS\_PIN 10 ...
0
votes
1
answer
40
views
Correctly connecting a four-pin tilt sensor to a breadboard before going live
I'm working on Arduino Kit book's Project 8: the digital hourglass. I've got the picture and the circuit diagram below.
My question is a fundamental one, and I really don't know how others figured it ...
0
votes
0
answers
35
views
How to send sms with SIM7020c_mini
I have a SIM7020c_mini cellular module that I can send AT commands to and it responds back through the Arduino ide serial monitor. However, I tried to carry out a basic function such as to send an sms ...
2
votes
1
answer
28
views
The gateway is not working in Arduino EthernetENC
I am using ENC28J60 and EthernetENC library to connect an Arduino UNO with ATmega328 to the network. Everything works fine within the local network, but outside of it, I cannot ping the device. What ...
1
vote
1
answer
72
views
Checking a thing about interrupts
If I disable interrupts (for example noInterrupts or cli) and enable them (interrupts or sei for example) later, would interrupts which would have executed in the window in between fire by the ...
-1
votes
0
answers
52
views
Camera object detection on arduino UNO?
I have wired an OV7670 camera module (without FIFO chip) to an arduino UNO with this code and wiring. I can see the images in the provided java app on my pc, it works as expected. How could I get ...
1
vote
0
answers
16
views
Connecting HM-10 and relay to Arduino Uno
I have an 8 channel relay, an Arduino Uno, and this HM-10 bluetooth module: https://www.amazon.com/dp/B06WGZB2N4
The Goal
Send a number (1-8) from my Android phone via bluetooth to turn a relay on.
...
3
votes
2
answers
441
views
Where does this sketch have Undefined Behavior?
Simple sketch and simple question: where does this sketch have undefined behavior?
Note: I don't need a solution to fix the code. I already have code that works. I really need to understand where my ...
1
vote
0
answers
24
views
How to change between loops? IR Remote + led strip
#include <IRremote.h>
#include <Adafruit_NeoPixel.h>
#define LED_PIN 7 // define the LED strip data pin
#define LED_COUNT 150 // define the number of LEDs in the strip
Adafruit_NeoPixel ...
-1
votes
0
answers
22
views
Every time i upload the program on the Arduino board this message come to me ...? Can anyone help with That..? Thanks in advance
Every time i upload the program on the Arduino board this message come to me ...? Can anyone help with That..? Thanks in advance.
2
votes
0
answers
44
views
TFT Screen with Arduino UNO does not display as expected
I have a 3.5" TFT LCD communicating in parallel connected to Arduino UNO.
I expect it draws a white circle on a black background but all it does is to show a white screen.
How to fix this?
main.c
...
1
vote
0
answers
41
views
Automatic pet feeder with a simple menu type keypad
this is the sample code where the user enters A to set the number of times the pet needs to be fed. When I click A on the keypad it asks for the user to set the number. However, the keypad still ...
0
votes
0
answers
56
views
How to reduce power consumption using ADC attiny arduino
i have finally created the code and it works perfectly with internal 8mhz crystal but when i shift to external 8mhz as per the systems demand, the current consumption during sleep mode stays between ...
-1
votes
1
answer
25
views
ESP8266 + PIR with Laptop connection vs other power source
I have PIR HC-SR501 that I run with the simple example code available for this chip. I run the same code on Arduino Uno & ESP8266 NodeMCU - works perfectly fine when connected to the Laptop USB ...
1
vote
1
answer
26
views
Calibration of pH sensor
I am working with pH sensor (https://wiki.seeedstudio.com/Grove-PH-Sensor-kit/ ) and arduino. The board provided with sensor is not having any potentiometer to set the voltage value when dipped in ...
2
votes
0
answers
69
views
How do I interface my ESP32 board with my 3.5" TFT Screen
I've bought an ESP32 board from here and a 3.5" TFT Screen from here. The ESP32 board has an UNO type layout so I thought it would work with the screen which is designed to plug in and play with ...
2
votes
0
answers
25
views
ESP & Servo not communicating well
I have a mystery I was unable to solve and would greatly appreciate it if anyone could shed some light on this.
I have a servo DSS-M15S 270 which I managed to run perfectly fine with Arduino Uno (code ...
0
votes
0
answers
60
views
How to fix pushbutton pushes no longer recording after 10-15 button pushes?
I have an Arduino Uno with 5 pushbuttons (with LEDs) in parallel with one another. My goal is to have them light up when they are pushed, as well as record and time stamp which button is pushed as ...
-2
votes
2
answers
86
views
I2C_Anything ++
a request for information has been formulated, how to say it?
in Ascii: i2C dialog: Tx -----> Rx ----> PCF8574
a drawing
https://nsm09.casimages.com/img/2023/02/28/23022802163423870818122937.jpg
...
1
vote
0
answers
17
views
Stepper motor not working with A4988 driver
I have been trying to run stepper motor via Arduino Uno and A4988 motor driver via this tutorial: https://howtomechatronics.com/tutorials/arduino/how-to-control-stepper-motor-with-a4988-driver-and-...
0
votes
1
answer
48
views
ATTiny88 missing pulses - maybe
I have been given to understand the ATTiny88 is very similar to the Arduino Uno / ATMega328 MCU. There does not seem to be a tag for the ATTiny88, so that is why I chose the tags I did. I do not ...
-1
votes
1
answer
49
views
strange behaviour with a single 7seg display
I'd like to display a sentence character by character on a single seven-segment display. What happens is that if my sentence is longer than 48 characters the central segment doesn't light up.
It works ...
-1
votes
2
answers
59
views
why the p-mos is acting as a constant switch when the source is connect to any port in the circuit iam not able find the solution ?i
if my circuit has mistake please refer me the proper image.
#define pwm 6
void setup() {
// initialize serial communication at 9600 bits per second:
pinMode(6,OUTPUT);
Serial.begin(9600);
}
// ...
-2
votes
1
answer
79
views
How to use arduino to run .exe file in a windows computer
Is there a way to run .exe file on a windows computer that connected to arduino? (I want to create some sort of stream deck, but it will be used for running Google Chrome and other .exe file on a ...
2
votes
1
answer
219
views
How does the compiler/assembler work wrt bootloader?
I realized that on the atmega boards the bootloader is programmed into the chip.
I'm curious, when compiling a sketch how does the compiler/assembler differ from compiling a standard C program for a ...
0
votes
0
answers
33
views
AD7768-1 library " Arduino "
I am working on a project and I need an AD7768-1 library to make this analog-digital-converter talk to my Arduino using SPI.
" The AD7768-1" doesn't exist in Arduino's library.
Thanks in ...
-1
votes
1
answer
87
views
Using internal voltage reference for sensor
i am using 3.7~4.2V lithium battery. I am using internal voltage reference to read constant battery voltage as we know that the battery voltage level depletes overtime. The problem is that my sensor (...
2
votes
1
answer
70
views
Why a Arduino UNO R3 board can use in Windows 10 but can't be used in My Macbook Air(M1)?
In Windows 10, everything is well. But when I use it in my macbook, it even can't recognize the port.
This is official description about driver.
-1
votes
1
answer
101
views
Reading constant battery voltage and using the obtained value in sensor formula
there i am working on a project in which my system is connected to 3.7v~4.2V lithium battery, I have to read constant battery voltage irrespective of the current battery voltage and to do that I am ...
-1
votes
1
answer
78
views
Why can't my four batteries (6V) can't power this circuit while usb 5v from arduino can?
I have this circuit
And I want it to power all the led rgb (100 in total), I want to make a independent portable circuit, so I don't have to use the usb power. The thing is when I use this circuit it ...