Skip to the content
PCBKitNew board
2 layers86.4 × 54.6 mmCape schema, the printed circuit board in 3D

Yet another Linuxcnc Configuration

Size
86.4 × 54.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
56
Nets
27
Pads
141
Tracks, vias
190, 0
Pours
1
Routed
Yes
KiCad
KiCad 5 (file 20170123)
Created
26 May 2017
Updated
5 Jan 2021

Overview

Cape schema is an open-source printed circuit board by rubienr, from the rubienr/bbb-linuxcnc-config repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 86.4 × 54.6 mm with 56 parts on 27 nets, routed with 190 tracks and 0 vias.

Its parts include 46 connectors and 6 resistors.

README

README.md

Introduction

A Linuxcnc configuration using the Panther cape (Necitec). Since this configuration relys on a new(er than Necitec's supported) Machinekit/Debian version, this notes also leave some hints on how to install the Debian image and compile Machinekit on the BBB.

Usage: Checkout the reposigory and start machinekit with the correct arguments, i.e.:

text
machinekit@beaglebone:~$ machinekit <repository-clone>/machinekit/configs/ARM.BeagleBone.Panther/Panther-3-axis.ini

Create Debian Image

  1. For creating a bare debian image follow this steps.

  2. Flash the eMMC contents back to the micro-SD card Insert a micro-SD into your BBB and run:

text
sudo /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh
  1. Use/modify this uEnv.txt template.

  2. install and setup machinekit-deban-stretch image

  3. setup lightdm/xfce

  4. setup autologin

  5. Setup the Necitec Panther cape: The Panther overlay must be copied from the necitec provided image to our debian image on the BBB, otherwise this will fail. Optional use this files, or the compile and install script.

Manula way:

text
# optionally compile the source
sudo dtc -O dtb -o /lib/firmware/panther-00A0.dtbo -b 0 -@ /home/machinekit/machinekit/configs/ARM.BeagleBone.Panther/panther-00A0.dts

# copy the compiled file to the debian
/lib/firmware/panther-00A0.dtbo 

# optionally add the overlay to /boot/uEnv.txt
uboot_overlay_addr4=/lib/firmware/panther-00A0.dtbo

References

Compilation HowTo

Compile Machinekit

Using BBB and swap Device

  1. compile on BBB as far as possible (Machinekit Developer Howto)

    1. install prerequisites

    2. configure

    3. make

    4. run machinekit

Using BBB Without swap Device

Since the compiling process requires more RAM memory as provided by the BBB, it cannot be completed using the BBB only. In this case we mount the build folder from the BBB via sshfs to a changeroot on a diffrerent machine.

This rules fail to compile on bbb:

  • make objects/emc/task/emctask.o
  • make objects/machinetalk/lib/mk_service.o
  • make objects/emc/task/emctaskmain.o
  • make objects/emc/task/taskmodule.o
  • objects/emc/task/taskclass.o
  • make and so on and so forth...

Note: An alternative is to swap on MicroSD (if available), which works fine.

The basic steps in a nutshell:

  1. compile on BBB as far as possible (Machinekit Developer Howto)

    1. install prerequisites

    2. configure

    3. make

  2. compile the rest in a changeroot

    1. download debian ARM image and changeroot as described in this repository

    2. install prerequisites as done above

    3. mount the BBB build folder to your changeroot

    4. compile the rest

  3. return to your BBB and run machinekit

Rough Procedure Description

  1. on beaglebone black

    1. clone repository

      text
      machinekit@beaglebone:~$ mkdir ~/git
      machinekit@beaglebone:~/git$ cd ~/git
      machinekit@beaglebone:~/git$ git clone https://github.com/machinekit/machinekit.git
    2. Compile linuxcnc on BBB as far as possible, which means until the compiler crashes due to out of memory.

  2. on a different machine

    1. Download and prepare the changeroot as described here.

      text
      user@host:~/bone-debian-8.7-machinekit-armhf-chroot$ sshfs machinekit@<machinekit-ip>:~/<build-folder>  ./home/machinekit/<build-folder>
      root@host:~/bone-debian-8.7-machinekit-armhf-chroot$ sudo chroot  <path-to-your-chroot> /bin/bash
      root@host:/$ su - machinekit
      (chroot)machinekit@host:~$ cd <build-folder>
      (chroot)machinekit@host:~/git/machinekit$ make
  3. Return to your BBB and proceed further as described in the Machinekit Developer Howto.

Tested with

  • Linux beaglebone 4.4.113-ti-rt-r149 #1 SMP PREEMPT RT Fri Apr 6 22:49:25 UTC 2018 armv7l GNU/Linux

Other References

start/stop, resume/step halui diagram

Parts

56
QtyValueFootprintReferences
5SENSORS+Measurement_Points:Test_Point_Keystone_5019_MinatureJ7, J8, J9, J10, J40
4SENSORS-Measurement_Points:Test_Point_Keystone_5019_MinatureJ12, J13, J14, J16
31kResistors_SMD:R_1206_HandSolderingR4, R5, R6
3DRIVER_ENABLEMeasurement_Points:Test_Point_Keystone_5019_MinatureJ33, J34, J35
3DRIVER_SIGNALS-Measurement_Points:Test_Point_Keystone_5019_MinatureJ26, J29, J32
110kResistors_SMD:R_1206_HandSolderingR1
120kResistors_SMD:R_1206_HandSolderingR2
1470RResistors_SMD:R_1206_HandSolderingR3
1DRIVER_ENABLE_SWITCHCrystals:Crystal_SMD_MicroCrystal_CC1V-T1A-2pin_8.0x3.7mmJ39
1EMERGENCY_STOP_SWITCHCrystals:Crystal_SMD_MicroCrystal_CC1V-T1A-2pin_8.0x3.7mmJ43
1GNDMeasurement_Points:Test_Point_Keystone_5019_MinatureJ42
1IN1 P1conn20-small-drills:Socket_Strip_Straight_2x10P6
1IN2 P2conn20-small-drills:Socket_Strip_Straight_2x10P2
1OUT1 P3conn20-small-drills:Socket_Strip_Straight_2x10P4
1OUT2 P4conn20-small-drills:Socket_Strip_Straight_2x10P1
1PC+Measurement_Points:Test_Point_Keystone_5019_MinatureJ41
1SPINDLE_DIRMeasurement_Points:Test_Point_Keystone_5019_MinatureJ20
1SPINDLE_ENABLEMeasurement_Points:Test_Point_Keystone_5019_MinatureJ19
1SPINDLE_FEEDBACKMeasurement_Points:Test_Point_Keystone_5019_MinatureJ17
1SPINDLE_RPMMeasurement_Points:Test_Point_Keystone_5019_MinatureJ21
1SPINDLE_SIGNAL-Measurement_Points:Test_Point_Keystone_5019_MinatureJ18
1X_ALARMMeasurement_Points:Test_Point_Keystone_5019_MinatureJ36
1X_DIRMeasurement_Points:Test_Point_Keystone_5019_MinatureJ24
1X_HOMEMeasurement_Points:Test_Point_Keystone_5019_MinatureJ3
1X_LIMIT_MAXMeasurement_Points:Test_Point_Keystone_5019_MinatureJ2
1X_LIMIT_MINMeasurement_Points:Test_Point_Keystone_5019_MinatureJ1
1X_STEPMeasurement_Points:Test_Point_Keystone_5019_MinatureJ25
1Y_ALARMMeasurement_Points:Test_Point_Keystone_5019_MinatureJ37
1Y_DIRMeasurement_Points:Test_Point_Keystone_5019_MinatureJ28
1Y_HOMEMeasurement_Points:Test_Point_Keystone_5019_MinatureJ6
1Y_LIMIT_MAXMeasurement_Points:Test_Point_Keystone_5019_MinatureJ5
1Y_LIMIT_MINMeasurement_Points:Test_Point_Keystone_5019_MinatureJ4
1Y_STEPMeasurement_Points:Test_Point_Keystone_5019_MinatureJ27
1Z_ALARMMeasurement_Points:Test_Point_Keystone_5019_MinatureJ38
1Z_DIRMeasurement_Points:Test_Point_Keystone_5019_MinatureJ31
1Z_LIMIT_MAXMeasurement_Points:Test_Point_Keystone_5019_MinatureJ23
1Z_LIMIT_MINMeasurement_Points:Test_Point_Keystone_5019_MinatureJ22
1Z_PROBE_LIMIT_SWITCHCrystals:Crystal_SMD_MicroCrystal_CC1V-T1A-2pin_8.0x3.7mmJ44
1Z_STEPMeasurement_Points:Test_Point_Keystone_5019_MinatureJ30

The 52 most common of 56 parts.

Questions

How big is the Cape schema PCB?

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

What parts does the Cape schema use?

56 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 Cape schema KiCad files?

From the rubienr/bbb-linuxcnc-config repository on GitHub, at the commit this page was made from: the board is panther-cape-cape-schema/cape-schema.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Cape schema design in my own project?

Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers90 × 38 mmLCD OLinuXino-5TS Rev.B, the printed circuit board in 3D

    LCD OLinuXino-5TS Rev.B

    OLIMEX/OLINUXINO

    OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

    56 parts1.5k
  • 2 layers50.4 × 48.4 mmDistortion, the printed circuit board in 3D

    Distortion

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    56 parts915
  • 2 layers27 × 24.7 mmKawaiiSD, the printed circuit board in 3D

    KawaiiSD

    mackieks/Kawaii

    Tiny, beautiful metal Wii keychain

    56 parts374
  • 2 layers123.9 × 94.4 mmRoba L, the printed circuit board in 3D

    Roba L

    kumamuk-git/roBa

    56 parts363GPL-3.0
  • 2 layers120.6 × 85.5 mmKLOTZ, the printed circuit board in 3D

    KLOTZ

    GEIGEIGEIST/KLOTZ

    KLOTZ is 34 keys column-staggered split keyboard. It uses an encoder and three status LEDs on each side.

    56 parts287GPL-3.0
  • 2 layers136 × 91.7 mmOne, the printed circuit board in 3D

    One

    ergonautkb/one

    Ergonaut One is an open-source ergonomic wireless split mechanical keyboard designed by Ergonaut Keyboards.

    56 parts210CERN-OHL-P-2.0
  • 2 layers78.5 × 69 mmKicad cpu board, the printed circuit board in 3D

    Kicad cpu board

    matthewcieplak/super-sixteen

    Code and schematics for the Super Sixteen Eurorack sequencer

    56 parts171
  • 2 layers45 × 45 mmAeroq Hardware v3, the printed circuit board in 3D

    Aeroq Hardware v3

    EnriqueNeyra/Aeroq

    An Indoor Air Quality Monitor Powered by ESP32, SCD40, and SEN54

    56 parts130