# Nebra Indoor Miner

first generation, Pi3 CM based.
2 USB, 1 miniPCIe with exactly enough pins for SX1262.

[schematic](https://github.com/NebraLtd/nebra-lora-hardware/blob/master/Smart-Indoor-Mainboard-V1/HARDWARE/indoor-schematic.pdf)

## working SPI pymc setup

```python
                "bus_id": 1,
                "cs_id": 0,
                "cs_pin": 24,
                "reset_pin": 38,
                "busy_pin": 32,
                "irq_pin": 33,
                "txen_pin": -1,
                "frequency": int(869.618 * 1000000),  # EU: 869.525 MHz,
                "tx_power": 22,
                "spreading_factor": 8,
                "bandwidth": int(62.5 * 1000),
                "coding_rate": 8,
                "preamble_length": 17,
                "use_dio3_tcxo": True
```

miniPCIe pins:

* SPI (MISO/MOSI/SCLK/CS in that order) on 47/49/45/51
* RST on 22
* BUSY on 31
* DIO1/IRQ on 33
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9