
MySensorsPiGw
MySensors RFM69 & NRF24L Gateway for Raspberry Pi (zero & B)
- Size
- 65 × 30 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 29
- Nets
- 48
- Pads
- 124
- Tracks, vias
- 386, 44
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 4
- Created
- 30 Aug 2017
- Updated
- 27 Apr 2018
Overview
MySensorsPiGw is an open-source printed circuit board by llegoff, from the llegoff/MySensorsPiGw repository on GitHub. It is a 2-layer board of 65 × 30 mm with 29 parts on 48 nets, routed with 386 tracks and 44 vias.
It is built around the AP1117DG and RFM69HW. Its parts include 7 resistors, 6 capacitors, 6 diodes, 4 ICs and 3 connectors.
Main components
2AP1117DG
SOT-223-40℃~+125℃@(Tj) 1 1.4V@(1A) 18V 1A 70dB@(180Hz) Adjustable、Fixed Over Current Protection、Thermal shutdown Positive SOT-223-4 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSDiodes IncorporatedVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsRFM69HW
LCC-16_19.7X16mmLCC-16_19.7X16mm New Arrivals ROHSHopeRF Micro-electronicsUncategorised
README
README.mdMySensorsPiGw
MySensors RFM69 & NRF24L Gateway for Raspberry Pi (zero & B)
see https://www.mysensors.org/build/raspberry
revision:
v1
- bad width of antenna track
v2
- change width of antenna track
- add 3.3v regulator
- add C1, C2, C3, C4
v3
- add second NRF24L01 on SPI1
- add capacitor C5 C6
- add status leds D4 D5 D6
- change J3 position
Schema
PCB
RFM69HW
RFM69HW is connected to SPI0
Download dev branch
git clone https://github.com/mysensors/MySensors.git --branch development
cd MySensorsconfigure (Ethernet gateway)
./configure --my-transport=rfm69 --my-rfm69-frequency=868 --my-is-rfm69hw --my-port=5003 --my-leds-err-pin=12 --my-leds-rx-pin=16 --my-leds-tx-pin=18
makerunning
sudo ./bin/mysgwinstall
sudo make installNRF24L01 on SPI0
Download master branch
git clone https://github.com/mysensors/MySensors.git --branch master
cd MySensorsconfigure (Ethernet gateway)
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-port=5003 --my-leds-err-pin=12 --my-leds-rx-pin=16 --my-leds-tx-pin=18
makerunning
sudo ./bin/mysgwinstall
sudo make installNRF24L01 on SPI1
It's experimental, see https://forum.mysensors.org/topic/7702/double-spi-radio-raspberry-pi
in /boot/config.txt add
//*** uncomment for pi3 ***
//dtoverlay=pi3-disable-bt
dtparam=spi=on
//change spi1 cs0 to gpio16 pin 36
dtoverlay=spi1-1cs,cs0_pin=16 reboot the PI
sudo rebootcopy the source
cp -r MySensors MySensorsSecond
cd MySensorsSecondedit file Makefile : replace the string mysgw by mysgwSecond (in nano use Ctrl + \ )
copy file initscripts/mysgw.systemd and initscripts/mysgwSecond.sysvinit to initscripts/mysgwSecond.systemd and initscripts/mysgwSecond.sysvinit
cp initscripts/mysgw.systemd initscripts/mysgwSecond.systemd
cp initscripts/mysgwSecond.sysvinit initscripts/mysgwSecond.sysvinitedit file initscripts/mysgwSecond.systemd and initscripts/mysgwSecond.sysvinit : replace the string mysgw by mysgwSecond (in nano use Ctrl + \ ) and replace the string MySensors Gateway by MySensors Gateway 2
copy file mysgw.cpp to mysgwSecond.cpp
cp examples_linux/mysgw.cpp examples_linux/mysgwSecond.cppconfigure the second instance
./configure --my-transport=nrf24 --my-rf24-irq-pin=33 --my-rf24-ce-pin=37 --my-rf24-cs-pin=36 --spi-spidev-device=/dev/spidev1.0 --spi-driver=SPIDEV --my-port=5004 --my-leds-err-pin=29 --my-leds-rx-pin=31 --my-leds-tx-pin=32
makerunning
sudo ./bin/mysgwSecondinstall
sudo make installParts
29| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 470 | Resistors_SMD:R_0805_HandSoldering | R1, R2, R3, R4, R5, R6 |
| 3 | 100n | Capacitors_SMD:C_0805 | C2, C4, C6 |
| 3 | 10u | Capacitors_SMD:C_0805 | C1, C3, C5 |
| 2 | ERR | LEDs:LED_0805_HandSoldering | D1, D4 |
| 2 | RX | LEDs:LED_0805_HandSoldering | D2, D5 |
| 2 | TX | LEDs:LED_0805_HandSoldering | D3, D6 |
| 1 | 0 | Resistors_SMD:R_0805_HandSoldering | R7 |
| 1 | ANT | Connectors:SMA_THT_Jack_Straight | J1 |
| 1 | AP1117 | TO_SOT_Packages_SMD:SOT-223 | U3 |
| 1 | CONN_01X01 | Connectors:PINTST | J3 |
| 1 | CONN_02X20 | _LaurentPerso:RaspberryPiZeroHAT | J2 |
| 1 | LOGO | mysensors_obscurities:MySensors-logo-sticker-large | G*** |
| 1 | NRF24L01 SPI0 | mysensors_radios:NRF24L01 | U2 |
| 1 | NRF24L01 SPI1 | mysensors_radios:NRF24L01 | U4 |
| 1 | RFM69HW | mysensors_radios:RFM69HW_SMD_Handsoldering | U1 |
The 27 most common of 29 parts.
Similar boards
- 2 layers65 × 31 mm

- 2 layers35.6 × 20.3 mm

- 2 layers25.4 × 25.4 mm

- 2 layers50 × 50 mm

- 2 layers100 × 100 mm

- 2 layers55 × 35 mm

Mini BT Pcb-328P
d-diot/Mini-BT-Pcb-328P
MySensors ATMega328P + RFM69 and NRF24 battery (AAA and CR2032) powered pcb
54 parts3 - 2 layers48 × 35 mm

Pax BB5
CalinRadoni/pax-BB5
STM32L051K8T BaseBoard with RFM69HW and external Flash memory with support for PlatformIO
27 parts2GPL-3.0 - 2 layers69.6 × 80.5 mm

ProtoBoard
dustinreynolds/STM32Hardware
Repository for Kicad board development and support libraries
158 parts2
Questions
How big is the MySensorsPiGw PCB?
It measures 65 × 30 mm and has 2 copper layers, 1.6 mm thick.
What parts does the MySensorsPiGw use?
29 parts, built around the AP1117DG and RFM69HW. 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 MySensorsPiGw KiCad files?
From the llegoff/MySensorsPiGw repository on GitHub, at the commit this page was made from: the board is KICAD/MySensorsPiGw.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the MySensorsPiGw design in my own project?
Its repository states no licence, so its author keeps all rights: ask llegoff before reusing the design.