All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

How to understand arduino libraries

I'm new to arduino programming, and I want to learn programming without using any libraries. But did not find much resources to learn, so what I have decided is learn from the library source code. I ...
0
votes
0answers
11 views

how to shorten this code because my sensor reads slowly?

Hi im making fare meter for our school project. I have too many lcd.print code This code is not finish yet my only concern is how to minimize the usage of lcd.print i think its the one that makes my ...
1
vote
0answers
14 views

ESP8266 wakeup from deep sleep: Both by timer and button?

In a project powered by batteries, the ESP8266 should go to deep sleep for long time, having RF disabled. After some number of sleep cycles, it shall restart with RF enabled, synchronize time via NTP, ...
1
vote
0answers
24 views

Sending a JPEG from one Arduino to another

So I've got an Arducam OV2640 which takes a picture as a JPEG that I'd like to send to another Arduino using a pair of nRF24L01 wireless transceivers to eventually display it on an SSD1351 OLED. ...
1
vote
0answers
31 views

I keep gettin the error " expecte ')' before ';'. Can someone please tell me what is wrong with my code?

int MyNumber; String msg= "What is your favorite number? "; String msg2= "Haha, Nice! "; String msg3= " I SAID, WHAT IS YOUR FAVORITE NUMBER! "; void setup() { // put ...
1
vote
0answers
15 views

MAX31865 and PT100 problem

I have a strange problem with the MAX31865 and the PT100. Every time when I start the system it shows that the temperature is -242 and the RTD value is 0 and so on. But When the system is in the loop()...
1
vote
0answers
19 views

Finding min and max value in 3rd column and printing the whole row

I am currently using an RTC module and a Dissolved Oxygen Sensor. Data is stored in a csv file and I want to find the 3rd row's min and max, but print all the rows including the time. void data() { ...
0
votes
1answer
34 views

What is the best way to power the ESP32 from a battery?

I am making a temperature sensor that can go in a freezer and I am trying to figure out what the best method is. My research has taken me all over the place an I can't seem to find a straight answer. ...
0
votes
0answers
24 views

Unexplainable noise with DFPlayer maximum volume

I have a Seeeduino V4.0, a DFPlayer, a YD103-04B speaker, and a Grove Rotary Angle Sensor. The RAS controls the DFPlayer's volume level. When the volume is not being set to the maximum level, the ...
0
votes
1answer
19 views

Is this class declaration wrong? “ Declaration has no storage class or type specifier” error

While trying to setup an ESP32 as mqtt publisher I am getting strange errors. Here is my code: #include "mqttSetup.h" #include <WiFi.h> #include <PubSubClient.h> static byte ...
0
votes
1answer
36 views

Built-in LED lighs up spontaneously

I'm trying to connect my ESP32 to this CO2 measurement device. I admit I am clueless about connecting devices with independent power sources to one another. I connected ground to ground and CLK to ...
1
vote
0answers
26 views

Powering Arduino by USB

The USB cable that came with the Arduino board is not easily recognized by the computer for selecting the appropriate COM port, For powering the Arduino it works fine (the board will light up when ...
0
votes
1answer
21 views

INA219 with L298N POWER LOGGER

I Have been working on a power logger with INA219 and L298N the thing is, the voltage and current displayed on Serial Monitor is not the same on my multimeter. the Arduino is connected to the pc to ...
0
votes
0answers
20 views

Logging exceptions locally - SPIFF filesystem?

I am creating a system of 10 nodemcu(s) communicating and sharing data over painlessmesh. Each of these is powered by 240V to 3.3V power supplies. One of these nodes is designated to collect the data ...
0
votes
1answer
22 views

HTTP-POST returns 400 when posting a value from the sensor

I'm trying to POST the data of total, but it returns 400. but when I try a sample data like int httpResponseCode = http.POST("{\"amount\":\"total\"}"); (400) into int ...
0
votes
1answer
28 views

How to make an arduino webserver over USB? without ethernet shield nor wifi chip

I would like to begin to understand ethernet handshakes by integrating an Ethernet over USB protocol within an arduino mega or nano. Is there something about the ethernet protocol that requires more ...
1
vote
2answers
31 views

How to add the previous value to current value from sensor

const byte interruptPin = 4; void ICACHE_RAM_ATTR count(); void setup() { Serial.begin(115200); // Set up our digital pin as an interrupt pinMode(interruptPin, INPUT_PULLUP); attachInterrupt(...
0
votes
1answer
38 views

Can we have 2 HC12 on a single Arduino (1 to receive and other to transmit)?

I'm working on a project and I need to send 2 datas and receive them at the same time. My question is: Is it possible to have 2 Arduinos both have 2 HC12 (total 4), because I want each Arduino to send ...
0
votes
0answers
27 views

How to send analog data from an Arduino to either a mobile phone or another PC?

I'm trying to build a flame sensor using an Arduino that is displaying analog data in serial monitor. If I want to make it wireless, which module should I use so that I can see those analog values on ...
1
vote
0answers
33 views

Using 2 HC12’s to both send a receive data

I am new to using an Arduino, sorry if this is very basic. I have 2 Arduinos and I have hooked up 1 HC12 and a joystick to each. I wanted to know if it is possible to send the x and y inputs of the ...
-2
votes
1answer
52 views

Push button restarts the arduino

I have linked an external push red colored button to my arduino but when I press it, instead of giving me HIGH or LOW, it resets the arduino. I am a beginner to this stuff so could someone help?
1
vote
0answers
30 views

Overlapping text problem with TFT SPI 1.3" ST7789 display

I have a problem with my ST7789. My display just piles up when I show the current time, or showing some variable value that changes.
0
votes
1answer
48 views

7 segment displays are not working whatsoever

/* MODIFIED TRAFFIC LIGHT SYSTEM W/ A COUNTDOWN TIMER FUNCTION BY JOHN SEONG THIS IS A QUITE ACCURATE SIMULATION OF TORONTO'S TRAFFIC LIGHT SYSTEM WHICH INCLUDES TWO 7-SEGMENT DISPLAYS THAT SHOW THE ...
0
votes
2answers
37 views

Cannot display a chr string using Wire.read() and u8g2.drawStr()

I'm still getting myself acquainted with C++, so I expect this is a very basic issue I'm facing. I've got an OLED screen connected to a Teensy LC and can display text on it just fine. The Teensy ...
2
votes
1answer
27 views

ESP8266-01E is not responding after successful flash

I have flashed an ESP8266 with the ESP8266 flash downloader that said my flashing had succeeded. But when I sent an AT command from the serial monitor it didn't respond and the TX/RX LED from the ...
1
vote
0answers
32 views

Piezoelectric buzzer interfacing with arduino without using any library

I want to learn programming from the roots, so i have started learning interfacing different modules with arduino without using any libraries. i want to learn how to interface piezoelectric buzzer ...
1
vote
0answers
23 views

fixing communication port errors

the communication port (com11) is yellowed with exclamation marks in device manager and I am unable to run arduino on my computer. how to get rid of the yellow exclamation mark on the com 11?
1
vote
0answers
9 views

Problem with sending sound sensor data to app using ESP32 over BLE_UART

I was working on Adafruit Electret Microphone Amplifier - MAX4466 with Adjustable Gain and ESP32. I want to send data to an app using BLE UART I have printed data to the serial monitor or serial ...
0
votes
1answer
14 views

Not able to upload code to NodeMCU

Im now working on a Node MCU based project but the problem is that i cannot upload the code to the board. Further more whenever i connect the usb to the NodeMCU my keyboard stops working and only ...
0
votes
0answers
20 views

OTA framework update by GitHub server Connection fail error

I have tried to use some OTA programming method by website servers like this method which was not successful and asked here. So I have tried the own Arduino library shown below: and changed the ESP ...
1
vote
0answers
30 views

Use arduino to cut off a hopper when load reached a limit

I am owner of a Departmental Store. I want to build a weighing machine with a hopper which will stop when the load in the packet reaches a certain value (For eg. 2 kg) Can arduino help me?
0
votes
1answer
22 views

Error 101 Server Did Not Report Size from OTA Upgrade framework via git hub

I have tried this video: ESP8266 Self Update OTA from GitHub Instruction and made this GitHub repo: And changed the main code to this type, but I get this error: HTTP_UPDATE_FAILD Error (-101): Server ...
1
vote
0answers
26 views

Uploading code with other libraries [closed]

I'm working on a very big project and want to upload this to GitHub for people to use (flight controller software) and I'm using libraries from other people to make the process in the beginning easier ...
0
votes
0answers
30 views

DC Motor will not work. Transistor method nor L293D!

New to Arduinos and stuff. I have tried the L293D and the transistor method but the motor just wouldnt work. I have tested the motor and it definitely is fine. Below is my layout for this attempt: ...
0
votes
0answers
33 views

Red LED and Yellow LED Oscillating : A Stop Light

This is supposed to be a traffic light; as red should switch to yellow and then green & vice versa after the button press. However, it does not seem to work that way; instead, the red LED and the ...
1
vote
0answers
26 views

Serial.println with string variable causing issue

I have a NodeMcu chip that I am attemping to run a script to create a file and read back from it. #include <ESP8266WiFi.h> #include <iostream> #include <fstream> #include <string&...
0
votes
0answers
13 views

Searching for free OTA Server Host list name

I have seen this video: Over The Air programming Tutorial For programming the Arduino modules via internet OTA system, so I have tried the adafruit account and don't find the AIO_KEY part on it, ( as ...
1
vote
1answer
26 views

How to put Arduino Nano in low power sleep mode (<0.05mA)

I'm trying to put an Arduino Nano in low-power mode using this guide: Arduino Low Power - How To Run ATmega328P For a Year On Coin Cell Battery. The article suggests 3 things: use the Low-Power ...
1
vote
0answers
25 views

Error initializer-string for array of chars is too long using ESP32 Webserver

i tried to use an asynchronic webserver for a new project with friends using this tutorial. We want to run an FFT while also changing some settings via the webserver. Since the tutorial only put code ...
0
votes
1answer
30 views

I am making heated socks with adjustments by Nano and want to extend batterty life?

I want to set a temperature and have Nano turn on for 2 minutes then off for 2 minutes and repeat using the same temperature originally set and have the ability to change temperature settings and do ...
0
votes
0answers
42 views

Grove Base Kit Multiple I2C Connection

I tried to connect two modules that require I2C connection and they won't work at the same time. I used the Arduino Sensor Kit - Base. This kit does not need any connection, you just have to code to ...
0
votes
1answer
66 views

Connecting the cathode of a diode to the output of a multiplexer

From the image, the diodes share the same anode which is driven by 'Do Something'. My question is: through using Arduino IDE, what code should I write that connects the output of the multiplexer (Z) ...
1
vote
0answers
22 views

error ph meter cant show the data

im using ph meter DFROBOT v1.0 at i compiled the code from the DFROBOT web this is the code * # This sample code is used to test the pH meter V1.0. # Editor : YouYou # Ver : 1.0 # Product: ...
2
votes
0answers
22 views

When is following code is dumped into Arduino NANO the output is not as expected after few trials

I'm a beginner of Arduino programming, when I dumped the following code into Arduino NANO board, at the first the output is as expected. But After few trials the 16*2 LCD display is getting off and ...
1
vote
1answer
25 views

How to implement brown out detector arduino ESP32?

We are using ESP32 with arduino sdk for developing our application. In our application we need to implement BOD to detect with specific voltage level. Basically we want to set specific voltage level ...
0
votes
1answer
25 views

I'm working on a NodeMCU project and have a small doubt about LEDs and resistors

In my NodeMCU I want a statement to turn on an LED, which is easy, just use pinnumber, HIGH. But, what I'm trying to do here is connect multiple LEDs to one pin like this: I just wanted to know if ...
1
vote
0answers
15 views

When I start running the Brushless motors with MPU6050 in my quadrocopter, there is a sudden spike in the data of Gyro X-axis and Gyro Y-axis

I am using the MPU6050_light library for getting the data for my quad-copter. When I am obtaining the gyro values from the MPU6050 without running the motors, its giving correct values but on running ...
0
votes
1answer
27 views

esp32-cam stuck in repeat boot

I am trying to bring the esp32 example code live. I am able to upload the image error free but when I remove the jumper and then press the reset switch, instead of seeing it logon to my network via ...
1
vote
0answers
24 views

Sending variable over serial

I have an LCD keypad shield that I'm using to control a Catalex serial MP3 module and I have an int variable that has the volume setting which can go from 1 to 30. I'm trying to send the variable to ...
0
votes
1answer
23 views

“SparkFun SAMD21 Mini Breakout” 'Serial1' was not declared in this scope

I recently switched computers and installed Arduino IDE, Added SAMD21 to the boards manager and installed drivers. My sketch previously ran on my laptop with no problems. Now when I try to compile ...

15 30 50 per page
1
2 3 4 5
451