Questions tagged [arduino-esp32]

491 questions
0
votes
0 answers

Does the Sparkfun ESP32 Thing is compatible with generic modules like DHT11 sensor?

First of all I am kind of a noob working with microcontrollers, by the way I am using Arduino IDE 1.8.13 I fallowed the hookup guide to set up Arduino IDE to work with Sparkfun ESP 32 Thing board, and actually I was able to run the Arduino examples…
luis_laurent
  • 784
  • 1
  • 12
  • 32
0
votes
0 answers

Interfacing enc28j60 ethernet module with esp32

I trying to interface ethernet module with esp32.My connections are as follows: SO--> MOSI pin 23 SI--> MISO pin 19 CS--> CS pin 5 SCK-->CLK pin18 output data is: rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0,…
Rajkumar
  • 9
  • 1
  • 3
0
votes
1 answer

Is there, and if so a way to use the data packets you receive from the LoRa Transmitter in specific commands like an if statement?

I am finishing up a project for school, and I am at the last step for getting my device 100% working. For a little information on the project. I am developing a wireless speedometer that tracks rpm and converts it to MPH through a hall effects…
0
votes
0 answers

Is it possible to have timing issue with a DS18B20 1-wire temp sensor on ESP32 with arduino?

i have and ESP32 module that i have a DS18B20 sensor connected to with a 4.7k pullup resistor. the problem is that i get very inconsistent reading a lot of -127 readings in my current program. With WiFi running, Asynch mqtt, websocket etc running on…
-1
votes
0 answers

Confused about Arduino libraries with ESP32

I'm making a library to create a simple IV byte array for encrypting data. Here is my code: #include "ivgenerator.h" void generateRandomIV(uint8_t iv[], int ivSize) { for (int i = 0; i < ivSize; i++) { iv[i] = random(1, 256); …
u314
  • 87
  • 1
  • 7
-1
votes
0 answers

send plain text from client device to esp32 server

I want to send data from a client device with javascript to the host an esp32 with Access point. I tried almost everyting (xml, fetch) but couldn't get it to work. Client Javascript (is called in function with button): fetch('/data_endpoint',…
-1
votes
2 answers

Need help making https request using HTTPClient with custom headers

I'm currently using the following Arduino code on an ESP32 (I've taken out non-relevant parts) to make an https request for a binary file from a server, to store in SPIFFS. However I now need to set a custom header, and so need to use the…
-1
votes
1 answer

A PC accessing 2 different IPs

I have a windows 10 pc that has a wifi usb stick to connect to my home router. This dongle uses an IP like this: 192.168.1.10. The gateway (router) has IP: 192.168.1.254. Then I have a board with an Arduino UNO microcontroller with a WiFi board that…
user20420531
-1
votes
1 answer

Arduino dictionary integer to String?

I have a table in the form of driver start number and driver name. Now I want to determine the driver name based on the start number. Which solution approach can I follow for this? 20 - driver name A 44 - driver name B 4 - driver name C ...... That…
sadrick
  • 13
  • 4
-1
votes
1 answer

How to retrieve the data type of a variable?

I need to find the specific data type for cases when I'm debugging C code, in particular on Arduino Studio and related platforms form MCU programming. How to retrieve the data type of a variable in c language?
Miguel Tomás
  • 1,714
  • 1
  • 13
  • 23
-1
votes
1 answer

I am trouble getting my esp32 working on Linux

I am using garuda linux specifically. Im getting this error `Sketch uses 227017 bytes (17%) of program storage space. Maximum is 1310720 bytes. Global variables use 21760 bytes (6%) of dynamic memory, leaving 305920 bytes for local variables.…
14624548
-1
votes
1 answer

Why is my lcd display not showing any values?

#include #include "DFRobot_LCD.h" DFRobot_LCD lcd(16, 2); //16 characters and 2 lines of show #define PH_PIN 25 float voltage,phvalue,temperature = 25; float acidVoltage = (1990); //buffer solution at 4.o float neutralVoltage =…
-1
votes
2 answers

MQ sensors giving 0 value when using WiFi.h ESP32 but works fine without it

i am creating an IOT project using MQ07 sensors and esp32 and Sr04 Ultrasonic sensors. My project continuously reads sensor data and prints to serial console, there are some lights to show status as well, and this works fine, till i use wifi.h The…
ashutosh7i
  • 15
  • 1
-1
votes
1 answer

I want to attach oled 1.3" to nodemcu esp32s

I want to attach oled 1.3" SH1106 to nodemcu esp32s I used this library (https://github.com/wonho-maker/Adafruit_SH1106) but it says "adafruit_sh1106.cpp:29:26: fatal error: avr/pgmspace.h: no such file or directory". I tried to use another library…
-1
votes
1 answer

ISSUES USING AS7265X SPECTRAL SENSOR WITH SPARKFUN ESP32-S2 THING PLUS

So I have connected a SparkFun Triad Spectroscopy Sensor - AS7265x (Qwiic) to my SparkFun Thing Plus - ESP32-S2 WROOM using a Qwiic cable. I loaded the example code and I am only getting zeros from the sensors... No error, it throws a connection…
Thegasman2000
  • 95
  • 3
  • 10