ESP32-PICO-D4 Questions
Posted: Sun Sep 24, 2023 10:29 pm
Hello all,
I have build a custom PCB that has a PICO-D4 populated as part of the design, I have built a off-board programming PCB so that in production we can save some costs by not including all the unnecessary programming components on every board.
I have based my design on the ESP-PICO-D4-Kit and use the same programming components that development board uses.
I have a couple of questions that I would like some help with please.
I am using the Arduino IDE for programming as I am comfortable with that, and found that I was not able to upload to my board, following some other forum posts I found that I was only able to program my board if I pulled IO2 and IO12 down to GND, why would this be when on the ESP32-PICO-D4-Kit, D12 is pulled up to 3.3v and IO2 is not connected, how does it work on the dev board but not for me?
Also, is there a pin mapping/reference schedule for GPIO pins and what their identifiers are in the Arduino IDE? I have Status LEDs connected to IO19, IO22 and IO23 but when I address these with the following code, nothing happens.
Thank you all for your assistance.
Best,
M
I have build a custom PCB that has a PICO-D4 populated as part of the design, I have built a off-board programming PCB so that in production we can save some costs by not including all the unnecessary programming components on every board.
I have based my design on the ESP-PICO-D4-Kit and use the same programming components that development board uses.
I have a couple of questions that I would like some help with please.
I am using the Arduino IDE for programming as I am comfortable with that, and found that I was not able to upload to my board, following some other forum posts I found that I was only able to program my board if I pulled IO2 and IO12 down to GND, why would this be when on the ESP32-PICO-D4-Kit, D12 is pulled up to 3.3v and IO2 is not connected, how does it work on the dev board but not for me?
Also, is there a pin mapping/reference schedule for GPIO pins and what their identifiers are in the Arduino IDE? I have Status LEDs connected to IO19, IO22 and IO23 but when I address these with the following code, nothing happens.
Code: Select all
const int led1 = 19;
const int led2 = 22;
const int led3 = 23;
void setup() {
// put your setup code here, to run once:
pinMode (led1, OUTPUT);
pinMode (led2, OUTPUT);
pinMode (led3, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(led1, HIGH);
digitalWrite(led2, HIGH);
digitalWrite(led3, HIGH);
}
Best,
M