Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino-uno]

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

-1
votes
1answer
28 views

How to disable the button if the stocks of my items is already 0 already [closed]

#include <Servo.h> const int coinpin = 2; const int buttonPin = 5; const int buttonPin1 = 6; int biogesicamount = 1; // Variables volatile int credits = 0; int buttonState = 0; const int ...
0
votes
1answer
16 views

Conveyor and Counter Project

I am new to Arduino and looking for advice if Arduino is the right microcontroller for this project. My project is quite simple, I want to build 3 conveyors using 3 DC motors. At the end of each ...
0
votes
2answers
49 views

How to print not enough credits if the credits is not sufficient

The problem of my code is in the serial monitor it print the not enough credits even i did not pressed the button. The output that i want is it must be print not enough credits when i pressed the ...
0
votes
1answer
24 views

Can't Interface SIM900a With Arduino Uno

I've got the following module of SIM900a. My connections are: VCC -> External 5 Volt 1.5 Amp Supply GND -> Common GND TX -> Arduino RX (Pin 0) RX -> Arduino TX (Pin 1) I hear a ring ...
0
votes
2answers
52 views

Combining 2 sensors in one code with 1 push button

I am trying to create a circuit with one tactile pushbutton, and LCD and two sensors: 1) temperature, and 2) pulse sensor. When the circuit is on, the LCD initially shows the reading from the temp ...
0
votes
1answer
48 views

expected unqualified-id before '.' token [closed]

//my coding #include<DHT.h> // Including library for dht #include<LiquidCrystal.h> LiquidCrystal lcd(14,15,16,17,18,19); #include<Timer.h> Timer t; #include <...
1
vote
1answer
24 views

Accelstepper.runToPosition() is working fine. Accelstepper.run() does nothing

I have a complex sketch with Arduino Uno, Bluetooth Serial Com using altSoftSerial, serial com using SoftwareSerial and Serial communication with PC. I want to move one stepper motor and stop it when ...
0
votes
0answers
28 views

White squares LCD display

for a school project I need to program a display. I've got in almost working. I made a setup screen in the setup() that just says our groupname and the name of our project for 8 seconds (this works ...
0
votes
1answer
57 views

Arduino Power project question?

I saw a project on the Internet (the one in the photo), and I wonder, would it be a problem for me to connect the Vin and GND of the Arduino to the same place where the Servo Motors are being powered? ...
0
votes
1answer
30 views

firebase arduino uno + esp8266

I am trying to make a project that can read data from usbsheild connected to arduino uno board then send them to firebase through esp8266. But the libraries of firebase and esp8266wifi that i found ...
0
votes
2answers
50 views

How can I reduce current drawn by micro SD card module? [closed]

I am using a servo along with a sensor and micro SD card module and speaker in arduino uno in order to play a wav file at certain conditions . But when i run the whole system the sd card module is ...
0
votes
1answer
38 views

please help with my arduino

My problem is when I run code like this: char directioN; void setup() { Serial.begin(9600) } void loop() { if (Serial.available()) { directioN = Serial.read(); switch (...
0
votes
0answers
20 views

Audio Signal to LED Lights Code Speed Improvement

I wrote this code that inputs audio from a jack (DC offset at 2.5V), performs the fft on a portion of the data, and then outputs a signal to an LED light strip dependent upon which frequency has the ...
0
votes
0answers
15 views

Arduino UNO “An error occurred while uploading the sketch” [duplicate]

I am new to Arduino. I have downloaded the Arduino IDE for Windows and installed it. I am running Windows 7. My Board is selected as Arduino /Genuino Uno and Port "COM11" I opened the examples/...
0
votes
0answers
15 views

My ArI was using a potentiometer and the system shorted maybe. Do I have to replace the USB interface chip? It doesn't reset also

See I was using a micro analog rotary potentiometer to control a servo. The pot was in a pcb. The 5v output and gnd were connected to arduino from the pot. The third pin and 5v got touched and it got ...
-1
votes
1answer
29 views

Can I power a Wemos D1 R2 via the VIN and GND pins?

Can I power a Wemos D1 R2 via the VIN and GND pins? If so, at what voltage?
0
votes
0answers
55 views

ATmega328p keeps restarting

When I was programming an arduino uno with atmel studio via usb cable, everything worked fine. Now I am trying to upload a code via usbasp programmer, it works, whereas arduino keeps restarting and L ...
0
votes
0answers
29 views

Device is not online yet while trying to connect Arduino uno (with USB) to Blynk App

I am trying to run my Arduino Uno using Blynk app. I have Arduino IDE , Blynk library on the same folder within the Arduino library folder, changed the AuthCode using the one provided , checked all ...
0
votes
1answer
24 views

Do you need an ESC to run this brushless DC motor with Arduino Uno?

This is the motor: https://www.aliexpress.com/item/Wholesale-JGA25-2418-8-5-1977-rpm-Electric-Motors-Brushless-Motor-High-Torque-Speed-Controlled-DC/32360228129.html I'm hooking it up to the arduino ...
0
votes
0answers
32 views

map() function with stepper motor

I am controlling a stepper motor with a potentiometer and I am trying to map the potentiometer values (0-1023) to the stepper motor steps (200). I only want this stepper motor to turn 1 (one) rotation ...
0
votes
1answer
28 views

Method to iterate over the bits in a byte sent over serial [closed]

In my current project which integrates Arduino/avr IC with Raspberry-Pi, and each communicating via serial, I'm looking to send a byte of data to the Arduino from the RPi, which then would be iterated ...
0
votes
0answers
9 views

Arduino Uno Issue with SIM900 Network registration

I have a SIM900 module on which I have a T-Mobile Data Only SIM card (pin unlocked). I am powering on the SIM900 module using a power adapter which can supply voltages 4.5, 5, 6 7,5 and 9 V and 2.1A. ...
0
votes
1answer
52 views

Trouble with reading Bitmaps from SD-Card

I'm having problems with reading a bitmap file with the SD library. I wrote a small header that reads uncompressed 24-bit bitmap files. It works fine when I try it on Windows 10 MingW with fread() ...
0
votes
0answers
17 views

Arduino and VFD Communication

I have a Delta VFD-L series vfd and I want to send a frequency value to it from some algorithm on Arduino. I have almost no idea how to do that.
0
votes
0answers
26 views

Arduino to check if digital connected to analog

Is it possible to check if a Analog pin is touching a digital? I have an Arduino Uno, and I want to have a small matrix, A0 A1 A2 A3 (all have rows of 6 buttons) All the 6 buttons are connected to the ...
0
votes
0answers
14 views

WebClient Not Working On Shared Network

I'm working on a school project, and I use Arduino Uno to collect some data with sensors, and then send it to an online database. The Arduino is connected to the Internet via an Ethernet Shield and an ...
0
votes
2answers
25 views

Pilot the the reset line by two input

I have two input signal that when activated have to restart the ardiuno board so I have to connect them to the RESET pin. As you know the arduino board have only one RESET pin so I can't connect both ...
0
votes
1answer
16 views

How to properly run 4 DC motors with an Arduino?

I am working on a project where I have 4 DC motors that is controlled by 2 L293D motor drivers. 2 of the motors act as the wheels of the robot, and the other 2 act as a mop. The Arduino board is ...
1
vote
0answers
49 views

Ideal voltage level for attachInterrupt()

Well I am working on old textile machines, it is taking motor RPM with ISR. I want to read this RPM and publish on web. but the output voltage of this old system is 0 and 22 Volt. (0 Volt when the ...
0
votes
0answers
17 views

Interfacing TTP229 touch sensor with arduino and gsm module

I have been working on an Arduino based call and message project which I am following from this link https://circuitdigest.com/microcontroller-projects/call-and-message-using-arduino-sim900-gsm. This ...
-1
votes
2answers
40 views

I need help makeing a light flash while a stepper is constantly moving

The starter code. #include <Stepper.h> const int stepsPerRevolution = 120; // change this to fit the number // for your motor of steps per revolution // initialize the stepper library on ...
0
votes
0answers
19 views

Mesh with star topology

In my project I have an issue. I have more than 2 mesh network with Arduino + nRF240L01 with a star topology (one Arduino is master another 6 Arduino + nRF240L01 are the slaves likewise I can be able ...
-1
votes
0answers
50 views

Get client MAC address

I have an Arduino UNO with an ethernet shield (W5500). Is there any way to check that my phone is connected to the network? Check IP and/or MAC address for example.
0
votes
0answers
30 views

nRF24L01 communication with Arduino as transmitter and Raspberry Pi as receiver

here are the codes and i don't know why it does not communicate. The arduino should send some example data and the raspberry pi should simply receive the data. Transmitter code (Arduino) #include "...
0
votes
1answer
49 views

Replace mechanical switch with electrical switch or relay

I have a remote controller for a portable heater, and working on a small project to be able to control the fan on/off from an arduino with Bluetooh HM-10 module. I thought a solenoid might work by ...
0
votes
0answers
34 views

Problems when uploading [duplicate]

When I'm uploading a sketch I get the message: avrdude: ser_open(): can't open device "/dev/cu.usbmodem14201": No such file or directory.
0
votes
0answers
36 views

Arduino, RS232 and SIM800L EVB 2.0 (not responding on AT command)

I buy a SIM800L EVB 2.0 modul for Arduino (https://www.aliexpress.com/item/SIM800L-V2-0-5V-Wireless-GSM-GPRS-MODULE-Quad-Band-W-Antenna-Cable-Cap/32465337183.html). First I tested modul with all pins ...
0
votes
0answers
14 views

How can I power up my Arduino Nano for project of Rocket Data logging?

I am building a Model Rocket for which I need arduino nano to log data.But,I dont know how to power it up once it goes off the ground.Can anyone explain?
0
votes
0answers
35 views

Trigger cheap wireless doorbell

I would like to trigger a simple wireless doorbell. The doorbell uses 433Mhz. To read and send signals I am using the FS1000A Set (sender and receiver). I've started by connecting the receiver to the ...
0
votes
1answer
54 views

Read Serial data from an arduino with c code

I am trying to receive data through the serial port from my SBC (a TS-7200), i am working with linux and handle serial communication using C/C++.To send data to the SBC i'am using an arduino uno. So ...
-1
votes
2answers
45 views

How to calculate battery usage of my arduino project? [closed]

I want to measure power consumption and calculate the mAH value to know how much time would my battery can run the circuit. I only got a multimeter and DC power supply.(Im not sure if this is enough ...
1
vote
1answer
40 views

How to initialize and run PCA9685?

I'm trying to write a simple code for initializing and running the PCA9685. I tested the board with Adafruit library and it's working. But I just want to develop a simple code to include it in my ...
-1
votes
1answer
42 views

DHT11 Reading Too High Values

When I run the program, there are no syntax errors or anything. All it does is give me values for the temperature in the hundreds. I don't know if there is a way to turn these abstract and unexpected ...
0
votes
0answers
37 views

Arduino IDE 1.8.8 built in 1.2.1 Temboo Library?

I am weirded about the built-in "latest Temboo library" with the latest Arduino IDE; when a previous older code says to download the latest Temboo version < 2? (which I found this: https://temboo....
0
votes
0answers
52 views

How to remove or only show part of the data received?

I'm using the ble_client.ino example and I can't figure out how to only show some of the notifyCallback data. I'm getting three different types of data from one service UUID. static void ...
-1
votes
3answers
81 views

Can I use Arduino for my purpose? [closed]

I am trying to make an agv (automated guided vehicle) that will be line following, will have obstacle detection along with dragging 200 kg of weight in drums with wheels. My project is for industrial ...
0
votes
1answer
34 views

Arduino scrolling text program freeze after some time

I use a 16x2 character lcd to display some text. What I want is first line will stay, but the second line should scroll text. I wrote a program which works fine but the problem is after some time ...
0
votes
0answers
39 views

HC-05 sending data to Android a value but it cracked out of its form

I am totally beginner but I am trying to finish my project as school work :-( but from the beginning, I am really stuck. Could anyone help me out? #include <SoftwareSerial.h> SoftwareSerial ...
-1
votes
1answer
39 views

How to send chars and values at the same time from processing to Arduino [closed]

i have been trying to set Builtin LED frequency from arduino and turn it on and off . I have created an interface with knobs and buttons in processing . I want to set delay between ON and OFF with 1 ...
0
votes
1answer
43 views

Print Byte Array in Serial monitor screen of Arduino IDE

I need to print mentioned below byte array on the serial monitor screen of Arduino IDE char b[]= {'0x7E', '0x00', '0x1C','0x90', '0x00', '0x13', '0XA2', '0x00', '0x41', '0x58', '0x1C', '0xCB', '0xFF',...