Arduino Controlled Magnetic Stirrer

by b33ma247 in Circuits > Arduino

5732 Views, 52 Favorites, 0 Comments

Arduino Controlled Magnetic Stirrer

Magnetic Stirrer MAIN.jpg
Throffy Chocolate.jpg
IMG_5128.JPG
IMG_5130.JPG
IMG_5129.JPG

Hi Guys & Girls. Here is my version of a 3D Printed "Super Slimline Magnetic Stirrer", created for the "Magnets contest". It has 3x speed settings, (Low, Medium & High) made from an old computer fan and controlled with an Arduino Nano.

Minimal materials have been used here, and so it's a pretty easy and cheap project to complete.

Use it in the kitchen to achieve those Perfect Throffy Coffee or Hot Chocolates :-)

KEEP READING FOR THE PERFECT HOT CHOCOLATE RECIPE...

Supplies

Arduino

Computer Fan (4-Pin)

4x M5 30mm Hex Bolts

Power Switch

3x 6mm Micro Switches

2x Magnets

Power Jack

TOOLS:

3D Printer

Soldering Iron

Screwdrivers

Hot Glue Gun (Advised)

Gather Your Materials

ebay amazon.jpg
IMG_5096.JPG

3D Printing Your Parts

TOP.png
Bottom.png
Feet.png
PILL.png
Magnetic_Stirrer_3.png
Magnetic_Stirrer_1.png
Magnetic_Stirrer_2.png

Here are the 4 parts you will need to print. They have all been designed in TinkerCad with most walls being 1.2mm or 2.4mm, so be sure to set your hotend nozzle to print @ 0.6mm for a nice fast print time. Also I printed these with an Infill of 100% as they're mostly hollow prints anyway.

Uploading Code to Arduino Nano

Arduino_Code.jpg

Okay, so here is the code used to control this project. Simply connect your nano, and compile the sketch.

Soldering Your Circuit

Wiring.jpg
IMG_5108.JPG
IMG_5111.JPG
IMG_5121.JPG

So now we can start soldering our circuit into the main 3D Printed Shell. The best way to do this is to solder all cables to the switches, and power jack, leaving the Arduino until last. Hot glue is perfect to hold all components in place and also adds a layer of electrical insulation to all connections.

Once you have this done, take your fan and hot glue your magnets to the fan blades about 25mm apart, keeping them as centrally balanced as you can. Place your fan into the centre space and screw down tightly.


Next is to Solder everything to your arduino. Follow the wiring diagram in the photos, and then carefully push it into the space "to the left of the fan".

Fan + Magnets

Fan1.jpg

Okay, So here we have our PWM Fan. Normally a 4pin fan used to cool
your computers CPU. You will have 12v Positive, Ground, Tach (Tachometer, which will tell the computer how fast the fan is turning), and PWM/Signal wire. "Tach" wont be used here, and so we can cut it off. PWM is the one we want (Pulse Width Modulation). A quick google on your fan model and you should be able to work out what wires are for what. (PinOut Diagram)

This type of fan is perfect for our project as it uses a very small current to control the 12v fan. We can do this from our Arduino data pins. However, if we were to connect the fans 12v supply cable to one of these data pins on the Arduino, you will most likely fry the board. It will draw too much current (So please double check your fans wiring)!

So, as for magnets... Most magnets will do, but a nice strong "Neodymium" magnet is preferred. I made a spacer from corrugated cardboard to raise the magnets closer to the top on the unit. You may need to do the same, but for design purpose, I have left enough space so you can use slightly thicker magnets if you wish. Hot Glue or Super Glue should be fine...

The Pill

IMG_5131.JPG
IMG_5132.JPG

Once you have printed both halves of your "Pill", you will see a 20mm x 8.5mm void as to which you can fill with any magnetic material you wish. Luckily I already had some 8mm threaded rod so I used that, but I was also considering cutting an old screwdriver or drill bit to use for this. Like I say, anything magnetic will do... (chopped Nails?)

Assembly

IMG_5122.JPG
IMG_5123.JPG
IMG_5129.JPG
IMG_5130.JPG

Just about there now. Take your printed bottom plate, and press into the shell. It should snap in quite nicely.

You can then put your 4x M5 hex bolts into the feet, and screw them into the frame. And thats it ;-)

Into the Kitchen

Throffy Chocolate.jpg

1.) Now, go into your kitchen and plug in your new device.

2.) Heat up 1 cup of milk in a microwave or over the hob until hot.

3.) Put 3 teaspoons of drinking chocolate in a Mug.

4.) Add 2 teaspoons of sugar.

5.) Add a tablespoon of milk and mix together.

6.) Pour half the heated milk into your Mug and turn your mixer onto "High"

7.) Add some pieces of chocolate.

8.) Slowly add the rest of your milk, turning down the speeds as you go.

9.) Add marshmellows, and top with a sprinkling of chocolate sprinkles, chocolate powder and squirty cream!

10.) Give this to your Mrs... Then, 5mins later you can ask her to help you clear up!!

Hope you enjoyed this project :-) Till next time