What's the deal with Deno? We talk with a major contributor to find out. Listen now.

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
vote
0answers
39 views

How to read/write a 125 kHz RFID tag or card? [closed]

Can someone tell me (I think not only I'm interested in it) how to write a 125 kHz tag or card? There is a video on Youtube where this Russian guy makes his module from scratch, but I want ready-made ...
1
vote
1answer
19 views

Can SoftwareSerial be used in an ESP01

I am using ESP01 as a microcontroller that retrieves information from Firebase and sends them over serial to an Arduino Uno for other uses. I am not using NODEMcu since it has few analog pins and ...
-1
votes
0answers
30 views

Arduino EMF doesn’t work!

https://youtu.be/y1Bke3750WE I’ve been trying to make an Arduino emf because no brand makes a commercial one like a board/module. I’ve tried connecting ones that work (circuits from store bought ...
1
vote
1answer
22 views

How to control baby swing?

I am starting an intresting DIY project of baby swing. My son is 3 month old and we have swing made with ropes in our house where he sleeps. I am looking for any electronic component controlled with ...
1
vote
0answers
36 views

unexpected output

I wrote some arduino code but since I don't have access to an arduino, ran it on a tinkercad circuit, the code is supposed to set all the buttons values to 1 and all the password values to 0 and the ...
2
votes
1answer
52 views

How to burn the bootloader and upload sketches on ATmega328P U (specifically this model)?

Recently I started to learn embedded electronics and C/C++ and for a couple of days I tried and I am still trying to burn a new ATMega328P U bought from Aliexpress. From what I know new ATMega328P's ...
0
votes
2answers
30 views

digitalwrite() HIGH for arduino

How too know whether digitalwrite(HIGH, pin_number) sets the voltage to 5 volts or 3.3 volts. I am yet to purchase arduino uno. I want digital pin voltage to be 5 volts. I am aware that thereis a pin ...
0
votes
2answers
24 views

Bluetooth module vs wireless module Arduino

My main question is, what is the main difference between HC-05 Bluetooth module and NRF24L0 wireless module? Which should I buy? Which makes these 2 modules different than each other? Which one should ...
0
votes
1answer
26 views

How to calculating requirements of power supply for a project

I am starting with electronics and been working with Arduino for some time now. I did some basic LED and servo motor project and was hoping to jump into making an obstacle-avoidance car. I used 4 AA ...
1
vote
1answer
64 views

How much current can arduino ground absorb?

I am currently working on an LED 4x4 cube, so here is my pre planned circuit diagram. https://easyeda.com/editor-mobile/#id=ffca9f3303f242a185b950b0bee4fa29| I am to connect 220ohm to each positive ...
0
votes
0answers
23 views

Multiple functions at the same time with Arduino Uno

I would like to make a stepper motor run in for loop in time intervals. I also want to stepper motor run when I press the button. Two functions independently. One does not affect the other. I wrote ...
1
vote
1answer
17 views

How to use PWM with DRV8870?

I'm using Arduino nano and I'm struggling working with the DRV8870 IC on PWM mode. When I use analogWrite(_pin, duty_cycle); the motor makes weird noises. I thought it's because of the PWM frequency ...
1
vote
0answers
18 views

GPS Ublox Neo 6m issue with arduino UNO

I started working on the Arduino UNO with GPS Ublox Neo 6m. I connect GPS with arduino based on the schematic diagram as well as the script. It didn't display any data in the serial monitor even ...
1
vote
1answer
14 views

How to use d0 and d1 pins of arduino uno (Others) as a digital output when I don't want to use Serial

I have searched this topic almost everywhere also got different results that couldn't satisfy me My new project is a 4x4 LED cube Of which Will contain 4 Rows and each Row will contain 16 LEDs So, I ...
1
vote
1answer
39 views

How Arduino UNO differentiate between program/flash and serial terminal data

I am excited to know how Arduino UNO or nano differentiate between program data that is to be burned into its flash when we press Upload Sketch and serial terminal data when we press Send? Is there ...
1
vote
2answers
46 views

Is it possible to send 2 or more o/p signal at the same time?

I wanted run two motors using Cytron MDD10A Dual Channel motor driver. So my concern is based on execution of code that is done line by line, in that case when I'm driving two motors will this delay ...
1
vote
1answer
40 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 ...
0
votes
0answers
50 views

Looking to translate Arduino C code to Python [closed]

I am looking to interface with my first Arduino Uno 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. ...
1
vote
1answer
12 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
21 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 ...
0
votes
1answer
53 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
1answer
28 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
0answers
37 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 ...
1
vote
1answer
31 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
63 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
38 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 ...
1
vote
1answer
37 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
46 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 ...
1
vote
0answers
27 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
2answers
48 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 ...
0
votes
0answers
41 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
2answers
59 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
49 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
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?
1
vote
0answers
17 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 ...
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
1answer
34 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 ...
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 ...
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
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 ...
1
vote
0answers
30 views

Equipment wireless stopwatch

I am working in a project in order to measure spend time. My sitution is: There is a competitor that will start the game after he (or she) heard a sound (could be a sound like buzz or whistle). This ...
1
vote
0answers
31 views

Arduino code equivalent for python code binascii.unhexlify command

I want to convert a hexadecimal string or an array of bytes to binary data. For example, if i have a string like '424D368403' my output should be like b'BM6\x84\x03' The python code binascii.unhexlify(...
1
vote
0answers
21 views

The error shows ir_sensor:54:1: error: expected unqualified-id before '{' token { ^ exit status 1 expected unqualified-id before '{' token [closed]

int EN1=12; int EN2=13; int EN3=11; int EN4=10; int IR=15; int LED=14; void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(EN1,OUTPUT); pinMode(EN2,OUTPUT); pinMode(...
1
vote
1answer
40 views

Grounding Arduino UNO with external voltage source

I was experimenting with external power supplies and noticed that the only way the Arduino can communicate with an externally powered sensor (through SPI) is when the GND pin under power AND the GND ...
1
vote
1answer
28 views

Serial Communication, if statement not working

#include <SoftwareSerial.h> SoftwareSerial my (D6,D7); //(Rx,Tx) String msg; void setup() { Serial.begin(115200); my.begin(9600); } void gas() { Serial.println(msg); if (msg == "0&...
-2
votes
1answer
63 views

Code for fish auto feeder not working [duplicate]

I've been trying to make this code work, but for some reason, it doesn't work for me, even if I do everything like in the tutorial. So I've tried to do a new code and the outcome was the same. The ...
-4
votes
1answer
56 views

what is wrong with this code? It doesn't work

#include <DS1302.h> #include <Servo.h> Time t; Servo myservo; int Hour; int Min; int Sec; // Init the DS1302 DS1302 rtc(2, 3, 4); void setup() { myservo.attach(9); myservo.write(45); // ...
0
votes
1answer
55 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
1answer
47 views

is it necessary to include libraries that are specified in the header file already?

I am using the Adafruit BME280 library in my sketch. In the example sketches, they have included the Wire, SPI and the Adafruit_Sensor library. However, I see that in the Adafruit_BME280 library ...
2
votes
2answers
73 views

Interrupts Within Critical Statements

I've redone a previous Arduino sketch I posted in which I was having trouble capturing encoder counts within critical statements, having no luck properly attaching and detaching interrupts. I've ...

1
2 3 4 5
149