Skip to the content
PCBKitNew board
2 layers70 × 50 mmBuffer, the printed circuit board in 3D

Electronic Leadscrew For Lathe

Size
70 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
22
Pads
52
Tracks, vias
106, 2
Pours
8
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
15 Jan 2022
Updated
3 Jun 2023

Overview

Buffer is an open-source printed circuit board by hobbymachinist, from the hobbymachinist/els repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 70 × 50 mm with 14 parts on 22 nets, routed with 106 tracks and 2 vias.

It is built around the CRE1S0505SC. Its parts include 6 inductors, 5 connectors, 2 ICs and 1 capacitor.

Main components

1

README

README.md

STM32 - Electronic Leadscrew

Electronic Leadscrew with STM32

Demos

Some short demos available on YouTube

https://www.youtube.com/channel/UCVE05OvPm0yVd1yQSVZ0YSA/videos

Building

text
git clone https://github.com/libopencm3/libopencm3
export OPENCM3_DIR=$PWD/libopencm3

cd libopencm3
make

cd ../
git clone <repo-url>
cd els

# edit Makefile to pick target and a TFT version
make TFT=ILI9481

# or
make TFT=ILI9486

# or
make TFT=ILI9488

Some ILITEK ICs use a non-standard 556 16-bit colorspace, use COLORS=TFT_RGB_556 option in that case.

text
make TFT=ILI9488 COLORS=TFT_RGB_556

Technical documentation

See Technical Documentation

Design ideas & Reference

Goals / Features

  1. The initial software is going to focus on being functional.
  2. There is huge scope for optimisation, which can be something I might look into down the track.
  3. Eventually, I'd like to add a G-code parser and motion controller to enable optional CNC control.

Working with limited testing

  • Z axis control for manual turning and threading operations
  • Soft limits on Z & X
  • Hard limits on Z & X
  • Backlash compensation for leadscrews
  • Semi automated cycles:
    • Turning
    • Threading
    • External Tapers
    • Internal Tapers
    • External Arcs
  • Optional DRO support for:
    • TTL optical scales

Wishlist / TO DO

  • Semi automated cycles:
    • Internal Arc
    • External groove
    • Internal groove
  • Tool radius compensation

Pull Requests

Please reach out to discuss any major rewrites or changes if you wish to merge the changes upstream.

A lot of the firmware was developed over a few years on and off when I could find time to code and think about how I'd use it. I don't want to disappoint or stop anyone from improving the software or hardware design but the primary focus of this work is for my own personal use and don't want anything to distract me from that in a significant fashion. I don't have plenty of spare time to review design changes or major software changes.

IMPORTANT - PLEASE READ

Lathes are not toys, you can get injured or hurt someone else if you're not careful. Use this software at your own risk.

This software is not provided with any warranty or support. It has only had limited testing in a home / hobby use setting and may result in you getting injured or your equipment getting damaged due to errors in programming.

The author does not take any responsibility for the use of this software by others and cannot be held liable for any damages that may result from its use.

LICENSE

https://opensource.org/licenses/GPL-3.0

Free to be used in any fashion without royalty but any changes to hardware or software should be attributed and publicly shared for the benefit of others.

Some of the code in this project uses snippets of code from Adafruit GFX

Parts

14
QtyValueFootprintReferences
6Ferrite_Bead_SmallInductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolderL1, L2, L3, L4, L5, L6
110uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC1
14050Package_DIP:DIP-16_W7.62mm_Socket_LongPadsU1
1CRE1S0505SCConverter_DCDC:Converter_DCDC_muRata_CRE1xxxxxxSC_THTU2
1Conn_01x02_FemaleTerminalBlock:TerminalBlock_bornier-2_P5.08mmJ5
1XINPUTTerminalBlock:TerminalBlock_bornier-4_P5.08mmJ1
1XOUTPUTTerminalBlock:TerminalBlock_bornier-4_P5.08mmJ3
1ZINPUTTerminalBlock:TerminalBlock_bornier-4_P5.08mmJ2
1ZOUTPUTTerminalBlock:TerminalBlock_bornier-4_P5.08mmJ4

Questions

How big is the Buffer PCB?

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

What parts does the Buffer use?

14 parts, built around the CRE1S0505SC. 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 Buffer KiCad files?

From the hobbymachinist/els repository on GitHub, at the commit this page was made from: the board is hw/buffer/buffer.kicad_pcb and its schematic hw/els/els.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Buffer design in my own project?

Its repository publishes it under the GPL-3.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).

More from hobbymachinist/els

4
  • 2 layers150 × 114.9 mmEls, the printed circuit board in 3D

    Els

    hobbymachinist/els

    Electronic Leadscrew For Lathe

    51 parts69GPL-3.0
  • 2 layers60 × 80 mmDemo driver, the printed circuit board in 3D

    Demo driver

    hobbymachinist/els

    Electronic Leadscrew For Lathe

    16 parts69GPL-3.0
  • 2 layers26 × 52 mmPower clamp, the printed circuit board in 3D

    Power clamp

    hobbymachinist/els

    Electronic Leadscrew For Lathe

    11 parts69GPL-3.0
  • 2 layers90 × 57.5 mmLcd, the printed circuit board in 3D

    Lcd

    hobbymachinist/els

    Electronic Leadscrew For Lathe

    6 parts69GPL-3.0

Similar boards

  • 4 layers60 × 28 mmRailLink, the printed circuit board in 3D

    RailLink

    Misaka0x2730/RailLink

    Compact isolated version of J-Link v9.

    83 parts134
  • 2 layers38.6 × 90.3 mmBioElectricalSensor, the printed circuit board in 3D

    BioElectricalSensor

    CGrassin/biosignals

    Board for the acquisition of bio-potentials (EMG, ECG, EEG, etc.).

    107 parts15MIT
  • 2 layers115 × 80 mmWheather board v1, the printed circuit board in 3D

    Wheather board v1

    nbreard/mellia

    https://www.mellia.fr/

    69 parts11
  • 4 layers50.8 × 114.3 mmRelais rs485, the printed circuit board in 3D

    Relais rs485

    gkiefer/home2l

    The Home2Ls - Smart Tools for a Private Home

    46 parts21
  • 2 layers67.4 × 54.3 mmFTDI master, the printed circuit board in 3D

    FTDI master

    Phunkafizer/AllSerial

    An universal sophisticated USB-serial converter

    60 parts6MIT
  • 4 layers95 × 60 mmRubyLink revB, the printed circuit board in 3D

    RubyLink revB

    Misaka0x2730/RubyLink

    Hardware platform for Miyako-Link based on RP2040

    219 parts2
  • 2 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0