

Buffer
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
1README
README.mdSTM32 - Electronic Leadscrew
Electronic Leadscrew with STM32
Demos
Some short demos available on YouTube
https://www.youtube.com/channel/UCVE05OvPm0yVd1yQSVZ0YSA/videos
Building
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=ILI9488Some ILITEK ICs use a non-standard 556 16-bit colorspace, use COLORS=TFT_RGB_556 option in that case.
make TFT=ILI9488 COLORS=TFT_RGB_556Technical documentation
Design ideas & Reference
Goals / Features
- The initial software is going to focus on being functional.
- There is huge scope for optimisation, which can be something I might look into down the track.
- 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | Ferrite_Bead_Small | Inductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolder | L1, L2, L3, L4, L5, L6 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C1 |
| 1 | 4050 | Package_DIP:DIP-16_W7.62mm_Socket_LongPads | U1 |
| 1 | CRE1S0505SC | Converter_DCDC:Converter_DCDC_muRata_CRE1xxxxxxSC_THT | U2 |
| 1 | Conn_01x02_Female | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J5 |
| 1 | XINPUT | TerminalBlock:TerminalBlock_bornier-4_P5.08mm | J1 |
| 1 | XOUTPUT | TerminalBlock:TerminalBlock_bornier-4_P5.08mm | J3 |
| 1 | ZINPUT | TerminalBlock:TerminalBlock_bornier-4_P5.08mm | J2 |
| 1 | ZOUTPUT | TerminalBlock:TerminalBlock_bornier-4_P5.08mm | J4 |
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 mm

- 2 layers60 × 80 mm

- 2 layers26 × 52 mm

- 2 layers90 × 57.5 mm

Similar boards
- 4 layers60 × 28 mm

- 2 layers38.6 × 90.3 mm

BioElectricalSensor
CGrassin/biosignals
Board for the acquisition of bio-potentials (EMG, ECG, EEG, etc.).
107 parts15MIT - 2 layers115 × 80 mm

- 4 layers121.9 × 66 mm

- 4 layers50.8 × 114.3 mm

- 2 layers67.4 × 54.3 mm

- 4 layers95 × 60 mm

- 2 layers116.8 × 30 mm

Type d
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
14 parts3kApache-2.0