Giter Club home page Giter Club logo

hlwe32's Introduction

HLWE32

Due to bad supported new boards offered by Heltec, I've frankesteinized these two repos for my own use:

Feel free to do with this whatever you want or can. In order to use this library, you will need to know that there's an issue in the Espressif platform related to the new Heltec boards. The support for them has been merged by GitHub user Baptou88 (thanks Baptou88!). It is related to the boards pinout and may be that, when you read this, the issue is solved. So, if you get connectivity problems, it may be you can solve them locating and modifying your local copy of the file pins_arduino.h. These are the relevant lines:

/* 
$HOME/.platformio/packages/framework-arduinoespressif32/variants/heltec_wifi_lora_32_V3/pins_arduino.h
*/

...

// #define WIFI_LoRa_32_V3 true

...

static const uint8_t SDA = 41;
static const uint8_t SCL = 42;

static const uint8_t SS    = 8;
static const uint8_t MOSI  = 10;
static const uint8_t MISO  = 11;
static const uint8_t SCK   = 9;

...

When done, you can use this example:

; platformio.ini
;
; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:heltec_wifi_lora_32_v3]
;platform = https://github.com/Baptou88/platform-espressif32
platform = espressif32

board = heltec_wifi_lora_32_V3
framework = arduino
monitor_speed = 115200
monitor_filters = log2file, time, default, esp32_exception_decoder
build_flags =
    -D REGION_EU868
    -D ACTIVE_REGION=LORAMAC_REGION_EU868
    -D LoRaWAN_DEBUG_LEVEL=1
    -D LORAWAN_PREAMBLE_LENGTH=8
    -D WIFI_LoRa_32_V3

lib_deps=https://github.com/amicmc/HLWE32

We've got a bunch of Heltec WiFi LoRa ESP32 based boards (v.2.1 and v3) and they are working now.

hlwe32's People

Contributors

amicmc avatar ajmcalvo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.