rubenuijtdewilligen / sorting-machine

🌶️ A machine for sorting anything using Raspberry Pi, Mindstorms and a PC. Originally created for chilli peppers. This repo contains code for lego bricks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sorting Machine

A machine for sorting anything using Raspberry Pi, Mindstorms and a PC. Originally created for chilli peppers. This repo contains code for lego bricks.

Read the paper here.

Raspberry Pi Installation Instructions

  1. Update the Raspberry Pi's software
sudo apt-get update && sudo apt-get upgrade
  1. Install git
sudo apt-get install git -y
  1. Download the Node version manager install script and pipe it to bash to execute
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
  1. Add nvm to path
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
  1. Use nvm to install the Node long term support versions
nvm install --lts
  1. Clone this repository
git clone https://github.com/rubenuijtdewilligen/sorting-machine.git
  1. Move the rpi folder to sorter/
mv sorting-machine/rpi/ sorter/
  1. Remove the rest of the repository
rm -rf sorting-machine
  1. Change directory to sorter/
cd sorter/
  1. Use npm to install the required Node modules (only Express)
npm install
  1. Execute the program
node .

About

🌶️ A machine for sorting anything using Raspberry Pi, Mindstorms and a PC. Originally created for chilli peppers. This repo contains code for lego bricks.

License:GNU General Public License v3.0


Languages

Language:Svelte 46.5%Language:JavaScript 33.0%Language:Python 18.0%Language:HTML 1.8%Language:CSS 0.6%