Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP-WROOM32 #74

Closed
thl-mot opened this issue Dec 2, 2016 · 15 comments
Closed

ESP-WROOM32 #74

thl-mot opened this issue Dec 2, 2016 · 15 comments

Comments

@thl-mot
Copy link

thl-mot commented Dec 2, 2016

Hi,
I tried to run blink on an ESP-WROOM32. Download seams to work. RxD and TxD flashes while download. But no reaction from the ESP-Board.
Another try with Serial: I expected a flashing TxD-LED but here as well: no reaction.
What is wrong? Where can I debug to get more information.
Thomas

@lbernstone
Copy link
Contributor

lbernstone commented Dec 3, 2016

I have no idea if LED_BUILTIN is set to the correct pin right now. me_no_dev is probably very busy trying to integrate the new IDF, so maybe try setting up a little breadboard with an led, resistor and your esp32, and set things up to write to a numbered pin instead of LED_BUILTIN. (https://www.arduino.cc/en/tutorial/blink or http://www.ladyada.net/learn/arduino/lesson3.html)

@clowrey
Copy link

clowrey commented Dec 3, 2016

There is no built in LED on the ESP-WROOM32 module itself but it is defined in the hardware variants, you can easily find the pin by searching for LED_BUILTIN in this repository like so:
https://github.com/espressif/arduino-esp32/search?utf8=%E2%9C%93&q=LED_BUILTIN

From that search it looks like it only gets defined on certain bords like below and the pin is different on each:
nano32: #define LED_BUILTIN 16
lolin32: #define LED_BUILTIN 2
espea32: #define LED_BUILTIN 5

@thl-mot
Copy link
Author

thl-mot commented Dec 3, 2016

I checked several output pins with the LED and specified different PORTS in the code, no result.
Even a small Serial-Sender like the following one did not work:

void setup() {
    Serial.begin(9600)
}
void loop() {
    Serial.print("Hello");
  delay(1000);                      
}

I don't get any output at TxD.

Thomas

@thl-mot
Copy link
Author

thl-mot commented Dec 3, 2016

I got it working, you have to press the button under the usb connector. So main problem solved, it is running in arduino-ide. Now I have to try this on sloeber-ide. This seams to be more work. Because the package-json does not yet contain all information to get it started.

@me-no-dev
Copy link
Member

no clue what package.json you refer to, but I have it running fine inside sloeber.

@thl-mot
Copy link
Author

thl-mot commented Dec 4, 2016

with the package.json I ment the definition file for the package manager. As I included your esp32-package as custom hardware and libraries it works in sloeber-ide. I think the better way would be to include it by the package manager. At least its working now.
There is one some small thing, because the ide shows errors even though its perfectly compiling the file.
The following lines of the WiFiScan example show errors:

Serial.print(WiFi.SSID(i));
Serial.print(WiFi.RSSI(i));

Do you have an idea where these errors come from and how I can fix it.
Thomas

@me-no-dev
Copy link
Member

not errors, eclipse tripping because it does not understand the methods correctly. Nothing is wrong with anything.
Package manager will come once we have some sort of stable Arduino. There are many many things still that need work.

@thl-mot
Copy link
Author

thl-mot commented Dec 5, 2016

Do you have timeline/backlog/"list of things to do". Maybe I can help. Will you also include Bluetooth support or is this functionality outside the scope of Arduino?

@me-no-dev
Copy link
Member

Bluetooth will be included. Things are done as they come available in IDF, so there isn't a backlog really.

@thl-mot thl-mot closed this as completed Dec 6, 2016
@zhivko
Copy link

zhivko commented Dec 6, 2016

Maybe a ralated topic to this one - the other way I tried GPIO34, and I was not able to make it work.
However https://learn.sparkfun.com/tutorials/esp32-thing-hookup-guide#arduino-example-blink ledpin=5 worked as it supposed.
@me-no-dev maybe you know what could be the reason GPIO34 does not work?

@me-no-dev
Copy link
Member

pins 34 and up can be only inputs

@zhivko
Copy link

zhivko commented Dec 6, 2016

Oh... They should be then named GPI and not GPIO ;) (joke) ... Do you have any other idea how to visually represent this information on esp32 pins.
I saw that on this link there are diferrent colors for each pin - can you put up a color legend with meaning?

@me-no-dev
Copy link
Member

@aspiringguru
Copy link

link above was broken for me. this link worked for me > http://wiki.ai-thinker.com/_media/esp32/docs/esp32_chip_pin_list_en.pdf

@Navis-Raven
Copy link

Hi,
What about the WROVER KIT ? What is it's LED BUILTIN ? How to make the LED D7 blinks (not the RGB) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants