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
0answers
4 views

Ethernet Shield - Not Working Properly Always

I'm working on a school project and using Arduino Uno. The basic working method for the project is as follows: Read temperature from LM-35. Read CO2 level in air using MH-Z14A. Upload data to server ...
1
vote
1answer
12 views

How to combine strings and text together?

I'm trying to combine two strings (strings/int) together with text in below code: int foo = String((char*)payload).indexOf(' '); int message1; int message2; message1 = String((char*)payload)....
0
votes
0answers
13 views

error: 'View' does not name a type

The code seems to be good, but I get the mentioned error. Let's have a look at the code: view.h #ifndef _VIEW_H_ #define _VIEW_H_ #include <Arduino.h> #include <ds3231.h> #include "info....
0
votes
0answers
17 views

Nested “switch” statements menu

I know that menus were discussed perhaps a thousand times here and everywhere. But using a ready solution is not something that I'm looking for because I know I won't learn the concept if I use them. ...
0
votes
0answers
11 views

ESP-13 WiFi shield - “error: espcomm_upload_mem failed”

I am creating a web server with Arduino and a ESP-13 WiFi shield. The wiring is as following: Arduino UNO || ESP-13 WiFi shield 5V || .5V GND || GND TX || RX RX || ...
0
votes
1answer
48 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 ...
-2
votes
0answers
18 views

Arduino DHT11 sensor not working [on hold]

I've connected my DHT11 sensor to a digital pin and supplied it with 5V DC, and when I print the humidity to the serial monitor, it keeps on showing -999%. What do I do?
0
votes
1answer
38 views

Failsafe Arduino

I want to read an RFID tag using an Arduino, which controls some relais. This is easy. For me the more complex part is to build it fault-tolerant. So I thought I could use the watchdog. The tricky ...
0
votes
0answers
14 views

No matching function for call to 'TembooChoreo::TembooChoreo()'? TembooChoreo SendSMSChoreo; Error Help

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" C:\Users\user\Documents\Arduino\intruderAlarmTest\intruderAlarmTest.ino: In function 'void loop()': intruderAlarmTest:46:18: error: no ...
0
votes
1answer
26 views

Error code board and boards.txt? Formatting error? cannot verify alarm.txt or any

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" Error reading file (E:\arduino\arduino-1.8.8\hardware\arduino\avr**\boards.txt:0**): Invalid line format, should be 'key=value' Error ...
0
votes
1answer
18 views

iBus transmission and read it in Arduino

I am using an Arduino Uno and I want to transmit data from FSi6 to FS-iA6B and read received data in an Arduino. After searching, I found the below link which is iBUStelemetry. iBustelemetry I am ...
0
votes
0answers
33 views

pin voltage output from ir send is too low [on hold]

I'm trying to use Arduino to send IR code through an infrared LED to my TV and haven't found luck so far. My schematic looks similar to the one at https://electronics.stackexchange.com/questions/...
0
votes
1answer
79 views

Need some help on a very small project [duplicate]

Apologies for the simple question, I really couldn’t find any help online with this as when I kept searching, the results had lights that had way too much voltage compared to what I need. So I have a ...
0
votes
3answers
63 views

Do I need a pull-up/down resistor for button LED circuit?

When reading up on how to make a circuit that turns an LED on when a button is held down, I keep finding people saying a pull up or down resistor must be involved, to avoid the flickering state of the ...
0
votes
0answers
19 views

Using TCA9548A to read 30 ADCs

I want to read 30 differential ended analog sensors. Using ADS1115 16 bit this is possible, but we end up having only 4 address on I2C, so i chose TCA9548A breakout board with 8 I2C multiplex channels,...
-1
votes
0answers
20 views

Can I control the speed and direction of 4 brushed dc motors with arduino uno and shield? [duplicate]

I want to use the arduino uno and the Adafruit Motor Shield v2. I'm looking for the cleanest set-up to control 4 DC brushed motors. I want to make all the motors spin CW at the same speed ...
0
votes
0answers
13 views

Serial communication with a module [on hold]

I want to send this command (B0 C0 A8 01 01 00 1A) to another module (via serial communication , ttl interface.), how can I send it and how i can see the replay?
3
votes
3answers
75 views

How do I make a Servo Stop if it Hits Resistance?

I am trying to make a device which will turn a turn key with a servo. However, I want it to stop turning the turn key if the resistance is too great (meaning it is locked and will not ever turn). ...
0
votes
0answers
23 views

Arduino Uno and FastLED WS2812B Glitching

I’m using an Arduino Uno and a fastLed WS2812B. I have the leds set up correctly. Every 2 seconds, the lights pause of about a second and display seemingly random colors. Does anyone know what's ...
0
votes
2answers
35 views

Array is affecting digitalread values

i want to turn on an led with two buttons. If either of the buttons is pressed i want the led to turn on while the button is pressed and stay off if nothing is pressed. i have two sets of code, they ...
0
votes
1answer
26 views

Can I control 4 DC Brushless motors with arduino uno and Adafruit motor shield? [duplicate]

I need to control 4 DC brushless motors. I have no experience with arduino or coding. After some research the cleanest setup seems to be using the Adafruit motor shield, however the motors I'm using ...
0
votes
1answer
28 views

Starter kits? What's the difference between nano? [on hold]

I'm currently looking at https://www.amazon.com/EL-KIT-008-Project-Complete-Ultimate-TUTORIAL/dp/B01EWNUUUA/ref=sr_1_3?ie=UTF8&qid=1547283508&sr=8-3&keywords=elegoo and https://www....
0
votes
1answer
32 views

Arduino Obstacle avoiding problem

I'm just a new beginner and I'm doing my first project which is Obstacle avoiding robot!I use L298N motor shield, ultrasonic sensor for my project. My problem is that I try to test my ultrasonic ...
0
votes
1answer
48 views

Am I able to set up a code where I can have two ways of turning something on?

I am pretty new to Arduino. I've created a code with the help of many YouTube tutorials to control a servo with a button. I decided it has gotten a little un-exciting so I've been trying to add a ...
-1
votes
1answer
31 views

Attempting to read random string from SD card

I was wondering if anyone knew how to read in a random string from a file named "PhraseList.csv" or "PhraseList.xlsx" (whatever is easier)? There is a list of 10k. #include <SD.h> #include <...
1
vote
2answers
47 views

Can Arduino Uno R3 board remove chip on the board

First off, got my Elegoo Uno board as Christmas gift, so this is all new to me.  Here is my problem, I built an motor project and the chip has been programmed. Can I remove the chip from the Uno ...
0
votes
0answers
10 views

Having trouble using HM-10 with my arduino

I am using the HM-10 bluetooth module with an Arduino Uno. I am able to connect HM-10 to my phone just fine using the app lightblue. My issue is that I cannot use AT commands and by that I mean ...
0
votes
0answers
44 views

SIMCOM SIM900 AT+QAUDCH=x; returns ERROR

For some reason, some commands return ERROR, like AT+QAUDCH=1 (headset). I tried unplugging the headphones and the mic and it didn't work. code: #include <SoftwareSerial.h> SoftwareSerial ...
0
votes
0answers
31 views

Comfort zone environmental sensor [closed]

Humans need a very specific set of environmental conditions for their wellbeing, mainly temperature, humidity and illumination. I would like to create a device that can tell how comfortable a certain ...
0
votes
1answer
24 views

Assign and control Digital pin from String

Here is modified version of Blink example #define D8 13 String p = "D8"; // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin ...
0
votes
0answers
45 views

Serial.read() keeps returning the same value over and over

This code keeps on returning 'S' with the Serial.read(). #include <Servo.h> #define trig 10 #define echo 9 int pinMotorRN=3; int pinMotorRP=4; int pinMotorLN=5; int pinMotorLP=6; long distance; ...
0
votes
1answer
43 views

Lines not pulsed fast enough (?))

Should this code pulse the PB3 and PB4 pins (MOSI and MISO of an Arduino Uno) at 2ms interval ? #include <avr/io.h> int main(void) { // for (byte i = 0; i < 32; i++) // pinMode(i, ...
0
votes
0answers
15 views

Sleepmode for arduino [closed]

i have a project to done which is An arduino should send sensor data via bluetooth to raspberry pi so my quetion is, is it anyway to make the arduino bluetooth into sleepmode? because i want save ...
0
votes
0answers
33 views

Uploading my code gets an error : permission denied on Ubuntu 16.04

I have faced this problem for few years ago and I solved it on Ubuntu 14.04 but I don't know why my solution doesn't work right now on Ubuntu 16.04 The Error : avrdude: ser_open(): can't open ...
0
votes
1answer
37 views

Is connecting a 9V battery to a 3-6V pump and a 5V relay module necessarily? [closed]

I'm making a self watering mini greenhouse with the NodeMCU. When the plants are below a certain value the submersible pump should be pumping water through a tube. Im using a 1 channel relay module of ...
0
votes
0answers
28 views

How do I spilt a string of data into four different parts [closed]

The string has seconds, miles away from our point and latitude and longitude, and all we need is the lag and long 4271.645999999997,s,28.00301266666665,mi,28.48737418308778,N,-81.36210510944983,E. we ...
0
votes
1answer
37 views

Voltage sensor Calibration

We had used a voltage sensor unit to measure the voltage of the odroid board using an Arduino Uno. wWhen I uploaded the sketch and got the output, the value which was being displayed was around 4.7 to ...
0
votes
0answers
31 views

How can I control 4 DC brushless motors with an Arduino Uno? [closed]

I need all the motors to simultaneously spin at 80 rpm in the clockwise direction. I am looking for the cleanest set-up, along with the code. I have very limited experience coding or working with ...
0
votes
2answers
36 views

Identifying a device from 10cm using Arduino [closed]

I'm developing a project using Arduino for the opening of bus doors. The bus door should open only if it is at the bus stop and is stopped. To judge if the bus is inside the bus stop I thought of ...
0
votes
0answers
17 views

append a String on ArduinoJson Object value

I've a json string request coming from server and I convert it into json object StaticJsonBuffer<500> jsonStaticBuffer; JsonObject& root = jsonStaticBuffer.parseObject(String(msg)); ...
0
votes
1answer
32 views

SIM900/Arduino UNO R3 serial communication not working

For some reason I cannot establish serial connection between the two devices. The shield is connected to the network because my number can be called, but I cannot send it any commands via the serial. ...
0
votes
0answers
16 views

Communicate with 2 Raspbarry Pi [closed]

I would like to know if it is possible to make an arduino (uno or mega) send information to 2 Raspberry Pi. It would be ideal to make it via the serial or i2c. Thanks in advance.
0
votes
1answer
15 views

2.8 inch tft LCD displays / Max Brightness / Startup White Screen / mirror text for Head Up Display Usage

hi does anyone know how to 1) set Max Brightness 2) change the start up splash screen from being white to black 3) how to change settings so that text can be mirrored so when display is reflected ...
1
vote
2answers
31 views

Command through Serial monitor does not properly work in Arduino

I am executing a function in Arduino by giving String input to the serial monitor. The issue here is when i enter "SHOW$" (without quotes) the function showData() works but when i enter the same "...
1
vote
1answer
8 views

Calculate burden resistor value of current transformer and measure ac current with arduino

I Want to measure AC current with current transformer but i dont know exact value of burden resistor or calculation formula...i want to measure current of borewell pump. company specified pump as 1....
0
votes
0answers
37 views

USB Host can't understand how to send and get data

I need my Arduino to communicate with a USB device. The Arduino will be the host, so I need USB Host library, but I can't understand how to start coding. On the documentation of the device I see: I'...
1
vote
0answers
14 views

Seeed CAN Shield - Not receiving extended CAN-Message

I want to receive an extended CAN-Message. I send a extended CAN-Message, but nothing happens. Maybe somebody have an idea what the problem is.. It works with a standard CAN-Message. Thanks in ...
0
votes
1answer
23 views

How do I keep track of the time passed in this code? (PCR machine)

I am desperate need of help with my code. It is meant to be a biology project (a pcr machine) and I struggle with inplementing a time tracker. Everytime the cyclus goes to a function, I need it to ...
-1
votes
1answer
20 views

Interfacing MPU6050 with Arduino uno [closed]

What is the meaning of "volatile bool mpuInterrupt = false; " in Arduino Program interfacing MPU6050?
-2
votes
1answer
58 views

How to communicate between Arduino and another Arduino [closed]

I would like to establish a serial communication between two Arduino and I wrote the following test code. Receiver Arduino sketch: void setup() { Serial.begin(4800,SERIAL_8E1); } void loop() { ...