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
1 answer
39 views

Stoplight Simulator - Code compiled but not working

I am working on a relatively simple stoplight simulator that uses four LEDs - red, green, yellow, and white - in addition to a button. The 3 colored stoplight LEDs should cycle as a real stoplight ...
0 votes
1 answer
192 views

Estimate soc battery and discharge time using Arduino Uno [closed]

I am currently learning to do a project for estimating the soc of LiPo batteries with coulomb counting and calculating discharge time using Arduino Uno to display a warning when the battery runs out. ...
0 votes
1 answer
142 views

Shock sensor is not running in the file [closed]

I have faced an issue where the shock sensor is not running in the file. My idea is that when the ultrasonic sensor sense that when it is 4cm, the garage door will open. When the car reverses, the ...
-1 votes
1 answer
22 views

Does ADXL 345 accelerometer not wirk with Arduino Uno without soldering?

I followed the Adafruit tutorials to wire the ADXL 345 with Ardiuno Uno, but it is not able to detect the sensor. It did not mention that I need to solder the ADXL 345. Is soldering necessary?
1 vote
1 answer
238 views

DF Robot W5200 Ethernet Shield for an Arduino Uno not working?

I've been working on using an ethernet shield for my Arduino Uno for a couple weeks now. I've been going through the problems one by one and now realise that there seems to be nothing transmitting. ...
-2 votes
2 answers
2k views

Using CD4053 for arduino

I would like to use CD4053 for multiplexing in arduino but the problem is that I don't understand how CD4053 works, is it the same as CD4051, can someone help me, provide example code and circuit??
-4 votes
0 answers
26 views

Light doesn't turn off

My Arduino code should turn lights on and off. But when I run the code, all lights are on and none is going to be turned off after 0.5 seconds. Here is the full code. Thanks for all answers.
2 votes
1 answer
2k views

Arduino 1.6.4 not showing any /tty/ options in Serial ports

hej guys, recently I upgraded to Arduino's 1.6.4 IDE just to find out, that I can't seem to upload anything to my board. More specifically: The 1.6.4 IDE is not giving me the option to select the /...
1 vote
2 answers
39 views

PWM with a TRANSISTOR on flexible LED filament

I would like to create a custom lighting, with PWM capability, powered from battery. I would like to use flexible led filaments, and since those consumes more than 40mA, I can't use them directly on a ...
1 vote
1 answer
24 views

Fading out a led with reed switch loop

I was hoping to get some help on the fading led which I am working on. For my project I need to have a led, which when it is placed next to a magnet, continuously shines, but as soon as it is taken ...
-1 votes
1 answer
698 views

TFT and SD don't work together

I use a 2.8" TFT Touch Shield v1 and I want to read some data that were stred in sd and plot them with the tft. When the following code is ordered, to access the data. TFT freezes.... but the code's ...
-1 votes
2 answers
58 views

How do I put a LiquidCrystal_I2C class in a Lcd class?

I want to make my main code cleaner so I was thinking of making a Lcd class which I can use every time I need to print on lcd. So my main code every time I try to print text I need to call : lcd.clear(...
1 vote
2 answers
811 views

GPS date and time not displaying correctly in Arduino Uno,NEO6M GPS module

I am learning how the Arduino and GPS module work so I can apply it to another project. My components are an Arduino Uno, NEO-6M GPS module, and a Adafruit 1.8" TFT display. The code did not work ...
-1 votes
1 answer
140 views

Multiple data packets with CIPSEND, associate each with pathway

When using a CIPSEND from an Arduino Uno to a ESP8266 connected to the Uno is there a way to associate the data packet sent with a pathway so it can be retrieved at said pathway from the browser? For ...
0 votes
1 answer
62 views

How can I make conditional statements work with boolean ( true /false) to turn on and off blue leds

I'm working on a project to build a plant monitor with Arduino that picks up light and water values from it's environment and I've come across a roadblock in the code. Here's the code fully. //** *...
1 vote
1 answer
422 views

How can I program 2 ultrasonic sensor, one on the servo motor and one attached on the front side of the car? [closed]

I want to attach two ultrasonic sensors to an obstacle to avoiding the car. One on the front of the car Second on the servo motor on the car It is an obstacle avoidance Project. I am getting the ...
-2 votes
0 answers
14 views

Is it possible to use one transmitter and multiple receivers using HC-12 433MHz module?

I want to send data from one HC-12 module (transmitter) to 4 similar HC-12 modules (receivers) at the same time. There will be no data that will be transmitted from receivers to transmitters. It is ...
2 votes
1 answer
40 views

Multiple unique I2C devices interfere

I'm trying to make a fairly simple program that interfaces with the Adafruit TSL2591 light sensor as well as a MAX30102 pulse oximeter. They both use I2C for communication. I'm using the recommended ...
1 vote
1 answer
1k views

Is my TFT screen defective?

I bought the standard 1.77" TFT screen months ago and It has never worked. I follow the wiring diagram shown for Uno on the guide on the Arduino website and the best result I have ever got is it ...
0 votes
1 answer
925 views

SPI Communication Failure [closed]

I am trying to program an AD5930 with my Arduino Mega, and I suspect that I have a software issue or a broken Mega. I am fairly new to coding Arduino's so I am hoping someone here knows better. Here ...
-1 votes
0 answers
16 views

DTMF in A9G Ai thinker [closed]

I am working on an electronic project where I am using A9G module from Ai thinker, I want to use the DTMF option of this module, the problem that I couldn't find any information or AT commands about ...
-1 votes
1 answer
23 views

Arduino losing connection after receiving data from processing

My Arduino is processing some data coming from processing. The arduino is controlling 8 light tubes. I have to say, that I'm sending a lot of virtual midi-signals from processing to let the lights ...
-2 votes
0 answers
46 views

Even after my code is been compiled , my car is not working [closed]

#include <IRremote.h> int RECV_PIN = 7; int statusled = 13; IRrecv irrecv(RECV_PIN); decode_results results; void setup() { irrecv.enableIRIn(); pinMode(statusled, OUTPUT); pinMode(8, ...
2 votes
1 answer
741 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 ...
-3 votes
1 answer
78 views

Can you help me figure out why my arduino code is not working

The code is made to sense were an object is and send out int const trigPin = 10; int const echoPin = 9; int const buzzPin = 1; int const LED1 = 2; int const LED2 = 3; int const LED3 = 4; void setup()...
1 vote
4 answers
60k views

Pause code untill a button is pressed

I need some code to pause the Arduino code until a button is pressed. I have a long program and at point I need a condition that if a Button on pin A2 is pressed then go forward, otherwise wait. I ...
1 vote
2 answers
428 views

Regarding PGA bypass in ADS1262

I want to bypass the PGA to change the input signal range from +/-2.5 to 0/5 V range. I have taken the reference of example given in this library. I have interfaced protocentral-ads1262-32-bit-...
-2 votes
0 answers
19 views

Design Help Wanted: place the sensors near the arduino and remotely control the humidifier belt 20 ft away, or vice versa?

I have a first Arduino project! An old style belt driven humidifier needs a sensor for outside temperature and another sensor for current indoor humidity. I have a forced air furnace with two pipes ...
-1 votes
0 answers
31 views

Could you please fix the code , Error cannot convert 'String' to 'const char*' [duplicate]

/* #include <ArduinoIoTCloud.h> #include <Arduino_ConnectionHandler.h>*/ #include "EmonLib.h" // Include Emon Library #include "RTClib.h" #include <...
-1 votes
0 answers
17 views

Help me for Modbus RTU Library

I'm currently working on a project where I will send DHT11 and SW420 sensor data use RS485 Module from slaves 1 and SCT-013 sensor data from slave 2 (slave using Arduino Nano) to the master (Arduino ...
1 vote
0 answers
1k views

Can't read from / write to SPI EEPROM

I'm currently trying to write to and read from an 25LC256-E EEPROM with my Arduino Uno via SPI. I've made a program which is supposed to do this, but I only get weird answers. I'm sending in a Serial-...
0 votes
0 answers
19 views

I use this code to change the brightness but it don't change in spite of the PWM of pin 3 already changed

#include <IRremote.h> const int Recv_Pin = A0; int state = 0; int bright = 255; int i; unsigned long lastT = millis(); void setup() { Serial.begin(9600); pinMode(3, OUTPUT); ...
-1 votes
1 answer
35 views

How to create a function that will input a certain value for an subvalue of an array depening on the position of a joystick?

I need to make this project for class and my teacher doesnt know how to code. Basically the project is as follows: A remote with a joystick on it and depending on the position of the joystick it will ...
-1 votes
1 answer
163 views

Data received by Arduino from ESP8266 01 Module is not complete

I am sending some data from ESP8266 01 module to Arduino. But the data received by Arduino is not complete. Below are the images of the output from ESP8266 01 module and Arduino. Here is the ...
0 votes
1 answer
57 views

How many stepper motors can you run on one Arduino Uno? Ideas on how to run 9?

I am in middle school and new to Arduino. I just learned to set up and code a stepper motor on my Arduino Uno from watching YouTube videos. I want to set up 9 stepper motors to all run at the same ...
1 vote
1 answer
356 views

NRF24L01 +pa +lna modules do not communicate [closed]

I am building an rc airplane and I want the controller and the plane to communicate using 2 NRF24L01 +pa +lna modules. I am using an Arduino UNO and a Mega. I hooked them up corresponding to this ...
0 votes
1 answer
25 views

power 12v solenoid from DC jack of Arduino Uno

I was wondering if it is possible to power up a 12V solenoid valve from the DC jack of the Arduino Uno, provided that I'm powering the Arduino from the same jack:
1 vote
0 answers
24 views

Getting “Open the GPS power failure” on module SIM808

I tried to get the gps coordinates with this program: #include <DFRobot_sim808.h> #include <SoftwareSerial.h> #define PIN_TX 8 #define PIN_RX 7 SoftwareSerial mySerial(PIN_RX,PIN_TX)...
-2 votes
0 answers
13 views

How to read data from 3 sensors and save it on a SD card [duplicate]

We have a 3 separate sensors, all analog which are i2c. We have ran them individually but are having troubling combining the code and more so how to save it to a sd card module that we also have on ...
0 votes
0 answers
3k views

AT+HTTPACTION: What is status 606 means?

I use Sim808 gprs/gsm/gps module and call these: AT+SAPBR=3,1,"Contype","GPRS" AT+SAPBR=3,1,"APN","internet" AT+SAPBR=1,1 AT+SAPBR=2,1 AT+HTTPINIT AT+HTTPSSL=1 AT+HTTPPARA="CID",1 AT+HTTPPARA="URL","...
0 votes
1 answer
172 views

Adding L293D motor shield to Breadboard

Anyone knows how to attach the l293D motor driver shield on a breadboard? I need to put the shield on top of a breadboard and then use an Atmega328P as the main way of controlling it. Than you :)
1 vote
0 answers
2k views

MPU-6050, why is pitch, yaw and roll data not being consistent (value keeps getting higher/lower when it is stable)?

I recently bought a MPU 6050 that I plan to use with a drone. However I face some difficulties now because the MPU is not giving me steady results. The results (pitch, roll, yaw) i get are not ...
0 votes
2 answers
181 views

Adafruit thermal printer prints weak

I am currently hooking up my arduino to an adafruit mini thermal printer. When a button is pressed, some code is executed which then sends some information to the thermal printer. Everything works ...
16 votes
2 answers
9k views

How many times can I upload a program or sketch to my Arduino Uno Clone Board?

I'm about to work on my very first project using arduino (I'm just about to buy one next week), and one of our professor says that we can only upload a program or sketch in an Arduino Uno Board for ...
1 vote
1 answer
484 views

Writing multiple inputs to serial port using a while loop

I am trying to get the serial monitor to prompt me to input two settings - the PWM level and the Resonance level. I am being prompted to input the PWM level, but before I can input the Resonance level ...
0 votes
0 answers
37 views

Why is the serial data incomplete when the SD card module is opened?

I am trying to read serial data from a VectorNav module and save it to an SD card. I expected it to be relatively straightforward and was able to do it in Python on a Pi but not on the Arduino I am ...
0 votes
1 answer
4k views

Serial communication from Arduino to ESP8266 NodeMCU works, but from NodeMCU to Arduino isn't working

My circuit connection is like: (I am following this tutorial) Code uploaded to Arduino: #include <SoftwareSerial.h> #include <ArduinoJson.h> SoftwareSerial s(5,6); void setup() { s....
1 vote
2 answers
638 views

Analog output gives a close range of values

I try to get a good range of values from VMA309 sound sensor. However, when I connect it properly it gives me a range of values +/-5 like below. The documentation says it should give numbers ...
-1 votes
3 answers
66 views

Is there any way to efficiently code reading of four sensors and sending a serial output once it does detect a reading?

I am actually wondering if there's a way to efficiently do this block of code. There are two things in my specifications and these are: Four IR Sensors that detects blockage. Basically just to ...
0 votes
1 answer
83 views

Using ESP8266 to program Arduino by serial comm

Since ESP8266 can self program on wifi, can we use it to program arduino too with the binary sent via wifi? my arduino is connected with reset+RX+TX pins and shared power. Has this been already done?

1
2 3 4 5
159