Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. 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
-2
votes
2answers
280 views

running gba files in arudino [closed]

Can I run GBA files on an Arduino or make an emulator? I have a 2.4" tft touchscreen and a controller - is it possible to make? Can anyone give the code for running GBA files in Arduino?
-2
votes
1answer
77 views

I want to change my “serial monitor” command to push button command for IR cloning project [closed]

void loop() { char data[6]; int index = 0; delay(1000); //Serial input seems to need some kind of short delay or the data gets screwed up. while (Serial.available() > 0) { //...
-2
votes
1answer
799 views

How to turn on Solenoid based on Soil Moisture value?

I am powering solenoid with 24 volt as required however I am using TIP122 transistor that has base connected to Arduino Digital Pin 6 via a 1K Resistor. And the collector is connected to negative ...
-2
votes
2answers
235 views

Arduino & ESP8266

I connect my ESP to Arduino to my PC. If I send AT commands from my serial monitor, I receive full response. I use 115200 and both NL & CR in my serial monitor. ESP TX is connected to TX Arduino,...
-2
votes
1answer
43 views

use more no of batteries for more current for servos,why using motor shield? [closed]

motor driver is for current amplification.for that we could connect more batteries to servos to get more current.but why are we using motor shields?
-2
votes
1answer
124 views

can i unplug my Arduino project when i'm done installing the libraries and it still work the way it did when it is plugged in [closed]

can i unplug my Arduino project when i'm done installing the libraries and it still work the way it did when it is plugged in
-2
votes
1answer
52 views

Is there any realy working setup for multicopter with codes

I'm searching pc controlled quadrotor code projects. I tried to do strangedev's project but not works for me. Is any one test this project. PID commands works like relays. suddenley speeds up and ...
-2
votes
2answers
276 views

How to Display data from Strings?

I am working in an interactive project in displaying texts in POV which people can click to generate different texts automatically. I wrote a String to store the text first, but it seems cannot ...
-2
votes
1answer
7k views

Sample average of analog of current sensor

I have two problems in the code below. This ACS712 sensor is too noisy so I am not getting the count value properly, since I need approximate reading I consider curve is linear, and calculate the ...
-2
votes
1answer
226 views

How does one build a door motion sensor project with Arduino Uno board to send alerts to an Android Phone? [closed]

What are the materials I will need for the project? We want the project to work like this: When the door is opened, we get an alert to our Android Phone. What is the circuit structure going to look ...
-2
votes
1answer
433 views

Receive SMS example gives me a garbage values

When I run my Receive SMS example code, By default every time I get the same thing.I am trying to send sms to my sim card present in the Arduino GSM shield. I don't want this message. How to solve ...
-2
votes
1answer
78 views

Arduino Code 'Bug'

I'm sharing my code.. The problem I am facing is that the code performs all the functions that are to be called except showing the MAX30100 (for heart rate) readings. I have tried this code using ...
-2
votes
1answer
329 views

GPRS Based OTA to the NODEMCU [closed]

I need the OTA firmware update. I have the only option in my hand GSM(GPRS SIM800), with the help of this is it possible OTA, plz help me for this how I Do OTA via GPRS, FYI, I completed OTA Via WIFI.
-2
votes
2answers
786 views

not able to resolve “a function-definition is not allowed here before '{' token ” [closed]

I, being new to Arduino started off by making a simple lcd watch which also shows the temperature. Everything was working fine untill this error came up "a function-definition is not allowed here ...
-2
votes
1answer
271 views

I have to print the PMS7003 sensor output to a 1.8 TFT. My code works fine without the TFT part getting merged. Please help ASAP [closed]

#include <SoftwareSerial.h> #include <SD.h> #include <TFT.h> #include <SPI.h> //#include <Adafruit_ST7735.h> //#include <Adafruit_GFX.h> // //#include <Wire....
-2
votes
2answers
64 views

Every loop other case [closed]

I need to achieve that in every loop my Arduino do other thing. Say in first loop do one thing, in second do second thing and in third loop do third thing. And again. And while doing one thing, other ...
-2
votes
1answer
89 views

Power supply for a set of components for IOT smart switches [closed]

I am trying to build my own IOT smart home and as a first step, I used the following components to build a module to control ligts and fans: Atmega 328P - to control the 8 module relays NodeMCU - ...
-2
votes
2answers
169 views

How do I get status of contactors using Arduino (more than 50 contactors)

I am new to Arduino. Sorry if my question sounds wrong. Interest areas: Multiple devices inter-connected on the cloud. Single GSM for equipment in a typical panel connectivity for non-electrical ...
-2
votes
1answer
102 views

Does a Sparkfun Redboard Arduino Uno have built-in RTC?

I have a Sparkfun Redboard (an Arduino Uno like board based on the Atmega328P and programmed with the Arduino bootloader). I have been trying to make an accurate clock without an RTC with an LCD ...
-2
votes
2answers
125 views

Connecting my Arduino with Bluetooth [closed]

What I want to do is to create a temperature measurement bracelet that you wear on your wrist. So it takes data from the sensors and sends them to the PC. What I am using to do that: an Arduino Uno a ...
-2
votes
1answer
372 views

Arduino JSON extract using ArduinoJSON Library [closed]

I'm having a problem extracting the Object/Array from this sample json [ { "sensor":"gps1", "time":1351824120 }, { "sensor":"gps1", "time":1351824120 } ] Would anyone ...
-2
votes
2answers
640 views

Please help explain the meaning of '\n' and '0'; [closed]

Please help explain the meaning of '\n' and '0' in the lines if (isdigit(readValue) && readValue != '\n') { cellValue = cellValue * 10 + readValue - '0'; }
-2
votes
1answer
487 views

Why is the piezo buzzer not looping/making sound? [closed]

/* */ void setup() // Built in initialization block { Serial.begin(9600); Serial.println("Beep!"); tone(4, 3000, 1000); // Play tone for 1 second delay(1000); // Delay to finish tone } void ...
-2
votes
2answers
7k views

How could I make PWM pure sine wave 50Hz signal with Arduino UNO? Does Arduino support the code? [closed]

I am looking for the code, high frequency PWM pure sine wave 50 to 70HZ signal with Arduino UNO.
-2
votes
3answers
554 views

Passing a substring to a function or sub

I'm trying to send each character of a string object to a subroutine. I'm using the following code to do this, but it doesn't work: string sInput = "some text" for (int i=1; i < sInput.length(); i+...
-2
votes
1answer
2k views

Arduino car parking program help

Here is a program and circuit diagram of an Arduino-based car parking (copy pasted from http://www.arduining.com/2012/10/13/arduino-parking-lot-filled/ ) I want to replace the Exit and End switch with ...
-2
votes
1answer
672 views

Making games on Arduino [closed]

I have an Arduino and a 2.4 inch touchscreen. Is it possible to make a game like Pokemon Emerald? I have a controller. Can anyone give the code for this game?
-2
votes
1answer
60 views

Connecting an optris to an arduino uno to send and receive hex strings

I have an optris CT IR sensor, data sheet below. Is it possible to connect the Uno to the sensor, so I can send a hex string (01) and hopefully receive a hex string from the sensor (04 D3)? https://...
-2
votes
1answer
61 views

Uploading codes [closed]

Can I upload code for line follower,sonar,bluetooth together on arduino uno r3? I want to fit all these parts together in one chessis.I will separate them using switch.
-2
votes
1answer
3k views

LCD does not work with if condition

#include <LiquidCrystal.h> #include <Wire.h> LiquidCrystal lcd(2, 3, 4, 5, 11, 12);// initialize the library with the numbers of the interface pins int pirPin = 7; //Variable that will ...
-2
votes
1answer
229 views

Why won't processing not communicate with Arduino uno?

I downloaded the Processing language and ran the "Hello World" program to test it. The message appears in the Serial console but not on the Processing console. It prints "null" only. I am using the ...
-2
votes
5answers
3k views

BH1750 Light sensor always giving output as 54612lx

urgently need some inputs, Connection: VCC-5v GND-GND SCL-SCL(analog pin 5) SDA-SDA(analog pin 4) ADD-NC or GND Code pasted below used library from GIT : https://github.com/claws/BH1750 #include &...
-2
votes
1answer
1k views

Timestamp in Arduino

int sensorArray[32] ; int selectPinZero = 8; int selectPinOne = 9; int selectPinTwo = 10; int selectpinthree=11; int Enablepin=7; int inputPinOne = 0; int inputPinTwo = 1; int sensor1; int sensor2; ...
-2
votes
0answers
18 views

my IRremote code is not working I'm not sure what's wrong?

void loop() { if (irrecv.decode(&results)){ Serial.println(results.value, HEX); irrecv.resume(); switch(results.value){ case 16582903: for(int s=0; s<...
-2
votes
1answer
29 views

Can an arduino Uno control led, sound and smoke?

I'm pretty new to this and I've not seen anyone answer this question yet - so I figured I would ask. I have a vape mod that is set up to expel smoke with a trigger. I want to merge this trigger to ...
-2
votes
2answers
67 views

How to read distance of passing object?

Ok, guys this is my first post and I am new to Arduino but somewhat familiar with programming so I hope you guys can assist me. If any of this is confusing, I apologize in advance! :) I want to be ...
-2
votes
1answer
41 views

Write and read problem while interfacing 93LC46B EEPROM through SPI

I try to save and read data from 93LC46B EEPROM using SPI with Arduino UNO. I'm following this article https://www.arduino.cc/en/Tutorial/SPIEEPROM . So far I have correctly connected EEPROM pinout (...
-2
votes
1answer
95 views

How to use I2C library

My A4 and A5 pins are already hooked up to a LCD and I want to connect a MPU6050 as well. In a separate thread, someone told me to use SoftI2CMaster library to use other pins as SDA ans SCL. But I don'...
-2
votes
1answer
210 views

Arduino Uno with ESP8266-01. Is that any alternative way to connect Arduino Uno to Wifi [duplicate]

I have bought an ESP8266-01 Wifi module last month, and I am trying to connect Arduino Uno to network so that I could connect to the MQTT broker. However, I failed to upload the sketch/communicate ...
-2
votes
1answer
21 views

How to write a code to detect how many times the IR detector has detected an IR signal… HELP [closed]

I am trying to write a code so that I can detect how many times the IR detector has detected the IR signal from the IR transmitter.
-2
votes
1answer
48 views

Help with my project on motors using the Arduino Board [closed]

I was given the task of being able to drive two motors in the forward direction, able to drive two motors in the reverse direction, and they must be able to drive each motor independently. I was ...
-2
votes
1answer
369 views

SOMETHING WRONG IN DHT22 PROGRAM showing error as expected unqualified id before'. ' token

I am using a arduino and dht22 sensor for my project purpose annd gettting error as expecte before unqualified '.' token MY CODE IS : #include <DHT.h> #include <LiquidCrystal.h> #...
-2
votes
1answer
35 views

Can I code in Arduino depending up on LED status? [duplicate]

I have to count the blinkings of an LED. For that IF (LED = ON) { COUNT=COUNT++ } Else { } Can I code like this algorithm? In Arduino is it possible?
-2
votes
1answer
62 views

Arduino GSM shield code help

Trying to run the below code but getting the following error message: exit status 1 expected unqualified-id before '==' token Code is as follows: ============================================== = ...
-2
votes
1answer
218 views

Displaying 3 hex bytes sent to serial port on an OLED display

I am new to Arduino and I'm trying my first Pro Mini. I was able to find OLED display code from github that runs perfectly. My problem is trying to show 3 hex bytes sent by a remote control decoder ...
-2
votes
1answer
1k views

ESP32 wifi module [closed]

I want to connect my arduino uno rev3 to wifi. The best option I found was esp8266. After searching about it I found that it is succeeded by esp32. But I am not able to find much information about it. ...
-2
votes
0answers
113 views

ESP8266 stops reponding [closed]

I have my esp8266 connected to arduino UNO and I use it to turn on/off a relay, it works perfectly fine when I use a light bulb, or low power devices, but when I use a fan, after a couple of switches, ...
-2
votes
1answer
895 views

how can I combine two 2 digit 7 segment display to a single arduino uno [duplicate]

One of the two digit 7segment display will read its values from a smoke sensor while the other will read its values from a temperature sensor. From what I have seen in textbooks recently;each segment ...
-2
votes
1answer
2k views

How to work with arduino softwareserial communication using HC-05?

This is my first project using bluetooth module HC-05.i am using two of this module.one is with arduino nano(slave) and another one is with arduino uno(master).I have paired them through AT commands . ...
-2
votes
1answer
284 views

How to include Voltage code in 4 digit 7 segment dislay

As a continuation of my question. Here's the code for controlling the 4 digit 7 segment display: int a = 2; int b = 3; int c = 4; int d = 5; int e = 6; int f = 7; int g = 8; int p = 9; int d4 = 10; ...