In a good way. Just read on and you will understand. :wink:
After presentations of Mar Canet & Varvara Guljajeva we had many ideas of what we could work on, but little did we know, wour lab already throught that through and suggested making a multipurpose machine which was developed during the first lockdown and who knows when the next one will start, so better be safe than sorry, right?
We really enjoy working together and this time we worked also with our mentors at the FabLabBcn as well as some other students, which made the making process more lively and we were able to share the tips and tricks he to assemble it, since some parts of the design had to be changed, after all, it is a work-in-progress project and not everything can be updated as soon as the changes are made.
# SPML a.k.a SixPackMobileLab or SimplePersonalMiniLab
*Spoiler Alert*
This is our final (for now) version of the machine!

The story
--
This pico machine started as a project to make a fab academy kit machine to help the students develope their FabAcademy assignments during the COVID-19 confinement.
This machine was inspired by the pico dvdroom recycled motor based machine DIY projects but translated to a fablab environment was designed by Eduardo Chamorro Martin, Oscar Gonzalez and Josep Marti in Fab Lab Barcelona 2020.
It is a 1.0 version with 3 diferent models (3mm closed case, 5mm closed case,5mm open case)
SPML is a fabbable and open source mini machine,which bode can lasercutted or 3dprinted and with fully Fabable electronics boards. This is a 3 axis machine with a tool work area of 100x100x80mm and exterior footprint of 150x150x200 (almost the same a pack of six cans) that make it really portable,lightweight and extremely low cost.
**Update on ELECTRONIC CONTROLBOARD - [Barduino+CNCShield+Casing](https://gitlab.com/fablabbcn-projects/electronics/barduino-cnc-shield)
??? note "Hardware"
- 3x [motor+railsystems 100mm microsteppers](https://es.aliexpress.com/item/32838685026.html) we choose this as the power train due to its small size,powerconsumption,travel and cost.
- 1x [dc motor rs555](https://es.aliexpress.com/item/4000341335374.html?spm=a2g0o.productlist.0.0.38c815e9rnbPGx&algo_pvid=f73d2d42-dc19-4fb9-8600-52978af4372b&algo_expid=f73d2d42-dc19-4fb9-8600-52978af4372b-7&btsid=0ab50f6215868560219372128e9bce&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_)Standart 555 size dc motor up to 17.000rpm at 12v
- 1x [simple collet 3.175mm to 3.175mm](https://es.aliexpress.com/item/33006225788.html?spm=a2g0o.productlist.0.0.122f624fT5Sw7h&algo_pvid=f69dca86-d6e2-41b4-946c-9044ad2d52b1&algo_expid=f69dca86-d6e2-41b4-946c-9044ad2d52b1-16&btsid=0ab6f81615875556011494701e3c63&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_)
- 3x [microendstop](https://es.aliexpress.com/item/32811306212.html?spm=a2g0o.productlist.0.0.3ca45015HlylXx&algo_pvid=568111d3-5f54-44c2-a933-fcb018bb94b2&algo_expid=568111d3-5f54-44c2-a933-fcb018bb94b2-0&btsid=0ab6fab215875559809805163e7509&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_)Any normal 3d printer endstop will work we choose a small one to make it easier to fit.
-[screw set 3mm](https://es.aliexpress.com/item/33022099174.html?spm=a2g0o.productlist.0.0.d226634ccVPJn3&algo_pvid=5ab92efb-5c8b-4233-8e00-ea0b69b9195b&algo_expid=5ab92efb-5c8b-4233-8e00-ea0b69b9195b-54&btsid=0be3743615867690564323674eb2ae&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_)We choose this kit as it contains all the screws needed(in particular we need :30 x m3-20mm screws + 30 x m3nuts)
- 1x [powersupply 12v 6a eu plug](https://es.aliexpress.com/item/4000101239593.html?spm=a2g0o.productlist.0.0.1de8136595uiRu&s=p&ad_pvid=202004130353107066882118840320010040141_2&algo_pvid=d05e42f2-e110-4a81-8c6d-c000c35b810c&algo_expid=d05e42f2-e110-4a81-8c6d-c000c35b810c-1&btsid=0ab6d69515867751907388027e76b3&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_)
-[screws flathead m2](https://es.aliexpress.com/item/32981714992.html?spm=a2g0o.productlist.0.0.7ca0120aYbrEDT&algo_pvid=07937ddc-d50f-4705-83a8-4b8cdf98817b&algo_expid=07937ddc-d50f-4705-83a8-4b8cdf98817b-2&btsid=0ab50f4415875569076956329eda5b&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_)We choose this kit as it contains all the screws needed(in particular we need :20 x m2-8mm screws)
**IMPORTANT, THESE SCREWS ARE FLATHEAD!!**
-[nuts screw m2](https://es.aliexpress.com/item/32988995881.html?spm=a2g0o.productlist.0.0.983d5c7dHz2NDS&algo_pvid=e98fb379-649d-4005-8561-09fbf877e1cf&algo_expid=e98fb379-649d-4005-8561-09fbf877e1cf-1&btsid=0ab6fab215875569817915412e741c&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_)We choose this kit as it contains all the screws needed(in particular we need :20 x m2-nuts)
-[600x400x3/5mm material(our choice was acrylic)](https://www.mwmaterialsworld.com/es/materiales/metacrilato/plancha-de-metacrilato-fluorescente-colores.html)This material opcion is the most expensive one to look for an alternative you can use mdf boards
??? note "Electronics"
*All the electronic components are standard fabacademy inventory*
[COMPLETE INFORMATION OF THE GRBLESP32 ORIGINAL WIKI](https://github.com/bdring/Grbl_Esp32/wiki/Development-Roadmap)
[COMPLETE INFORMATION OF THE WEB UI CONTROL - ORIGINAL REPO](https://github.com/luc-github/ESP3D-WEBUI)
The ESP32 is potentially a great target for Grbl for the following reasons
- Faster - At least 4x the step rates over Grbl
- Lower Cost
- Small footprint
- More Flash and RAM - A larger planner buffer could be used and more features could be added.
- I/O - It has just about the same number of pins as an Arduino UNO, the original target for Grbl
- Peripherals - It has more timers and advanced features than an UNO. These can also be mapped to pins more flexibly.
- Connectivity - Bluetooth and WiFi built in.
- Fast Boot - Boots almost instantly and does not need to be formally shutdown (unlike Raspberry Pi or Beagle Bone)
- RTOS (Real Time operating System) - Custom features can be added without affecting the performance of the motion control system.
The code should be compiled using the latest Arduino IDE. [Follow instructions](https://github.com/espressif/arduino-esp32) here on how to setup ESP32 in the IDE. The choice was made to use the Arduino IDE over the ESP-IDF to make the code a little more accessible to novices trying to compile the code.
I use the ESP32 Dev Module version of the ESP32. I suggest starting with that if you don't have hardware yet.
For basic instructions on using Grbl use the [gnea/grbl wiki](https://github.com/gnea/grbl/wiki). That is the Arduino version of Grbl, so keep that in mind regarding hardware setup.
### Rhino & Gcode Process
We recommend you to use a Gcode visualizer before sending the Files to the machine.
We have recompiled this minimalistic version [LINK TO Gcode WebVisualizer](https://fablabbcn-projects.gitlab.io/cnc-machines/g-code-visualizer/)
[MORE PHOTOS ON DRIVE](https://photos.google.com/share/AF1QipOf1FCZwninH2g2TozmkrkOHxgymzGBk3E0FDfvesJRGzmMalfACGrS2di01M0-Pw?key=R0Y4NjFiZzBIazBvTkcyUUtSRnhsOGFqUi1ESFlR)