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
0
votes
1answer
76 views

Logging data to SD card from software serial

I have an Arduino Uno and an Adafruit data logging shield and I have connected a digital pressure sensor that uses serial communication. The sensor requires a character to start transmitting data. I ...
0
votes
0answers
7 views

My HC-05 Bluetooth Module is not working

I have been trying to use the HC-05 Module with my Arduino Uno to control a LED, which can be turned on and off by my phone. Everything is fine when i input the values from the serial monitor. The ...
0
votes
0answers
12 views

Which Arduinos can support OTA firmware update?

I want to inquire about wireless sketch uploading to Arduino boards. Are there any reliable and easy modifications that would not risk permanent damage to the Arduino and preferably, be reversible? ...
1
vote
2answers
46 views

XBee using Serial rather than SoftwareSerial--how to fix

So I have a couple of XBee S2Cs, and I have configured them properly--they can in fact communicate with each other. I am using them with Arduino Unos and this shield: https://store.arduino.cc/usa/...
0
votes
0answers
16 views

problem sending data from hc05 arduino to processing?

I am trying to send simple string values from my arduino to processing via bleutooth using the hc05 module. I already paired the hc05 with my computer and got its port name as shown in the image below:...
1
vote
2answers
28 views

Current consumption of a buzzer

I want to use the buzzer KPEG2000 in my Arduino application. I would like to know if a GPIO can directly drive this buzzer, without destroy the uC (a GPIO can deliver 40 mA max). In the datasheet, we ...
0
votes
0answers
36 views

Unable to control servo with decoupling capacitor and external power supply, but motor shield works

I'm a hobbyist trying to up my arduino and electronics knowledge. I can successfully control a hobby servo using an motor driver shield (https://learn.adafruit.com/adafruit-motor-shield/overview) but ...
0
votes
0answers
24 views

UV sensor help!

I am creating a uv sensor. The sensor detects a certain amount of UV light and turns on the respective light (eg uv of 1-3 turns on a blue light). However I am getting an error: "expected primary-...
0
votes
1answer
31 views

Arduino UNO - Fluctuation of inputs and outputs

I have some pots (100K) on my Arduino board. When I raise the value of one those resistance other pots are being changed (Not too much but it's significant). I have no idea what's going on. I tried to ...
0
votes
0answers
16 views

Fingerprint sensor Arduino IDE code errors (Arduino Uno)

This code is for a fingerprint sensor. I keep getting the "function definition is not allowed before '{' token" error on the Arduino IDE. Any further corrections would also be immensely appreciated. #...
-1
votes
2answers
38 views

Make a set LED dimming schedule?

I'm trying to made the LED's go from minimum brightness to maximum brightness and back to minimum in 2.55 seconds. I really don't know where to begin. I have the following basic code for making it ...
0
votes
1answer
29 views

What are the better options to the basic Arduino Serial Plotter?

Arduino Serial Plotter does not allow analysis or saving of data. What are the best serial data graphing software (preferably free, but i don't mind if it's paid as long as it's better than the bare-...
0
votes
1answer
40 views

Why map Arduino pins 2 and 3 to Rx and Tx instead of using the build in Rx and Tx pins?

In many examples I see the following: #include <SoftwareSerial.h> const byte rxPin = 2; const byte txPin = 3; // set up a new serial object SoftwareSerial mySerial (rxPin, txPin); what is ...
0
votes
0answers
29 views

Arduino with external Wi-Fi antenna?

I need to create a project where I need to send data via Wi-Fi using an Arduino. I need the Arduino to have a U.FL connector to place an external Wi-Fi antenna (I can't use the MKR1000 with ...
0
votes
1answer
21 views

Will Funduino Joystick Shield work on a Mega?

I am trying to get a Funduino Joystick Shield working with an Arduino Mega and I need to use the WiFi capability. The specs I have found for the Funduino (see https://protosupplies.com/product/...
0
votes
0answers
26 views

PWM voltage appears to be low (~0.33V) and fails to trigger a PWM dimmer LED controller

I am attempting to use the Arduino Uno to tune the current on a SparkFun Femtobuck LED driver. The driver itself appears to work fine and outputs 0.33A when the PWM pins are not connected. However, ...
0
votes
0answers
13 views

I need to connect Arduino uno with esp-01 and relay control via Android application

I have trouble connecting to esp8266-01 through arduino uno and controlling relay via Android application or a local web server. I did a lot of research. I do not want to use esp-01 independently. ...
0
votes
1answer
24 views

How to read a specific amount of data via serial?

I'm trying to send data via serial from my Arduino nano to my ESP. Its an integer from 1 to 4 digits so something like 0, 13, 1234, 123, ... Every thing works fine but when the data comes too fast it ...
0
votes
1answer
20 views

analogRead Function AC Voltage Reading Capabilities

Usually when you sense AC voltage, you get a sinusoidal waveform. However, for AC voltage sources, Arduino analogRead ( ) only presents positive voltage values. So what's basically happening? Is it ...
0
votes
1answer
26 views

Control relay with both Arduino and DAQ at the same time

I want to control a relay with both Arduino and DAQ. Arduino is used as an embedded device for the control, while the DAQ is hooked up with a computer and performs the control with a user interface. ...
1
vote
1answer
26 views

What is the default setting for a digital output pin

With digitalWrite(pin_number,value), we can set an output pin as HIGH or LOW. But if only coding pinMode (pin_number, OUTPUT), what is the default state for the pin pin_number, LOW or HIGH? It is ...
0
votes
0answers
17 views

The same ground shared or not by plugging an arduino and DAQ to the same computer

I am wonder when I plug an Arduino and a NI-DAQ into the same computer, if the two device shared the same ground or not?
0
votes
0answers
13 views

iPhone and Bluetooth Silver Mate(RN-42)

I've been trying to connect an iPhone(iOS 12.3.1) with Bluetooth Silver Mate. I was finally able to connect them using HID and APL profile with authentication set to 1 & 2. I would like to send ...
0
votes
2answers
19 views

Timestamping AnalogBinLogger data

I would like to timestamp the data collected from AnalogBinLogger.ino on an Arduino Uno. The sketch uses 512-byte buffers, and I have read that writing data in 512-byte chunks is 'better' in terms of ...
0
votes
0answers
23 views

Controlling UC1638 Graphical LCD screen (C, with Arduino)

I am using Arduino Uno, trying to control LCD screen type UC1638 (240x128 monochrome) I want to fillup the screen in black). Searching up the internet I ended up using this code (written in C): /* ...
2
votes
1answer
35 views

Arduino Timer with increase time button

I have an Arduino project to do, which requires a countdown timer(which I've already done). I connected a push button, and when I press that button I need it to increase my countdown timer by +10 ...
2
votes
2answers
38 views

What is “tCAN” in codes of CAN bus?

I'm new to Arduino and CAN bus. I'm studying some code examples which contain "tCAN message". My guess it defines a class for of CAN messages. I did a lot of search but found no information on it ...
0
votes
1answer
42 views

Flashing ESP8266 ESP-12E/12F

I'm pretty new to Arduino programming and i'm trying to connect this ESP8266 module to my FTDI programmer but constantly getting this error on my ARDUINO IDE: esptool.FatalError: Failed to connect to ...
0
votes
2answers
43 views

Update time in RTC over I2c fails

I am communicating two arduinos using the I2C protocol and sending from the slave to the master the integer value of UTC to update the time in the RTC module. When the master receives the UTC value ...
-1
votes
1answer
47 views

AC Voltage Sensing using Arduino Uno

Is it possible to sense AC Voltage using analog input for Arduino Uno or can it only read DC? I mean I've tried connecting an AC voltage source to analog and I'm reading some numbers. However, I don'...
0
votes
1answer
31 views

why arduino can not write to server?

i write a code for Arduino + SIM800 for connecting to server. but it don't work! SerialGsm.println("AT+CIPSEND=63\r\n"); delay( 1000 ); receive_message(); SerialGsm.print( "GET http://sasasas.ir.ir/...
0
votes
0answers
20 views

Elegoo Uno R3 Shorting out after wire is plugged into 5v

I'm pretty new to Microcontrollers and I have mostly just a programming background. What I am trying to build is a device that uses the ultrasonic sensor to turn a LED on/off using the HC-05 ...
2
votes
1answer
32 views

Which sources of randomness are available? [duplicate]

I need a souce of randomness to generate a seed to pass to randomSeed. Where can I get this randomness from? Well, I hear I can read random noise from an unconnected pin. But I need to connect 9 ...
0
votes
1answer
36 views

Memory usage in AnalogBinLogger of SdFat library

The AnalogBinLogger.ino file of SdFat library says the following: Each 512 byte data block in the file has a four byte header followed by up to 508 bytes of data. (508 values in 8-bit mode or 254 ...
0
votes
1answer
21 views

Velleman KA02 not working on Mega 2560 r3

I have a Velleman KA02 audio shield. When I use this shield on an Arduino UNO R3 with this sample code, it works. And by "work" I mean when I interact with the Serial Monitor (by pressing Y, for ...
0
votes
1answer
37 views

Is it safe to power Arduino project using a power bank and wall charger?

I got an Arduino project that need a constant source of power. Rather than dealing with batteries, I want to use a power bank like this: Better yet, I want to keep the power bank plugged in to the ...
0
votes
1answer
31 views

0 temperature & hummidity DH11

Alright so I'm having problems with my code. Its my first time using DH11 I keep on getting that temperature is 0 degrees so as the humidity #include "dht.h" #define dht_apin A0 dht DHT; void ...
1
vote
1answer
589 views

Can I use the PWM pins as regular digital input/output pins?

In regards to the arduino which has pwm pins, can I use these pins as normal input/output digital pins or not? Thanks in advance.
-1
votes
0answers
17 views

MPR121 Capacitive Touch adding more touch capabilities

I wish to apologize beforehand as I am relatively new to this. The Arduino MPR121 capacitive touch has space for 12 pins and I would like to add more. I know you can attach four other boards but due ...
0
votes
0answers
33 views

Is my esp8266 is broken?

I am trying to use esp8266 with Arduino UNO. I connected the wired as this I even tried switching the tx->rx / rx->tx and I used this code: // RemoteXY select connection mode and include ...
0
votes
2answers
31 views

Load Resistor Use for Voltage Sensing by Arduino

I connected a piezoelectric film to a Arduino Uno board via analog input. However, as I was getting very high voltage values (reaching 5 volts without much movement). Therefore, I added a 1 megaohm ...
0
votes
1answer
30 views

ESP8266-01 is not working and it's hot

it has been so long since I tried to connect the esp8266 through Arduino Uno and get it to work my goal is to send data from the Arduino Uno to web site, I have tried everything and a lot of codes but ...
0
votes
0answers
29 views

So I am working on integrating a MLX 75306 linear optical array with Arduino

So I am trying to read the data from MLX 75306 linear optical array with Arduino, I know the sensors interfaces in SPI, and have connected to the correct SPI ports on the Arduino Uno but my biggest ...
0
votes
1answer
22 views

RTClib library the second, second

I'm using RTClib for my DS3231 module, the problem is the library is displaying the second without zero behind it: 22:1:1 and when i print the time on my 16x2 LCD time is displaying like this: 22:...
1
vote
1answer
51 views

What is causing this warning in Arduino IDE?

I'm using DS3231 module with rinkydink library and it is working just fine, however every time i want to compile the code Arduino IDE shows this warning: C:\Program Files (x86)\Arduino\libraries\...
0
votes
0answers
25 views

Can't get the right values with the pulse sensor and the LM35 temperature sensor . Reading 2 anolog sesnors

I am trying to combine the two sensors (pulse sensor using this library and LM35 temp)(on a Arduino UNO board),but there is a problem with them when is a noise at the pulse sensor .The values are ...
-1
votes
1answer
61 views

cross correlation of two analogread value on arduino? [on hold]

I am working on a final project called sound source localization using Arduino Uno. I want to use two sound sensor to capture a sound. The nature of the sound is clap or speech sound. I want to use ...
0
votes
0answers
24 views

invalid conversion from 'byte {aka unsigned char}' to 'void (*)()' [-fpermissive]

char auth [ ] = "8439"; // Wi-Fi credentials . char ssid [ ] = ""; char pass [ ] = "chan"; const int SENSOR_PIN = A0; const int RS = 0.5; const int VOLTAGE_REF = 32; const byte ButtonPress = 2; const ...
0
votes
0answers
33 views

how can i send get and post request from esp01 using arduino uno

I am using an esp8266 01 module with the Arduino Uno to establish a communication between the Arduino and my web site. I actually don't know how to send Rest HTTP requests from the Arduino to get data ...
1
vote
1answer
53 views

How to stringtok this long string? [closed]

I have a string, "id,port,password,ssid,delay,flag,class,category" Please tell me how can stringtok this and find out the "flag" value(0 or 1)? Here is what I tried: void setup() { char input[]...