Esp-idf: ESP-32 WROVER KIT what are the role of the LED ? How to make D7 blinks ?

Created on 4 Sep 2018  路  9Comments  路  Source: espressif/esp-idf

Environment

  • Development Kit: [ESP32-Wrover-Kit]
  • Kit version (for WroverKit/PicoKit/DevKitC): [v4]
  • Core (if using chip or module): [ESP32-Wrover]
  • Development Env: [VSCode]
  • Operating System: [Windows]
  • Power Supply: [USB]

Problem Description

The ESP-WROVER-KIT starter guide describe that D7 (which is a LED on the board) can be toggled by switching GPIO35 but it does not work

https://github.com/espressif/esp-idf/blob/master/docs/en/get-started/get-started-wrover-kit.rst

Expected Behavior

I think that it is a documentation issue. The documentation does not precise what are the role the LED. And whatever, the LED 7 should blinks if it is GPIO35 according to the documentation.
image

Furthemore there is no blinky code example on the web (except for the RGB LED)

Actual Behavior

Nothing happens

Code to reproduce this issue

#include <Arduino.h>

#ifndef LED_BUILTIN
  // Set LED_BUILTIN if it is not defined by Arduino framework
  #define LED_BUILTIN 7
#endif

void setup()
{
  // initialize LED digital pin as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop()
{
  // turn the LED on (HIGH is the voltage level)
  digitalWrite(LED_BUILTIN, HIGH);
  // wait for a second
  delay(1000);
  // turn the LED off by making the voltage LOW
  digitalWrite(LED_BUILTIN, LOW);
   // wait for a second
  delay(1000);
}

Most helpful comment

Hi @Navis-Raven,
Thank you for taking time to document issues you had with documentation. I will address them in upcoming release of Getting Started Guide for V4.1 of the ESP-WROVER-KIT. The document you refer to is for V3 of this board.

All 9 comments

D7 is DATA BIT 7 for the Camera interface. RGB LEDs are defined further down:
https://docs.espressif.com/projects/esp-idf/en/latest/get-started/get-started-wrover-kit.html#get-started-esp-wrover-rgb-led-connections

Where in the documentation did you see that GPIO35 is connected to LED?

I think the root cause is that the red power LED on the board has component name D7. (Diode 7.)

Unfortunately the D7 power LED and the D7 on the camera connector are different D7s.

As @me-no-dev indicates, the RGB LED is controllable via GPIOs in software.

@me-no-dev you see this D7 directly on the board
@projectgus ok so, there is a single name for two different things. So the problem is from the electronic design. At least a note in the documentation that precise to not to confuses these things is highly recommandable.

@projectgus so the only one drivable led is the RGB isn't it ?

As for today there is nowhere in any documentation, that precise the r么le of each LED: D5 to D12

The documentation guide should be updated to include these informations.

Functionality of those leds is shown in the schematic of the board. While I can understand the need for better silk screen maybe, general rule of thumb is that unmarked LEDs are unaccessible. You can guess the functionality of the LEDS (if schematic is not provided) by their position. D9-12 for example are right next to the FTDI chip and D7 is close to the power.

screen shot 2018-09-04 at 15 06 42
screen shot 2018-09-04 at 15 07 00

@me-no-dev

general rule of thumb is that unmarked LEDs are unaccessible

Admitting this rule, a table which explicit the r么le of each of these unaccessible LED would be welcomed and also a note that warns the user to not confuse the D7 (or any other Dx) on the silkscreen and the other D7. I don't know who is in charge of the wrover kit tutorial documentation, it's juste one table and one phrase. Please notice, that as of today, the only documentations of the Wrover Kit is the pdf schematic above, and the getting started guide there is nothing else, no description document or datasheet, nor bill of material or gerber files. I guess that it is because it is still a new product...

image

Hi @Navis-Raven,
Thank you for taking time to document issues you had with documentation. I will address them in upcoming release of Getting Started Guide for V4.1 of the ESP-WROVER-KIT. The document you refer to is for V3 of this board.

What is this ?

image

Hi @SDS-Emb, this is to hide the older version of documents in main menu, so orphan files are not reported, while keeping them available for linking in other places. These files are accessible under Previous Versions of ESP32 Modules and Boards

Was this page helpful?
0 / 5 - 0 ratings