Skip to the content
PCBKitNew board
2 layers48.3 × 48.3 mmLora sensor, the printed circuit board in 3D

An experimental sensor node for The Things Network.

Size
48.3 × 48.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
82
Nets
53
Pads
262
Tracks, vias
850, 75
Pours
3
Routed
Yes
KiCad
KiCad 5 (file 20170123)
Created
5 Feb 2017
Updated
8 Nov 2017

Overview

Lora sensor is an open-source printed circuit board by KolijnWolfaardt, from the KolijnWolfaardt/TTN_sensor_node repository on GitHub. It is a 2-layer board of 48.3 × 48.3 mm with 82 parts on 53 nets, routed with 850 tracks and 75 vias.

It is built around the BH1603FVC-TR. Its parts include 26 resistors, 17 capacitors, 10 connectors, 6 ICs and 3 transistors. It belongs with the sensors and measurement and radio and wireless boards and the PIC boards of this library.

Main components

1

README

Readme.md

TTN Sensor Board

This is a basic sensor board I designed to experiment with the LORAWAN protocol, and The Things Network infrastructure. It is by no means intended to be a good or complete example of all the capabilities of either.

Photo of soldered board

The board uses a Microchip RN2483 to perform the RF communication and a PIC18F46J50 for the other work. The sensors were chosen based on what was available, for experimentation. Other sensors can easily be used.

The board is powered by a single LiPo battery, which is regulated down to 3.3v. To charge the LiPo battery, A MCP73831/2 Battery Management IC is used. The power part is not finished yet, as the batteries have not arrived, so there might be updates here.

Datasheets

Thanks to https://github.com/jpmeijers/RN2483shield for the RN2483 component and module.

Schematic and PCB layout

The schematic and PCB layout were created using KiCad, and can be found in the PCB Layout folder. The gerber files and schematic PDF can also be found there.

Board Top layout Board Top layout

Firmware

The firmware can be found in the Firmware folder, and is intended for the XC8 compiler using the MPLABX IDE. The board is programmed with a PicKIT 3 programmer, but the PicKIT 2 should also work. The basic flow of the program is shown in basic_control_flow.dia (Open with http://dia-installer.de/ flowchart editor) inside the Firmware folder.

comment [blocked]: # (For more details on the software, see Firmware/README.md )

The radio connects via ABP (Activation by personalization). The keys were programmed beforehand using a USB-serial converter, and the radio stores them internally. I will add some code later to set them in the code.

USB stack adapted from https://github.com/signal11/m-stack.git, for its license see the LICENSE file.

Board Mistakes

There are two mistakes on the board:

  • The ground pin on the PicKit header is not connected.
  • The battery voltage measurement circuit does not work. I replaced it with a voltage divider.

These are suggestions that require more rework, but are only for ease of use.

  • I cannot identify pin 1 of the optical sensor, so I left it off.
  • Breaking out the TX and RX lines to the RF module would have eased debugging.
  • A reset button would be nice, resetting both the MCU and the RF module.

Parts

82
QtyValueFootprintReferences
80Resistors_SMD:R_0805R1, R2, R5, R6, R8, R11, R12, R13
8100nFCapacitors_SMD:C_0805C1, C2, C6, C7, C8, C15, C16, C17
7330Resistors_SMD:R_0805R3, R4, R15, R18, R19, R20, R21
7LEDLEDs:LED_0805Charge_LED1, LED0, LED1, LED2, LED3, RF_LED_0, RF_LED_1
510kResistors_SMD:R_0805R9, R16, R17, R22, R23
5CONN_01X02Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmBattery_Current1, Battery_Input1, Charge_Current1, MCU_Current1, RF_Current1
31uFCapacitors_SMD:C_0805C3, C9, C14
3CONN_01X01Mounting_Holes:MountingHole_3.2mm_M3_PadJ1, J2, J3
222pFCapacitors_SMD:C_0805C10, C11
24.7uFCapacitors_SMD:C_1206C4, C5
247kResistors_SMD:R_0805R24, R25
2CONN_01X02libraries:SMA_edge_connectRF_HIGH_1, RF_LOW_1
2NXP BSS84TO_SOT_Packages_SMD:SOT-23Q1, Q3
2SwitchTactileButtons_Switches_SMD:SW_SPST_REED_CT05-XXXX-G1BUTTON_1, BUTTON_2
110nFCapacitors_SMD:C_0805C12
110uFCapacitors_SMD:C_1206C13
12kResistors_SMD:R_0805R10
13.3VMeasurement_Points:Measurement_Point_Square-SMD-Pad_SmallJ5
1470Resistors_SMD:R_0805R7
14k7Resistors_SMD:R_0805R14
1BH1603FVClibraries:BH1603FVCU5
1CONN_01X03Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mmUART2_CONN1
1CONN_01X06Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mmPICKIT1
1D_ZenerDiodes_SMD:D_SMA_HandsolderingD1
1FA_238libraries:Crystal_FA-238Y1
1GNDMeasurement_Points:Measurement_Point_Square-TH_BigJ9
1MCP73831/2TO_SOT_Packages_SMD:TSOT-23-5U2
1MCP9700T-ETO_SOT_Packages_SMD:SOT-23-5U6
1MCU_POWERMeasurement_Points:Measurement_Point_Square-SMD-Pad_SmallJ6
1NXP 2N7002,215TO_SOT_Packages_SMD:SOT-23Q2
1PIC18F2XJ50Housings_SSOP:SSOP-28_5.3x10.2mm_Pitch0.65mmU4
1RF_POWERMeasurement_Points:Measurement_Point_Square-SMD-Pad_SmallJ7
1RN2483libraries:RN2483U1
1R_VariableResistors_ThroughHole:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR26
1TPS736TO_SOT_Packages_SMD:SOT-23-5U3
1USB_Alibraries:USB_MicroP1
1V_BatteryMeasurement_Points:Measurement_Point_Square-SMD-Pad_SmallJ4
1V_USBMeasurement_Points:Measurement_Point_Square-SMD-Pad_SmallJ8

Questions

How big is the Lora sensor PCB?

It measures 48.3 × 48.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Lora sensor use?

82 parts, built around the BH1603FVC-TR. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Lora sensor KiCad files?

From the KolijnWolfaardt/TTN_sensor_node repository on GitHub, at the commit this page was made from: the board is PCB Layout/lora_sensor.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Lora sensor design in my own project?

Its repository states no licence, so its author keeps all rights: ask KolijnWolfaardt before reusing the design.

Similar boards

  • 2 layers220 × 300 mmTransit, the printed circuit board in 3D

    Transit

    thebenedict/seattletransit-hardware

    Schematic and PCB for a circuit board map of Seattle area public transit.

    448 parts14CERN-OHL-W-2.0
  • 2 layers68 × 55.4 mmESP32-adapter, the printed circuit board in 3D

    ESP32-adapter

    pcbreflux/espressif

    all espressif stuff will committed here

    82 parts608GPL-3.0
  • 2 layers271.8 × 78.7 mmPCPI AppliCard, the printed circuit board in 3D

    PCPI AppliCard

    baldengineer/bit-preserve

    Project for capturing vintage, classic, aka old computer schematics in KiCad.

    82 parts446
  • 2 layers57.2 × 60.3 mmSmartSpin2k, the printed circuit board in 3D

    SmartSpin2k

    doudar/SmartSpin2k

    Transform your spin bike into a Smart Trainer!

    82 parts292GPL-2.0
  • 2 layers35.6 × 33 mmAxp209 breakout, the printed circuit board in 3D

    Axp209 breakout

    CRImier/MyKiCad

    My KiCad boards. Can't be bothered uploading individually anymore, so here you go.

    82 parts253GPL-3.0
  • 2 layers65 × 40 mmMdb slave esp32s3-sim7080g, the printed circuit board in 3D

    Mdb slave esp32s3-sim7080g

    nodestark/mdb-esp32-cashless

    ESP32-based MDB cashless device for vending machines, supporting EVA DTS DEX/DDCMP telemetry and payments over the MDB protocol via Bluetooth and MQTT

    82 parts190MIT
  • 2 layers83.5 × 66 mmOpen ed Rev.B, the printed circuit board in 3D

    Open ed Rev.B

    krikzz/open-ed

    Open-ED is a very simple and cheap open source Genesis/Megadrive cartridge. The cartridge does not have its own processor or FPGA, it is built in the old school style using only memory and discrete logic.

    82 parts169MIT
  • 2 layers46.3 × 90.7 mmMsiSDR, the printed circuit board in 3D

    MsiSDR

    11tools/msiSDR

    A SDR PCB project base on msi2500 and msi001

    82 parts168GPL-3.0