All Questions

Filter by
Sorted by
Tagged with
-1 votes
1 answer
19 views

My Atlas Scientific sensors measurement give zero values at first reading

I am still continuing my hydroponic nutrient monitoring project. In short, I made a hydroponic nutrient monitoring system with I2C connection, and decided to do serial communication with Raspberry Pi ...
user avatar
-2 votes
0 answers
29 views

16x2 LCD display showing a line down centre of screen and nothing else

I picked up my Arduino for the first time in a while and decided to mess around for a bit. However, when I try to make a simple 'hello world!' program, the LCD screen either doesn't display anything, ...
user avatar
-1 votes
1 answer
30 views

What are these 18 extra ports on the adafruit-gfx 2.8"

I recently got the Adafruit gfx 2.8" display, which works fine. It's quite obvious that it requires almost all of the pins on the UNO. However, I don't understand what are the 18 avaliable "...
user avatar
  • 101
0 votes
1 answer
40 views

How to toggle a pin (LED) simply

I am not a programmer but rather a hardware guy. In the good old machine code days, you could 'read' the status of the port and flip it.. admittedly a much simpler processor. Is it not possible to do ...
user avatar
  • 11
1 vote
0 answers
36 views

How to perform multitask using arduino such as update data as well as check condition?

Here data is updated after every 2 seconds. But when the condition is true then the valve and motor process starts and data is updated only after completion of that part (i.e., data is updated after ...
user avatar
1 vote
3 answers
127 views

How to do multiple serial.read()

first of all im new here and im really sorry if there's some mistakes when im making this question. So im trying to make a program to calculate using serial read, and im going to input a lot of values....
user avatar
  • 11
-1 votes
0 answers
16 views

Can't use Bluetooth or WiFi on ESP32

I'm looking for a solution to a problem with my ESP32. I used the Arduino IDE's BluetoothSerial sample code and uploaded it to my ESP32. However, it seems that the code does not run, and the ESP32 ...
user avatar
1 vote
1 answer
29 views

What is the build-in LED pin for the ESP32-WROOM-32D dev board?

I've tried just about every pin with this sketch: #define LED 2 void setup() { pinMode(LED,OUTPUT); } void loop() { delay(500); digitalWrite(LED,HIGH); delay(500); digitalWrite(LED,LOW); } ...
user avatar
  • 175
-1 votes
0 answers
35 views

Why do I get those warnings?

'void setup()': C:\Users\\Documents\Arduino\libraries\DHT_sensor_library/DHT.h:44:1: error: expected initializer before 'static' static const uint8_t DHT11{11}; /**< DHT TYPE 11 */ ^~~~~~ ...
user avatar
  • 1
0 votes
0 answers
23 views

relay issue at boot in wemos d1 r1

Hi I have a wemos d1 r1 and I want to activate a relay with rc522 RFID module. the problem is that when I connect the board to power or when I reset it, or when I'm uploading the code, the led on the ...
user avatar
  • 3
-1 votes
0 answers
19 views

Unable to edit code on Leonardo

I attempted to make a simple auto clicker but It resulted in me not being able to upload code to the Arduino Leonardo. It clicks too fast, it literally crashes my computer so I'm unable to edit the ...
user avatar
1 vote
1 answer
28 views

Apparently the photoresistors don't pass the input at the leds

I am making a school project where i need to create a parking loot in tinkercad. Me and my mate tried to use a bunch of photoresistor that worked as a sensor. No light = car = red led; light = no car =...
user avatar
  • 13
0 votes
0 answers
12 views

Help with Arduino sleep and watchdog timer interrupt

I want to use Arduino's sleep and wakeup functionality but have hit a roadblock and can't seem to get past it. As I am just prototyping for a final system, I cannot use the LowPower library to ...
user avatar
-1 votes
1 answer
23 views

ESP32 Potentiometer issue: Resolution mismatch of the potentiometer with unlimited resolution and reading the values with Wire.h

I have the problem, that the potentiometer goes from the range of 0 Volts to 3,3 volts. But within this range the measured value goes from about 0 to 65535 multiple times (over 10 cycles). When I ...
user avatar
0 votes
1 answer
24 views

Adjusting Threshold for Digital Pins

I am working on a project using Force Sensors to build a keyboard for MD patients. I have connected the sensors (each with 4 input pins) to digital pins to Arduino Due. I want to adjust the threshold ...
user avatar
0 votes
1 answer
35 views

How to append to array of Strings in arduino?

Here is my code: char *StrAB[] = {"29 EC C7 C1", "69 5B C9 C2", "22 3B 83 34", "12 BF BF 34", "C6 78 8E 2C" }; void setup() { Serial.begin(9600)...
user avatar
  • 3
0 votes
1 answer
24 views

Cannot make attachInterrupt work

I have an accel+gyro sensor connected to an arduino zero. It's configured to output an interrupt signal on pin 2 when tapped. I can do a digitalRead on the pin, and it does go high, so the interrupt ...
user avatar
0 votes
0 answers
27 views

Pro micro not recognized when connected to USB

I have bought 3 pro micro and when I connect them with an USB cable (tried several cables), my PC doesn't recognize them and the port menu in the Arduino IDE is disabled. After some researches, I have ...
user avatar
-1 votes
0 answers
11 views

How can I reference non-standard pins for my air sensor? [duplicate]

I have a project that requires a number of sensors. One of them is the Air Quality Sensor (SEN-CCS811). The 'standard' A4 and A5 pins are taken up with something another sensor. I can get data fine ...
user avatar
-1 votes
1 answer
25 views

ESP32 flash memory

I'm a newbie ESP32. I am going to make a system which stores files from the Internet. While it is easy to use SD card or storage stick (like an USB drive) to store data, but I want to use flash on ...
user avatar
-2 votes
0 answers
20 views

Arduino PCB order [closed]

I want to order PCB with Arduino chip. What I want to know is how I can order the PCB with programmed Arduino chip. Should I manually and repeatedly upload my code to Arduino chip on PCB? Or Can I ...
user avatar
-1 votes
0 answers
19 views

Validate data entry in arduino

I have the following code: #include <Servo.h> Servo myservo; char x; void setup(){ Serial.begin(9600); myservo.attach(7); Serial.println("enter a letter: "); Serial.println(&...
user avatar
0 votes
1 answer
36 views

How often does a mpu6050 gyro sonsor need calibration?

I want to use it in my real car for daily use to measure yaw angle when needed. Is is ok to only calibrate it once at first then use it every day when driving without any problem? if not, how often ...
user avatar
1 vote
1 answer
62 views

Generalize webserver routing

I'm following the examples for ESP32: AsyncWebServer _server(80); _server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) { request->send(SPIFFS, "/index.html", ...
user avatar
  • 265
-1 votes
0 answers
24 views

How to reset a main loop, by clicking on specific button on keypad?

How I can reset loop, and couple of variables by clicking some button on keypad? What I want to do is: whenever user click on 'C' button, the loop should be reseted, just like we hit the red button on ...
user avatar
0 votes
0 answers
16 views

RA-02 LoRa transfer problem

i've connected 2 RA-02 modules to my ESP8266 s. Both are capable of transmitting and receiving data between each other. and also esp8266 s are represented as access points to whatever client that ...
user avatar
  • 1
-3 votes
1 answer
37 views

i download a file that has ino but when i extract it is gone [closed]

so when I download a file for my ESP8266 the the file to open it in Arduino. file is not there for it is there a fix and this the github: https://github.com/SpacehuhnTech/esp8266_deauther/tree/v3
user avatar
  • 1
0 votes
0 answers
23 views

5v circuits protection [closed]

For my project, I'm using this solar shield in order to use some solar panels and a battery to power my Arduino: https://wiki.seeedstudio.com/Solar_Charger_Shield_V2.2/ In order to protect the solar ...
user avatar
  • 101
-2 votes
0 answers
28 views

My 1 digit segment display shows half of what it should display [closed]

As you can see, the square part is the lit part, the other side of the digit is not lit. I checked that the pins were correct, resistors, etc. The code should be right, it's from a tutorial part of ...
user avatar
-2 votes
0 answers
15 views

SIM900 GSM SHIELD with nodeMCU pins [closed]

Does anyone knows how to pin out nodeMCU/ESP8266 with SIM900
user avatar
-1 votes
0 answers
21 views

MicroSD card module not working [closed]

I have a DFRobot DFR0229 MicroSD card module for Arduino. The SD initialization always fails unless I use my hand to push in the MicroSD card fully into the slot. There is obviously a locking ...
user avatar
  • 1
-2 votes
0 answers
22 views

Connect MAX30100 directly with ATmega328p without using Arduino [closed]

Can we use MAX30100, a pulse oximeter sensor to connect directly with ATmega328p without using Arduino?
user avatar
0 votes
1 answer
31 views

Round to first significant digit

I want to round a decimal number (x), but I need to do it differently depending on how it is. If it has integer significant digits, we round to the nearest integer, and if not, we round to the first ...
user avatar
1 vote
0 answers
31 views

FastLED changing colour at holding state

Basically make a code to guide users through a box breathing exercise (breath in for 4 seconds, hold for 4, release for 4, hold again for 4, repeat) to help relax them. Right now my code is running ...
user avatar
1 vote
1 answer
73 views

Arduino create Json Array with double values and 2 decimal point

How i can create a Json Array with double values and 2 decimal point using the ArduinoJson Library? https://arduinojson.org/v6/how-to/configure-the-serialization-of-floats/ In the folowing small ...
user avatar
-2 votes
0 answers
33 views

Getting twice the expected frequency in PWM generation using digitalWrite() [closed]

I aim to produce a 1 kHz PWM signal with a 50% duty cycle. Since I need to control frequency, I am toggling the output pin using the digitalWrite function. This is my calculation: 1 kHz --> 1000 Hz ...
user avatar
-2 votes
1 answer
26 views

Powering LEDs with Arduino uno 5v

I'm working on the sound reactive led lamp as my first project and have slightly different materials to start with. First I'd like to simply learn to power the LED strip. from https://www.youtube.com/...
user avatar
-1 votes
0 answers
30 views

Why is Arduino IDE+ Debug automatically closing

I have a windows 11 HP laptop. My issue is that, with all three windows download options for the Arduino IDE, It will open the loading screen for ~1/2 a second, then automatically close for no ...
user avatar
  • 99
-2 votes
0 answers
20 views

How to control current to charge batteries? [migrated]

I have a project that is powered with a 1s battery pack (multiple 18650 in parallel). I use following module to protect against overcharge/overdischarge : https://aliexpress.com/item/32982853134.html ...
user avatar
  • 143
0 votes
3 answers
39 views

How do you deal with balancing the limited storage of Arduino with the decrease in speed if you just print everything as it gets measured?

I am working on a simple data acquisition system based on an Arduino Uno. Each run would ideally collect up to 10k data points (all doubles). Obviously, the Arduino doesn't have the capacity to hold ...
user avatar
  • 101
0 votes
0 answers
27 views

ESP-32S NodeMCU - Unable to upload sketch

I was able to upload sketch to my ESP-32S, but now it don't work. I alway get Connecting........_____....._____....._____....._____....._____....._____....._____ A fatal error occurred: Failed to ...
user avatar
-2 votes
0 answers
33 views

Can't store data in array [closed]

How to store numbers given by a user in an array? I have something like: int firstValue[3] = {}; for (int i = 0; i < 3; i++) { firstInput = customKeypad.getKey(); if (isDigit(firstInput)){...
user avatar
-1 votes
0 answers
22 views

Can't pass value to the integers in function [closed]

I'm trying to make calculator, with some FSM. Here's some code: getOperationTypeFunc char getOperationTypeFunc(char userInput, int number){ // userInput = customKeypad.getKey(); switch (...
user avatar
0 votes
1 answer
42 views

USB-C to USB-C cable Arduino is not responding even not powered by this cable

Hi I want to connect arduino NANO to my laptop with Type-C (USB-C) ports (on below image left side [4] and other side 3). Now I bought a USB-C to USB-C cable, because it appeared to be the right tool, ...
user avatar
  • 205
-1 votes
1 answer
46 views

Can't get input from 4x4 keyboard

I'd like to make some basic calculator. Currently, I'm struggling with inputs. I wanted to get from user some numerical input, then, I'd like to have an information, which type of calculation he is ...
user avatar
-1 votes
0 answers
30 views

problem regarding file sending through softAP connection on ESP8266

i have a code on my esp8266 in which i attempt to send a file to the client that is connected to me via softAP access point i've provided. client first sends the file name it wants with the key string ...
user avatar
  • 1
0 votes
0 answers
41 views

Something in my code is causing incorrect and spammed keystrokes [closed]

Recently I have been working on a project to use a 4x4 matrix keypad as a MacroPad. After doing some research I found a this github repository but I found that the included keyboard library could not ...
user avatar
0 votes
1 answer
37 views

Compare interrupt enabled in overflow interrupt behavior is not as expected [closed]

What I'm trying to do: Drive a DC motor using Arduino UNO Control PWM duty using a variable resistance and built-in A/D converter Write a program in C with direct access to the registers Target ...
user avatar
  • 27
-1 votes
1 answer
29 views

Arduino battery capacity selection based on the current measurements

I'm sorry for this stupid question... I'm not an electronic/electric expert.. In order to select the battery capacity as well as the solar panel I'm measuring the Arduino current consumption. So, I ...
user avatar
  • 101
1 vote
1 answer
44 views

Connecting various devices to Arduino

I need to connect the following devices to an Arduino UNO board. The problem is that I run out of pins to be able to connect them all. Is there any way to do it? ultrasonic sensor yellow led green ...
user avatar

15 30 50 per page
1
2 3 4 5
469