Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
1answer
86 views

Pointer memory allocation in function

I would like to know how Arduino allocate memory for pointers in function arguments. For instance. I have this code that use 192 bytes (Arduino IDE compiler: Global variables use 192 bytes (9%) of ...
0
votes
2answers
37 views

Why won't my code play a tone for my arduino

I have the following code that I use to try to play a melody on my Arduino, but there is no melody just a tapping noise. I am using the built in tone() function to play on a speaker/buzzer. I know ...
1
vote
1answer
533 views

Unable to upload code on Arduino Nano

My Arduino Nano v3.0 (made by Gravitech US) is behaving in an unexpected manner. Whenever I try to upload a simple Blink program on the board it always give error which is shown below. avrdude: ...
-3
votes
0answers
22 views
0
votes
0answers
18 views

Printing vertical text or barcode with thermal printer

I managed to make the printer prints barcodes and print text. So now I need to print vertical barcode or text it does not matter I just need it to be vertical not horizontal, I am using adafruit ...
0
votes
1answer
11 views

Arduino pins vs Esp8266MOD

I had used Arduino Uno & RFID but now i want to run same code in Esp8266MOD. i have installed all the drivers and everything else to run esp8266 in Arduino IDE but i dont know how to connect rfid ...
0
votes
2answers
276 views

Nema 17, Arduino Uno and stepper motor drive ~2H42B

I tried running Nema 17 stepper motor using the drive in the pic below (not the basic L298N drive, which BTW I successfully used to rotate the motor) . Could any of you review my existing connections ...
0
votes
1answer
44 views

Trying to use Tap Detection solution using ADXL345 with Arduino

I am using ADXL345 sensor connecting with Arduino via I2C interface, I am able to test the data at tri-axial axis but as there are some other features also, which I am going to try with Tap detection ...
0
votes
1answer
1k views

OVF in serial monitor instead of data

I am currently working with two Arduinos and I'm trying to synchronize them. I want to get data from four LIS3DH accelerometers. The LIS3DH accelerometers are connected to the Arduino using I2C ...
-2
votes
0answers
38 views
4
votes
2answers
63 views

Power on reset with arduino uno can never happen. Can this be fixed?

When an Arduino Uno is powered on, the USB chip's DTR output pin may (is, in fact) low for a while. This means that the capacitor C5 is connected from the 328p reset pin to ground. Thus, when power ...
1
vote
2answers
469 views

Arduino UNO/Nano communication with SP1ML-868 module

Good evening, I'm trying to establish serial communication between an Arduino UNO/Nano (ATMega328P) and a SP1ML-868 RF radio module (http://www.st.com/en/wireless-connectivity/sp1ml.html). I can talk ...
1
vote
1answer
9 views

Data loging while browsing a menu on LCD shield

I'm new in arduino and not particularly awaken when it comes to code ;) . I'm developing a device SD logging Temperatures from 2 thermocouple . Hardware works well and I'm now trying to refine use of ...
0
votes
1answer
281 views

SIM800L can't send SMS

I have a SIM800L module (green board). I used this to test my module. In that page, it use a SIM800L red board with a 3.7v LiPo battery. But I directly connected 5v from the Uno to the module. GND ...
0
votes
0answers
28 views

Help!!Combining two sketches [on hold]

I need help that is to combine these two sketches..... include<SoftwareSerial.h> SoftwareSerial Serial1(2,3);     //make RX arduino line is pin 2, make TX arduino line is pin 3. SoftwareSerial ...
0
votes
1answer
57 views

Count fuel liters with Arduino

we have created one fuel sensor in our lab with arduino in order to get fuel data from vehicles.Regarding the code below i receive an error PARSE ERROR: 'attachInterrupt': this function needs to be ...
0
votes
0answers
24 views

Detect a VGA signal through arduino uno [duplicate]

Is there any way for an arduino uno to detect when a projector or any device is connected to the vga port of my laptop?
0
votes
0answers
21 views

Proper connection of 6N136/7 [on hold]

I am trying to build the circuit shown in the figure (taken from another question). The funny thing though it works only if I connect D1 in series with the diode inside the optocoupler. Since I am ...
6
votes
1answer
157 views

Working with multiplexers for constant voltage output

I'm working on creating a circuit where I'm trying to have the ability to switch multiple strands of LED rope on and off at a time using an Arduino and a multiplexer. With my current configuration, ...
3
votes
3answers
12k views

How to clear FIFO buffer on MPU6050?

my MPU6050 works very unstable , the problem is unable clear excessed FIFO buffer on MPU6050, I am using Jeff Rowberg's MPU library and according to his DMP example but without using interruptions,...
0
votes
2answers
397 views

Visual Studio for Arduino - Deep Search Issue

Finally got some time to play with my Arduino. I downloaded the Arduino editor and wrote a quick sketch which worked fine. I then downloaded the Visual Studio extension from VisuaMicro. I configured ...
-1
votes
0answers
40 views

Detect a VGA signal through arduino [on hold]

Is there any way for an arduino uno to detect when a projector or any device is connected to the vga port of my laptop?
0
votes
1answer
568 views

AI A7 Thinker connection with Arduino

I am trying to connect my A7 to my Arduino Uno but I can't find a way to communicate with it. I searched a lot on the internet to find some schemes but not one of them worked. Here is my actual setup: ...
-1
votes
0answers
35 views

Arduino Project [on hold]

i need to program a machine that can, using wheels, move up and down a tube, stopping for 5 seconds in a certain position twice and then finish. can i programme this that, should i know the distances ...
0
votes
0answers
21 views

Arduino to thermal printer

Recently I had a task where I needed to use thermal printer in c# and I managed to get it working, so now I need to do the same thing with the printer but with Arduino, but I have no luck. I tried ...
0
votes
3answers
160 views

Using EEPROM Anything in loop()

I'm trying to make a programm for Arduino Bluno Beetle, that saves a string in the loop. Here is my code: #include <EEPROM.h> #include <EEPROMAnything.h> struct config_t{ String ...
0
votes
1answer
103 views

Button state issue

Let me preface this by saying I'm a beginner, and I know my code must have some logic errors. I need some fresh eyes on this, I have been messing with it a few days and am just running in circles at ...
0
votes
1answer
64 views

ets Jan 8 2013,rst cause:4, boot mode:(1,7)

I am facing a issue with the ESP8266-01 as the following below: chksum 0x42 csum 0x42 ~ld ets Jan 8 2013,rst cause:4, boot mode:(1,0) wdt reset Anyone has the solution please help!! #include <...
0
votes
0answers
24 views

How can I measure the RSSI value using an Xbee Series 1 attached to an Xbee Shield mounted on an Arduino Uno R3?

This is my first question ever on StackExchange so bear with me if I've done/said anything that is not of this site's "ethics". Moving on to the matter at hand... I'm graduating in 2 weeks with a ...
0
votes
0answers
28 views

4 digits seven segments showing inverted

#include "SevSeg.h" SevSeg sevseg; //Initiate a seven segment controller object void setup() { byte numDigits = 4; byte digitPins[] = {2, 3, 4, 5}; byte segmentPins[] = {6, 7, 8, 9, 10, ...
0
votes
2answers
35 views

What bootloader is present by default on Arduino Uno?

Or where can i find information of default bootloaders present on each Arduino board. All I could look up was it could be one of these bootloaders on the atmega chip :- .Atmega .Atmega8 .bt .caterina ...
-2
votes
0answers
11 views

I want to build arduino gas sensor with buzzer and gsm module a6 [on hold]

I need help for coding to turn on and off the system and send alert message to owners phone no. . Please help me
5
votes
2answers
896 views

Fluctuating readings of LM35 temperature sensor (+- 5°C) with Arduino UNO

I am trying to read a LM35 temperature sensor with Arduino UNO which I got as a gift. The issue is the fact, that my readings of sensor are, well, suspicious at least - they jump with each reading ...
0
votes
1answer
29 views

Programming a switching AC current?

I tried using this code to output AC power from one H-bridge and then another, switching every second, but when I connected a motor to it, it just seemed to output direct current. This is the code I ...
0
votes
1answer
182 views

Reading RAM from SH1106 OLED Controller through I2C

Summary: I'm having trouble with writing a program to get RAM data from an SH1106 OLED controller via i2c. In the first part of the question I've written the assumptions I've made to get informations ...
4
votes
1answer
367 views

RF24Mesh master-base node communication delay

I'm trying to build a mesh network using 4 nRF24L01 modules directly connected with Arduino Uno where 1 module is master node and the rest are base nodes. The workflow is exactly as follows I'm ...
0
votes
1answer
43 views

Program is working wrong while melody playing

My robot working fine but when I added buzzer and melody into code then is something wrong. Melody is playing when accelerometer is activated but rest of the code need to wait to end of melody. I want ...
0
votes
1answer
24 views

ESP8266-01S Stopped responding after second launch

Here's the code: #include <SoftwareSerial.h> #define RX 6 #define TX 5 String AP = "..."; String PASS = "..."; SoftwareSerial esp8266(RX,TX); void setup() { Serial.begin(9600); Serial....
0
votes
1answer
51 views

Read Multiple Sensors Data from a text file located in SD Card in Arduino/ESP32

I am working on a small home project 'glucose meter' via non invasive techniques. I am using four sensors like RGB color sensor, two multi-wavelength photo diodes (A & B) and temperature sensor (K-...
0
votes
1answer
22 views

threshold voltage level and blinking problem

I am using arduino pro mini 3.3 V,8 Mhz.vcc of the this arduino is coming from AC-DC converter with regulator 3.3 volt.I am listening analog data from voltage divider approximately 250 milivolts. I ...
2
votes
4answers
2k views

MFRC522 not scanning card

So I have an Arduino Uno and an MFRC-522 reader, using a breadboard I've wired it up according to the example sketch which is the mfrc522 DumpInfo sketch. /*Typical pin layout used: * * ...
0
votes
1answer
48 views

How to have multiple digital outputs for the same pin on Arduino Uno and Simulink?

I'm trying to develop a PID controller with Simulink as shown in the image PID. I'm using a PID controller to control a motor via an Arduino Uno and motor driver. I have the PID output connected to ...
0
votes
2answers
99 views

Burn bootloader to Arduino Uno using ARM-USB-OCD

I have ARM-USB-OCD created by OLIMEX. I am interested in can I use this to burn a bootloader to Arduino Uno. As I know Atmega 328P can be programmed using JTAG protocol which has also ARM-USB-ODC, so ...
2
votes
1answer
561 views

'AttachPinChangeInterrupt' was not declared in this scope

I am a beginner trying to upload the SimpleExample328.ino sketch on my Arduino Uno. When I verify my sketch however, I run into the error: 'AttachPinChangeInterrupt' was not declared in this scope. ...
0
votes
1answer
15 views

vk2828u7g5lf GPS module over SoftwareSerial

So my goal was simple. Trying to get a GPS speed, and show it on a display (later use it to control a stepper motor). I am using the vk2828u7g5lf GPS module from Banggood, which after days of ...
0
votes
0answers
8 views

can i charge a large capacitor with a small resistor? [migrated]

I am working on this simple Arduino CAPACITANCE METER this project uses 2 resistors a 10k ohms resistor for charging and 220ohms resistor for discharging. The arduino is programmed to measure the ...
0
votes
1answer
91 views

Connecting HC-06 and LM35

Hello I am trying to send temperature data via bluetooth using the HC-06 module. Since TXD and RXD only allow 3.3V I have divided the circuit into two like the below image. Is this method correct? or ...
0
votes
1answer
24 views

Arduino Warnings That I dont know how to solve [on hold]

#define LDR_DriverS A0 #define LDR_MiddS A1 #define LDR_PassangerS A2 #define senQty 3 #define engineA 6 #define engineB 5 //Motor Driver Inputs Pins #define IN1 7 #define IN2 8 #define IN3 9 #define ...
0
votes
1answer
319 views

Serial communication between python and arduino

I am working on object tracking robot. I am using python and OpenCV to detect the object and send the proper data to the arduino that controls two servo motors. The data which should be sent to the ...
2
votes
1answer
371 views

ADS1262 and 2.2 SPI TFT (Two SPI Slave) with Arduino

I am interfacing two SPI slave module i.e. ADS1262 and 2.2 SPI TFT with the Arduino Ethernet board. When I test each device on its own it works. Initially, I interfaced the TFT to the Arduino and it ...