Skip to the content
2 layers97.5 × 72.5 mmHrpi, the printed circuit board in 3D

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.md

A 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.

scheme

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

serial

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

i2c

SPI pinout

spi

How to connect ACC/GYRO

gyroaccel

ADC pinout

adc

RC main pinout

rcm

RC aux pinout

AUX0-AUX4=RC8-RC13

rca

Todo

  • handle RC OK led by software
  • maybe upstream APM
  • fix default accel orientation

Render

top view bottom view

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
QtyValueFootprintReferences
4CONN_01X04Pin_Headers:Pin_Header_Straight_1x04P3, P11, P15, P16
4CONN_01X08Pin_Headers:Pin_Header_Straight_1x08P4, P5, P6, P7
4LEDLEDs:LED-3MMD1, D2, D3, D5
3470Resistors_SMD:R_0805_HandSolderingR3, R4, R5
3CONN_01X05Pin_Headers:Pin_Header_Straight_1x05P12, P13, P14
210kResistors_SMD:R_0805_HandSolderingR1, R2
2CONN_01X02Pin_Headers:Pin_Header_Straight_1x02P9, P17
1Arduino_Nanoarduino:arduino_nanoU2
1CONN_01X14Pin_Headers:Pin_Header_Straight_1x14P8
1CONN_02X04Pin_Headers:Pin_Header_Straight_2x04P2
1CONN_02X20Pin_Headers:Pin_Header_Straight_2x20P1
1RResistors_SMD:R_0805_HandSolderingR7

Similar boards

  • 2 layers47.6 × 27.3 mmMmc usb 1, the printed circuit board in 3D

    Mmc usb 1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    27 parts1.2k
  • 2 layers77.4 × 77.4 mmCORAZON LEDS CON FADE, the printed circuit board in 3D

    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 mmI2c tiny usb, the printed circuit board in 3D

    I2c tiny usb

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    27 parts454
  • 2 layers22 × 42 mmNvme bm to e, the printed circuit board in 3D

    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 mmPicoProducer, the printed circuit board in 3D

    PicoProducer

    pjgpetecodes/pico-streamdeck

    This project is an OBS Controller using a Raspberry Pi Pico and CircuitPython.

    27 parts230MIT
  • 2 layers186 × 45 mmAddOnD, the printed circuit board in 3D

    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 mmDbwifi revB, the printed circuit board in 3D

    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.