Skip to content

hww/coilwinder_esp32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DIY Coil Winder on ESP32

The coil winder based on esp32 and two step motors

  1. There is another project based on GRBL
  2. This project does not require a computer to wind the coil and has more manual control over process.

In my optinion, this project do better job than GRBL based version.

Project roadmap

  • Display SSD1306
  • Step motors driver
  • Input buttons and quad encoder
  • The menu system
  • Move to home
  • The orthocyclic round coil winder
  • Better display support
  • The orthocyclic rect coil winder
  • The helica round coil winder
  • The helica rect coil winder
  • Save/Load settings

The GPIO usage

There are two step motors X and R and quad encoder with two additional buttons A,B

Table 1: The input GPIO pins

Function GPIO
QUAD A 16
QUAD B 17
QUAD BUTTON 32
A BUTTON 33
B BUTTON 15
X HOME POSITION 35

Table 2: The output gpio pins

Function GPIO
DIR X 26
STEP X 25
ENA X 13
DIR R 14
STEP R 27
ENA R 4

Table 3: SDCARD pins

Function GPIO
CS 5
SCK 18
MISO 19
MOSI 23

Table 4: Display pins

Function GPIO
SCK 22
SDA 21

GUI

The display is working in the menu mode until the winding process is started. While the winding run the display shows the stats on the screen. When winding option or one other A or B buttons.

The auto winding run while A button is pressed in the other case the winder in a pause state.

  • In the autowinding mode the quad encoder change the speed.
  • In the pause mode the quad encoder will wind or unwind one turn.
  • In the pause mode the quad button will activate menu mode.

There is the special winding mode "Manual Completing". This mode should help more precisly complete the layer and start the next one. With this mode the autowinding will stop before the end of layer. And the operator can make one wind by clicking the button A. And comple the layer by button B. So it allow

Table 1: The functions when the winding is not started

Button Function
A Press with Quad endcoder move X
B Press with Quad endcoder move R

Table 2: The functions when the winding process started

Button Not Winding Autowinding Manual Completing
A Released Hold (Click) One turn
B (Click) Next layer
Quad Rotation Unwind -1 turn ControlSpeed Wind + 1 turn
Quad Button Menu Menu

Coil winding process

https://en.wikipedia.org/wiki/Coil_winding_technology

Round Helical coil

Not implemented yet

Rectangular Helical coil

Not implemented yet

Round Orthocyclic coil

Implemented all three possible types: equal count, first layer less, first layer more

Rectangular Orthocyclic coil

Not implemented yet

About

The coil winder based on esp32 and step motors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published