Transformer les temps d'attentes en situation d'intermodalité grâce à une imprimante thermique intelligente
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 14 commits ahead of MAKIO135:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
arduino_code
config
images
.gitignore
api.js
main.js
package.json
readme.md

readme.md

Challenge Transport #UXvoyageur

Transformer les temps d'attente subis en temps de découverte choisis


Install Raspbian Stretch Lite

https://www.raspberrypi.org/downloads/raspbian/
Currently using: 2017-11-29-raspbian-stretch-lite.img
Default user pi/raspberry

Activate SSH:

sudo raspi-config

Install NodeJS:

wget https://nodejs.org/dist/v9.4.0/node-v9.4.0-linux-armv7l.tar.gz
tar -xvf node-v9.4.0-linux-armv7l.tar.gz
cd node-v9.4.0-linux-armv7l
sudo cp -R * /usr/local/

Test Installation:

node -v
npm -v

Get Repo:

git clone https://github.com/makio135/printbox.github

Printbox wwiring

  • Gray = Ground

  • Purple = TX

  • Blue = RX

  • Black = Ground

  • White = Vcc

Based on following NPM Packages:

Find USB Port

cd /dev/ ls

Plug Arduino USB, then repeat previous command and search new port (something like ttyACM0).