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
3answers
75 views

Trying to understand how to make a program do three things with a button press

I am trying to write some code, which I barely grasp - but it's coming along! But I think I've hit a wall that I could using some help getting over... I'm not asking for you to fix my code - I know ...
0
votes
1answer
53 views

How to convert byte array into a single variable

In this code i am taking the TID data(20bytes of 160bits) in the form of array according documentation and and its working correctly and getting the output of RFID tags. Now I just need your guidance ...
2
votes
3answers
104 views

Having some issues with an array

I am having an issue that I can't seem to get my head wrapped around. What I am trying to accomplish is to have a minutes worth of sensor data in an array (reading every 5 seconds) so I'll have 12 ...
0
votes
1answer
46 views

Websockets with the ESP8266 using arduino uno board

I'm trying to make an iot device that connects to my wifi, establishes a socket connection with my golang backend and then starts to send sensor data from the ardunio. I've got an ardunio uno board ...
-1
votes
1answer
28 views

how to control electric strike fail secure using arduino to secure a large box? [closed]

I wanted to use a electric strike fail secure lock to secure a box. Is it a good idea to use a electric strike or is there any better locking mechanism to secure the box?
0
votes
1answer
58 views

Two ports on Uno with ethernet shield

I am making an Arduino mod-bus device and I want to make a webpage as well that will allow me to reset the unit if there is any issues remotely. To do this I would need the mod-bus to operate on port ...
0
votes
1answer
77 views

Problem with interrupts

Alright. This is what I wanted to do: Make a circuit and code the arduino such that there are 2 tactile switches, each with a predefined pwm value. Whenever any one button is pressed the led should ...
0
votes
1answer
54 views

How to know which event fired first?

I want to automate the chicken coop of my grandmother. To do so, I want to use Arduinos and NodeMCUs, respectively. I want to check if all chickens are in the coop at night and then close a little ...
0
votes
2answers
66 views

How to interface ESP8266-01 Wifi Module with Arduino Uno

I have an Arduino Uno and ESP8266-01 Wifi module with me currently. So I'm going to use ESP8266 to connect to the MQTT broker to allow me publish data to other devices. However, I have a problem with ...
1
vote
2answers
66 views

Save Data before Shutdown

I am building a positioner and I store the current position to EEPROM when the move is complete. On start up, I want the positioner to return to the HOME position. I am running an UNO powered from the ...
1
vote
1answer
66 views

Print out times tables from 1 to 10 with array [closed]

I would like to Serial.print(); the multiplication tables, 1 - 10. This is my work so far. Is there an easier way to do this with array? Thanks // "MultiTable" //Define global array, is this needed? ...
0
votes
1answer
38 views

What is a cheap way to measure co2 or o2 level in air? [closed]

I am making an air purifier which also increases o2 level as a school project but facing some difficulties. I plan to run the purifier whenever the co2 level is higher than usual or o2 level is lesser ...
1
vote
2answers
61 views

Arduino Uno - Building a Controller

I have the Arduino Uno and I'm working on a project to build a controller with different inputs and some outputs for readouts. In classic style, I got the Arduino Uno before realising that I might not ...
0
votes
1answer
39 views

4052 interfacaing with arduino uno

I am trying to interface 4052 demux with arduino, but my program is not working as high is not displayed on serial monitor corresponding to select lines. //output coming from demux pins int ...
0
votes
3answers
69 views

Deploying an Arduino Uno R3 standalone [closed]

I have an Uno R3 with a sensor board and a temperature sensor. I'm running a simple temperature check and would like to store that data outside the Ardunio for keeping records, graphs, etc. I powered ...
0
votes
1answer
60 views

Can anyone please help me to modify the code so that it runs faster?

this is a program for a blindspot detection system using 4 ultrasonic and 2 ir sensors. can someone help me in modifyng the code so that this runs faster? #include<LiquidCrystal.h> #define ...
0
votes
1answer
35 views

NODEMCU 1.0 HX711 Load cell reading weird text

Hi Guys! i have a problem with the reading with my NODEMCU where i tried this code on an arduino UNO it is working perfectly fine but until i tried to switch it to NODEMCU 1.0 which have a wifi ...
0
votes
2answers
39 views

Out of two logically similar sketches, one works while the other does not

I am currently making a project involving a self balancing bot & found this code online: #include "PID_v1.h" #include "LMotorController.h" #include "I2Cdev.h" #include "...
0
votes
1answer
32 views

Motor not working when connected to motor driver shield?

My code is getting uploaded to arduino without problem but still my motor is not moving when i connect it to the motor driver shield. I am supplying 6V battery to the shield which is connected to dc ...
0
votes
1answer
33 views

How to connect NRF24 receiver and Micro SD Card Module to Arduino UNO

I would like to know how to connect a NRF24 receiver and Micro SD card module to Arduino board. I have already connected the NRF24 module to the arduino board but now i can't connect the Micro SD card ...
0
votes
1answer
51 views

How do I stop the slave from running the code until master sends a new value? I2C

I'm a total noob when it comes to Arduino. I'm slowly learning stuff. I was trying this code which basically gets input in Arduino1(master) and displays the character in serial monitor of Arduino2(...
-1
votes
1answer
18 views

why my arduino uno r3 restart when plugged in to a battery(9v)

i have a personal challenge that is to make a arduino avoidance robot it has a"hc-sr04 ultrasonic sensor, a servo, bread board(for the sharing of vcc and gnd), l9110s motor driver, and two dc motors, ...
0
votes
0answers
30 views

RX light on, weird loop infinite loop [duplicate]

I just started using arduino and the second program u uploaded seemed to have bricked my device. RX light is stuck on and it seems that the board is stuck in some sort of loop not allowing the ...
0
votes
1answer
49 views

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x17 [duplicate]

Every time I try to upload code to my arduino I always get this error : avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x17. How do i fix it ?
0
votes
3answers
48 views

Problem with Arduino driver! Port option not visible. How to resolve it?

I am not able to upload sketch because my Windows 8.1 PC is not able to recognise it. It used to work fine but suddenly my driver disappeared from my device manager and no light is shown on the ...
0
votes
1answer
29 views

Arduino pins not working

I'm building my first arduino project and I encountered a strange problems; I build a haunted house based upon that instructables tutorial: https://www.instructables.com/id/Control-Your-Halloween-...
0
votes
0answers
31 views

What are some android apps using which Arduino programs can be uploaded via OTG?

I'm looking for Arduino IDE like apps in android using which programs can be uploaded to Arduino boards via OTG. Please give me some suggestions.
0
votes
2answers
55 views

My Ultrasonic sensor is only showing 4cm range?

I am using an ultrasonic sensor SR04 with Arduino Uno and a sample program which I got from the library. However, my output reading is only 4 cm even when there is no object in front of it. I even ...
0
votes
0answers
12 views

GSM Module sim900a fails network registration

I interfaced the Arduino uno with gsm module sim900a through communication. But when the AT commands are sent by arduino there is no response from gsm module. I watched the data sent by arduino in ...
0
votes
1answer
37 views

How can I connect nodemcu with laptop wifi

Question is odd, but I want to know that how I connect nodmcu with a laptop wifi without using any router. Is it possible if yes then how?
0
votes
2answers
115 views

How to connect Sparkfun M6E Nano UHF Rfid reader and ESP8266 NodeMCU 0.1

I am using an ESP8266 NodeMCU v0.1 and Sparkfun M6E Nano UHF Rfid reader. How to connect NodeMCU to M6E Nano UHF Rfid reader?
1
vote
1answer
35 views

how to increase the range of KY-005? [closed]

I am using a KY-005 with an Arduino Uno. I have the knowledge that Arduino can provide a forward current of 40 mA. How can I make it to 55 mA or above upto 60 mA to unlock its full potential, so as to ...
0
votes
2answers
50 views

Can a 150 PSI Pressure Transducer accurately measure up to 30 - 40 PSI? [closed]

I have an Arduino project which requires reading pressure data from a pipe. The best pressure transducer I have been able to find is this one. Seeing as though its max pressure is 150/200 PSI, will ...
-1
votes
2answers
41 views

Is there a key switch for Arduino? [closed]

I am trying to make a launch controller, which will turn on with a key. Like the one in this photo below:
0
votes
1answer
38 views

How to build a robot that can stop at a certain point using an altimeter [closed]

I am thinking about creating a robot that climbs vertically and stops at a certain point. I thought about using an altimiter in order to measure the distance, however, I dont know how to create a code ...
1
vote
2answers
45 views

How to convert this sketch to keep only one if-else statement? [closed]

int ldrPin = A0; int rainPin = A1; int smokePin = A2; int greenLED = 6; int redLED = 7; // you can adjust the threshold value int thresholdValue = 500; int LightSensorThreshold = 500; int ...
2
votes
1answer
46 views

Are there any Wi-Fi modules for the Arduino Uno that may connect to an external Wi-Fi Antenna?

I have an Arduino Uno I need to connect to Wi-Fi to make HTTP POST Requests to a Raspberry Pi Web Server. The Arduino is located only about 30 feet from the AP, but there is a brick wall in the line ...
0
votes
2answers
51 views

How to connect a MPU-6050 to an Arduino that already has a CNC Shield V3 on top of it?

I have a CNC Shield on top of an Arduino Uno (GRBL pinout) that controls 2 stepper motors through a4988 drivers and it is working like a charm. Now I want to add an accelerometer to it. From my ...
0
votes
1answer
69 views

RGB LED strip 100m [closed]

Hello all, I'm working on RGB LED strip SMD 5050 5m This all setup is working on 12v 2A with about diagram. I want to use same connection with 100m of LED strip using Arduino. Please support ...
1
vote
0answers
51 views

Keypad prints just 1 [closed]

I used this example code: #include <Keypad.h> const byte ROWS = 4; //four rows const byte COLS = 4; //four columns char keys[ROWS][COLS] = { {'1','2','3','A'}, {'4','5','6','B'}, {'7','8'...
0
votes
0answers
28 views

esp8266 connection function issue

After a long search for a simple library that will let arduino to connect to wifi using 8266 and SoftwareMonitor i have decided to code some things myself. The aim is to send data to thingspeak, ...
0
votes
1answer
30 views

Can you help me combining these sensor sketches as one in Arduino [closed]

I want to combine these three sketches into one. RAIN SENSOR: int rainPin = A0; int greenLED = 6; int redLED = 7; // you can adjust the threshold value int thresholdValue = 500; void setup(){ ...
0
votes
1answer
38 views

How do i fade a colorwipe from off to on in 1 color?

So I want to make the same effect as a colorwipe (like going around in a circle turning leds on till they all turn on) except that instead of going from off to 100% brightness immediately I need it to ...
0
votes
0answers
28 views

DIY Light Switch Trouble Shooting Help

Goal of the Project: DIY method of a smart light switch Process Used: Implement using IFTTP with: BLYNK Google Assistant NodeMCU (ESP8266 WiFi) High Voltage Relay Samsung Wall Wart for NodeMCU ...
0
votes
0answers
26 views

Kinect-Arduino integration tutorial?

I have found many projects utilising kinect and Arduino to do move servo motors and I intend to do the same but I couldn't find any tutorial telling step by step how to program the kinect and ...
0
votes
1answer
42 views

Solenoid “vibrates” instead of pushing

I'm using my Arduino Uno to control a 5V 1A solenoid. I'm using an N-Channel MOSFET linked to the Uno's 0 pin to switch the solenoid on and off. It is protected by a Schottky diode. Initially, I ...
0
votes
1answer
50 views

Serial Moniter is repeating output

I do apologize for the constant posts on here. However I ran into an issue and I cannot seem to find any solution to it. The goal is to enter a username, through the Serial.read function, and if the ...
1
vote
1answer
46 views

AD9833 Breakout Short [closed]

I recently bought a breakout board for an AD9833 waveform generator, but discovered pretty quickly that VDD and GND were shorted out. Assuming that there must have been some manufacturing defect, I ...
0
votes
1answer
40 views

Arduino Uno keeps looping on setup() everytime I press a specific button on the remote

I'm trying to decode my Panasonic television remote using the IR_RECEIVE sketch below. When I press the remote's buttons it works fine and Iget the values, except from when I press the power button - ...
0
votes
1answer
27 views

Keypad giving random inputs

I have a keypad like this: here is another, closer look at the bottom part. Basically, I want the LED to power the amount that I pressed. this is my code: int LED = 1; int inputs[4] { 6, 4, ...