Skip to the content
2 layers150 × 114.9 mmEls, the printed circuit board in 3D

Electronic Leadscrew For Lathe

Size
150 × 114.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
51
Nets
95
Pads
250
Tracks, vias
746, 62
Pours
28
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
15 Jan 2022
Updated
3 Jun 2023

Overview

Els 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 150 × 114.9 mm with 51 parts on 95 nets, routed with 746 tracks and 62 vias.

It is built around the CH340C and GL850G. Its parts include 24 connectors, 12 capacitors, 6 resistors, 4 ICs and 1 crystal.

Main components

2

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

51
QtyValueFootprintReferences
15Conn_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ1, J2, J3, J4, J5, J6, J7, J8, J9, J10, J11, J20, J20, J20, J21
50.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC1, C3, C5, C7, C10
31uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC2, C4, C9
210KResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR4, R5
210uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC6, C8
228pFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC11, C12
24K7Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR1, R6
112MHzCrystal:Crystal_HC49-4H_VerticalY1
11KResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR2
1680Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR3
1CH340CPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU3
1EXT POWER +5V / 1ATerminalBlock:TerminalBlock_bornier-2_P5.08mmJ22
1FT24C64APackage_SO:SO-8_5.3x6.2mm_P1.27mmU2
1GL850GPackage_SO:SSOP-28_5.3x10.2mm_P0.65mmU4
1INPUT ENCODERConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ14
1KEYPADConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ13
1LCDConnector_IDC:IDC-Header_2x08_P2.54mm_VerticalJ12
1NUCLEO-F446REcustom_modules:MODULE_NUCLEO-F446REU1
1SPINDLE ENCODERConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ15
1USB_AConnector_USB_Extra:USB_A_CONNFLY_DS1095-WNR0J19
1USB_BConnector_USB:USB_B_OST_USB-B1HSxx_HorizontalJ18
1X STEPPERConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ17
1Z STEPPERConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ16

The 47 most common of 51 parts.

More from hobbymachinist/els

4
  • 2 layers60 × 80 mmDemo driver, the printed circuit board in 3D

    Demo driver

    hobbymachinist/els

    Electronic Leadscrew For Lathe

    16 parts69GPL-3.0
  • 2 layers70 × 50 mmBuffer, the printed circuit board in 3D

    Buffer

    hobbymachinist/els

    Electronic Leadscrew For Lathe

    14 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

  • 2 layers65 × 30 mmUSB Hub, the printed circuit board in 3D

    USB Hub

    llegoff/USB_Hub

    GL852G or GL850G usb2.0 hub PiZero format

    36 parts8
  • 2 layers21 × 61 mmB006 4 port usb hub GL850G, the printed circuit board in 3D

    B006 4 port usb hub GL850G

    skunkforce/edgy_boards_legacy

    small mostly single chip design bits with put_on_edge connectors

    38 parts6MIT
  • 4 layers86 × 69 mmZYNQ7000 MINIMB, the printed circuit board in 3D

    ZYNQ7000 MINIMB

    dj140/ZYNQ7020_Development_Board

    156 parts2
  • 2 layers100 × 70 mmGiantKnob, the printed circuit board in 3D

    GiantKnob

    mathisschmieder/GiantKnob

    USB-Midi-Controller for SDR Radios

    109 parts2
  • 4 layers75.4 × 134.4 mmProjektUSBHUB, the printed circuit board in 3D

    ProjektUSBHUB

    Qeps/USB-hub-project

    KiCAD USB hub design

    102 parts2MIT
  • 2 layers100 × 70 mmA side, the printed circuit board in 3D

    A side

    spdidle/a-side

    A-Side is a cassette tape inspired hub to connect full size SD cards among other things to my laptop. I own several cameras but it's not convenient at all to find my dongle and connect it.

    70 parts2
  • 2 layers58.5 × 40.6 mmPlaca, the printed circuit board in 3D

    Placa

    ArthurMLago/botwJoystickGyro

    Making any controller have motion controls or use with CEMU

    81 parts1
  • 2 layers295.6 × 183 mmModulus, the printed circuit board in 3D

    Modulus

    advaitconty/Modulus

    A keyboard, designed to be completely modular via USB Type-C ports

    231 parts

Questions

How big is the Els PCB?

It measures 150 × 114.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Els use?

51 parts, built around the CH340C and GL850G. 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 Els KiCad files?

From the hobbymachinist/els repository on GitHub, at the commit this page was made from: the board is hw/els/els.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 Els 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).