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

Pinout for Heltec_wifi_kit_32_v3 is incorrect #7737

Closed
1 task done
smerkadidit opened this issue Jan 20, 2023 · 7 comments
Closed
1 task done

Pinout for Heltec_wifi_kit_32_v3 is incorrect #7737

smerkadidit opened this issue Jan 20, 2023 · 7 comments
Labels
Resolution: Awaiting response Waiting for response of author Status: Community help needed Issue need help from any member from the Community. Type: 3rd party Boards

Comments

@smerkadidit
Copy link

Board

heltec_wifi_kit_32_v3

Device Description

https://heltec.org/project/wifi-kit-32-v3/

Hardware Configuration

Standard. The pinout in the pins file is incorrect

Version

latest master (checkout manually)

IDE Name

platformio

Operating System

win10

Flash frequency

x

PSRAM enabled

yes

Upload speed

1000000

Description

The pinout for the Heltec_wifi_kit_32_v3 is incorrect.... https://heltec.org/project/wifi-kit-32-v3/

it seems like the pins_arduino.h file is a copy paste of the V2, but with the V3 board there is an updated pinout

Please update the pins_arduino.h file so the board will work

Sketch

The pinout for the Heltec_wifi_kit_32_v3 is incorrect.... https://heltec.org/project/wifi-kit-32-v3/

They updated the pintout, please fix

Debug Message

will not send the correct info to the board but will not give error

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@smerkadidit smerkadidit added the Status: Awaiting triage Issue is waiting for triage label Jan 20, 2023
@P-R-O-C-H-Y
Copy link
Member

Hi @smerkadidit, if possible please open a PR with the fix of the pinout for Heltec_wifi_kit_32_v3. Thanks

@smerkadidit
Copy link
Author

I was trying to figure that out still. I got the TX and RX pins sorted but some of the others I havent figured out yet.

They have a pin map but admittedly, im newer to this platform to trying to figure it out still

@P-R-O-C-H-Y P-R-O-C-H-Y added Status: Community help needed Issue need help from any member from the Community. and removed Status: Awaiting triage Issue is waiting for triage labels Jan 20, 2023
@mrengineer7777
Copy link
Collaborator

Possibly related #7684

@smerkadidit
Copy link
Author

smerkadidit commented Jan 20, 2023

V2 Board
Pinout Diagram: https://resource.heltec.cn/download/WiFi_Kit_32/WIFI_Kit_32_pinoutDiagram_V2.pdf
Schematic Diagram: https://resource.heltec.cn/download/WiFi_Kit_32/WIFI_Kit_32_Schematic_diagram_V2.1.PDF

V3 Board
Pinout Diagram: https://resource.heltec.cn/download/HTIT-WB32_V3(Rev1.1).pdf
Schematic: https://resource.heltec.cn/download/WiFi_Kit_32_V3/HTIT-WB32_V3_Schematic_Diagram.pdf

This is what I have got so far.
NOTE: Commented out numbers are what they were in the file originally.

#ifndef Pins_Arduino_h
#define Pins_Arduino_h

#include <stdint.h>

#define WIFI_Kit_32_V3 true
#define DISPLAY_HEIGHT 64
#define DISPLAY_WIDTH 128

#define EXTERNAL_NUM_INTERRUPTS 16
#define NUM_DIGITAL_PINS 40
#define NUM_ANALOG_INPUTS 16

#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34)

static const uint8_t LED_BUILTIN = 35; // was 25
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN

static const uint8_t KEY_BUILTIN = 0;

static const uint8_t TX = 44; // was 1
static const uint8_t RX = 43; //was 3

static const uint8_t SDA = 36; //was 21
static const uint8_t SCL = 18; //was 22

static const uint8_t SS = 8; //was 5
static const uint8_t MOSI = 10; //was 23
static const uint8_t MISO = 11; //was 19
static const uint8_t SCK = 9; //was 18

static const uint8_t A0 = 36; //
static const uint8_t A1 = 37; //
static const uint8_t A2 = 38; //
static const uint8_t A3 = 39; //
static const uint8_t A4 = 32; //
static const uint8_t A5 = 33; //
static const uint8_t A6 = 34; //
static const uint8_t A7 = 35; //

static const uint8_t A10 = 4; //
static const uint8_t A11 = 0; //
static const uint8_t A12 = 2; //
static const uint8_t A13 = 15; //
static const uint8_t A14 = 13; //
static const uint8_t A15 = 12; //
static const uint8_t A16 = 14; //
static const uint8_t A17 = 27; //
static const uint8_t A18 = 25; //
static const uint8_t A19 = 26; //

static const uint8_t T0 = 4; //
static const uint8_t T1 = 0; //
static const uint8_t T2 = 2; //
static const uint8_t T3 = 15; //
static const uint8_t T4 = 13; //
static const uint8_t T5 = 12; //
static const uint8_t T6 = 14; //
static const uint8_t T7 = 27; //
static const uint8_t T8 = 33; //
static const uint8_t T9 = 32; //

static const uint8_t DAC1 = 25; //
static const uint8_t DAC2 = 26; //

static const uint8_t Vext = 36; //was 21
static const uint8_t LED = 35; //was 25
static const uint8_t RST_OLED = 21; // was 16
static const uint8_t SCL_OLED = 18; //
static const uint8_t SDA_OLED = 17; //

#endif /* Pins_Arduino_h */

@VojtechBartoska
Copy link
Collaborator

Can this be considered as solved?

@mrengineer7777
Copy link
Collaborator

Likely resolved by #7697.

@P-R-O-C-H-Y
Copy link
Member

P-R-O-C-H-Y commented Feb 24, 2023

Forgot to link this issue to the PR @mrengineer7777 mentioned. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Awaiting response Waiting for response of author Status: Community help needed Issue need help from any member from the Community. Type: 3rd party Boards
Projects
None yet
Development

No branches or pull requests

4 participants