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
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
28 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
14 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
27 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
25 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
39 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
40 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
62 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
47 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
48 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
21 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
34 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
40 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
22 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 ...
1
vote
2answers
74 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
42 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
622 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.
0
votes
0answers
37 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 ...
-1
votes
2answers
35 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
36 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
40 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
27 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
61 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
32 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
64 views

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

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
36 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
38 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[]...
1
vote
2answers
34 views

Connecting Function Generator to Arduino

I want to send a function generator's signal to an Arduino UNO Analog pin. Can I use an Oscilloscope probe connected to the function generator output BNC, set to 1x to connect to the Arduino headers ...
0
votes
0answers
38 views

Addresible led delay for 24 hours with arduino uno

Im working on a project with my addresible led strip and arduino uno I need 3 leds on the strip to light for 24 hours and then the next 3 leds on the strip should light up for 24 hours and so on. Can ...
0
votes
1answer
32 views

Water pump controlled by soil moisture sensor

I'm just learning to code in Arduino. The purpose is that first the sensor measures the moist level (I mapped the reading values from 0 to 100). If the value is less than threshold 70, then it will ...
0
votes
1answer
43 views

Public IP for Arduino with Ethernet shield and Arduino Uno

I'm new Arduino and I would like you to help me. I would like to have a public IP so that anyone can get access to it, not only from domestic domain. What could I do?. I'm using Arduino Uno, Arduino ...
1
vote
1answer
29 views

USing arrays, binary data and bitRead

This is my first manually typed code. I'm sure there may be some glaring "schoolboy errors" in it, so wondered if people could give it the 'once over' In particular, I have never used C++ arrays, ...
0
votes
0answers
61 views

How to Insert Data in Arduino's Direct Mysql

As inserted in a Arduino Mysql Direct Tablela I'm new to Arduino and would like to know how to do something in the code to make a copy in the database This code to pass the RFID and authorized ...
0
votes
1answer
55 views

Help combining digital and analog code in arduino programming

So I'm making a device that does 3 things, Measures frequency of an audio signal through a microphone Checks whether there is a weight placed on a pressure pad (my pressure sensor works through the ...
1
vote
1answer
39 views

Servo Motor in function

I have a project with 9 servo, I want to make a function to control each separate. Only that he is not accepting the servo as a parameter. Can someone tell me if it is possible to pass the servant as ...
2
votes
1answer
64 views

The arduino can't seem to output correctly

i am a beginner at python and I am average at Arduino and I had the idea of using both of them together for a project. I have been trying to make a Arduino + Python car which I can control with my ...
0
votes
0answers
14 views

Arduino menu coding problem by Keypad and 128*64 graphic LCD

I am trying to modify on the menu code to be able to use a keypad shield and arduino for scrolling between lines. after uploading and trying the code the following has happened: 1- I can not scroll ...
0
votes
1answer
49 views

Error conecting raspberry with my arduino in a serial port [closed]

Hi i am trying to make a comunication between theses device but when i am trying to run in my raspberry i have the follow error: Traceback (most recent call last): File "serial.py", line 1, in ...
1
vote
1answer
84 views

Garage door button with delay feature

I am working on an art project that involves a garage door opener. I am very new to Arduino, and electronics. I have a starter kit with a ton of accessories. The garage door opener has 2 screws (...
0
votes
1answer
51 views

How to start a dendrometry dimension build (Dimensions of Trees) for research?

I am looking to build a device that can measure the dendrometry fluctuations of trees (etc). I essentially want to build this https://publiclab.org/notes/kinasmith/09-09-2016/dendrometers to a t but I ...
-1
votes
1answer
36 views

One Led and 2 buttons [closed]

I need to switch on led with pushing button number 1 , and during 3 seconds it should stay on, and if I push button number 2 during this 3 seconds led should turn off. In other case after 3 seconds ...
0
votes
1answer
53 views

How to use while loop in arduino for infinte loop

I am doing code of esp while switching hotspot for connecting esp i am getting some problem . I am using this line of code: while ((!esp.find("WIFI ")) || (!esp.find("+CWJAP:3"))); but it is not ...
0
votes
0answers
28 views

How to read voltage value from arduino to esp32

I am learning Arduino(uno)-ESP32 basics for a hobby project. In Arduino sketch, it's writing some random value(mimicking a sensor) to Arduino analog pin 9. const int analogInPin = A0; // NOT ...
0
votes
0answers
21 views

Arduino Stepper motor control programming problem

I want to control the speed and position of stepper motor by a 4*4 keypad and monochrome graphic lcd interfaced with arduino. some open sources gave me good hint points to start controlling the ...
-1
votes
1answer
45 views

OLED shield for wemos d1 mini pro not staying on

I recently bought a wemos d1 mini pro to toy with wifi and bought a oled shield with it. I've been looking on youtube and github for software and I finally found the software and got it to load onto ...
1
vote
2answers
58 views

Arduino simple resistors in series

Silly question but how would a circuit be set up with Arduino where two different resistors are in series but one has an unknown value (i.e. is just a piece of metal for example) and so how would we ...
0
votes
1answer
32 views

Sending sine wave from MATLAB and reading on Arduino Uno [closed]

I am working on timing issues associated with sampling data at high rates and storing it on an SD card (ADC delays, clock drifts and file I/O time). For this experiment, I thought of sending a ...