Skip to content
This repository was archived by the owner on Aug 1, 2022. It is now read-only.
This repository was archived by the owner on Aug 1, 2022. It is now read-only.

Which pins can be used? #175

Open
Open
@HelenFoster

Description

@HelenFoster

Hi, at the moment this is really quite difficult to figure out. There were people on the forums having trouble too. I think it would be useful if there was a straightforward list of all the exposed pins, stating for each pin whether it can be used freely, or whether there is something to watch out for.

For example, looking at the Basic,

In core/basic.md:

  • 18,19,23 are SPI shared with the LCD and TF card (can they be used for additional SPI?)
  • 25 is connected to the speaker
  • 21,22 are I2C connected to the GROVE port (can they be used as GPIO if not using GROVE?)

ESP32 info:

  • 0,1,3,12 have something to do with the boot sequence
  • 35,36 are input-only without pullups

In the schematic:

  • 1,3 are connected to the CP2104 USB serial
  • ???

Trial and error:

  • I tried to use 2 as an output, it didn't seem to work, but I couldn't find any info about it.

api/gpio.md gives some info about what the different pins are for, but doesn't answer this question. For example, it labels 1,3,16,17 as "UART", but as far as I can tell 16,17 are available for GPIO while 1,3 are not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions