Bottle Plotter

by VGaman in Workshop > CNC

1522 Views, 17 Favorites, 0 Comments

Bottle Plotter

IMG_20240611_062854-1024x768.jpg
mf24 (1).jpg
20240320_095442.jpg
438171826_8032778193398942_6695525232099054079_n (1).jpg

Bottle Plotter is a CNC plotter that was ground up designed to pen plott on bottles. It's my hobby fun project that I used as opportunity to learn and test highly agile approach to the design. So after quite some time and plenty of iterations I end up with quite cost efficient and reliable machine that is capable of pen plotting on bottles.

Bottle plotter is mainly 3D printed for ease of manufacturing and then using common standard parts used in 3D printers which are easy to get and cheap.

Assembly could be probably done in something like 2 hours, but never measured it. The most time consuming parts is some soldering but it is not hard to do.

For most up to date data visit my GitHub or seek for help use Discord

Or if you are interested in story how the plotter was created check my blog

Supplies

As first step order all necessary components. Use provided parts list as reference all links are Amazon Associate so by using those you can support me. But all part are quite generic and can be sourced from anywhere.

Main categories are:

  1. Main components
  2. 12mm Linear rod - 2 x 40cm
  3. 12mm Linear Ball Bearing - 2x
  4. 6mm Linear rod - 2 x 11cm
  5. 6mm Linear Ball Bearing - 4x
  6. Lead Screw - 37cm
  7. Lead Screw - 8cm
  8. MicroSwitches - 3x
  9. Arduino CNC shield + 4 x DRV8825
  10. Arduino UNO
  11. Nema 17 X,Y Steppers 2x
  12. Nema 11 Z Stepper
  13. 24V 2.5A PowerSupply
  14. Ball bearing - 1x
  15. Bolts - Best to source locally
  16. M4x10 - 19x
  17. M3x10 - 12x
  18. M2.5x10 - 4x
  19. M3x15 - 6x
  20. M4x??? - 1x - Long for Y limit switch
  21. Wires and small electronics
  22. Shielded pair for Limit switches 3x
  23. 2-socket header female for limit switches 3x
  24. 4 Wires cable for Z motor extension 1x
  25. 4-socket header female for motors 3x
  26. Faston connectors for limit switches itself 6x
  27. Optional
  28. 24V Power Switch
  29. Panel LED Diode
  30. Resistor for LED
  31. Pens
  32. Edding 780 or similar diameter able to paint on glass

3D Printing

3DPrintBPV2.PNG

When waiting for components to arrive start with 3D print. I printed all the parts on Prusa MK3 with 0.3mm layer draft settings and with PLA filament (40% infill). This seems to work fine and all the dimensions are tuned for this setting, but you might use whatever you want. PLA seems fine but it is little bit brittle and temperature sensitive.


Printing all the parts can take more 24 hours. It is up to you if prefer to print more parts at once or do smaller batches. Each approach has its pros and cons.

Mechanical Assembly

BPV2-LeftS.PNG
BPV2-Bacl.PNG
BPV2-Front.PNG
BPV2-RightS.PNG

If you have everything printed and also have all the mechanical components. You can start with the most satisfying part. Putting things together. Follow pictures and 3D assembly to be sure if you do everything right, but it is quite straightforward.

  1. Push linear bearings and trapezoidal nut into Z Slide
  2. Push lead rods left side 3D print don't forget to insert Z Slide on rods then push right side on rods
  3. Mount X and Y motors on left side
  4. install lead screws reduction on X and Y motor axis
  5. Install lead screw
  6. Assembly X axis bottle holder
  7. Assembly Z pen holder, motor, slides and screw assembly
  8. Screw it to the Z slide
  9. Install Arduino UNO with CNC shield on back electrical board.

Cabling

BPV2-Mot.PNG
IMG_20240825_151003.jpg
IMG_20240825_151038.jpg
IMG_20240825_151046.jpg
IMG_20240825_151052.jpg
IMG_20240825_151104.jpg
IMG_20240825_151017.jpg
IMG_20240825_151026.jpg

When you have main electronics board, motors and limit switches on place you can start with installing cables. On X and Y measure the motor cable to reach its connector on board and then cut it off with some reserve for cable management later. Z axis motor comes with loose wires so these has to extended to reach the board.

In the same spirit measure length for limit switches. There is hole for cable routing prepared for X limit switch. You can solder or crimp faston connectors on wires. Make sure you are using shielded pair of wires as I had issues in past when the motors were creating noise on limit switches cables when not shielded.

CNC shield is powered from main power supply that provides main power for motor drivers. Arduino itself is powered from USB connected to PC.

There is place on the 3D print for LED diode and switch to switch on/off 24V to shield this will stop motors from moving but keeps Arduino still alive. It is helpful as it servers as stop switch in case of crashing the CNC. But it is not necessary.

Setting Microsteps for Axis

48468.jpg

Please set proper amount of microsteps for each axis with jumpers hidden under the drivers. See the M0 M1 M2 positions.

  1. X M0,M1,M2
  2. Y M0,M1
  3. Z M0,M1

You can play around with microstep setting but you will have to also change step/mm ratio in GRBL config.

You have to set up all values in GRBL on Arduino according to attached file. In future you can play with acceleration or you will have to change the step/mm value for rotational axis as it is valid only for one diameter of bottle. Right now it is fine tuned for specific size of bottle. If you would like to print on smaller/bigger you have recalculate step/mm ratio for this axis based on diameter of bottle you wish to print on.

Downloads

Software

Main board itself does not run on its own, it only converts G-Code received from serial port (USB) to pulses for motor drivers. So you need your computer to be connected and provide G-Code. Install CNCjs or similar software that can communicate with GRBL on the board. In case you are using arduino you have to install GRBL firmware on it. If you are successfully connected you should be able to see settings from GRBL printed into the console.

Update GRBL settings according to provided list.

For creating the are you want to plott is the best to install Inkscape which is free vector graphics editor that can output SVGs. Or you can use some samples from Github Page

To convert SVG to G-Code you can use my very basic slicer on https://bottleslicer.gaman.cz

You can check if the G-Code is correct it should like something like this in CNCjs

Power Up!

Now if you have everything right we can start with powering up the motherboard with 24V. Connect Arduino Board to the PC with USB cable and then also 24V.

If everything is correct you should hear motors and the also should be hard to move by hand as the current is flowing thru them.

  1. Check if all Limit switches are connected and that you get the information into GRBL. By sending "?" you will get info which switches are pressed. Check each of them. Otherwise you will not be able to home the plotter.
  2. You may set current for each motor. But it should not be necessary in the begging. If the current will be high motors will get hot and can melt the plastic eventually, if the current is too low motors will easily lose steps and you will have to use lower speeds and acceleration.

First Print

cncjsj.PNG

Start with opening Inkscape create new drawing and set page size to 235mm x 150mm which is almost the surface of wine bottle I use for plotting. And in the middle create simple rectangle.

I'm using Edding 780 or 792 fine tip pens, that can paint on glass without issues. But unfortunately when the print is way too long it can start to have issues and stops painting. You can revive it by dipping it in bezin. Or you can use thicker pen that is not that prone to "drying" out.

Then export the drawing as SVG file

Exported SVG import into https://bottleslicer.gaman.cz this is my convertor which is still way in Alpha phase and I would recommend to use some other more mature G-Code convertor, but this will work for this simple example.

Generated G-Code then open after homing into CNCjs

How to start printing

  1. Insert bottle
  2. Home Machine
  3. Tell it to go to Z 0
  4. Insert pen to touch the bottle surface and then fix it
  5. If you have loaded G-Code you can start to print

Creating Your Own Art

IMG_20240611_062854-1024x768.jpg

You can use art done already by somebody else as for example from plotterfiles.com. Our you can design yours using Inkscape.org