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

Why is my quadrature encoder writing as irregular intervals in serial monitor after working fine?

I'll try to keep this brief and add code/output at the bottom. I am using an Arduino Uno with a Pololu motor shield and two Pololu motors. I am driving speed control using the encoders at the ends of ...
0
votes
2answers
16 views

How can I pass multiple variables to a function?

Using the FastLED library, I want to light up multiple lights at once. Currently I am passing in just one light to the function. spell( int LEDNumber ) { FastLED.clear(); leds[LEDNumber] = ...
-1
votes
1answer
17 views

Write and read problem while interfacing 93LC46B EEPROM through SPI

I try to save and read data from 93LC46B EEPROM using SPI with Arduino UNO. I'm following this article https://www.arduino.cc/en/Tutorial/SPIEEPROM . So far I have correctly connected EEPROM pinout (...
-1
votes
0answers
33 views

Arduino on breadboard [duplicate]

I have created arduino on breadboard with atmega328p,16mhz crystal 5volt dc Upload a simple blink code using arduino uno as isp The problem is it just blink once or twice after reset button presed
-2
votes
0answers
33 views

Arduino and Infra-red transmitters

I have an infra red sensor and four infra-red transmitters that are ON connected to my Arduino. I want my Arduino to write a certain value only when my sensor reads a specific transmitter. is there a ...
0
votes
1answer
20 views

request for a member “X” in something not a structure or a union

i was programming a Self Balancing Robot, I am writing the code in vscode using platformio extension. when i put the code i need to get the angle out of the gyro in another file (named angle.c) ...
0
votes
2answers
35 views

Why do all analog pins measure the same value?

I measure 2 analog pins: A4 and A5. The A5 pin is connected to another Arduino's digital out (through a 10k resistor) which has a simple program: 5ms on and 100ms off. The A4 pin is not connected ...
0
votes
1answer
24 views

Can I connect this LED Matrix to a ESP8266 Huzzah directly?

This tutorial for the 16x32 LED Matrix makes it sound like you have to use an Arduino Uno or Mega, but the tutorial was also written a few years ago. I have a Huzzah ESP8266 (my project is about ...
0
votes
0answers
17 views

How can I set the SIM900a to Europe?

I got a chinese SIM900a module but it can't connect to the network (I live in Europe). Is there a way to get it work on Europe mobile networks?
-1
votes
0answers
23 views

how to Use <SoftWire.h> _ MCP4725 for see analog out with Osc [duplicate]

i use softWire.h and want to send int value to SDA pin of the MCP4725 and take analog output and see that with Osc note: i receive int value with wemos ------- adc is my int value and boths is 12bits ...
1
vote
1answer
45 views

What is this extender?

I recently got an Arduino starter kit from a friend that he wasn't using and this came with it but, i can't find anything about it, cause i don't know how to search for it. Anyone can enlighten me ...
-2
votes
0answers
11 views

how to make multiple calls using arduino and gsm module? [on hold]

i'm able to make one call using default sketch that is available in the arduino ide software..but i just want to make multiple calls at a time to notify the alert according to my project requirement.....
0
votes
0answers
26 views

Unable to upload to Arduino Uno From Raspberry Pi

I am trying to upload code to my Arduino Uno from my Raspberry Pi 3B+ and have been following this guide. After following the instructions and trying to upload, I received this error message. pi@...
0
votes
0answers
13 views

Data not uploading on Thingspeak server using ESP8266-01 Wifi -shield

Here's the problem. My sketch has NO errors in it. I can see the output in the Serial monitor but the data is not being uploaded in ThingSpeak server. I've tried changing the API KEYs but it a'int ...
1
vote
1answer
29 views

about how to share one External serial EEprom using two microcontrollers?

strong texti have Vector nav100 IMU sensor that sends data serially UART.I want to receive data from it using ATmega32 and then store data in AT24c1024 EEprom using I2C,then using another ATmega32 to ...
0
votes
1answer
43 views

i2c Connection for MCP4725(Dac) with Esp8266 wemos d1 mini

------------ This question has been edited ------------ note: Dac and Adc is12bits my problem : I use two ESP. Using esp1, I read the Adc amount of the alternating signal (ECG) and send it to esp2 ...
0
votes
1answer
29 views

For DC. Motor speed slowly increase to reach the highest speed also reverse

I have tried to to control 12v DC motor speed slowly increase to reach top speed , also reverse , but didn't get satisfactory result, the code is below: int motor = 3; int fade valu=0; void setup() (...
0
votes
0answers
20 views

arduino code for DC motor speed slowly increasing then highest speed , after that slowly decreasing [on hold]

I want to run four 12v DC motor at a time which speed output will be slowly increasing ,then maximum, after that reverse, for this - what will be the arduino programming code as well as device ...
-2
votes
1answer
41 views

Can I power My Arduino UNO with 12.6Voltage BMS Batt Supply.?

Can I power My Arduino UNO with 12.6Voltage BMS Batt Supply Without damaging it...?? Contact me fast and let me know i am Still waiting Battery is of 10ah power 11.1/12.6V output 25A BMS 3S4P Batt.!...
-1
votes
0answers
17 views

Code for A project where the time that a relay will run is depends on how many times the pushbutton was pressed [on hold]

Good day to all. I am new to arduino. I want to know what the code looks like if a relay that controls a horn will activate for a certain period of time depending on how many times the pushbutton is ...
0
votes
0answers
34 views

Sound sensor dont work in whole project

When I put this code only on arduino, sound sensor works: int soundSensor=A1; int LED=5; boolean LEDStatus=false; void setup() { Serial.begin(9600); pinMode(soundSensor,INPUT); pinMode(LED,...
1
vote
0answers
18 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
votes
0answers
37 views

How can I write a code to make my sensor distinguish between two Leds? [on hold]

I have made a circuit that consists of two Leds. The first Led is always ON and the second is flashing every 1 second. how can I write an arduino code to make my infra red sensor distinguish between ...
1
vote
1answer
25 views

Mains And Battery Monitor Using Delay on And Delay off

I am very new to Arduino. In fact I am entirely new to embedded system. I have been using other platforms for my experiments specifically PICs. I just moved to Arduino for more easier coding but I am ...
0
votes
0answers
20 views

I can't write or read data in an external eeprom

I've been trying to store data in an external I2C EEPROM but it doesn't seem to work, and i don't know why. When i run the i2c scanner it founds my memory but i can't write in it, or at least it ...
0
votes
0answers
36 views

Arduino emulating a keyboard that has a demultiplexer

I have a old typewriter which I want to automate with an Arduino. The way I am trying to do it is to replace its keyboard with the Arduino and make the Arduino emulate the keyboard i/o. The keyboard ...
-2
votes
0answers
13 views

Pulsing an infra-red Led transmitter [closed]

How to pulse an infra-red LED using a PWM? if not possible, is there any other way to do so? (I'm using Arduino-uno)
0
votes
0answers
20 views

Vending Machine Gear 12V DC Motor with Arduino and Relay

I am trying to run the motor through Arduino and relay but the motor does not come to their own Home location. I have attached an image of the motor module that I am using. There are six pins in this ...
0
votes
1answer
37 views

Distinguishing between multiple Infra Red Transmitters [on hold]

I am working on an Arduino project where I use an infra red camera along with 4 transmitters placed each on a corner of a square platform to park a robot perfectly on this platform. However, it is ...
0
votes
0answers
25 views

How to get interrupt while in sleep mode?

I am using Arduino-uno, attached ESP-01 module I want to give interrupt when I send some wifi-signal to arduino, which is in sleep mode. so I write this code: SoftwareSerial esp(2, 3); // RX, TX ...
1
vote
0answers
18 views

Measuring DC voltage without common ground [closed]

I wish to measure DC voltages of 0-10V and 0-110V using an Arduino. I am sure that these supplies have different grounds to that of the Arduino. I do not wish to connect their grounds together. Is ...
0
votes
0answers
23 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 ...
0
votes
1answer
35 views

Sampling rate of multiple analog pins on Arduino

as I checked on Arduino website, they mentioned all boards: UNO, Nano, Mini, Mega have maximum sample rate 10kHz for each analog pin. So my concern is: 1) is there any difference between sampling ...
1
vote
1answer
38 views

Arduino Communication with Sim 900

Im using an arduino uno and a sim 900, the simcard is setup and working as I can make a phone call to it and it rings. The sim 900 is powered via the power jack and the uno is currently powered using ...
0
votes
0answers
15 views

Connect UNO to WiFi using Huzzah ESP8266 without a Serial cable?

I bought a Huzzah ESP8266 to connect my Arduino Uno to WiFi, but now I'm realizing I didn't buy the cable that you need to connect the Huzzah ESP8266 to the computer...is there any way to program this ...
0
votes
0answers
24 views

MKR1000 disconnecting when hooked up to RGB 16x32 LED Matrix

This tutorial is from 2012, before the MKR1000 existed. The tutorial says the 16x32 LED Matrix panel is compatible with the Arduino Zero, which the MKR1000 is supposedly related to, so I'm thinking I ...
0
votes
1answer
37 views

Arduino digital pin status not transmitting via NRF24L01 where as analog pin status is getting transmitted ,Why?

I am currently working with a project using NRF24L01 which I integrated with my Joystick so that I can make it wireless.While transmitting the information in my Joystick to the receiver only analog ...
0
votes
0answers
21 views

Arduino Uno Wifi Engine Hour Meter [on hold]

I would like to keep track of the engine run time hours of a Generator/Genset. To do that I would like to use an Arduino Uno and an ESP8266 WiFi Module to keep track of the engine hour meters. When ...
0
votes
0answers
15 views

Magnetometer mismatch direction [closed]

I am using two mobile phone and I read two different north reading from two phone. Why is this occurring? And how can I identify which one is correct? Please help me out because I need the compass ...
0
votes
0answers
29 views

AD8232 picking up monitor signal on UNO

I have a AD8232 ECG sensor hooked up to an Arduino Uno following the Sparkfun guide. I do get a good clean signal, but only if I am a good 3m+ from my monitor. Otherwise I pick up a strong 50Hz signal....
1
vote
1answer
68 views

How can I use a transistor to “press” a button?

I have a heater remote that I want to press the buttons of with my Arduino. I am powering both the remote and Arduino from an external 5V source so both grounds are connected. Currently I have tried ...
-1
votes
1answer
34 views

16/2 arduino I2C lcd display not lighting up?

I am working with an I2C lcd display with an arduino uno board I have connected the gnd pin to gnd of arduino uno and the vcc pin to 5V of arduino uno and the display is not even lighting up there is ...
0
votes
0answers
30 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
votes
0answers
24 views

Is nucleo compatible with v5 shield (V5 works at 5V but nucleo at 3.3V)

I would like to use nucleo for the control of dc motors and I would like to use this equipment : Ebay - car kit. Is this possible or I would have to make some adjustments and if yes what adjustments ...
0
votes
0answers
43 views

Post Data Server from Arduino using Fuzzy Logic

Can somebody help me , when i run this code separately , no problem was found , but when i fuse it together , only fuzzy work and the data can't be sent to my server, sorry for my bad english i ...
0
votes
0answers
28 views

error cannot convert string TO uint_8t

this is the code i am working on for controlling leds #include <WiFi.h> // esp32 library #include <IOXhop_FirebaseESP32.h> ...
0
votes
4answers
31 views

LED Matrix Display with dissimilar brightness

So far I have seen in LED matrix related projects that the brightness is controlled in an entirety manner. That means the brightness of total display can either be reduced or increased. How can we ...
1
vote
1answer
16 views

Error “avr-g++: error: CreateProcess: No such file or directory” When Compiling Script

Whenever I try to compile a script, the Arduino IDE throws the error avr-g++: error: CreateProcess: No such file or directory. I've already tried reinstalling the IDE, changing the board version in ...
0
votes
1answer
49 views

How to code 4 relays to go off in intervals and not in sequence? [closed]

Code : //FOR AEROPONIC SYSTEM WITH ROOM TEMPERATURE AND HUMIDITY SENSOR //AND 4 GROW CHAMBERS WITH DIFFERENT SPRAYING TIME // RELAY CONTROL #define RELAY1_PIN 2 #define RELAY2_PIN 3 #define ...
0
votes
0answers
76 views

Having problem in coding Arduino Uno

I'm making a timer program which takes the Time Duration as input from the user by two button switches (one for 'up' and one for 'down'), and after pressing an another button switch ('start'), the ...