Search found 160 matches

by GeorgeFlorian1
Wed Nov 24, 2021 3:23 pm
Forum: ESP32 Arduino
Topic: esp_eth_set_mac does nothing. Can't change ESP's MAC Address
Replies: 3
Views: 8216

esp_eth_set_mac does nothing. Can't change ESP's MAC Address

Hello. I'm trying to set the MAC of the ETH interface the same as the WiFi interface using the following code: ETH.begin(); uint8_t mac[] = {}; esp_wifi_get_mac(WIFI_IF_STA, &mac[0]); esp_eth_set_mac(&mac[0]); Serial.print("ETH MAC: "); Serial.println(ETH.macAddress()); This prints the right MAC, wh...
by GeorgeFlorian1
Tue Sep 14, 2021 12:13 pm
Forum: ESP32 Arduino
Topic: Can't connect to ESP32 STA_MODE while in a local network.
Replies: 0
Views: 1588

Can't connect to ESP32 STA_MODE while in a local network.

I have an ESP32 and a laptop connected to a switch, making a local network with no internet access. I have set the ESP in STA Mode, with an Ethernet connection: ETH.config(local_IP_STA, gateway_STA, subnet_STA, primaryDNS); The gateway is the same as the switch address. The subnet is 255.255.255.0 A...
by GeorgeFlorian1
Fri Aug 06, 2021 11:21 am
Forum: Hardware
Topic: Can I power an ESP32 using 5V except USB ?
Replies: 3
Views: 17676

Re: Can I power an ESP32 using 5V except USB ?

Hello @GeorgeFlorian1 have a look at the specs of your board: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html#power-supply-options BTW: I don't think there is a VIN pin. Thanks Felix I've looked for that page for years and I couldn't find it. ...
by GeorgeFlorian1
Wed Aug 04, 2021 1:04 pm
Forum: Hardware
Topic: Can I power an ESP32 using 5V except USB ?
Replies: 3
Views: 17676

Can I power an ESP32 using 5V except USB ?

What are the 5V and VIN pins used for on a DevKitV4 with ESP32 Wrover-B ?
Can I power the ESP using one of those pins ?

If not, then I am supposed to get a 3V3 power supply and use the 3V3 pin ?
by GeorgeFlorian1
Tue Jul 20, 2021 2:47 pm
Forum: ESP32 Arduino
Topic: Why are GPIOs 34 and 35 always LOW ?
Replies: 8
Views: 17021

Re: Why are GPIOs 34 and 35 always LOW ?

pinMode(GPIO, OUTPUT); digitalWrite(GPIO, STATE); --- pinMode(GPIO, INPUT); or INPUT_PULLUP INPUT_PULLDOWN xxx=digitalRead(GPIO); --- If the pin is configured as an INPUT, digitalWrite() will enable (HIGH) or disable (LOW) the internal pullup on the input pin. It is recommended to set the pinMode()...
by GeorgeFlorian1
Tue Jul 20, 2021 11:30 am
Forum: Hardware
Topic: What ESP32 has the most amount of free GPIO ?
Replies: 2
Views: 2687

What ESP32 has the most amount of free GPIO ?

Hello. I need an ESP32 variant being able to drive a LED display that uses the following pins: #define R1_PIN GPIO_NUM_12 #define G1_PIN GPIO_NUM_14 #define B1_PIN GPIO_NUM_33 #define R2_PIN GPIO_NUM_25 #define G2_PIN GPIO_NUM_9 #define B2_PIN GPIO_NUM_18 #define A_PIN GPIO_NUM_19 #define B_PIN GPIO...
by GeorgeFlorian1
Tue Jul 20, 2021 11:14 am
Forum: ESP32 Arduino
Topic: Why are GPIOs 34 and 35 always LOW ?
Replies: 8
Views: 17021

Re: Why are GPIOs 34 and 35 always LOW ?

Input only pins GPIOs 34 to 39 are GPIs – input only pins. These pins don’t have internal pull-ups or pull-down resistors. They can’t be used as outputs, so use these pins only as inputs: GPIO 34 GPIO 35 GPIO 36 GPIO 39 https://randomnerdtutorials.com/esp32-pinout-reference-gpios/ use external pull...
by GeorgeFlorian1
Mon Jul 19, 2021 1:56 pm
Forum: General Discussion
Topic: Should it be possible to shutdown a PC using an ESP32 ?
Replies: 1
Views: 2225

Should it be possible to shutdown a PC using an ESP32 ?

Hello. I am trying to shutdown a PC that runs Linux using an ESP32. The ESP32 should be in softAP() mode and the PC should be connected to it. I've thought of using https://github.com/ewpa/LibSSH-ESP32 to establish a SSH Connection and send a command, but I am unable to figure out how to use that li...