Add an SD card to CNCDemo (tested)
Tagged: CNC stand alone SD card
2019-12-30 at 15:17 #27812
I have made a few modifications to your CNCDemo4AxisRAMPS for a stand alone CNC :
– added an SD card reader (number of total lines in the file, then executes line by line) ,
– added arcs ,
– made the feedrate (F1 to F200) working,
– corrected int i, segments.
(Todo : made the endstops and an Estop working )
It works with a MEGA and RAMPS and drivers DRV8825 and NEMA17
or without the RAMPS and with µStepper drivers and NEMA23.
With lead screws of different pitch.
Temporary name of this sketch : CNCDemo4AxisRAMPS_SD .
Can you have a look on my sketch ( the SD is in a tab) and in the hope that it will interest people how can I share this soft?
wolf80122019-12-30 at 15:17 #27824
please send a pull request through github and we’ll get your changes included in the official release.
Thank you!2020-01-06 at 08:39 #27826
I tried to send a pull request through github but it seems that it concerns the changes to 1 code.
( the SD card is added to a mix of 2 of your codes… )
Always in the idea of a stand alone machine I have added since Xmas a read and save of (4) Gcode names of files on the SD card.
While adding an Oled128x64 ( an LCD2004 is big and current hungry) and a joystick it will be possible to choose the file to run and display the “line of total lines” processed .
I’ll get back when it is done.
wolf80122020-01-30 at 12:28 #27849zgulkhanParticipant
Wolf8012 I need sketch which you have made changes exactly, please can you forward [email protected], I really need it thanks….2020-01-30 at 12:28 #27848zgulkhanParticipant
I’m noob and having problem to add limit switches to my 4 axis system, any help may greatly be appreciated….. thanks in advance.2020-08-13 at 03:15 #28913
I tried to send a pull request and failed… Sorry.
My code is downloadable : https://github.com/wolf8012/GcodeCNC_SD_OLED_JOYSTICK
I am writing an Android app for this code.
( Without previous experience in MIT App Inventor)
The goal is to learn and reduce the hardware.
90% is done. ( Ninety-ninety rule … )
I’ll get back when it is done.
wolf80122020-08-13 at 08:35 #28914
Yeah…. I didn’t get any pull request. Please try again! I really want you listed as a contributor 🙂2020-08-26 at 11:10 #28925
Hello Dan, I didn’t receive a notification by mail and just readed your last message.
I’ll try again to make a pull request tomorrow. Again sorry…
The Android APK is finished. Tested on a Motorola G3 and a Wiko Y60.
The new code for the MEGA , the source code (.aia) and the apk Android are on the net.
Works with the additional hardware as before when unpaired and with a smartphone.
It was fun writing it, and I learned a lot (my first apk Android, oops).
Untested : the compatibility with a RAMPS. But it should work.
the Bluetooth Rx is Y-MIN on the RAMPS (don’t forget an attenuator),
the Bluetooth Tx is Y-MAX on the RAMPS,
and the STATE pin of Bluetooth ( to make a clean unpaired ) is D17 and also 23 on the RAMPS.
wolf80122020-08-26 at 11:23 #28926
That’s neat. Why do people want to drive a CNC from an Android phone?2020-08-27 at 06:43 #28929
you are totally right : WHY ?
– When I started I knew nothing about writing an apk for Android.
– And we needed “additional hardware” to make a stand alone CNC, my first goal.
Now we need an SD card reader, a Bluetooth module and something everybody has always in his pocket. (but it still works with a PC or the “additional hardware”) .
I tried again to make a pull request without success. (don’t say I’m dumb : I know)
I would have liked to be one of your contributors but I think my codes will fall in limbo.
( or you could fork them … Up to you)
I received my new toy today : ESP32. Will be out of the (marvelous) world of CNCs for a while.
- You must be logged in to reply to this topic.