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

How to Calculate RGB Color Values from the Lux datas in TCS34725 with Arduino) [duplicate]

I am using the following program #include <Wire.h> // TCS34725 I2C address is 0x29(41) #define Addr 0x29 void setup() { // Initialise I2C communication as MASTER Wire.begin(); // ...
0
votes
1answer
26 views

Arduino Video Feed (Building Zumo Robot)

I'm building a Zumo robot with my daughter, but I have very limited experience and knowledge with programming and electronics. Pictures of the equipment I have are in this link and the last picture ...
1
vote
1answer
28 views

Arduino UNO Low-Power Consumption (Multiple Ultra-Sonic Sensors)

I've read post that it's possible to connect multiple Ultra-Sonic Sensors to one Arduino. But I have a few questions: If I use Arduino Uno, what is the maximum number of Ultra Sonic Sensors that I ...
0
votes
2answers
3k views

Elegant solution for refreshing TFT display content?

I'm currently drawing black boxes over old content before displaying constantly refreshing content on my display, so for instance to display temperature: if (sensorTemp != nowTemp){ nowTemp = ...
0
votes
2answers
32 views

How to calculate illuminance from the output of a TCS34725 color sensor?

I am using Arduino UNO with the sensor with the following programm. #include <Wire.h> // TCS34725 I2C address is 0x29(41) #define Addr 0x29 void setup() { // Initialise I2C communication as ...
0
votes
0answers
31 views

How to store sms after reading it using sim800l? [closed]

I am able to read a message using sim 800l but I am unable to store it for later use.I wish to compare the message received with another string present in the program.If both strings match I will ...
0
votes
1answer
226 views

White screen when I perform grapicstest in ili9341

I get a white screen when I perform grapicstest in ili9341. I used the below code: #include "SPI.h" #include "Adafruit_GFX.h" #include "Adafruit_ILI9341.h" // For the Adafruit shield, these are the ...
0
votes
1answer
32 views

I´m trying to make a kind of videogame with Arduino UNO

it´s a school project, but I'm having some problems to create a menu selection. In the LCD, all the character are overwriting, I'm a beginer, so i dont have any idea of what i was doing wrong (ps.: ...
0
votes
0answers
29 views

Read data from 16*2 LCD Display [closed]

I am working on a project. Which is basically controlling and checking the state of a 3rd party machine. I have to switch the devices manual buttons with my arduino MOSFET operation( successfully ...
0
votes
1answer
20 views

Communication between three NodeMCUs such that one in in AP mode, second one in AP+STA mode and the third NodeMCU in STA mode

I am able to establish a connection between first and second NodeMCU, but unable to do so for the third nodeMCU. I used the IP address to establish connection. Should I assign a different IP to each ...
0
votes
1answer
141 views

ESP8266 HTTPS post body request with WifiClientSecure

Is there a way to post HTTPS body request in Arduino esp8266. I am able to HTTPS parameter request with WifiClientSecure library,but is not safe compared to Request Body send in POST.
0
votes
0answers
16 views

How to transmit data from a sensor using SIM800L?

I am using soil sensor with Arduino UNO. I wish to transmit data coming from sensor to a server using sim800l. I am unable to find any help on this. please guide me.
0
votes
1answer
24 views

TSX0108 logic level converter not working

Am trying to setup logic level converter with arduino for eps8266 WiFi module. Am using this logic level converter but it’s not working not sure what am doing am not getting any output. My circuit ...
0
votes
1answer
102 views

Arduino freezes while running code

I am frustrated with my arduino project can you help me? I am using Arduino Uno, electric lock (high/low), 4 distance sonic modules. Basically I have 4 drawers, I am measuring the distance - how much ...
0
votes
1answer
37 views

LCD displays bad character while counting rotation

I have been practicing RPM and rotation counter in arduino using infrared optocoupler. I try to implement number of rotation for drill machine but whenever drill starts to rotate, LCD prints bad ...
0
votes
1answer
30 views

Everything is ready for project . I have one doubt! I am using transmitter + Arduino *Uno*..and receiver + arduino *nano* will it work?

Everything is ready for project except hardware! I have one doubt! I am planning to use transmitter of Arduino Uno and receiver of Arduino Nano. Will it work? Both Uno and Nano obey for same ...
2
votes
1answer
58 views

Run light sequence function continuously in if statement

My goal - run light sequence function on momentary button press (button 2) continuously until another of the 3 momentary buttons are pressed. /* switch * * Each time the input pin goes ...
0
votes
0answers
25 views

AV to OLED Breakout [closed]

Just for fun, I am thinking about getting an composite video output (not audio) and putting the output on a SparkFun OLED Breakout. However, the most coding I have done is a blink function for my ...
0
votes
1answer
27 views

Soft wdt reset error on NodeMCU (ESP8266)

I am getting error on Serial monitor Soft WDT reset. I decoded the error code also and found the following stacktrace. I am using SIM808 module and DFRobot_sim808 as the library. 0x4010030d: ...
0
votes
1answer
35 views

What does (byte*)variable_name mean in C++?

Gentlemen, I am a novice C++ programmer, When I was trying to learn how to use EEPROM with Arduino, I came across this statement i2c_eeprom_write_page(0x57, 0, (byte *)somedata, sizeof(somedata)...
0
votes
1answer
2k views

No such file or directory compilation terminated

I tried a simple blink for my fingerprint sensor which is GT-511C1R, but I have experienced of having an error. FPS_Blink.ino:12:26: fatal error: FPS_GT511C1R.h: No such file or directory ...
0
votes
3answers
41 views

Arduino Uno not working after Short-circuit

While wiring up my new Arduino Uno R3, I accidentally shorted the 5V pin and the GND pin (for less than a sec). It was powered by a 12V 500mAh power supply through the Arduino DC power jack. . The ON, ...
0
votes
2answers
191 views

Using the YS-IRTM with an Arduino Uno

Picked up a YS-IRTM IR Transmitter/Receiver module to do some testing for a project. There's not a lot of details on it but eventually came across two very important sources: Translated Module ...
0
votes
1answer
35 views

Missing bytes sended through serial from C# app

I am trying to store values sended by C# app in EEPROM via Arduino UNO. Here is a C# code that reads bytes from file (I'm 100% sure that there are, and always will be 256 bytes) and sends the buffer ...
2
votes
2answers
99 views

Arduino UNO and RS485 Communication Problem

I am learning Arduino, a beginner in programming. I want to use Arduino UNO to connect a wind direction sensor RS485. The problem is the output in the serial monitor, the return data from the wind ...
0
votes
1answer
2k views

Error compiling, access is denied

I have a problem compiling and uploading code to my Arduino. I was looking up how to do this. I've tried to uninstall and re-install and tried to install some driver, but it always ended up like this. ...
0
votes
4answers
95 views

Can I do something like this to simplify the code for arduino?

Can I simplify the code in arduino where it doesn't promote any error. Example: Int led =13; Blink = digitalWrite(led, HiGH); delay(1000); digitalWrite(led, LOW); ...
0
votes
1answer
29 views

Using Arduino fix_fft or arduinoFFT library to filter some specific sound?

I would like to know if there is a way to filter some specific sound using FFT on arduino. For instance, there is wind sound frequency in my analysis and I want to take it off. I searched for that a ...
0
votes
3answers
16k views

Very Basic Arduino Uno Serial.readString() operation

I am very new to Arduino Programming. I am trying to identify the input string from serial monitor and printing the output to the console accordingly Code is : void setup() { Serial.begin(...
0
votes
1answer
35 views

Using Arduino to Record analog signals with SPI ADC + Sampling Rate Issue

I am using Arduino UNO to Read 8-channel, 24-bits resolution Analog signals using ADS1299 Analog-fornt-end. ADS1299 use SPI interface to talk with Arduino. Currently, I can record the analog signal ...
0
votes
1answer
55 views

Programming a switching AC current?

I tried using this code to output AC power from one H-bridge and then another, switching every second, but when I connected a motor to it, it just seemed to output direct current. This is the code I ...
0
votes
1answer
53 views

How do I convert this program to assembly from c++

I am trying to implement a program in assembly code for an Arduino UNO. A potentiometer is used on an ADC pin for variable time (t). LED1 flashes for t seconds, then stays on for t seconds, then goes ...
0
votes
1answer
396 views

Reading RAM from SH1106 OLED Controller through I2C

Summary: I'm having trouble with writing a program to get RAM data from an SH1106 OLED controller via i2c. In the first part of the question I've written the assumptions I've made to get informations ...
3
votes
1answer
424 views

RF24Mesh master-base node communication delay

I'm trying to build a mesh network using 4 nRF24L01 modules directly connected with Arduino Uno where 1 module is master node and the rest are base nodes. The workflow is exactly as follows I'm ...
0
votes
1answer
57 views

Program is working wrong while melody playing

My robot working fine but when I added buzzer and melody into code then is something wrong. Melody is playing when accelerometer is activated but rest of the code need to wait to end of melody. I want ...
0
votes
1answer
35 views

ESP8266-01S Stopped responding after second launch

Here's the code: #include <SoftwareSerial.h> #define RX 6 #define TX 5 String AP = "..."; String PASS = "..."; SoftwareSerial esp8266(RX,TX); void setup() { Serial.begin(9600); Serial....
-3
votes
2answers
123 views

had dice code but lost it during recovery

I had the dice code, but reset and forgot to back the code up, now I need help creating the code again, I can't get the select button to proceed to the loop when pressed here's what I have so far: #...
2
votes
0answers
22 views

qMenuSystem using DigoleSerial library doesn’t work on my I2C Monochrome OLED

Just like the title says I’m trying to make qMenuSystem to work with my oled display. Here is what I know so far about my display : - It's a Monochrome OLED 128x64 (Blue) Display - It's connecting ...
0
votes
1answer
273 views

Read Multiple Sensors Data from a text file located in SD Card in Arduino/ESP32

I am working on a small home project 'glucose meter' via non invasive techniques. I am using four sensors like RGB color sensor, two multi-wavelength photo diodes (A & B) and temperature sensor (K-...
0
votes
1answer
95 views

How to have multiple digital outputs for the same pin on Arduino Uno and Simulink?

I'm trying to develop a PID controller with Simulink as shown in the image PID. I'm using a PID controller to control a motor via an Arduino Uno and motor driver. I have the PID output connected to ...
0
votes
2answers
140 views

Burn bootloader to Arduino Uno using ARM-USB-OCD

I have ARM-USB-OCD created by OLIMEX. I am interested in can I use this to burn a bootloader to Arduino Uno. As I know Atmega 328P can be programmed using JTAG protocol which has also ARM-USB-ODC, so ...
0
votes
1answer
38 views

Why doesn't data return when I use Sim808 http request

Why is it that when i use this code for http request on DFRobot_sim808 , I get 'fetch over' message, that means that no data is being returned? char strings: char http_cmd[] = " HTTP/1.0\r\n" ...
2
votes
1answer
742 views

'AttachPinChangeInterrupt' was not declared in this scope

I am a beginner trying to upload the SimpleExample328.ino sketch on my Arduino Uno. When I verify my sketch however, I run into the error: 'AttachPinChangeInterrupt' was not declared in this scope. ...
3
votes
5answers
32k views

Control Speed of DC FAN Using Arduino PID Library

I want to make a circuit that control speed of DC fan Using Arduino PID Library to get thing at specific temperature. The circuit looks like this but can be changed, The dc fan motor connected to PWM ...
0
votes
1answer
196 views

vk2828u7g5lf GPS module over SoftwareSerial

So my goal was simple. Trying to get a GPS speed, and show it on a display (later use it to control a stepper motor). I am using the vk2828u7g5lf GPS module from Banggood, which after days of ...
0
votes
1answer
24 views

qMenuSystem Oled I2C can't make it work

I'm trying to make the qMenuSystem to work with my I2C Monochrome OLED display but without any luck. To summarize all here's what's with it : - the qMenuSystem is using a library called : ...
0
votes
0answers
25 views

ESP8266 do not 'reset' when I connected D0-RST for deepSleep

I connected like this status(D0 ~ RST) on my ESP8266 NODEMCU board for making deepSleep & wakeup automatically. after I set like this, ESP.deepSleep(5e6); // 5second for entering deepSleep mode ...
0
votes
1answer
2k views

Serial communication between python and arduino

I am working on object tracking robot. I am using python and OpenCV to detect the object and send the proper data to the arduino that controls two servo motors. The data which should be sent to the ...
2
votes
1answer
469 views

ADS1262 and 2.2 SPI TFT (Two SPI Slave) with Arduino

I am interfacing two SPI slave module i.e. ADS1262 and 2.2 SPI TFT with the Arduino Ethernet board. When I test each device on its own it works. Initially, I interfaced the TFT to the Arduino and it ...
-1
votes
4answers
297 views

PIR with Arduino - detects only first motion

The following is an Arduino sketch for 3 PIR sensors. Two PIRs can activate 1 buzzer and show status in an LCD. The third PIR activates a relay. The problem is only the first motion gets detected and ...