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

Using index of to search for multiple characters

In my Arduino project, a string will be received. I understand using .indexof to find the placement of a certain character in the string. My problem is that I need to find the first occurrence of any ...
1
vote
0answers
16 views

CT Sensors with Arduino and ESP32

there. I am following this tutorial to build an energy monitor system. The link is https://learn.openenergymonitor.org/electricity-monitoring/ct-sensors/interface-with-arduino Everything works fine ...
2
votes
0answers
29 views

How to learn to code properly? [closed]

So, I've just started, bought the elegoo advanced starter kit, so I have different modules to work with. The kit I bought has a tutorial but doesn't teach how to program specifically, do you guys have ...
0
votes
2answers
49 views

Arduino Reset via Software (every day)

Dear Stack Exchanger's, I want to reset my Arduino and system in every 24h for preventing frozen software and also other connectivity stuffs. I wrote a program which connects a digital pin to reset ...
2
votes
1answer
284 views

Read serial with header and end marker

I am trying to use Topway display for HMI lcd with Arduino. This display using RS232C protocol at docs it has a "Communication Packet Structure" like this. So my query should start with AA ...
1
vote
1answer
39 views

How to fix serial communication problem between Arduino UNO and sim900A

I've connected the arduino UNO to the sim900a. But after checking the serial communication between the two I keep getting these output. Here is the connections and code that I used #include <...
1
vote
0answers
30 views

How to attach plate to stepper motor? [closed]

Total noob here (never touched Arduino before today), & have pretty much no hands-on technical experience (although with lack of experience, I make up in enthusiasm to learn!) Question: How do you ...
1
vote
2answers
54 views

Accelerometer value meaning

I'm currently using the MPU-6050 accelerometer to receive the acceleration and angular velocity data. I'm trying to process the data for my experiment but I can't understand the exact meaning of it. I ...
0
votes
0answers
6 views

Arduino EMF detector / non-contact voltage detector [migrated]

I am trying to build an EMF detector or non-contact voltage detector based on an Arduino to be used as a prop. The detected EMF value should be read from an analog input and based on the level, 1-5 ...
2
votes
2answers
65 views

MPU6050 does not give output

I need help getting my MPU 6050 to actually give me data. As of right now, my program is only reading 0s from the gyroscope and when I move it, the values all go to -1 and the program just stops until ...
0
votes
0answers
92 views

I need all these codes in one single code 1) Relay 2) Motorised ball valve 3) Ultrasonic sensor [duplicate]

I have three separate codes for relay, motorized ball valve and for ultrasonic sensor. I am unable to run all the three codes at once in same serial monitor. I am pasting all the three codes below. MY ...
2
votes
2answers
43 views

How to control Shift registers output individually bitwise

so i am working on a project which needs a lots of bit manipulation and shifting out the bits to control the pins of shift registers individually. So i am using 2 shift registers daisy chained with 16 ...
1
vote
1answer
19 views

Using Arduino LMIC library with EnableInterrupt

I am using the EnableInterrupt library, infact the only library that I can find that allows me to use six interrupts to wake the Arduino. However when I use it with the LMIC library (Matthijs Kooijman ...
-1
votes
0answers
27 views

Optical character recognition [closed]

I am busy with fake money detection project and I was wondering, if USB camera and Arduino communicate? can it command to capture images, to recognize numbers, and do comparison? help
1
vote
0answers
40 views

number recognition [closed]

can USB cam and Arduino communicate. to recognize numbers, and do athematic operations? Thanks in advance.
1
vote
0answers
30 views

PZEM-004T can't read current

I'm trying to measure the current, voltage, and power of AC load using Peacefair PZEM-004Tv3.0 module. For the serial communication of this module, I'm using SoftwareSerial Pins 2 and 3 on Arduino Uno....
1
vote
0answers
57 views

Control Voltage from 0 to 20V (somewhat linear)

i am quite a novice in electronics/microelectronics and i would appreciate any help! Here is my problem: I want to have a linear voltage curve, programmed with my arduino. Starting from 0V and ramping ...
5
votes
3answers
775 views

How do I make another action repeat inside a loop?

So, I've just started programming Arduino (and also in general), so I'm doing basic things, like switching on and off LED's. I've made them light in a sequence and then turning them off (in the same ...
1
vote
2answers
71 views

Problem with first two samples of serial data received by RPi

I'm trying to receive a string from an Arduino to a Raspberry Pi via a Bluetooth socket connection (RFCOMM). I'm using an HC-06 Bluetooth module, an Arduino UNO R3, and an RPi 4 Model B. For the ...
2
votes
1answer
37 views

Arduino Multiplexer Input voltage per pin not decoupled

I am very new to electronics (software engineer background). I want to send an analog signal (5V) to one/many input wires. The input wires are connected to a 16 channel mutiplexer. My arduino then ...
1
vote
0answers
37 views

How can I evaluate if a signal has not been applied on a certain pin for longer than 1 minute? [closed]

I am working on a project and I am needing to add a type of fault detection system that when there is no signal applied to a pin on a variable called: trigger , for over 1 minute, it will display a ...
2
votes
0answers
28 views

i want to combine below two codes [duplicate]

*****1st code int sensoroutput = 3; // the analog pin connected to the sensor int sensorinput = A0; int THRESHOLD = 100; void setup() { pinMode(3, OUTPUT); pinMode(A0, INPUT); // this ...
1
vote
1answer
56 views

Arduino Uno Esp8266 AT commands

I am trying to send AT commands to esp-01 through serial monitor I have uploaded a blank sketch to Arduino , whatever command I send to ESP I get reply ERROR. After reconnecting esp-01 I got some ...
2
votes
1answer
81 views

Decoding of data received using the WL-101 433 MHz radio module

I've found tons of libraries. But as I understand it, they are all made to link the receiver with the transmitter of the same type (WL101 - WL102). And they work according to their specific protocol. ...
1
vote
0answers
31 views

Using a button to turn on led and using sound sensor

So I’m trying to use an arduino UNO turn an led on with a push button and then when the led is turned on, have the sound sensor flash the led to music. I have been able to get the button to work and ...
1
vote
1answer
44 views

Incorrect values arriving from Arduino to RPi over serial communication

I am trying to write four values relating to energy (current, power, energy, and peak demand) via a SoftwareSerial connection from my Arduino UNO to my Raspberry Pi 4. However, two things are ...
1
vote
2answers
54 views

Arduino Motor Control at a Specific Time

Hello. Currently I'm working on creating an automatic dog food dispenser. I'm using a Arduino Uno R3, an L298N stepper driver, a DS1307 RTC breakout board, a Nema 17 stepper motor, and a breadboard to ...
0
votes
1answer
30 views

Multiple I2C devices connected to one Arduino Uno?

Is it possible to connect more than one I2C device to an Arduino Uno? I know that the SCL and SDA pins are on analog pins A4 and A5 respectively, but there are also two pins labeled SCL and SDA ...
1
vote
1answer
48 views

Relay not triggering from loop function. Variable “volume” not updating after encoder is turned to value?

I am reading a value from an encoder "volume knob" and I have a function called void fn_on were I am having sum int to zero and counting until it reaches the set value of volume. I tried ...
1
vote
0answers
21 views

Fabric button for controling music player using lilypad and bluetooth mate silver

Does anyone know sources or tutorials on how to create smart textile buttons to turn up or down the music player of a smartphone by using lilypad and Bluetooth mate silver? Or even without e-textile ...
2
votes
2answers
77 views

arduino acclerometer with servo motor

I'm currently working on project to operate three motors while sending accelerometer value to computer via bluetooth module. I want the motor operation and value transmission to work seperatly. But ...
1
vote
0answers
41 views

How do I know which resistor do I need for a project? [closed]

I am really new to programming with Arduino and I have a lot of questions in mind. Like, how do I know what type of resistor I need for a project? Eg: 220 kilo ohm, 10 kilo ohm, etc. What does the ...
1
vote
0answers
29 views

Trouble interfacing PN5180 RFID Module with Arduino Uno

I bought the PN5180 module a few weeks back and I am having quite a bit of trouble interfacing it with my Arduino Uno. The library that I am using is ATrappmann PN5180 Library. The link of which is ...
2
votes
0answers
36 views

Connecting Arduino Uno's TX pin directly to Esp8266 esp-01

I am new to esp8266 esp-01 and trying to figure out how to use it, in many tutorials on internet, I have seen people have connected Arduino uno's TX pin directly to esp8266 esp-01 without any voltage ...
1
vote
2answers
66 views

Back EMF from Relay causing trigger on INPUT pin

I am wiring up a light show for my pickup truck. I have installed various high power spotlights and light bars into a dedicated relay/fuse box in the engine bay. These relays are wired into a switch ...
1
vote
0answers
23 views

I can't push a value to Firebase

I want to send my DHT11 data to firebase Arduino Code : #include <dht.h> dht DHT; #define DHT11_PIN 3 void setup(){ Serial.begin(9600); } void loop(){ String receive = "&...
1
vote
1answer
37 views

How to stop Single Analog Pin Keypad Matrix (Using Resistors) from receiving Interference from Livewire/other Sensors?

I saw a tutorial on linking a keypad using one pin, utilising several resistors: http://razibshahdat.blogspot.com/2018/05/one-single-analog-pin-keypad-control.html I have this keypad, a 16x2 LCD, a ...
2
votes
1answer
45 views

Error After running Arduino code on Windows 10

After running the Arduino Program on my Windows machine I got the following error my code and error are as below. Also the COM port was turned grey i.e. disbaled. #include <LiquidCrystal.h> ...
0
votes
1answer
50 views

Can I get the hex file from an Arduino without the .ino code [duplicate]

I have a CNC router table that came into my local makerspace. The board looks like it has some standard parts, but also has some parts I don't recognize. At the heart of it is an Arduino Uno. I would ...
1
vote
2answers
71 views

How to send data from esp-01 Wi-Fi module to arduino

The L1 is the value i will get from firebase database, but now i wanna send the value that i receive in realtime database to arduino to on LED, how to solve? any suggestion? which mean when arduino ...
0
votes
2answers
38 views

I am trying to automate my sun shade on my back porch with a Nema17 Stepper motor

I am very new to Arduino (and fritzing so please excuse my poor layout). I am trying to automate my patio sun shade, eventually it will incorporate a photocell but I wanted a proof of concept first ...
0
votes
2answers
42 views

run a function for a certain amount of time! [duplicate]

i'm working on a project where i need to run a function for 20 minutes and the function writes to memory using EEPROM every minute. How can i make the function run for 20 minutes, i was thinking of ...
1
vote
0answers
20 views

My bluetooth module keeps sending out constant exports

So I have a bluetooth module hooked up to my arduino to control an LED light, something simple to turn on and off. But the app im using constantly is either sending something or receiving. This causes ...
1
vote
1answer
18 views

opencv reading the display and doesnot provide serial communication with arduino

I was creating a project where the following part of the code reads certain area of the display(which i screen shared from mobile) import cv2 as cv import numpy as np from PIL import ImageGrab import ...
1
vote
0answers
24 views

Searching for Flow rate sensor 0.5 inch [closed]

I have been searching for a flow rate sensor with 1.5cm=0.5 inch for my graduation project I cant find anyone online with that diameter Any help? Thanks
1
vote
0answers
18 views

Writing multiple inputs to serial port using a while loop

I am trying to get the serial monitor to prompt me to input two settings - the PWM level and the Resonance level. I am being prompted to input the PWM level, but before I can input the Resonance level ...
1
vote
1answer
37 views

Trying to use I2C accelerometer and SPI OLED

I'm trying to stream the data coming from my I2C MMA8452Q accelerometer to an Adafruit-based SSD1351 OLED RGB display that uses SPI via an Arduino UNO. When I run example code for the accelerometer I ...
1
vote
1answer
50 views

Custom library for Arduino to encode and decode JSON Web Tokens

So I have been recently been trying to create a library for Arduino to encode and decode JSON Web tokens(JWT) using HMAC-SHA256. For those unfamiliar, JWT has 3 parts - The header, body and signature....
1
vote
1answer
91 views

Arduino parsing of a string using sscanf

Hello I am new to Arduino and C programming. I wanted to parse string using sscanf fuction This is my Program String hith; int field1,field2; float field3; int F1=0,F2=0; float F3=0; int h1,h3; float ...
1
vote
1answer
32 views

Arduino Nano skips statements after Interrupt

I am using an Arduino to control an AC Phase Control Circuit to control some lamps. The problem is that the interrupts seem to break the code inside the loop(). This Code should just blink one lamp. ...

1
2 3 4 5
163