Alternative firmware for CNC3018 offline controller

  Рет қаралды 28,397

osmanpasha's DIY

osmanpasha's DIY

2 жыл бұрын

This is an alternative firmware for a CNC Offline Controller that is frequently sold with 3018-type CNC machines.
The controller has an STM32F103C8 MCU, 128x64 two-color OLED display, SD card slot and USB socket.
The firmware uses Arduino framework to make it usable for DIYers and hackers. Firmware is supposed to talk to any GRBL-enabled CNC machine, including lasers. At the moment the firmware allows jogging, spindle/laser control and (mostly) running jobs from SD card.
Project description, source code, build&install instructions:
github.com/positron96/cnc3018...
Sister project (an ESP32 DIY controller) that shares a lot of source code:
github.com/positron96/ESP32_C...

Пікірлер: 55
@mailbox3915
@mailbox3915 2 жыл бұрын
I LOVE that you can change workspaces! This was a bit deficit on the original controler firmware. I NEED to give this a try. I may make a hardware clip for the 4-pin connection rather than soldering a connection, so that I can put it back into the original case cleanly.
@davidmochen
@davidmochen Жыл бұрын
This is so great, wish it worked for the newer, 1.8 inch color display versions...
@osmanpasha_diy
@osmanpasha_diy Жыл бұрын
Thank you! I don't have newer version, unfortunately
@Noxoreos
@Noxoreos 2 ай бұрын
Just FYI: I bought a CNC3018 pro a year ago and the included a newer offline controller, which is based on an esp32. I suppose this would open up wifi functionality.
@osmanpasha_diy
@osmanpasha_diy 2 ай бұрын
Yes indeed! I've made a esp32-based pendant (also on youtube), stumbled upon too high current consumption for the CNC controller to handle
@gigijh
@gigijh Ай бұрын
Bonjour Merci pour la réponse je vous en verais un lien de vidéo sa sera plus simple
@Vinpinto
@Vinpinto 2 жыл бұрын
What program do you use for flashing the original hex?, I flashed your firmware but it doesn't send any command to the cnc board
@osmanpasha_diy
@osmanpasha_diy 2 жыл бұрын
I've used j-link and openocd successfully. Does the firmware show anything on the display?
@Vinpinto
@Vinpinto 2 жыл бұрын
@@osmanpasha_diy Yes it does show the interface, I put a serial probe in tx rx terminals, the behavior is as follows: after the firts $I sent by the offline controller, the machine responses with [VER:1.1f.20170801:] [OPT:V,15,128] ok the offline controller understands the response and sets the baudrate as 115200 correctly after that the ofline controller only shows the machine as X idle or sometimes Lockpad Idle, but no further comand comes out of the offline controller, not with a SD card file, not with the DRO, or any other entry on the menu
@osmanpasha_diy
@osmanpasha_diy 2 жыл бұрын
@@Vinpinto Great report! Could you repost it to GitHub, I honestly don't know how to debug in KZfaq comments.
@nikolaypro2232
@nikolaypro2232 Жыл бұрын
This worked for the newer, 1.8 inch color display versions 4 axe?
@osmanpasha_diy
@osmanpasha_diy Жыл бұрын
I don't have it, so the firmware does not know about that display
@gigiduboisday8664
@gigiduboisday8664 Ай бұрын
bon je n'arrive pas à vous envoyer le lien, sinon vous tapez (firmware hex gigi du bois d'ay)
@3nginuur
@3nginuur Жыл бұрын
Any chance of video or instruction on how to install this on the controller? Thanks
@osmanpasha_diy
@osmanpasha_diy Жыл бұрын
Sorry, I don't have the device at the moment
@epilox
@epilox 2 ай бұрын
Heya! I recently got a 3018 Pro CNC that come with a newer board with WIFI function built in... Was just wondering if youd played with it as Ive tried to connect to the controller through software like UGS and LaserGRBL but they say connection refused. Yet the controls are identical in how they move the machine.... I want to see if some people are interested in trying to build a custom firmware that allows this kinda stuff?
@osmanpasha_diy
@osmanpasha_diy 2 ай бұрын
Hi! I've heard people say these controllers have WiFi capabilities nowadays, this means they are completely different from what I have here. So no, I haven't played with the new ones. But LaserGRBl at least should work with WiFi as I understand
@epilox
@epilox 2 ай бұрын
@@osmanpasha_diy fair enough.. its interesting cos neither connects, they both just say connection refused... my guess is the board doesnt allow connections outside of your browser but idk aha
@osmanpasha_diy
@osmanpasha_diy 2 ай бұрын
@@epilox well if the board does not speak direct grbl commands, then it's a good idea to make an alternative firmware for it!
@epilox
@epilox 2 ай бұрын
@@osmanpasha_diy Yeah going to look into it, only ever programmed in python but wanna look into others and hope I can get this working
@gigiduboisday8664
@gigiduboisday8664 Ай бұрын
bonjour j'ai bien essayé de flasher le fichier (firmware hex) mais il ne fonctionne pas a moins que j'ai raté quelque chose j'ai dû reflasher le fichier d'origine
@osmanpasha_diy
@osmanpasha_diy Ай бұрын
Hello, there is too little information in your message. I don't know what hardware you have, how you flashed the fw nor how you built it
@djwillx974
@djwillx974 2 жыл бұрын
Hi, nice job. Can i upload your .hex custom firmware with st link ? Are you going to improve your firmware on the future ?
@osmanpasha_diy
@osmanpasha_diy 2 жыл бұрын
Hi. Yes, you can. No, at the moment I don't plan any improvements.
@gigiduboisday8664
@gigiduboisday8664 25 күн бұрын
Bonjour sa me dit pas comment flashe le firmware.hex moi jai le programateur ST-LINK V2 avec le logiciel (STM32 ST-LINK Utility) et pas d'écran
@osmanpasha_diy
@osmanpasha_diy 25 күн бұрын
you can use st-link v2 with OpenOCD and PlatformIO. My project has settings to upload via OpenOCD. I don't know how to upload with St-Link Utility. Also you didn't answer how you've built the hex. If you did it with PlatformIO, then you have everything to flash.
@NC7TH
@NC7TH 4 ай бұрын
Hello. Can it jog continuously by keep pressing button? I want to use it on Large machine.
@osmanpasha_diy
@osmanpasha_diy 4 ай бұрын
Hello! As far as I remember, yes, this is part of functionality
@NC7TH
@NC7TH 4 ай бұрын
@@osmanpasha_diy Thanks​. I will try your firmware.
@gigiduboisday8664
@gigiduboisday8664 23 күн бұрын
Bonjour Excusez moi je ne sais pas comment construire l'hexagone je comprends rien je ne connais pas se Jen de programmation est que vous pouvez me fair une vidéo pour me faire voir comment on fais par ce que la je nage
@osmanpasha_diy
@osmanpasha_diy 23 күн бұрын
You can find resources on using PlatformIO on youtube, there is plenty! I don't do such tutorials, sorry.
@kalonpyles5568
@kalonpyles5568 2 жыл бұрын
Could you use a pi to do the job of the SWD?
@osmanpasha_diy
@osmanpasha_diy 2 жыл бұрын
No idea, but probably not
@74tzz
@74tzz Жыл бұрын
Can you program with the offline controller?
@osmanpasha_diy
@osmanpasha_diy Жыл бұрын
I don't think it would convenient given how few buttons it has.
@anothervoyager9654
@anothervoyager9654 2 жыл бұрын
Do you have the custom firmware .hex file so we can install it directly?
@osmanpasha_diy
@osmanpasha_diy 2 жыл бұрын
I can make one. Please create an issue on GitHub
@anothervoyager9654
@anothervoyager9654 2 жыл бұрын
@@osmanpasha_diy Ok, sorry if I was rude asking directly like this, I don't have a github account but I will create one and make the issue, thank you for being open source!
@osmanpasha_diy
@osmanpasha_diy 2 жыл бұрын
@@anothervoyager9654 No problem!
@gigijh
@gigijh Ай бұрын
Bonjour Merci pour la réponse je vous en verrais un lien de vidéo sa sera plus simple
@luisalonso9987
@luisalonso9987 11 ай бұрын
Excellent Video, I am enthusiastic about your project and download everything, but I see that the reverse engineering is incomplete, it is a shame that you did not complete your work, but it helped a lot, I think I only need Where do the switches for the axis movements go? .. But thank you very much for your contribution, if you finish it, please let me know, I'll become a subscriber to your channel.
@osmanpasha_diy
@osmanpasha_diy 11 ай бұрын
Hello and thank you very much! What do you mean by incomplete? As you can see from the video, the buttons are fully handled in firmware (so you can find the pins in code), and in the schematic on GitHub the MCU pins where buttons are connected are marked.
@luisalonso9987
@luisalonso9987 11 ай бұрын
@@osmanpasha_diy First of all, I apologize, for not seeing all the information well, what happens is that I speak Spanish and I do not understand English, I am over 72 years old this month, I am using the Google translator, to be able to communicate with you, Can you tell me if the 8 keys go to the MCU directly, and if the Screens that are sold in AliExpress, of the OLED screen Module SSD1306 I2C IIC SPI Serial 128X64 LCD, 4 pins, are used to be connected to this Project of yours. From Now, Thank you very much, for all your understanding. My Cordial Greetings.
@osmanpasha_diy
@osmanpasha_diy 10 ай бұрын
@@luisalonso9987 Hola and thank you! Yes, 8 keys go directly to MCU pins. On schematic, they are named BT_U, BT_D, BT_CENTER, etc. SSD1306 display should work, though if it says "4 pins" is probably an I2C module. On the controller it is wired via SPI, so I' would look for SPI display for compatibility.
@danielleyva7881
@danielleyva7881 2 ай бұрын
My offline controller could only do simple. Not 3d carve. Idk maybe it was just mine. Looked just like that one
@osmanpasha_diy
@osmanpasha_diy Ай бұрын
Hi, I think that's expected. To do complex tasks, you would need a g-code file, and controller can work with file of any complexity, 3d carve and anything.
@gigiduboisday8664
@gigiduboisday8664 Ай бұрын
Bonjour vous avez vu la Vidéo ?
@osmanpasha_diy
@osmanpasha_diy Ай бұрын
Yes, I've left a comment on weekend
@akapholsunflower4781
@akapholsunflower4781 2 жыл бұрын
watch bit picture CNC 3018
@jest2927
@jest2927 2 жыл бұрын
para los que no sabemos nada,expliquese mejor.Como se hace
@osmanpasha_diy
@osmanpasha_diy 2 жыл бұрын
Have you followed the link in the description?
@jest2927
@jest2927 2 жыл бұрын
@@osmanpasha_diy si,soy muy torpe,menos me entero
@gigijh
@gigijh Ай бұрын
kzfaq.info/get/bejne/mJNzjJug19K4k4E.html
@gigiduboisday8664
@gigiduboisday8664 Ай бұрын
Bonjour alors comment vous flasher ce firmware hex
@gigiduboisday8664
@gigiduboisday8664 18 күн бұрын
C'est de la merde, sa vos pas Arduino au moins avec arduino il n’y a pas temps de chichi à faire.
Управление ЧПУ с телефона. Grbl Controller
19:53
How to use the 3018-Pro Offline Controller (Part 2)
12:43
YoraHome
Рет қаралды 3,8 М.
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 48 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 11 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 80 МЛН
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 21 МЛН
Operación básica  control OffLine de router 3018 PRO | GRBL
4:30
GADGETBRO MX
Рет қаралды 15 М.
3018 PRO - Making your first cut
14:32
James Dean Designs
Рет қаралды 361 М.
How to use the 3018-Pro CNC Offline Controller (Part 1)
8:13
MKS DLC32 WIFI CNC Control Board Review
5:52
Superb Tech
Рет қаралды 28 М.
Android GRBL Controller
16:25
Matt
Рет қаралды 90 М.
STM32 (BluePill) GRBL offline Controller test
3:03
Mani Fa
Рет қаралды 449
UPGRADE CNC 3018 PRO  Homing & Hard Limits | Limit Switches | SUBTITLE
14:25
How to make a PCB prototyping with UV soldermask - STEP by STEP
5:59
WEGSTR CNC
Рет қаралды 2,2 МЛН
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 1,2 МЛН
Самый тонкий смартфон в мире!
0:55
Не шарю!
Рет қаралды 160 М.
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 2,4 МЛН
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 73 М.