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
-1
votes
2answers
43 views

Programming an arduino using only switches to give 0 or 1

I am not too experienced about the working of arduino but I know that it involves data in computer language ( 0 and 1) I have an array of 8 switches plus a few extra. As I am unable to (due to some ...
0
votes
0answers
26 views

RobotDyn's UNO+WiFi R3 ATmega328P+ESP8266, 32Mb flash, USB-TTL CH340G, Micro-USB

I'm trying to use this board ([as shown on manufacturer's site][1] I managed connecting each one and uploading a minimal sketch. I conducted a test ( using appropriate sketch on each one and a wire ...
2
votes
1answer
21 views

RS-485 Serial communication problem with arduino

I use 485 modules to transmit data serially from one arduino uno to another uno. If I connect the 2 arduino boards directly without using the rs485 module, the data is sent and received without a ...
2
votes
2answers
41 views

Why impedance between I/O pin and ground drops when Arduino is not powered

I have a 4KHz 5V pulsed signal connected to Arduino UNO pin2 (ISR). When the board is powered, the pulse is attached to ISR rising edge, and is working as intended. I don't know the output impedance ...
1
vote
0answers
32 views

Can't upload sketches or flash Nodemcu 1.0 12E (CP2102) but have drivers and responds to RST on Serial monitor

I've been trying to get my nodemcu working for months and tried countless online references but none worked. I'm using the Arduino IDE to upload sketches and always get the error "Timed out ...
0
votes
1answer
60 views

How can I use separate power source for the Arduino and the motors

How can use a separate power source for powering Arduino, and another battery for powering the motors? How can I make connections through the motor driver module L298N? I know how normally we use one ...
1
vote
0answers
24 views

Multi tasking alternative on NodeMCU ESP8266

I'm trying to make an RGB LED strip controlled via Wi-Fi and IR. Until now, I just have made the Wi-Fi server, and It worked just fine. But I wanted to be able to turn the LED strip on and off via IR, ...
1
vote
0answers
32 views

Connect output of Arduino DUE to input of Arduino Uno

I have a distance sensor connected to an Arduino DUE and I want to wire its output to an Arduino UNO. In Arduino DUE, after calculating the distance, I convert a range of distances (0-10cm) to Volts (...
1
vote
1answer
49 views

Arduino if, else if conditions being overlooked [duplicate]

Hi Im very new to coding and I'm struggling to fix a problem. I want the user to input a yes or no answer to a question and based on the answer I want the right text to show on the serial monitor and ...
0
votes
1answer
29 views

I want to make two arduino to communicate over different wifi. Is that possible?

I want to make any 2 Arduino module from different places to communicate over wifi. I really need to know if it possible? If yes, advice me more about it. I want send data from sensor module from one ...
1
vote
3answers
40 views

L239D motor driver not able to drive motors

Iam making a line follower robot , the issue is coming when making motors run.The L239D module has 4 inputs pins ( to control two motors) , 4 output pins (to drive motors) , and 6 power pins (5v,5v,...
1
vote
1answer
26 views

Set control register to low in ds3231 rtc

I have been using ds3231 rtc module for keep tracking and make alarm along with backup battery. when I used it for first time it worked fine. but now it doesn't keep track my time when the power lose ...
0
votes
2answers
28 views

Hc-05 bluetooth module pairing issue

Module light is blinking/working but it's not showing for pairing in my smart phone.I have supplied it 3.3 volts and have tried different phones.
0
votes
0answers
27 views

Using Flexinol Or Muscle Wire To Control Paper Flower Petal With Arduino

I am relatively new to Arduino and I am looking to use flexinol or muscle wire to control flower petals. I think I will need to control 4 sets of the wire. I have totally no idea of how to wire the ...
1
vote
1answer
40 views

Real Time clock module error-DS3231

This is not a code error I have been using DS3231 RTC module with battery. When I bought this module It worked perfectly now when I get it to use, The time is running perfectly. when I set the current ...
0
votes
0answers
25 views

Problem with Arduino code for RFID system [closed]

I have the following code and I have fixed a lot of things, but I get the error 'serial' does not name a type, and many more errors with that same phrase, and I don't know how to solve it. I would ...
0
votes
1answer
20 views

continuous print of button Pushed

When pushing a button I want to read the value...once. If I push(hold) the button I get a continuous print of button1Pushed if(button1State == LOW) { Serial.println("button1Pushed")...
0
votes
0answers
17 views

What Should Be The Speaker Connection To Mini A6 GSM? [closed]

I have A6 GSM module which is very less seen on the internet by me. As you can see in the picture, it does not have a direct connection for the speaker. It does have a mic direct connection. I have ...
2
votes
1answer
67 views

Button to stop a stopwatch not working correctly!

I'm trying to implement a stopwatch with an LCD display, and I'm supposed to be using the attachInterrupt command to catch the button press. The clock runs perfectly, but the button input isn't caught ...
1
vote
0answers
46 views

Programming ESP8266 to avoid random exceptions?

Below is the code that I have done on Lolin Wemos D1 R2 and mini it works fine but it throws exceptions every time, I tried understanding my problem by reading this: NodeMCU 1.0 - Exception 9 `Fatal ...
0
votes
1answer
56 views

I just want to control a 48 volt and 30 amp current with pwm singnal…i don't nkow what components is needed for this [closed]

I just want to adjust voltage of a dc dc converter output with pwm signal...i used MOSFET but i get some heating effect..please tell me what model of MOSFET or ijbt or anything else which components ...
2
votes
1answer
51 views

Float mulitplication Returns ovf or -0.0 for small whole float numbers

I wrote a simple multiplication function for matrices. Originally my matrices are stored in a single array in format (row, column): (row0, col0), (row0, col1), (row0, colN), (row1, col0), ... (rowN, ...
1
vote
2answers
46 views

Can't understand this codes process

void loop() { if ( Serial.available() > 0 ) { static char input[inputLength]; static uint16_t i; char c = Serial.read(); if ( c != '\n') input[i++] = c; ...
1
vote
2answers
56 views

Read encoder output by using an optocoupler

I have a 512 pulses encoder with four wires: +5V, ChannelA, ChannelB, GND and I'm using it as feedback for my motor position (max 80 RPM) on Arduino UNO. Everything works fine, but I need also to ...
1
vote
0answers
22 views

How do I reset to servo position everytime I excecute a particular sequence

I'm trying to make a prosthetic hand that can play rock, paper, scissors with a human. It is based on the premise that you push a button and it randomly selects a move to play. After each move, I'd ...
1
vote
1answer
17 views

AMIS30543 | DataSheet Understanding CIRCULAR TRANSLATOR TABLE

I was reading the data sheet of AMIS-30543 stepper motor and I didn't understand fully what does this Circular Translator Table means, I have a couple of doubts What does Circular Translator table ...
2
votes
1answer
33 views

Relay starts trigger about 6 times when connecting arduino to laptop

I have a fairly simple code to turn a relay on-off every 2 seconds When i attach the USB of the arduino Uno to the laptop, it goes into a frenzy and the relay triggers on off for 6 times within 3-4 ...
1
vote
1answer
11 views

AMIS30543 | Data-Sheet understanding Status register

I was reading the data Sheet of AMIS-30543 stepper motor driver and I was not able to understand how to combine the result of the Micro step position status register MSP[8:0]. I know that its a 9 bit ...
1
vote
1answer
28 views

2 stepper drivers speed control

I'm using two tb6600 to control two step motors. It's for letter writing cnc machine. Moving single axis works fine. I want to push 2 steppers in the same time along a diagonal. I tried to calculate ...
2
votes
0answers
29 views

Wire Halloween Wolf to howl with Arduino motion detector

I bought one of those Home Depot halloween wolves that howl. You can control it with a push-button to be on, or off. It has its own power source via 3 AA batteries that power the howl sound, red eyes ...
2
votes
1answer
22 views

Servo doesn't move if I detach it AFER the write?

So this is a bit weird, and I don't understand anything. Basically, I'm just playing with my servo. I wrote a small program, which can be found at this link: https://pastebin.pl/view/8e9c9573 (Note: ...
1
vote
0answers
24 views

About ATmega32 UART receive

The following code is the code for UART receving Char uart_receive { While( ! ( UCSRA & ( 1 << RXC ) ) ); return UDR; } This function will not return the UDR value until the while loop ...
0
votes
0answers
25 views

Piezo sensor requires parallel or pull-down resistor?

Apologies but I didn't happen to find ultimate answer to this. I'm trying to make a simple piezo sensor (https://www.sparkfun.com/products/10293) which triggers something (e.g. a sound or lights up a ...
1
vote
0answers
43 views

Arduino Uno cant be powered by VIN pin

Im trying to power an Arduino Uno from a pack of 8 AA batteries (so 12V) and it just doesn't turn on. When I connect the barrel jack, it works! Any idea why the VIN doesn't work? Thank you in advance.
1
vote
0answers
27 views

serially parse integer after serially read

I want to write below code but I don't know where I doing wrong, so please help me solve this issue. Serially read some text like number then I want to serially parse integer value into some variable ...
1
vote
2answers
52 views

Storing value in EEPROM in Arduino Uno

Hi I am a beginner in Arduino Uno. I wanted to store a value of 77880 in EEPROM and fetch it later. I made the code as follows to check my logic(I am using Arduino Uno) : #include <EEPROM.h> int ...
1
vote
0answers
10 views

AT Commands ESP8266 Arduino IDE serial monitor not print any data from server. It say 408 request timeout

i am new in arduino and ESP8266 module. I am still learning about AT command. But i found this problem: 1.My website code (index.html)-http://nyalalampu.atwebpages.com: <html> <body> <?...
0
votes
1answer
23 views

How to use correctly a microstepping driver with a lower voltage stepper motor

I want to use a microstepping driver like Haitronic's HS2215 with a NEMA 17 stepper motor with rated voltage of 4.2V and rated current 1.5A. The input voltage range of the microstepping driver is 9-...
1
vote
0answers
17 views

FIFO overflow with DMP on MPU6050 and OLED

I am using the DMP example code to get yaw pitch roll values, mainly I am interested in pitch value for building a self balancing robot. I am trying to display the pitch values on an OLED screen but I ...
1
vote
0answers
103 views

Attiny85 problem [closed]

I am trying to make attiny84 4ch IR relay … in following code … #include <IRremote.h> int RECV_PIN = 0; int RELAY_PIN = 2; IRrecv irrecv(RECV_PIN); decode_results results; // Dumps out the ...
1
vote
1answer
30 views

Sequencing air pistons proble - Help please?

I am a beginner trying to activate 2 sets of 3 air pistons sequentially by going through the YouTube Tutorials... Help, please, pretty please?? :-) There are 3 sets of 2 pistons, each set working in ...
1
vote
1answer
51 views

My code is not uploading to Arduino Uno, Please help!

I am very new to arduino, so new that it is my first board. I keep running into this error avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync:...
0
votes
0answers
32 views

Need PPM out of MQ4 sensor

I'm using this working library to extract H2 & Alcohol in PPM from sensors. UPDATE I read the readme file and used the example shown. But this gives me an error. This is the code: //Include the ...
2
votes
2answers
129 views

Arduino binary LED 10 bit display

I'm working on a simple ADC project, the goal is to adjust the on/off of the LEDs according to the binary reading (1-on,0-off). I've tried this with 8 bit, and it works as intended. But on 10 bit, two ...
-2
votes
1answer
49 views

What wireless protocols can be used with arduino?

Before you close this saying it's not related to programming. It is related to programming since i'm using it and asking about libraries. What are the common types of communication protocols and their ...
0
votes
1answer
47 views

Infrared sending not working slight misconfiguration?

Edit: Took some advice from below but it still doesn't work. I think it probably blocking code but please tell me how I could fix it to send a the valid infrared signal, NOTE: I wouldn't actually code ...
3
votes
2answers
30 views

AMIS30543 - Library code | Order of pinDirection and pinOut

This piece of code was taken from AMIS30543- Arduino library, void init(uint8_t slaveSelectPin) { ssPin = slaveSelectPin; digitalWrite(ssPin, HIGH); pinMode(ssPin, OUTPUT); } Facts I know ...
-1
votes
0answers
23 views

How to wait from ESP-01 response with Arduino SoftwareSerial

I have an arduino project that connects with the ESP-01 thru serial. The ESP8266 ESP-01 calls some service so it takes sometimes to return values. How do I properly wait for the ESP-01 to return ...
1
vote
0answers
29 views

Send message to multiple number

sim.println("AT+CMGS=\"+91xxxxxxxxxx\"\r"); I don't want to write this. I want to write mobile number on serial monitor in Arduino and on that number, i want to send message. how ...
1
vote
1answer
26 views

Is this LED Strip Schematic correct?

I am trying to simulate a 12V LED strip as per this tutorial. However the schematic I tried to make on EasyEDA looks quite different from the images on the website. I wanted to know if what I did is ...

1
2 3 4 5
150