BODY

The body was the core part of our machine design project as it had to comply with all the rules we've defined as a group and at the same time leave some room for each group to add its individual and "secret" touch.

WHAT DID WE DESIGN AS A BIG GROUP?

Here he define explain the process of the different parts that were developed. As explained before other Team's members also contributed in this part. Therefore I'll be explaining all contributions as well.

  • Barduino+ shield kit preparation: Nil, Lynn and Marc
  • Barduino+ kit - Soldering: All of us
  • Fabblimp firmware + adaptation: ADRIEN
  • ESP32 debbuging (TX RX, voltage regulator) ADRIEN
  • PWM(JUMPER) oscillo : Adrien
  • Stepper motor control : Tarek
  • Millis : Tarek
  • Pull-down solving :Carla
  • Pull-down : Tarek
  • Button : Adrien
  • Driver calibration: Carla + Nil
  • Base design: Marc + Diego
  • Base cutting: Diego + Marc
  • Assembling tests: Diego + Nil
  • Motor support/printing: Gerardo
  • Button support: Design Diego / Printing Gerardo
  • Wheels: design and print, Gerardo
  • Battery housing: Design Diego / printing and soldering , Gerardo
  • Soldering : All of us
  • CNC SHIELD : Carla
  • Barduino : Adrien

THE BRAIN - BARDUINO + CNC Shield

Once we knew what features we wanted our machine to have we decided which board + circuitry we were going to use. Our Team member Carla worked on a set of instructions to share with all the Teams on how to setup the Barduinos and CNC shields.

Find here the instructions:

Things Read to setup your Barduino + CNC shield

—> Grbl_Esp32. ino + all libraries from this repo
—> Documentation for the motor driver:

Barduino

Barduino Fablab Bcn site Link to the version we used Barduino 2.2

WHY? Interface FTDI-USB* Fabbable Yes CNC Shield Compatible Yes

Needed Libraries

Things to do to Use the CNC shield + Barduino

1- Download or Clone this repo
2- Copy this two libraries ESP32SSDP + arduinoWebSockets from the libraries folder on the Firmware libraries folder to your Arduino Library folder. Mine is on Documents/Arduino/Libraries.
3- Install https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json—> Arduino —> Preferences 4 - Install ESP32 Espressif on Board Manager 5- Reading installations instructions from the Six Pack milling machine: Before 6 - Make sure that before you connect the board the switch is on programming mode. 6- Original Grbl documentation says to remove the barduino board from the shield to program the firmware to prevent any possible damage to the shield. Connect the board: 7- select board. ESP32 - dev Module 8- change Partition scheme to Minimal SPIFFS 9- Compile Firmware Arduino File - it will take a while depending on the machine. 10 - Upload the code 11 - Disconnect the board. 12- Change the switch to Execution Mode 13 - Check for the ESP32 wifi connection. Select Wificonfig.h file to see the Wifi connection details or check screenshot here: If you try to do it on programming mode, it won’t work: 14 — This is the page that pops-up on MacOS (also probably on Windows, too). It will show you the main website of the board. As it’s not a fully functional browser, close it. Using your browser of preference, visit 192.168.0.1. Make sure you are still connected to the wireless network GRBL_ESP. 15- We need to upload the index.html.gz file from the data folder that was on the firmware files. Thanks to Tue and David from 2020 Barcelona Fabacademy who had an awesome documentation:  16- After finding the file —> Go to 192.168.0.1  17- It will say Uploaded 100% and a new button will appear “Go to ESP3D interface”. Click on it and it will take you to the motor control interface. 18- This is the cnc shield interface. Before pressing anything let's go back to hardawre. 19 — Check the Voltage of the Voltage regulator. 20- - Now you can connect the Barduino to the driver board. Move the switch under the board to 5VUP before mounting the Barduino to the header pins. 21 - WARNING - Time to setup the current limit for each motor driver —> Watch this video and come back 22- As you’ll see you need to check the specs for your motor, meaning NEMA 11, 14, & 17 might have differents specs. If we setup each motor driver according to its motor they won’t be interchangeable ( unless it’s the same model) or the motor could get damaged 16A Purple one - Polulu driver DRV8825. The other two drivers look like knockouts of the other polulu models. I couldn’t find the specs 23- Not all have the same pinout orientation. —> Check for GND to match the shield . For the NEMA 14- SY35ST36 —> The Voltage measured from the screw or VREF to GND needs to be around 500mV. Check this 24- Time to connect the motor- Make sure that the power supply is desconnected. I connected the wires according the wiring diagram on the motor’s datasheet —> Black, green, red and blue. 25- Time to connect to the GRBL-ESP http://192.168.0.1/ When sending the commands the motors moves. Not super consistently, as it seems that wiring is a bit flickery. Wiring should be checked, everything else seems to be working.
26- Last: SET SSID for each Barduino And this is for setting up the Barduino + CNC shield. There are many steps, but with this instructions, all groups were able to setup their boards.
From here, this components were develop mainly by the components of the other two teams: Awesome machine 1 + Awesome machine 3 Find here a summary of all the components developed that we used.

THE CHASIS

Base board

The chasis was designed in a modular way so we could iterate a bit on the different componets that we were going to attach. See here one of iterations including the design for the motor supports ready to be 3d printed. We ended up doing the final base using smoked acrylic. The fit test was key to make sure everything was tight.

Motors + wheels

The wheels were 3d printed using both PLA & ninja FLEX for the tires.

THE POWER

There was a battery pack that we assembled as our peers did. The issue we had is that as our bot was very heavy it needed to drive a lot torque to move he crank so it needed a wired power supply in the end.

THE INPUT

This was important as it was the main component that would allow the battle.

ALL TOGETHER

These are all the components ready to be assembled to the base. To check how we assembled eveything go to TOOL.