All Questions

0
votes
0answers
8 views

How to automatically reset the NRF24L01 module

For my home-automation project I'm using several arduino nano's with each a NRF24L01+ module. Each module is able to both receive and transmit with one another. Everything seemed to be flawless for a ...
0
votes
0answers
7 views

Constant ADC sampling rate on ESP8266 or ESP32

I want to sample Sound input with either an ESP8266 (preferred) or ESP32. As I'm using a low pass filter anyway, a sample rate of 1000-2000hz would be totally ok. What is more important, is that it is ...
0
votes
0answers
13 views

Push button timer

The code below toggle LED1 with a single press and holding the push button will toggle the LED2. what i want is to use millis() to turn LED2 OFF after a certain time when it toggled ON by holding the ...
0
votes
2answers
40 views

can't return float value from function

I want to put a 2 seconds delay to temperature reading but the millis() delay is not applying. #include <OneWire.h> #include <LiquidCrystal_I2C.h> #include <DS3231.h> #include <...
0
votes
1answer
24 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 ...
0
votes
0answers
24 views

SPI - different implementation / timing

I'm a little bit confused. I'm running the same code on a ESP32 (Adafruit Huzzah32) and an Arduino (SparkFun Pro Micro). It works on the ESP32 but not on the Arduino. Are there different API ...
0
votes
0answers
9 views

ESP 32 Cam (diymore brand) and adafruit programmer FTPI friend “timed out waiting for packet header”

I am having trouble getting my recently purchased esp32 cam working. I am new to using a programmer board and really to Arduino in general. Could someone help me? Things I have done: installed the ...
0
votes
0answers
18 views

Serial monitor garbage output on both MacOS and Windows devices, output used to make sense

Baud rate is set to 115200 in both the serial monitor and in the setup() portion of the code. The output to the serial monitor just looks like a bunch of reverse question marks on MacOS and on Windows ...
0
votes
0answers
13 views

Nodemcu doesn't work anymore after uploading IDE sketch

After reinstalling Windows 10 and my Arduino IDE, my sketches don't work in nodemcu anymore. I was able to add the url on the preferences and I set the board to both Nodemcu v0.9 and v1 but still it ...
-1
votes
1answer
17 views

Controller freezes

I am using atmega 2560 as main(master) controller and other 5 salve 2 atmega 8 and 3 atmega 328p, there is two device with analogue output connected to main controller atmega 2560 through ads1115 ...
-1
votes
1answer
36 views

One Led and 2 buttons [on hold]

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
35 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
22 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
1answer
31 views

Rubber keypads and DC motors & LCD on Arduino Mega2560

I'm quite a newbie to Arduino and hardware & circuit board stuff, so please forgive me if you feel my questions are too stupid. Recently, I'm working on an assignment which I have to reconstruct a ...
0
votes
1answer
23 views

Using Serial.write() to send a uint32_t send one byte x4 or send 4 bytes x1

In the IRremote library, IR signals are decoded and held in results.value. My project uses the NEC protocol which is 32 bits, so the IR code will always be 4 bytes. uint32_t dCodedIR; // // code ...
-2
votes
1answer
28 views

(Advice) Home Automation Project (Domotic mobile home) [on hold]

I have a project that I hope to accomplish in the near future. I want to transform a mobile home into automation mobile home. The elements that make up my project are the following: My idea is to ...
0
votes
0answers
9 views

Communication using two HC05 modules

I'm working on a project that consists of sending data from flex sensors from a master Arduino to a slave arduino that uses that data to control servo-motors. I am trying to start slow and just ...
-1
votes
2answers
22 views

Send serial data at custom voltage using PWM

The Raspberry Pi has 3.3 V logic level and the Arduino has a 5V logic level. It is warned against connecting the Arduino TX to the Pi RX: Pi is 3.3v and the Arduino is 5v. Connect the two and you ...
0
votes
0answers
19 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 ...
0
votes
1answer
30 views

Having an issue accessing values from a pointer

Context This may be more of a C++ question than an arduino specific question, but it's dealing with arduino c++ so I thought I'd start here. I'm building a class to abstract some simple melody ...
0
votes
1answer
30 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
0answers
21 views

HC-05 Bluetooth fails AT+LINK

I'm trying to get a HC-05 connected as master to a bluetooth ELM327 OBD scanner. The HC-05 is accepting AT commands, no problem. This is the sequence I use: AT+RMAAD (Clear any paired devices) AT+...
1
vote
2answers
23 views

How is better to store html / java script / in code or in flash on esp32

I have an esp32 which is running a web page together with a java script and using socket I update some values on the web page. I am doing this very fast (like each 50ms). Now I am serving all the html/...
1
vote
2answers
53 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 ...
-2
votes
0answers
52 views

My own version of Mega [on hold]

i wanted to do my own version of Mega. So i did the schematics from the link below. Could someone very good at electronics to confirm if i have done it right or if there are any mistakes? Thank you ...
0
votes
1answer
20 views

Sending sine wave from MATLAB and reading on Arduino Uno

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

Change From One State Machine To Another

I have a project where I need to state from leds turning on and off to another one that will have all the leds turned on and send data and I was wondering how should I do that, this the code I have: #...
0
votes
0answers
21 views

Is it possible to convert RCA(video only) to Arduino Uno then to a computer?

I have an old wireless RCA output camera. I was wondering if I can convert its analog input to a digital one and have it saved on a file in my laptop?
0
votes
1answer
55 views

Measure position of gear with arduino

So, my plan is to be able to turn a motor, with a gear on the end, for a certain amount of gear teeth then stop it. I can’t find a data sheet for the motor but it is very fast, brushed and DC. I was ...
0
votes
0answers
27 views

Arduino Nano drivers

I got a Arduino Uno awhile ago and it took me awhile to set up but it worked when I downloaded the IDE. This time when I bought an Arduino Nano it doesn't pop up with the driver. Doesn't show up ...
1
vote
1answer
17 views

How does use an arduino like a A/D converter for convert 3 analogue signal from 3 poteciometer to a raspberry?

I am developing a control system in my raspberry, but i have the problem that it doesn't have any analogue port, so if i use an arduino to convert de signal from analogue to digital and after send ...
-2
votes
0answers
15 views

Open Smart tft 3.0" LCD show white Light…not working [on hold]

I bought Open Smart 3.0" touch LCD Link_Here ..... I'm using Arduino UNO without any shield. I attached all its pins according to this Video When I upload code .... It display same white light as ...
-2
votes
0answers
23 views

Which is the best way to collect stats about sensors? [on hold]

i have alot of arduinos sending infos about sensors from time to time. example : from 23:00 to 5:00 the LED brightness where reduced to 40% once a motion detected they will go to 100% and after 5 ...
0
votes
1answer
45 views

Remembering a colour

Hey guys I have a led grid. it's 8 sides that are addressable with the bytes '1' through '8'. (a Kinect is sending these bytes through processing) I have also creates three buttons in processing that ...
0
votes
2answers
40 views

Compiled sketch vs text file size

OK,so this is my first program written via the Tinkercad utility. I have saved the program as a text file, and it equates to about 22K. My simple question is, when uploaded / compiled to the actual ...
1
vote
1answer
28 views

Maximum power rating for Arduino UNO revision 2 (SMD)

I have located the 5V voltage regulator chip on my Arduino board which I am hoping to use to power an attached device (which draws up to 500 mA at 5V). The chip is next to the plug for the external ...
0
votes
0answers
19 views

Nodemcu web server for arduino RC Tank, key listeners dont work anymore!

Hi thanks for looking at my post. Basically I have built a WiFi controlled tank out of Arduino and a Nodemcu board. You access the webpage from a computer and can press the forward, back, left, and ...
1
vote
1answer
23 views

Arduino UNO and TB67H303HG Ic driver: Wiring question

I would like to control the TB67H303HG (a full bridge driver IC for DC motor adopting MOS in output transistor) with my Arduino UNO. This is its datasheet. I was thinking to connect: PIN 3 INPUT to ...
-1
votes
1answer
25 views

Please help me fix this error:expected unqualified-id before 'if'|Arduino [on hold]

#define inA1 4 #define inA2 5 // 4,5 DC 1 #define inB1 6 #define inB2 7 // 6,7 DC 2 #define inC1 8 // Buzz #define inL1 2 #define inL2 12 #define inL3 3 #define inL4 13 // Den led byte bluetoothByte ...
0
votes
1answer
32 views

Arduino timer to turn a serve at a certain time

i am working on a project for my school tech class. Our goal is to make a vehicle that will travel along a cable and drop an egg to a target while going down the cable. i am using an arduino to to ...
1
vote
1answer
35 views

PUT request: PHP code to Arduino HTTPClient

I'm uploading a file to Azure blob storage using REST API request. The file uploaded successfully using PHP curl request. But when I transfer the code into ESP32 HTTP client I'm getting an ...
-2
votes
0answers
25 views

Android countdown app driven by Arduino via Bluetooth skips the first several numbers [on hold]

I have established a Bluetooth connection between Arduino (HC-05 Bluetooth module) and my Android application. Every time Arduino sends the signal "72" (Serial.write(0x48)) then my Android app reads ...
2
votes
1answer
43 views

Connecting to MQTT causes DHT11 Sensor to stop working?

I have a project I am working on, based on an ESP32 from NodeMCU. I have a bunch of sensors connected to said ESP32 - they all work and the code itself "works" with a minor quirk. The issue in ...
0
votes
0answers
37 views

MEGA2560 only starts program after pressing RESET button multiple times

I am working on a program where I am controlling an MP3 player by using UART between my MEGA2560 and the MP3 player. The MEGA2560 sends serial commands to the MP3 player when external interrupts are ...
0
votes
1answer
26 views

Windows 10 does not recognize Arduino Leonardo

Using Arduino Leonardo, IDE 1.8.9, Windows 10. For a short time, when I first got the Leonardo, Windows 10 would recognize the board; I could see it in devices, Windows 10 would make a sound when ...
-1
votes
0answers
20 views

Arduino stepper motor [on hold]

Guys can I have a quick help, I need a code that turns the stepper motor every 90 degrees and stop for 3 second on every 90 degree. Thank you
0
votes
1answer
18 views

Change css form color from esp32 if statement

I am fairly new to arduino and ESP though am very familiar with css and javascript. I have an esp webserver that includes a button client.print("<button style='background-color: #F30C0C; color:#...
0
votes
1answer
55 views

New to arduino, help wiring relay

I am new to arduino and need some help. I just baught light bars for my jeep and wiring harnesses with them, the harnesses come with buttons and I wanted to replace the button and have them controlled ...
0
votes
1answer
28 views

Multiple dht11 on an wemos d1 r1

I am trying to connect three separate DHT11 to my Wemos d1 r1. I have each sensor hooked to a power pin which turns on and off, the sensor pin and a common ground. Here is my code: #include <...
0
votes
3answers
57 views

All floats feedback a rounded down integer

So I am very confused at the results I am getting. It seems that floats aren't working properly, and I don't understand why. I was trying to read a temp sensor and convert the reading to celsius. ...

15 30 50 per page