1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Question CNC Machine G-Code with Raspberry Pi

Discussion in 'Electronic and hardware generally' started by Simi James, Aug 12, 2024.

  1. Simi James

    Simi James New Member

    Joined:
    Aug 12, 2024
    Messages:
    5
    Balance:
    40Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Hi everyone,

    I hope everything is going well for you. I'm working on a project for college. I have to design a CNC machine with Raspberry Pi. I've done the basics. I managed to connect a stepper motor. I've also designed the mechanical structure.

    Now I'm stuck. I have to design a code panel for CNC. The user enters machine language code(G-Code) and the Raspberry Pi converts this code into action.

    I would appreciate any help.

    Thanks.
  2. Simi James

    Simi James New Member

    Joined:
    Aug 12, 2024
    Messages:
    5
    Balance:
    40Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    So, in simple words, the user will enter the x and y axis in G-code format and the Pi will get these coordinates and will move the motors accordingly.
  3. Aerosmith

    Aerosmith Active Member

    Joined:
    May 30, 2024
    Messages:
    411
    Occupation:
    self employed
    Location:
    Germany
    Balance:
    2,409Coins
    Ratings:
    +243 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Is the RasPi part of the requirement, I mean, this is an intentional exercise? I ask because there are existing solutions to this. So I think it doesn't make much sense to re-invent the wheel.

    Google "GRBL controller", "Estlcam controller" or "Beamicon Micropod", for example.
  4. Simi James

    Simi James New Member

    Joined:
    Aug 12, 2024
    Messages:
    5
    Balance:
    40Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Yeah, I am getting your point but the thing is we need to design it from scratch on our own. That's kind of an academic requirement.
  5. Simi James

    Simi James New Member

    Joined:
    Aug 12, 2024
    Messages:
    5
    Balance:
    40Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
  6. Aerosmith

    Aerosmith Active Member

    Joined:
    May 30, 2024
    Messages:
    411
    Occupation:
    self employed
    Location:
    Germany
    Balance:
    2,409Coins
    Ratings:
    +243 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    If it's an exercise it's totally OK to develop something again that already exists. I just thought I had to keep you from doing unnecessary work in the case you didn't know.;)
    • Like Like x 1
  7. Simi James

    Simi James New Member

    Joined:
    Aug 12, 2024
    Messages:
    5
    Balance:
    40Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino
    Thanks for your suggestion, it actually helped. Now I have a reference, what I want to design.