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
7 views

Can I run more than 2 servo motors smoothly, connecting their power to regulated limit voltage and signal wires to the digital pins of the arduino?

Now my next project is going to be about Servo Motors and for that, I don't want to buy any shield or motor driver for Servos. So I have designed a circuit, to drive 12 servos at a time without any ...
1
vote
1answer
19 views

Wrong data receiving in my Arduino by bluetooth

I have programmed a client-server between an Arduino and my mobile app in Android. I´m using a buetooth HC-06. For the moment is a very basic code just to turn ON/OFF a led, regulate its voltage, and ...
1
vote
1answer
37 views

How to combine two codes in arduino?

bine #include <LiquidCrystal.h> LiquidCrystal lcd(12,11,5,4,3,2); #define sensor A0 #define led 13 #define ledd 8 // d out from mq3 #define buz 9 #define motor 10 void setup() { ...
1
vote
0answers
32 views

arduino robot wont move

I wanted to build an object avoider robot and I am a beginner so I copied a video from youtube and did exactly the same thing and used the same code but when I upload the code the robot won't move at ...
0
votes
1answer
2k views

Is it possible to change pin operation from output to input within the Arduino loop (event-driven)?

Is it possible to change pin operation from output to input within the Arduino loop (event-driven)? I would like to change the operation of a couple of Arduino pins from input to output during ...
0
votes
1answer
62 views

connecting a push button to a step Motor Problem

I can't get this code to work. The button code and the step motor code works separately. However, when I code using an if statement saying when the button is pressed the motor will move or else it won'...
0
votes
0answers
27 views

Looking to translate Arduino C code to Python

I am looking to interface with my first Arduino board and would like to use Python for the task. I'm wondering if someone could help me convert a simple bit of Arduino / C to Python for the task. Any ...
1
vote
1answer
7 views

AT firmware upgrade in ESP-01 using Arduino UNO R3

I need to upgrade the AT firmware in ESP-01 by using Arduino UNO R3 serial interface. Do I need to remove the Microcontroller Chip from the DIP socket before burning firmware? Does it going to affect ...
0
votes
1answer
19 views

Monitor two baud rates

I am using different codes which set different values of baud rate through the Serial.begin() function. I have an Uno using Serial.begin(9600) connected to an ESP8266 ESP-01 module SoftwareSerial ...
1
vote
1answer
56 views

Can Arduino UNO permanently store a code?

I'm really new to Arduino and wanted to know if I can make Arduino a permanent controller? and could you help me with a cheaper alternative? I also wanted to know about "fuse", i read it ...
1
vote
1answer
665 views

Problem of fetching data from web page using Arduino Uno and ESP8266

Project goal is to control a relay over web. I made a php page that receives the post data from Arduino then store the values sent into a mysql database (which is the relay status now). Now I need to ...
0
votes
1answer
48 views

SD card with arduino UNO

I am trying to use a micro SD card in order to store data sent from an arduino UNO. My setup consists of: Arduino UNO (5V logic), powered directly from USB cable Digilent Full-sized SD Card Slot ...
0
votes
0answers
16 views

using RepRapDiscount Full Graphic Smart Controller rotary encoder

I have bought this module. and I want to use it for other purpose instand of 3D printers. I've managed to access to the beeper and the 128*64 LCD and the rotary button, But I was unable to detect ...
0
votes
1answer
759 views

My GY-MAX30100 pulse oximeter issue with Arduino Uno

I connected the purple oximeter (GY-MAX30100) to the Arduino Uno with the following connections. OXIMETER ARDUINO UNO VIN 5V GND GND SCL SCL SDA ...
1
vote
1answer
30 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 ...
1
vote
1answer
36 views

send configuration commands with arduino

I am using ublox zed F9P multi GNSS module. I have to program it for its configuration messages. Like I have to run a specific configuration of my receiver with the help of Arduino. I know arduino ...
1
vote
1answer
40 views

Sketch is not being received by Arduino even though Arduino Editor acts like it is finished?

In my attached screen capture the Arduino Editor appears to be performing the upload, however it never finishes. Completes three steps, the last being the sketch up-load and then states that it is ...
0
votes
2answers
2k views

Making AC current with pin 11

I'm trying to make AC current (50Hz) with an Arduino Uno. It seems to be not working (or wrong code). int up; int down; int out = 11; void setup() { pinMode(out, OUTPUT); Serial.begin(9600); } ...
0
votes
1answer
965 views

addt instruction of Nextion Display

I'm new to Nextion display. I'm doing a model of oscilloscope with the display and an Arduino Uno. I used the waveform component. I went through the instruction set and found two instructions to send ...
1
vote
1answer
14k views

Serial Communication Between Two arduinos (Asking and Receiving)

Can anyone help? I'm trying to develop two sketches, where data can only be sent when a request is made for it between two arduinos. A simple hello world message can suffice. I tried out the Serial ...
1
vote
1answer
36 views

Why should I connect the l289n motor driver wires to specific arduino pins only?

So, I am new with arduino and am to build a robot using motors, for that I have bought l298n H bridge motor driver. I have watched various site and videos ,to make sure not to make a mistake but, in ...
0
votes
2answers
44 views

Output voltage range between 0-5v

I am using arduino Uno/Mega. I am trying to output a range of 0-5v volts using PWM. Is it possible to do it? It’s would be nice to see some code or instructions, as far I have seen, they used external ...
1
vote
0answers
24 views

Why must I reload ArduinoCreateAgent-1.1-windows-installer-chrome every time I restart my computer?

What am I missing that this is happening? Used to use a laptop (with Create Agent installed on hard drive) which never had this problem. Now using a Windows 10 desktop and the On-line Create Agent. ...
0
votes
1answer
51 views

Having trouble with motor shield running off external power source

I apologize if I don't immediately give important info, I'm very new to arduino's/circuity of any kind. I'll try to include as much info as possible. Some preface: I'm currently working on a project ...
0
votes
0answers
38 views

Conneecting Arduino UNO to internet

I trying to connect my arduino uno to internet. I'm using the following schematic: and using the following code to just to check if wifi is connected or not. #include <ESP8266WiFi.h> // Set ...
0
votes
1answer
91 views

Troubleshooting optocoupler

I'm trying Project 15 from the Arduino Uno Projects book (optocoupler). I manage to turn on and off a LED in a separate circuit using my Arduino-driven optocoupler. Now I tried to also turn on some ...
0
votes
2answers
58 views

Why do we declare constant lat and lon value

static const double LONDON_LAT = 51.508131, LONDON_LON = -0.128002; What does this mean? https://github.com/mikalhart/TinyGPSPlus/blob/master/examples/FullExample/FullExample.ino The above link ...
0
votes
1answer
48 views

how to ignore a sensor being tripped the first time and start recording millis on the 2nd time it is tripped

I am building a timing system that has a start, split and finish beams with this I am using a start gate that will drop when the race starts. when it drops it will trip the 1st sensor starting to ...
1
vote
1answer
80 views

Serial Monitor shows a continuous “word salad” without a loop

I have written a little program which should (at the end) host a little website. This is just my setup. But for some reason, it writes "srl?" endlessly onto the serial monitor. I just ...
1
vote
1answer
41 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
0answers
45 views

want to make a auto washing machine control unit. I wrote a code but it didn't working propeprly. please write for me a workable code [closed]

int in = 13; int motor = 12; int out = 11; int psw = 1; int fill = 2; int drain = 3; int rinse1 = 4; void setup() { pinMode(in, OUTPUT); pinMode(out, OUTPUT); pinMode(motor, OUTPUT); pinMode(psw, ...
3
votes
2answers
731 views

Does lowering arduino analog reference increase precision in measuring low voltage?

The definition for Analog Reference is as follows: The reference voltage used for analog input (i.e. the value used as the top of the input range). By default you have analog reference of 5V. So the ...
0
votes
2answers
160 views

If I use a biasing circuit for a signal going into an analog input pin, will it affect the ADC operation?

If I have a single 100Hz AC signal biased by two 1 M-ohm resistors (as per schematic below), and then output to an Arduino UNO analog input pin, with the UNO sampling at around 1 kHz using delays, ...
0
votes
2answers
3k views

digitalRead not reading input pin of ESP8266-01

I am trying to use a on-off switch with the ESP8266 to change whether GPI02 is HIGH or LOW. I am using GPIO3 as input. My circuit looks like this: The red area to the right is a relay, I wasn't sure ...
0
votes
1answer
54 views

How to rotate servo every 12 hours using RTC module?

I am trying to make a auto fish feeder to feed my fish every 6hours. I want to implement RTC module to my code. So far I've been using only an arduino and a servo using this as a code: #include <...
2
votes
5answers
22k views

Sketches won't upload to Uno

Today I tried to update the sketch on my Arduino Uno, but was unable to due to this error: Sketch uses 1,870 bytes (5%) of program storage space. Maximum is 32,256 bytes. Global variables use 188 ...
9
votes
6answers
102k views

How do I resolve “avrdude: stk500_recv(): programmer is not responding”?

Whenever I try to program my Arduino UNO Rev.3, I'm seeing the following error avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 ...
1
vote
1answer
45 views

how to convert the following code into one using direct port manipulation

Following is the program for scanning a keyboard for MIDI transfer. At present the code works fine, but it could be faster. I need to know how to use direct port manipulation inside the for loop. ...
1
vote
1answer
32 views

My two slave SPI setup on arduino not working correctly

I am trying to connect a DPS310 and an ADXL345 to my Arduino using 4 wire SPI. When the individually tested (i.e. each has its own script), the output is correct, however when the scripts are combined ...
1
vote
0answers
16 views

Connect and detect multiple arduinos using firmata

i am trying to connect several arduinos to usb ports and have the abillity to define between them. i added Firmata.attach function on the arduino board. how do i call it from my python script? thank ...
2
votes
1answer
115 views

1.7 MHz generator for a water atomizer

I'm creating a controller for a small greenhouse, I have a DHT22 for measuring and two relay module that controls heating and cooling systems, and I will use a piezo to produce humidity when it goes ...
0
votes
1answer
747 views

How to send big data (long string) from PC to Arduino using Bluetooth

One of the requirements of my projects is to send data from my application to the Arduino robot. I have windows 10, and my robot is Arduino Uno. The Bluetooth I'm using on my robot is HC-06. The app ...
1
vote
0answers
8 views

which kind of data are store If i terminate the call in sim800?

I'm working in SIM800 for DTMF based project. I want to know which kind of data are stored in the buffer during termination of call in SIM800. How to find if call was disconnected in SIM800? Also ...
1
vote
2answers
27 views

Help me for interfacing Arduino with AMTP32M VOICE IC

i'm trying to get control an Aplus chip aMTP32M (stores audio samples) with Arduino . this amtp32m ic provide CPU SERIAL MODE its come with DATA and CLOCK pin.i try Spi mode with Amtp32m ic but its ...
0
votes
1answer
46 views

Can FastLED be made faster?

I am using FastLED to drive 16 pixels on an addressable WS2812B RGB LED strip. My application has extremely tight timing constraints. Specifically, I need to turn the LEDs on and off within less than ...
1
vote
3answers
2k views

Wifi Data Logger without Delay

I am really new to Arduino so please bear with me. I am running an Arduino Uno with several sensors to capture some data related to a fish tank. Here is basically what it does: Capture data (light, ...
0
votes
0answers
13 views

Manage multiple Arduinos with LORA SX1276

well, Lora seems to be the perfect device to wirelessly communicate over very long distances But I want to comminicate with multiple Arduinos in a group. in our Factory there are lots of machines I ...
1
vote
1answer
30 views

DS3231 rtc.begin() always returning false

I am using Arduino UNO with a RTC DS3231 module. I have connected SDA & SCL pins of RTC DS3231 with Arduino SDA & SCL pins near AREF pin. RTC module is having attached battery also. My code is ...
2
votes
1answer
507 views

A1-A5 pins not declared in this scope error

When I set my board to 'Generic ESP8266 module' then only A0 pin of arduino is working while all other analog pins are coming out of scope , when I set the board to 'arduino /genuino uno' , then "...
1
vote
1answer
756 views

Connect Arduino to PLC (Data Exchange)

The Arduino should read data from a PLC. Has anyone experience with this? What would be possible interfaces? I would prefer OPC-UA, but all the research I did, only OPC-DA was mentioned. Thanks in ...

1
2 3 4 5
149