Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
soft_grbl [2016/04/02 12:30] crab |
soft_grbl [2016/07/05 01:03] (Version actuelle) crab [Grblweb] |
||
---|---|---|---|
Ligne 10: | Ligne 10: | ||
* Digère les lignes de GCODE (visiblement en bufferise 2 ou 3) et les transforme en impulsions vers les moteurs. | * Digère les lignes de GCODE (visiblement en bufferise 2 ou 3) et les transforme en impulsions vers les moteurs. | ||
* http://bengler.no/grbl | * http://bengler.no/grbl | ||
+ | * git clone https://github.com/andrewhodel/grblweb.git puis readme | ||
===== Grblweb ===== | ===== Grblweb ===== | ||
Ligne 35: | Ligne 36: | ||
* brancher un téléphone (android), partager le réseau, taper 192.168.42.42 dans un navigateur (ou accéder en SSH) | * brancher un téléphone (android), partager le réseau, taper 192.168.42.42 dans un navigateur (ou accéder en SSH) | ||
+ | |||
+ | == Annx == | ||
+ | |||
== a trouver == | == a trouver == | ||
Ligne 68: | Ligne 72: | ||
* ecran "TFT LCD HDMI écran tactile USB, 5 pouces 800*480" | * ecran "TFT LCD HDMI écran tactile USB, 5 pouces 800*480" | ||
* [[ http://www.waveshare.com/wiki/5inch_HDMI_LCD_%28B%29|setup ]] mais il doit y avoir plus simple. | * [[ http://www.waveshare.com/wiki/5inch_HDMI_LCD_%28B%29|setup ]] mais il doit y avoir plus simple. | ||
+ | (/boot/config.txt) | ||
+ | max_usb_current=1 | ||
+ | hdmi_group=2 | ||
+ | hdmi_mode=1 | ||
+ | hdmi_mode=87 | ||
+ | hdmi_cvt 800 480 60 6 0 0 0 | ||
+ | |||
* couper la veille : sudo vi /etc/lightdm/lightdm.conf, search [SeatDefaults] set xserver-command=X -s 0 dpms | * couper la veille : sudo vi /etc/lightdm/lightdm.conf, search [SeatDefaults] set xserver-command=X -s 0 dpms | ||
* clavier virtuel : sudo apt-get install matchbox-keyboard, DISPLAY=:0.0 matchbox-keyboard | * clavier virtuel : sudo apt-get install matchbox-keyboard, DISPLAY=:0.0 matchbox-keyboard | ||
Ligne 79: | Ligne 90: | ||
* vi /etc/resolv.conf to something intelligent | * vi /etc/resolv.conf to something intelligent | ||
* + tard, voir https://github.com/grbl/grbl/wiki/Using-Grbl | * + tard, voir https://github.com/grbl/grbl/wiki/Using-Grbl | ||
- | | + | * sudo rpi-update |
+ | * Une update et ca démarre plus... sudo vi /etc/rc.local ajouter 'sudo node server.js &' en fin de fichier, après le 'forever start server.js' ... sudo apt-get install nodejs npm | ||
+ | * cat grblweb/README.md | ||
+ | * http://stackoverflow.com/questions/32781133/pm2-autostart-on-raspbian-raspberry-pi-does-not-work a creuser | ||
+ | * http://www.stuffaboutcode.com/2012/06/raspberry-pi-run-program-at-start-up.html - seems good | ||
+ | * sudo systemctl disable serial-getty@ttyAMA0.service | ||
+ |