Questions tagged [esp01]
11 questions
2
votes
1 answer
Console of ESP01 flashed with Micropython 1.17 can't be accessed
I was able to flash my ESP01 (1MB of Flash) with micropython:
esptool.py --port $PORT erase_flash
esptool.py --chip auto --port $PORT write_flash -z 0x000000 $IMAGE
esptool.py v2.8
Serial port…

Besi
- 715
- 7
- 17
1
vote
0 answers
Latency during UDP transmission via ESP-01S (ESP8266-01)
I'm working on a project that consists in sending data frames at a frequency of 200Hz, from a Teensy 4.1 to another, through two ESP-01S (See diagram and code below).
Hardware :
The system is composed of two identical subsystems, themselves composed…

Juno
- 69
- 2
1
vote
1 answer
ESP-01 takes a long time and multiple resets to connect to Wi-Fi
I have a ESP-01 chip I'm trying to program using the Expressif C SDK. I'm using the ESP chip with a breakout board with a decoupling capacitor. I'm supplying power to it using the 3.3V pin on an Arduino Uno.
I flashed the Wi-Fi example from…

kovac
- 343
- 1
- 8
1
vote
1 answer
Problems driving a relay: ESP-01 via I2C bus controlling PCF8574 to activate a Songle Relay
In the past, I've been able to drive a relay using a 2n2222a via a GPIO pin given the same schematic with PCF removed. However, once I introduce the PCF8574, it doesn't work.
I have read that I should probably change the schematic to use sink…

Mr. Sparkle
- 21
- 6
0
votes
0 answers
GPIO ISR is not getting called for DHT22 input
I'm trying to read the input from a DHT22 sensor using an ESP-01. Following is my code:
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "driver/gpio.h"
#include "driver/hw_timer.h"
#include…

kovac
- 343
- 1
- 8
0
votes
2 answers
What is the value of GPIO input along a rising or falling edge?
I'm using the gpio_get_level function documented here, which states that it returns a 0 or 1 depending on the value. What is the value if this function is called during a rising or a falling edge? Or can it never happen because of timing?
I tried to…

kovac
- 343
- 1
- 8
0
votes
1 answer
Why do I need to ground GP0 to enter programming mode in ESP8266?
I have an ESP-01 chip. I found out that I need to ground the GP0 pin to enter the programming mode to flash a program to the chip. I can't find anything in the ESP8266 datasheet that documents this. I'm wondering how we know that we need to ground…

kovac
- 343
- 1
- 8
0
votes
0 answers
I need help uploading scripts to an ESP01 through an Arduino UNO
I am a beginner with Arduino. I am trying to upload any basic script from my PC to an ESP01 through an Arduino UNO and Arduino IDE.
The code I am trying to upload is very basic:
void setup() {
// initialize LED_BUILTIN as an output pin.
…

Barth
- 1
0
votes
0 answers
Nucleo64 Vdd maximum output current
I'm trying to power an ESP-01 (8266 chip) using the 3.3v pin of a nucleo 64 stm32F446re board, but the module won't power up (red LED off). I've searched the web for information on the maximum current my board can put out, but haven't found anything…

Andrea
- 21
- 6
0
votes
3 answers
Pull-up on NPN transistor (during microcontroller power up)
I am using an ESP8266-01 to control a 3.3 V relay via a 2N7000 NPN transistor. The ESP8266 GPIOs use a 3.3 V logic level.
I have it connected to TXD (GPIO 3) and I am trying to stop the relay from activating a couple times on boot as the pins are…

Mr. Sparkle
- 21
- 6
-1
votes
1 answer
ESP01 doesn't show any network
I send the AT-CWLAP command to my ESP01 module, but it returns the same command without any network detected.
First I set the module to mode 1 (client mode) with AT+CWMODE=1, then I enter the command AT+RST, and finally AT+CWLAP.
I'm using a Nucleo…

Andrea
- 21
- 6