Add an SD card to CNCDemo (tested)

Shop Forum Everything Else Add an SD card to CNCDemo (tested)

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #27812
    wolf8012
    Participant

    Hello Dan,
    nice softs…
    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?
    Best regards,
    wolf8012

    #27824
    Dan
    Keymaster

    please send a pull request through github and we’ll get your changes included in the official release.

    Thank you!

    #27826
    wolf8012
    Participant

    Hello Dan,

    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.
    Best regards,
    wolf8012

    #27849
    zgulkhan
    Participant

    Wolf8012 I need sketch which you have made changes exactly, please can you forward [email protected], I really need it thanks….

    #27848
    zgulkhan
    Participant

    I’m noob and having problem to add limit switches to my 4 axis system, any help may greatly be appreciated….. thanks in advance.

    #28913
    wolf8012
    Participant

    Hello Dan,
    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.
    Best regards,
    wolf8012

    #28914
    Dan
    Keymaster

    Yeah…. I didn’t get any pull request. Please try again! I really want you listed as a contributor 🙂

    #28925
    wolf8012
    Participant

    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.
    https://github.com/wolf8012/Control-a-CNC-by-Android
    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.

    Best regards,
    wolf8012

    #28926
    Dan
    Keymaster

    That’s neat. Why do people want to drive a CNC from an Android phone?

    #28929
    wolf8012
    Participant

    Hello Dan,
    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.
    Best regards,
    wolf8012

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.