Skip to content

rubenuijtdewilligen/sorting-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks