Giter VIP home page Giter VIP logo

rpi-cnc-config-scripts's Introduction

RPI-CNC-Config-Scripts

Scripts used to setup a Raspberry Pi for use with the Raspberry Pi CNC board

  • Get latest rpi image and copy to SD card
  • edit "sudo nano /boot/cmdline.txt" remove "Console" settings. (Stops the logging of system messages to the serial port)
  • SSH to RPI, Expand FS first with "sudo raspi-config"
cd ~
git clone https://github.com/Protoneer/RPI-CNC-Config-Scripts.git
cd RPI-CNC-Config-Scripts/
sudo ./setup

rpi-cnc-config-scripts's People

Contributors

protoneer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rpi-cnc-config-scripts's Issues

unable to flash the firmware

[Solved] i had to use the script 007-install-Arduino.sh
You have a bug in avrdude-rpi/avrdude-autoreset arduino-1.8.10 and not arduino-1.8.5

Thanks a lot for this RPI-CNC !

setup script refers to non-existent sub-scripts

The README still advises people to run "sudo ./setup" but the scripts that are referred to do not all exist in ./scripts

Should I just run run the contents of ./scripts in order? Can I skip ones that seem to be for features I don't necessarily way (say, chilipepper etc?)

(FWIW I tried downloading the official image several times and every time it fails to unzip, so I'm trying to install over a base image on a raspberry pi 4)

Laserweb issues

The .env file is never created with the script. to auto connect to GRBL

Error running in Run-Flash-GRBL-Latest.sh

Running Run-Flash-GRBL-Latest.sh throws an error :

RPI-ATMega328 strace: Can't stat '/home/pi/arduino-1.8.5/hardware/tools/avr/bin/avrdude-original': No such file or directory sh: 1: /home/pi/arduino-1.8.5/hardware/tools/avr/bin/autoreset328: not found

Which comes from multiple path errors in the avrdude-autoreset file (arduino path : 1.8.5 instead of 1.8.10)

Original :
#!/bin/bash if [[ $@ == *atmega2560* && $@ == */dev/ttyAMA0* ]] then echo "RPI-ATMega2560"; sudo strace -o "|/home/pi/arduino-1.8.5/hardware/tools/avr/bin/autoreset2560" -eioctl /home/pi/arduino-1.8.5/hardware/tools/avr/bin/avrdude-original $@ elif [[ $@ == *atmega328* && $@ == */dev/ttyAMA0* ]] then echo "RPI-ATMega328"; sudo strace -o "|/home/pi/arduino-1.8.5/hardware/tools/avr/bin/autoreset328" -eioctl /home/pi/arduino-1.8.5/hardware/tools/avr/bin/avrdude-original $@ else sudo /home/pi/arduino-1.8.5/hardware/tools/avr/bin/avrdude-original $@ fi

Fixed :
#!/bin/bash if [[ $@ == *atmega2560* && $@ == */dev/ttyAMA0* ]] then echo "RPI-ATMega2560"; sudo strace -o "|/home/pi/arduino-1.8.10/hardware/tools/avr/bin/autoreset2560" -eioctl /home/pi/arduino-1.8.10/hardware/tools/avr/bin/avrdude-original $@ elif [[ $@ == *atmega328* && $@ == */dev/ttyAMA0* ]] then echo "RPI-ATMega328"; sudo strace -o "|/home/pi/arduino-1.8.10/hardware/tools/avr/bin/autoreset328" -eioctl /home/pi/arduino-1.8.10/hardware/tools/avr/bin/avrdude-original $@ else sudo /home/pi/arduino-1.8.10/hardware/tools/avr/bin/avrdude-original $@ fi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.