All Questions

0
votes
0answers
13 views

Nodemcu ESP8266 can't connect to Network

I have NodeMcu Esp8266 , I try to connect it to My network and it isn't done I did it before and it connected but it unable to connect again I tried to scan WIFI networks and it done ( the result ...
0
votes
1answer
18 views

using string to display text on serial monitor

After using int to display text in serial monitor, now i am trying to use string but there is something wrong. The expected reslut is "Led1 is on" in serial monitor but what i get is "285". This is ...
0
votes
1answer
10 views

Quaternion values from BNO055 not available

I am trying to obtain Quaternion values from a BNO055 connected to ESP32-PoE board by Olimex. Code #include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BNO055.h> #...
0
votes
0answers
16 views

Transmitting serial data over Wi-Fi

I have a device that outputs a TX RX RS232 serial string. Is there a way I can take this locally to an Arduino and send over Wi-Fi to another Arduino? I'm relatively new to all of this so any advice ...
0
votes
0answers
11 views

Frequency Domain Monitor

I've I2S MEMS Microphone breakout and Mkr1000. By using ArduinoSound library, I'm able to get FFT representation of my audio output. My purpose is demonstrate it in frequency domain monitor. I guess ...
0
votes
1answer
26 views

Sorting voltage data from pin A0 to 3 variables (ranked)

I don't have any code for this yet but I would like some ideas on coding it. I have a directional antenna that is rotating at a slow speed and a ham radio connected to the antenna. I have an output ...
0
votes
0answers
5 views

DC motors not working on Adafruit motor shield

I have a MINI DC GearBox motor and Adafruit Motor Shield v2.3 on an Arduino, powered by a DC wall adapter. I have checked that the soldering is all correct, the motor shield is powered up (LED turns ...
1
vote
1answer
14 views

Low-Power library question

i'm study the Low-Power library to better undertand how it works. In this part of code i have some question. Sometime he uses commands like: power_timer1_disable(); power_timer0_disable(); but in ...
1
vote
1answer
14 views

Sketch with multiple classes (.h and .cpp) - how to interconnect classes

I wanted to move most functionality of my sketch into different classes, to keep things better organized. One class worked just fine, but when I had to use multiple classes and pass information ...
0
votes
2answers
36 views

Serial monitor returns “48” when I enter “0”

I am going through an Arduino Learning Book(978-1-59327-448-1) and I've run into the same issue twice now. When I enter data into the serial monitor, the number that it reads and displays(when asked ...
0
votes
1answer
18 views

ESP8266 too many argument to function

My project uses ESP8226 to allow: 1) user to set an alarm. 2) after 20 sec of the alarm ringing, it will notify to phone via blynk app using motion sensor. 3) after 40 sec it will turn off ...
0
votes
2answers
40 views

Difference between 3.3v & 5v

Im quite new to arduino in general and i'm sorry for the beginner question. could someone explain what the 3.3v and 5v on boards do? I know their voltages. but can you run one on the other? whenever ...
0
votes
1answer
29 views

I2C communication is not working

I have been working on my project but I get an error and I need some advice or correction. I use I2C method to communicate between master and slave. I've got two questions: I send 7 inputs (from ...
0
votes
1answer
23 views

What is the smallest duration that can be measured using micros()? [on hold]

What is the least value of time that I could measure(count) using micros()?
0
votes
0answers
15 views

Problem: Unable to upload sketch on Arduino Micro

Its my first time Using Arduino, and facing this problem read all the forums and applied many solutions, but none worked. tried reset button before after upload but didn't worked. Error Says: ...
0
votes
0answers
22 views

GSM module Arduino change number

Is it possible to change the phone number the GSM module sends a message to by texting it a keyword or something?
0
votes
1answer
22 views

More than 4 PWM output at 25khz?

Is it possible using an arduino to control more than 4 PWM fan at 25khz ? I have found this but 4 PWM limited with an UNO https://arduino.stackovernet.com/fr/q/8407 An other arduino, like a 2560 ...
0
votes
2answers
25 views

Get accelerometer values from BNO055 using adafruit's Unified Sensor Library

If I understand correctly using the Adafruit_Sensor one can extract information from the sensor specific information. These sensors are currently mentioned in the README. I am using the BNO055 for two ...
0
votes
1answer
19 views

How to HTTP post a data to Node express API from a Arduino esp8226?

I am HTTP Posting a data to web api https://morning-cliffs-85779.herokuapp.com/api/users from a arduino connected to esp8226. I am using wifiesp library to HTTP_POST a data. The REST apis are hosted ...
0
votes
2answers
25 views

Iteed SD card breakout info for Arduino

I got an SD card breakout from an online shop, its the iteed kind without the level shifter, it has the 3.3 / 5 V switch. I cannot find any libraries or write example for it. Has anyone dealt with it ...
0
votes
1answer
23 views

endless iterations a function in arduino [on hold]

legend: Yi = Y new Yi-1 = Y old i want to make this in my arduino my function Yi = Yi-1 +6 start y0 = 0 ==================================================== Y1 = Y0 +6 = 6 Y2 = Y1 +6 = 12 Y3 =...
-1
votes
1answer
11 views

TinyDuino radio connection

I am currently running a project with 2 TinyDuinos and 2 TinyShields 433MHz Radio (SI4432) in order to pass 3 axes (x , y ,z) from one to the other from long distance. I have tried to concat the ...
-1
votes
1answer
57 views

void loop() stops running after an hour or so

So I have a program that measures temperature and humidity over time. Here isthe code I use: #include <SD.h> #include <SPI.h> #include <DHT.h> #include <Wire.h> #include "...
0
votes
1answer
23 views

My Serial plotter isn't working (arduino)

I'm trying to upload this code and it works properly but I can't see anything on my serial plotter const int AnalogIn_Pin0= A0; const int AnalogIn_Pin1=A1; const int Pwmout_PIN=11; float ...
-1
votes
0answers
35 views

ESP8266 to arduino via SoftwareSerial does not work

I connected the PINs and created SoftwareSerial objects as shown in picture. I am able to write from atmega to ESP8266 and I managed to confirm this when checking serial monitor of ESP8266. But I am ...
-1
votes
1answer
22 views

Hi how can I modify this code to add more relays? [on hold]

#include "Wire.h" #include "LiquidCrystal.h" #include "math.h" #include "EEPROM.h" #define DS1307_I2C_ADDRESS 0x68 #define PIN_STG 8 #define PIN_MENU 2 #define PIN_DR 10 #define PIN_COMMAND_A A1 ...
0
votes
0answers
21 views

How do I use input capture along side waveform generation mode in the same timer?

The objective is to use timer 1 to generate a waveform on pin 10, fast PWM with a prescaler (frequency and duty cycle is selected by serial input, which leads the prescaler to be selects through a ...
0
votes
1answer
15 views

Output clock signal on MKRZERO

I have to port a Project written for an Arduino Micro to an MKRZERO. It communicates via UART with an IC and should also provide a clock signal. The former code I have used is this: #define ...
0
votes
1answer
23 views

Arduino as external network card [on hold]

i am trying to make some kind of p2p smart network using arduino nano. is there anyway to plug the arduino into the pc, and the pc will recognize him as external network card? so any internet request ...
0
votes
1answer
50 views

Standalone 328P Arduino

I am creating a standalone Arduino using Atmega328P. The circuit is below. However, I'm seeing avrdude: Device signature = 0x000000 error whenever I try to burn the Arduino Uno bootloader. I'm ...
0
votes
1answer
32 views

Is there an open source compiler for Arduino Sketch codes?

I am working on a web app to program some nodeMCU devices that were flashed with the arduinoOTA library. http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html I tried the ...
1
vote
1answer
20 views

Neo 6M GPS Module does not work properly inside own sketch

I am doing a project right now that involves a Neo 6M GPS module, a micro sd card module and 6 BH1750 light sensors. All the modules work fine when testing them standalone, especially the GPS module ...
0
votes
0answers
26 views

Atmega32u4 usb issue

I made my own custom Atmega32u4 board which worked all the time, but recently when I unplugged it for a moment to connect something to this port (I had no other free) board stopped working. windows ...
0
votes
0answers
34 views

Arduino Pro Micro as PS3 controller

I've asked this question on the Arduino forum but no one answered. I'm trying to make PS3 controller with arduino and ps2 controllers. I used PS2X library to communicate with ps2 controllers and pro ...
0
votes
2answers
49 views

Wake up ESP8266 from deepSleep with a button

I have a button with two isolated tracks. I want to be able to wake up esp from deepSleep with this button, and also detect that it was clicked. So i can't connect it to reset, because esp won't work ...
0
votes
1answer
18 views

Problem uploading to board error, but I've selected the port and the board type?

I am having an issue when I try to upload a program to the board. I am working on a Simon Says game, and when I first started uploading, my computer handled it fine. Everything worked properly. ...
0
votes
1answer
24 views

My brand new LCD screen doesn't display anything, even though there is no code errors?

I have a LCD screen, and I wanted to use it with a Simon Says game that I am making. I tried the tutorial on the Arduino website, but it doesn't work. Then I tried another tutorial on Adafruit. On ...
0
votes
0answers
19 views

i get the error on primary-expression before ',' token [on hold]

the code is on" digitalWrite(R4, HIGH)" when I get to compile it gives that", "I not an expression
1
vote
1answer
50 views

5 switches, 5 leds, 5 tones, in an Array

The idea is when a switch is pushed, the corresponding tone will be played as well as lighting up the corresponding LED. I have the circuit set up to where each array matches another, for example ...
0
votes
0answers
18 views

Sending a continuous real time data stream from arduino to the android smartphone [duplicate]

Is it possible to send live data stream continuously from Arduino to any android smart phone. Basically i just wanted to send gyroscope readings to my cell phone continuously. the the most important ...
0
votes
1answer
24 views

Stop and continue loop by using boolean flag for traffic light

By using boolean and flag, I can now control the green light but the program cannot repeat or loop the sequence for traffic light from red to yellow to green. If I don't use flag, the sequence red-...
0
votes
1answer
64 views

Will this sketch eventually fail because of integer limit issue?

I am a novice in Arduino programming and I'm setting up an Arduino controlled, underwater time-lapse camera to take a picture every 2 hours. It's going in the ocean for a month and I want to be sure ...
0
votes
0answers
23 views

Why does MKRZero code read value off of wire on A0, even though there is no voltage/current? [duplicate]

I have a MKR Zero running the code from the official Arduino site : https://www.arduino.cc/en/Tutorial/AnalogToMidi The circuit wasn't working (always reading a value of 0 on A0 -- as detailed in ...
0
votes
0answers
14 views

ESP8266-01 w/ Arduino Uno: Failed to connect to Espressif device: Invalid head of packet

I have an Arduino Uno hooked up to an ESP8266-01. I've changed out the wiring multiple times and reassembled them just to make sure that I'm wiring everything the way it should be. I am however unable ...
0
votes
2answers
20 views

Arduino Force sensitive Resistor with an lcd

So we were asked to do something with a force sensitive resistor so naturally i thought of a project which takes the name of the main component which is force and applies it ,mine works by as you ...
1
vote
2answers
41 views

Not enough memory

I am making a simple calculator with Arduino Uno R3. It only has +, -, x and /. I use 3 libraries: This use for LCD with I2C module. Arduino-LiquidCrystal-I2C-library This use for keypad 4x4. Chris--...
0
votes
1answer
15 views

ESP8266 - 12F High consumption in led blink (with pictures)

My esp is consuming 180mA with a led blink. The same consumption happens when I put it in WIFI_STA mode with the WiFi.mode(WIFI_STA); function. What should I do to reduce consumption? Used AMS1117 CI ...
0
votes
0answers
14 views

L293d driver problem

I'm trying to build a gesture controlled robot. Using: Arduino nano Encoder and decoder (HT12E and HT12D ) RF Transmitter and receiver L293D motor driver While I running the code in the serial ...
1
vote
0answers
33 views

What are the specific pins to connect the following : DHT 11, ULTRASONIC SENSOR, ESP8266 and arduino uno? [on hold]

I researched a lot on how to connect this devices to each other to get the data from ultrasonic sensor and DHT11. But it wasn't clear on how I will connect the devices on their pins. I found one ...
0
votes
1answer
23 views

Shift register with relay board behaving erratically

I have a nodemcu connected to a shift register(https://www.amazon.de/gp/product/B07CHBYR7Z) to control an 8 channel relay board (https://www.amazon.de/Elegoo-Relaismodul-Optokoppler-Arduino-Raspberry/...

15 30 50 per page