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

Add support for Heltec HRI-485-2 #3340

wants to merge 2 commits into
base: master
Choose a base branch


Copy link

@serpent213 serpent213 commented Mar 6, 2024

The Heltec HRI-485-2 is a LoRa to Ethernet gateway with wide-range DC power input, packaged in a DIN rail case. Includes slots for SIM card and LTE modem.


LoRa radio: SX1262
Ethernet PHYceiver: Realtek RTL8201F
Extra flash: GigaDevice GD25Q64C (64 Mbit)
RS-485 transceiver (not populated)





(4 layer board)

I'm not sure how to activate the RTL8201. It seems, Ethernet is tied more or less to a specific platform:

src/DebugConfiguration.h:113:10: fatal error: RAK13800_W5100S.h: No such file or directory

After removing the includes:

src/mqtt/MQTT.h:17:10: fatal error: EthernetClient.h: No such file or directory

If I'm not mistaken it should be enough to include ETH.h as part of the ESP32 Arduino library.

Related to #2107. I did not reverse engineer the board fully yet, but apparently Eth and LoRa are connected in parallel.


Copy link

CLAassistant commented Mar 6, 2024

CLA assistant check
All committers have signed the CLA.

@caveman99 caveman99 marked this pull request as draft March 11, 2024 09:59
@caveman99 caveman99 changed the title [DRAFT] Add support for Heltec HRI-485-2 Add support for Heltec HRI-485-2 Mar 11, 2024
Comment on lines +26 to +29
#define LORA_SCK 9
#define LORA_MISO 11
#define LORA_MOSI 10
#define LORA_CS 8
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if LoRa module can be connected to those GPIO pins, as those pins are reserved for SPI Flash.

If you check wires, they are connected to ESP32 Pins around 28-33 which is used for SPI Flash.
Atleast I am not aware that you can share Quad Serial Flash interface with something else.

My guess from that 4 layer board is, that lora module will be connected around JTAG pins GPIO 12-14

Ethernet also has exact pins, which Can not be used to anything else around 20-26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

4 participants