Nebra Outdoor

wio sx1262 board on 'hat' header, for pymc_repeater or meshtasticd

Wio sx1262 (from esp+wio kit) connected to Nebra pin header pinout note for sx1262 on nebra pin header

This pinout is inspired by/compatible with the Zebra Hat. The Zebra Hat is different from other LoRa hats because it considers the limited number of actually connected pins in the Nebra miner. By being compatible with that board, after connecting all the wires, pyMC_Repeater just works when picking the Zebra Hat board type.

Full pinout description (you can use pinout.xyz instead of the second photo above):

  • SX1262 MOSI, MISO and SCK to Nebra SPI0 MOSI, MISO and SCLK
  • SX1262 DIO1 to Nebra GPIO22
  • SX1262 BUSY to Nebra GPIO27
  • SX1262 RST to Nebra GPIO17
  • SX1262 NSS to Nebra GPIO24
  • SX1262 3V3 to Nebra 3V3
  • SX1262 GND to Nebra GND

There is a GND right next to GPIO17, and a 3V3 between GPIO22 and SPI0 MOSI. If you use those two, all pins are in a single straight line except for the NSS one on GPIO24.

unsorted notes, to be sorted

via https://helium.nebra.com/datasheets/hotspots/outdoor/Nebra%20Outdoor%20Hotspot%20Datasheet.pdf

has two:

Lora Module Connector - Designed for use with select M-PCIE LoRa Concentrators, these only have wired up SPI, plus GPS PPS from the GPS Module

it also has one slot with just USB wired up (and the SIM and ....)

But now I wonder if we can replace the entire Pi CM(3) daughterboard with some esp or nrf plus semtech 1262 kit to even avoid the power draw of a pi - depending on use case, of course. Answer: we can remove the cm3 and still get all power pins.

https://github.com/wehooper4/Meshtastic-Hardware/tree/main/NebraHat

https://github.com/wirenboard/atecc-util

https://github.com/pinztrek/nebra-hnt-meshtasticd - mentioned waveshare board might be https://www.waveshare.com/sx1262-868m-lora-hat.htm, also https://m.youtube.com/watch?v=hJv9Xv6PUJ4 plus https://www.youtube.com/watch?v=OrHVr8An9Io

https://meshtastic.org/blog/a-major-solution-to-a-miner-problem/

usb hub (bt/wifi) daughter board

appears to get usb over an actual usb cable from a usb port on the mainboard. the 40 pin header only appears to have a few pins connected:

  • 1 (3v3), going to ECC1 and other things
  • 22 (gpio25, going to LED1)
  • 17? going to a button
  • two more low-numbered pins going to ECC1, probably 2 (I2C1 SDA) and 3 (I2C1 SCL)

exar ethernet/i2c/gpio

Bus 001 Device 005: ID 04e2:1300 Exar Corp. XR2280x 10/100 Ethernet
Bus 001 Device 006: ID 04e2:1100 Exar Corp. XR2280x I2C Controller
Bus 001 Device 007: ID 04e2:1200 Exar Corp. XR2280x GPIO Controller

power draw

each section here is an incremental change from the previous one

stock miner, BT dongle removed, heltec v3 plugged in

5-7W

peter@tabantha:~ $ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 001: Dev 003, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 001: Dev 005, If 0, Class=Communications, Driver=cdc_ether, 480M
            |__ Port 001: Dev 005, If 1, Class=CDC Data, Driver=cdc_ether, 480M
            |__ Port 006: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 007: Dev 008, If 0, Class=Human Interface Device, Driver=usbhid, 480M
        |__ Port 003: Dev 004, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 001: Dev 007, If 0, Class=Vendor Specific Class, Driver=rtl8xxxu, 480M
            |__ Port 002: Dev 009, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M

remove wifi

4W

peter@tabantha:~ $ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 001: Dev 003, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 001: Dev 005, If 0, Class=Communications, Driver=cdc_ether, 480M
            |__ Port 001: Dev 005, If 1, Class=CDC Data, Driver=cdc_ether, 480M
            |__ Port 006: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 007: Dev 008, If 0, Class=Human Interface Device, Driver=usbhid, 480M
        |__ Port 003: Dev 004, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 002: Dev 007, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M

remove heltec

4-5W

peter@tabantha:~ $ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 001: Dev 003, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 001: Dev 005, If 0, Class=Communications, Driver=cdc_ether, 480M
            |__ Port 001: Dev 005, If 1, Class=CDC Data, Driver=cdc_ether, 480M
            |__ Port 006: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 007: Dev 008, If 0, Class=Human Interface Device, Driver=usbhid, 480M
        |__ Port 003: Dev 004, If 0, Class=Hub, Driver=hub/4p, 480M

remove usb daughterboard (the one with bt/wifi labels on it) from pin header

3.5-6W

peter@tabantha:~ $ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 001: Dev 003, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 001: Dev 005, If 0, Class=Communications, Driver=cdc_ether, 480M
            |__ Port 001: Dev 005, If 1, Class=CDC Data, Driver=cdc_ether, 480M
            |__ Port 006: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 007: Dev 007, If 0, Class=Human Interface Device, Driver=usbhid, 480M
        |__ Port 003: Dev 004, If 0, Class=Hub, Driver=hub/4p, 480M

also remove it from usb socket

peter@tabantha:~ $ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 001: Dev 003, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 001: Dev 005, If 0, Class=Communications, Driver=cdc_ether, 480M
            |__ Port 001: Dev 005, If 1, Class=CDC Data, Driver=cdc_ether, 480M
            |__ Port 006: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 007: Dev 007, If 0, Class=Human Interface Device, Driver=usbhid, 480M

pop cm3 out of socket

1.5-3W

connect usb daughterboard back (just on usb, not pin header), with heltec connected to it

3.5W (the heltec works)

remove everything that is unpluggable

unifi refuses to measure

plug heltec in mainboard usb socket

heltec works.

unifi refuses to measure

insert minipcie usb adapter board from aliexpress, move heltec to it

heltec works. no unifi measurement.

put back cm3 carrier with cm3 module and eMMC key

4W

heltec works, serial to it works.

peter@tabantha:~ $ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 001: Dev 003, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 001: Dev 005, If 0, Class=Communications, Driver=cdc_ether, 480M
            |__ Port 001: Dev 005, If 1, Class=CDC Data, Driver=cdc_ether, 480M
            |__ Port 006: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 007: Dev 007, If 0, Class=Human Interface Device, Driver=usbhid, 480M
        |__ Port 002: Dev 004, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M