Giter Site home page Giter Site logo

jarins / solder-paste-dispenser-with-dcmotor Goto Github PK

View Code? Open in Web Editor NEW
23.0 4.0 5.0 174.39 MB

Motorized solder paste dispenser

License: GNU General Public License v3.0

C 22.22% Assembly 0.05% G-code 77.72%
solder-paste-dispenser solder paste 3dprint stm32 stm32f103c8t6 kicad pcb pcb-design pcb-layout

solder-paste-dispenser-with-dcmotor's Introduction

3D Printed Solder-Paste-Dispenser with DC motor

Motorized automatic solder paste dispenser. Easily printable on a 3D printer at home

  • Thanks kevarek for inspiration from this project:
  • The idea came from this project, including some parts of the source code that were partially or completely reworked and many new ones added.

Work-in-progress Latest version 2.21.11.3010

Pic1

Some differences:

  • Controled with 32bit processor STM32F103C8T6 ( original is STM32F030)
  • used output H-bridge for motor control TB67H451FNG. No need cooling with during operation.

Pic00

Pic001

Pic002

  • larger syringe 10 ccm

  • redesigned mechanism of operation and piston mounting and mainly redesigned Syringe mount, which can be removed and put on without disassembling the dispenser

!! warning component links may be invalid over time !!


  • I2C OLED display 128x32 pixels for setting dispensing parameters and monitoring operating data
  • The supply voltage is 9V
  • The MicroUSB port is only used for 5V power supply when programming and debugging firmware to save battery. In this mode it is necessary to disconnect the 9V battery. The USB DM and DP pins are connected to the CPU, but the firmware does not respond to them.
  • Resistor R2 (in schematic) for measuring motor current is in the current version mounted with the value 0R, because the possibility of measuring this current is not used at the moment. When this value (0R) is used, the H-bridge turns off motor current monitoring.

PCB is designed by KiCAD software

Pict2

  • Source code of Firmware is optimized for STM32CubeIDE and CubeMX software from ST Microelectronics.

  • Source code are easy aplicable to another IDE.

  • It would be a little more difficult to migrate to the Arduino IDE, but even that is partially possible - it has not been tested

  • CAD files are designed in SolidWorks, preview here:

Pic3

Pic4

Auto Extrusion cycle:

  • PUSH button short switch ON -> Return from retract(retract duration time) -> Pulse for extrusion(pulse time) -> Retract(retract duration time)

Manual Extrusion

  • PUSH button long switch ON(more as Retract duration time + Pulse time) -> extrusion until the PUSH button is switch OFF. This mode is used to insert a filled Syringe.

Manual Retract

  • PULL button switch ON -> retraction until the PULL button is switch OFF. This mode is using for remove and fill Syringe.

  • After selection, all parameters are immediately saved in the emulated EPROM (FLASH CPU).

  • Speed: 5, 10, 15 ...... 100% step by 5%

  • Retract duration: 0(dissable), 100, 200 ...... 2500ms step by 100 milliseconds

  • Pulse after piston returned from retraction: 0(dissable), 100, 200 ..... 1500ms step by 100 milliseconds

  • Continuous measurement of battery voltage and CPU temperature

  • The firmware uses a non-blocking I2C DMA routine for the OLED display (this saves about 20 ms in the loop) and Loop() no waiting to DMA complete as is usual in many of the examples given, which then makes the DMA a blocking wait routine

  • In addition, non-blocking User Timers derived from SysTick interrupts are used, which do not stop the CPU while waiting for the Timer to run out. The number of these Timers is limited only by the CPU speed and the amount of allocated RAM) more about this in loop.c

  • Tasks

  • The continuation of the work consists in the completion of the control button mounted on the Syringe tube and the tuning of the SW for optimal paste dispensing. This is a game with engine on and off times and duty cycle of PWM wave

  • Create a video with instructions for assembly and demonstration at work. Soon.

  • electronics attachment and power supply solution for the future possibility of 12V power supply from a 3D printer.

  • Next step is using this solder paste dispenser with a 3D printer. It may be necessary to use a stepping motor for dispensing instead. It has a better and more accurate dispensing control option. I have already finished the PCB for this variant with the DRV8825 controller and the NEMA14 stepper motor.

UPDATE 11/22/2021:

  • Syringe control button completed
  • New version firmware 2.0. No blocked Dealy() in Loop() cycle Pic5

Video Assembly and first testing (redirect to YouTube)

  • The first version of the printouts on my 3D printer Pic6 Pic5

solder-paste-dispenser-with-dcmotor's People

Contributors

jarins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.