Programming in Arduino IDE an HELTEC ESP32 lora wifi kit (v2) is the same as any other ESP board.

Install Arduino IDE and then set the board in “Boards Manager”. In the “Preferences” window of the ArduinoIDE enter

https://dl.espressif.com/dl/package_esp32_index.json

into Additional Board Manager URLs field.

Then open “Boards Manger” from “Tools” and install the ESP32 package.

Then select the board:

To test the board, upload one of the examples, get the chip id;

uint64_t chipid;  

void setup() {
	Serial.begin(115200);
}

void loop() {
	chipid=ESP.getEfuseMac();//The chip ID is essentially its MAC address(length: 6 bytes).
	Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32));//print High 2 bytes
	Serial.printf("%08X\n",(uint32_t)chipid);//print Low 4bytes.

	delay(3000);

}

Upload the code and see the results in the serial console

 

Additional resources:

https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md
WIFI LoRa 32 (V2)
Tutorial: Heltec ESP32 Board + The Things Network

Heltec WiFi 32 board
 

Breadboard & wires:

Air quality sensors:

HELTEC ESP32 lora wifi kit v2
Tagged on:             

2 thoughts on “HELTEC ESP32 lora wifi kit v2

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.