Tuesday, March 15, 2022

Install GRBL on STM32F103 (3 AXIS CNC)


The easy way 
1. Download dan extract Yaroslav Vlasov  6-AXIS-USBCNC-GRBL
3. Find the hex file on Release folder 
2. Run STMCubeProgramer
3. Flash the STM32
Remember, the default parameter is 4 AXIS.
Note : 
1.the default 4-AXIS parameter is only work with USG Platform (Universal Gcode Sender) 
2. For flashing the hex file you can google it, there are many tutorial about it.


How to edit the default 4 AXIS to 3 Axis: 
1. Install Attolic TrueSTUDIO
2. Download and extract 6-AXIS-USBCNC-GRBL 
3. Find and double-click .cproject file, will opened with attolic.

 sub folder inc on stm32grbl11

4. Open config.h and uncomment  line 47 #define CPU_MAP_STM32103


5. Open cpu_map.h and Reassign the pin as shown :
Note: after you get to know how it's work, you can change the pin


6. Open default.h and find any setting as you liking... for me, I only rename the ABC_AXIS_EXAMPLE to CPU_MAP_STM32F103 
Note: There are many setting on this file, the greyed text meant its not active.   

7. Find "Clean Project" on Project menu
8. Find "Build Project" on Project menu
Note: before you "Build Project" its better you delete Release and Debug folder.
9. You can find the hex file in the release or debug folder and flash it with STMCUBEProgramer. 

My CNC base STM32F103C8T6 (rebuild) 

Work with GRBL Panel, USG and Candle

1 comment:

  1. Merkur Gold Strike Safety Razor - FEBCASINO
    Merkur's deccasino Gold septcasino Strike Safety Razor, Merkur Platinum Edge 출장안마 Plated Finish, German, Gold-Plated, Satin Chrome https://febcasino.com/review/merit-casino/ Finish. Merkur has a 바카라 more aggressive looking,

    ReplyDelete