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
2
votes
2answers
42 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
votes
2answers
47 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 ...
1
vote
1answer
35 views

working with ultrasonic sensors

I have a little problem dealing with ultrasonic sensor I want a simple thing , when the sensor read High pulse then after it low pulse , turns on the led so I try to make it with a 5cm distance and a ...
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 ...
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 ...
0
votes
0answers
28 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 ...
0
votes
1answer
79 views

Arduino communication to Raspberry Pi using HC-05

I'm using two HC-05 modules on two Arduino UNO boards. One of my modules connected successfully to a raspberry pi port. However the other doesn't want to connect, but sometimes it does and then ...
1
vote
1answer
39 views

Can I control Arduino functions via PWM?

I want to control small functions from an Arduino, things like moving servos or toggling lights. The purpose of these is to decrease the number of channels on a rover I'm constructing. Using the PWM ...
0
votes
1answer
629 views

NEO GPS 6M connecting to Lilypad Arduino

I'm working on a project that has something to do with receiving gps data from the satellites. With this, I've used GPS NEO 6M with an arduino Lilypad for wearable purposes. I've already tried using ...
2
votes
2answers
10k views

Arduino master/slave communication using RS485

I am using Arduino Uno as a Master Device and 3 Arduino Unos as slave devices. I am sending data from each slave to master after every 3 seconds continuously, and is going to execute further logic ...
0
votes
2answers
341 views

Is there any way to connect my old phone camera with an arduino?

I have an esp8266 wifi module, arduino uno and an old mobile. I was wondering if there is any way by which i could remove the camera from the mobile and connect it with my arduino in order to view ...
1
vote
0answers
34 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 ...
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
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
33 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 ...
1
vote
3answers
386 views

Read Simultaneously RFID TAG with multiple RFID Reader [MFRC522]

i have a project that use two RFID Reader, the project for counting tag from conveyor belt, in this case the reader will placed in the middle of the conveyor belt and the reader faces each other. So ...
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
1k views

How to get code to respond to a certain time from the DS3231 RTC?

I am trying to make a program that runs when it gets to five in the afternoon, so 17:00:00. I am using this DS3231 library, but I can't figure out a way to get it to send "Woooopp" to the serial ...
1
vote
1answer
45 views

How to turn the digital pin to analog pin?

I am using a 10 IR sensor array and they use analog pins. I am using a motor shield for the Uno. So I cannot use the Mega. I have only five analog pins I need 8. How can I do it?
0
votes
1answer
60 views

ESP8266 -01 doesn't reply with anything

The problem started when I tried to upload the Blink program to the module, it uploaded with no issues through Arduino but after that the blue LED didn't blink. I searched a lot for it and found that ...
2
votes
2answers
1k views

How to use external libraries in CLion

I would like to use the external libraries that are downloaded by Arduino IDE into the default sketchbook location (~/Arduino/libraries/). If you open Library Manager in Arduino IDE and if you ...
4
votes
1answer
9k views

Arduino continuously reading ADC value using interrupt

I have a mono jack audio act as analog input for arduino UNO. The microphone outputs voltage that varies in terms of amplitude (volume) and frequency. In order to get the high sampling rate, I use ...
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 ...
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.
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
3answers
1k views

Air data rate nRF24L01

I'm using two nRF24L01 to communicate with each other. I did the right setup and they worked fine, however I wanted to change the air data rate to a lower value, for more stability, as the datasheet ...
3
votes
3answers
333 views

Spikes in CO2 and TVOC measurements with CJMCU-811 sensor

Firstly, I'm not sure if this is the right SE to ask this question. Please feel free to direct me somewhere else if needed. I am observing large spikes in CO2 and TVOC measurements using the CJMCU-...
3
votes
1answer
148 views

Powering potientiometer/button with a digital pin

When I read articles/tutorials about the Arduino Uno, the potentiometer and button always get power from the 5 V pin instead of from digital pins. May I know whether the two components above can ...
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
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
33 views

How can I increase the responsiveness/speed of my stepper motor?

I'm trying to control the positioning of a NEMA17 bipolar stepper motor by turning the knob of a potentiometer, using an EasyDriver board. The control part is solved. My problem is that if I quickly ...
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, ...
0
votes
2answers
115 views

How to use the pushbutton without using if, else

I want to let the led blink for 3 seconds then 2 seconds then one second using the button one time and without using if/else void setup() { // put your setup code here, to run once: pinMode(...
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
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 ...
1
vote
1answer
520 views

Ultrasonic Sensor - JSN-SR04T 2.0

I would like to use the JSN-SR04T 2.0 in order to find the depth of a body of water. Once I test the sensor in a body of water, the distance measurements are then constant at about 20 cm. I then ...
2
votes
2answers
906 views

Arduino RS485 shield to RS485 temperature & humidity sensor

I’m try to get data from rs485 is not work please advise to me. 1. Try to connect PC usb485 to DY-MD02 is work. Send command “AUTO” or “READ” 2. Try to Arduino rs485 shield to DY-MD02 is not ...
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
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 ...
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
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 ...
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
2answers
4k views

Generate 1.7 Mhz with PWM in Uno?

I have this code: void setup() { pinMode(11, OUTPUT); TCCR2B = 0; TCNT2 = 0; TCCR2A = _BV(WGM21); TCCR2A |= _BV(COM2A0); OCR2A = 249; } void loop() { soundBuzzer(); } void soundBuzzer(...
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 ...
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
votes
1answer
1k views

“avrdude: stk500_recv(): programmer is not responding” when uploading sketch

When I try to upload any sketch to my arduino uno r3, the code compiles, the board resets and the RX light blinks 3 or 4 times.I have nothing from the TX light. The uploading progress bar in the IDE ...
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
2 3 4 5
150