About
In this post, I’ll show my DIY solder paste dispenser. It’s powered by a 12V adapter and can be operated by a footswitch(connected via banana connectors). It uses a small membrane air pump/compressor to dispense the solder paste/flux. Additionally, there is a solenoid air valve connected to the airline so the pressure can be released after you let go of the footswitch which prevents the solder paste or flux from oozing out. The pump and valve timing is controlled through a relay module by an Attiny45 microcontroller.
Hardware used:
- #adAmazon LinkRelay Module
- #adAmazon LinkAir Pump
- #adAmazon LinkAir Valve
- #adAmazon LinkTubing And Connectors
- #adAmazon LinkPlastic Enclosure Box
- #adAmazon LinkAttinyMCU
- #adAmazon LinkFoot Switch
I simply hot glued the components inside the project box. It’s not the prettiest looking thing but it gets the job done.
Schematic
Software
This is the very simple code that controls the dispenser. I used an Arduino with the Arduino IDE to program the Attiny45. If you want to know how to program the Attiny with an Arduino using the Arduino IDE see this post I made.
const byte relayPin = 2; const byte switchPin = 1; const byte airPumpPin = 0; bool state = false; bool prevState = false; void setup() { pinMode(relayPin, OUTPUT); pinMode(switchPin, INPUT); pinMode(airPumpPin, OUTPUT); digitalWrite(airPumpPin, HIGH); digitalWrite(relayPin, HIGH); } void loop() { delay(10); if(digitalRead(switchPin) == HIGH) state = true; else state = false; if(state) digitalWrite(airPumpPin, LOW); else digitalWrite(airPumpPin, HIGH); if(prevState == true && state == false) { digitalWrite(relayPin, LOW); delay(250); digitalWrite(relayPin, HIGH); } prevState = state; }
That’s really awesome of you. Thanks!
Hi,
Any chance you have a link to the parts you used? I like like your design. Thanks.
Hi.
I added the links to most of the main parts used under the “Hardware used:” section above. But you don’t have to buy the parts from Amazon.
You can just copy the names of the parts and look for them on ebay or Aliexpress where you can find them for a cheaper price.