

This board has been designed considering this technology: http://cxem.net/master/45.php
- Size
- 97.5 × 72.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 27
- Nets
- 54
- Pads
- 179
- Tracks, vias
- 462, 48
- Routed
- Yes
- KiCad
- KiCad 4
- Created
- 20 Jun 2016
- Updated
- 30 Jun 2016
Overview
Hrpi is an open-source printed circuit board by VladimirP1, from the VladimirP1/hardware-hrpi repository on GitHub. It is a 2-layer board of 97.5 × 72.5 mm with 27 parts on 54 nets, routed with 462 tracks and 48 vias.
Its parts include 16 connectors, 6 resistors, 4 diodes and 1 IC. It belongs with the AVR (ATmega, ATtiny) boards of this library.
README
README.mdA simple add-on board for Raspberry Pi to run a downstream verion of APM (https://github.com/VladimirP1/ardupilot) (waf configure --board=hrpi)
This board has been designed considering this technology: http://cxem.net/master/45.php
The APM port requires servod form ServoBlaster (https://github.com/richardghirst/PiBits/tree/master/ServoBlaster/user) to be in PATH.
Only one hardware UART is available on the Pi, so either GPS or telemetry should be connected over USB.

RT-preempt
- I have built my RT kernel from official Rasberry Pi Foundation's kernel patched with corresponding RT version.
- If your pi does not boot with RT-patched kernel try adding sdhci_bcm2708.enable_llm=0 to cmdline. If you expirince hangs with RT kernel try to add dwc_otg.fiq_enable=0 to cmdline.
WARNING
-This board uses 10k resistors to protect Raspberry pi's inputs from 5v and relies on its internal protection diodes. Earlier revision of the board with external diodes work OK, but the current revision is UNTESTED.
-ALWAYS FLASH FIRMWARE BEFORE PLUGGING IN ARDUINO NANO OR YOU RISK TO BURN YOUR PI (It can happen if either of A4 and A5 is driven HIGH) !!!
-Only tested on RPI 2
Repo structure
- doc: documentation
- src/kicad/hrpi: KICAD sources
- src/arduino/i2c-adc-rc: Arduino sources
Important notes
- MPU6000 uses MOSI, MISO, SCLK, NSS2, GND, 3V3 form the SPI connector.
Details
- RC input is recieved by arduino nano, then it is read out by RPI over i2c.
- RC output is done over RPI's gpio using ServoBlaster (https://github.com/richardghirst/PiBits/tree/master/ServoBlaster/user).
- Sensors must be connected externally by SPI and I2C. Madarnatory sensors: MPU6000(SPI), HMC5883L(I2C), MS5611(I2C, except rover). Examples of breakout boards: GY-63, GY-273 and Mikroe MPU imu click.
- Power must be provided either over the RC rail with P9 closed or the P3 connector
Serial pinout

Connecting 3DR radio
If you have two ground modules you can plug one into your PC, one into RPI. They will communicate. If they do not, make sure that the have same net id. You can also connect to RPI without 3DR radio, over wifi.
I2C pinout

SPI pinout

How to connect ACC/GYRO

ADC pinout

RC main pinout

RC aux pinout
AUX0-AUX4=RC8-RC13

Todo
- handle RC OK led by software
- maybe upstream APM
- fix default accel orientation
Render

License
The repo contents are licensed under the MIT license
Copyright (c) 2016 Vladimir Pinchuk
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Parts
27| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | CONN_01X04 | Pin_Headers:Pin_Header_Straight_1x04 | P3, P11, P15, P16 |
| 4 | CONN_01X08 | Pin_Headers:Pin_Header_Straight_1x08 | P4, P5, P6, P7 |
| 4 | LED | LEDs:LED-3MM | D1, D2, D3, D5 |
| 3 | 470 | Resistors_SMD:R_0805_HandSoldering | R3, R4, R5 |
| 3 | CONN_01X05 | Pin_Headers:Pin_Header_Straight_1x05 | P12, P13, P14 |
| 2 | 10k | Resistors_SMD:R_0805_HandSoldering | R1, R2 |
| 2 | CONN_01X02 | Pin_Headers:Pin_Header_Straight_1x02 | P9, P17 |
| 1 | Arduino_Nano | arduino:arduino_nano | U2 |
| 1 | CONN_01X14 | Pin_Headers:Pin_Header_Straight_1x14 | P8 |
| 1 | CONN_02X04 | Pin_Headers:Pin_Header_Straight_2x04 | P2 |
| 1 | CONN_02X20 | Pin_Headers:Pin_Header_Straight_2x20 | P1 |
| 1 | R | Resistors_SMD:R_0805_HandSoldering | R7 |
Similar boards
- 2 layers47.6 × 27.3 mm

- 2 layers77.4 × 77.4 mm

CORAZON LEDS CON FADE
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
27 parts915 - 2 layers44.2 × 29.3 mm

- 2 layers40 × 40 mm

- 2 layers22 × 42 mm

Nvme bm to e
CRImier/MyKiCad
My KiCad boards. Can't be bothered uploading individually anymore, so here you go.
27 parts253GPL-3.0 - 2 layers80 × 61 mm

PicoProducer
pjgpetecodes/pico-streamdeck
This project is an OBS Controller using a Raspberry Pi Pico and CircuitPython.
27 parts230MIT - 2 layers186 × 45 mm

AddOnD
freeDSP/freeDSP-aurora
freeDSP ADAU1452 with 8 analog input, 8 analog outputs, S/P-DIF I/O, ADAT I/O, USB Audio Class2, WiFi, Bluetooth
27 parts226CC-BY-SA-4.0 - 2 layers29.6 × 40.6 mm

Dbwifi revB
ugcs/ddc
Drone Show Software is software designed for drone shows, allowing flight path planning as well as control of dozens of drones simultaneously in a synchronized manner.
27 parts223
Questions
How big is the Hrpi PCB?
It measures 97.5 × 72.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Hrpi use?
27 parts. 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 Hrpi KiCad files?
From the VladimirP1/hardware-hrpi repository on GitHub, at the commit this page was made from: the board is src/kicad/hrpi/hrpi.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Hrpi design in my own project?
Its repository states no licence, so its author keeps all rights: ask VladimirP1 before reusing the design.