Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 9 of 9

Threaded View

  1. #1
    Administrator bolsoncerrado's Avatar
    Join Date
    Nov 2014
    Post Thanks / Like

    TouchScreen for RapidePi Tutorial (WIP!)

    My objective here is to have a Rapide Lite 200 with TouchScreen and totally computer independant (ie do not need a computer to print), PLUS total remote control INCLUDING webcam monitoring and remote power on / power off of the printer.

    We will assume you have a Raspberry Pi B+, an empty microSD card (4Gb minimum recommended) and a RapideLite 200.

    As for the touchscreen, i've used an AdaFruit HDMI 5" + touchscreen capabilities.

    I'm on MacOS Mavericks, JFYI.

    1) Download and install ApplePi Baker

    2) Download and unzip OctoPi

    3) Launch ApplePi Baker, choose the microSD card (inserted in your computer or Card Reader/Writer), and choose the OctoPi .IMG file you just unzipped under the restore backup section. Press RESTORE BACKUP and wait until it finishes. Eject the card.

    4) Insert the SD card on your RaspBerry and plug the USB power. Wait til the green led stops blinking if you're not using a video source at this stage.

    5) Open a Terminal window on MacOS and type:

    #sudo raspi-config

    Once on there, do options 1) (expand OS), 2) (change password for the raspberry), 4) (if you need any int'l options), 5) (if you have the raspi camera) and finish. Click YES to reboot.

    6) Once raspi reboots, you should be able to reach octopi by typing octopi.local on your mac internet browser.

    7) once there, you can go and shutdown the system. you can alternatively do SSH to your raspi by typing the following in a Terminal window:

    #ssh octopi.local -l pi
    (remember default password is raspberry unless you changed it in the previous step)

    Once shutdown (camera LED will turn off, green led will turn off) remove power and SD card.

    8) place your microSD on your mac computer again and edit config.txt on the boot partition of the SD.
    Replace the HDMI lines with the following:

    # uncomment if hdmi display is not detected and composite is being output

    # uncomment to force a specific HDMI mode (here we are forcing 800x480!)
    hdmi_cvt 800 480 60 6 0 0 0
    And add the following line at the very end of config.txt:

    Save config.txt, eject SD card and insert it again on your raspberry.

    9) you can now plug the HDMI cable and power it with a DATA USB to microUSB plug. Be sure the cable can handle data, not just power, or you won't have touchscreen support.

    10) Turn on your raspberry and the LCD should start displaying the bootup sequence. Once finished, open a Terminal window and SSH to your raspberry.


    #sudo apt-get update && sudo apt-get upgrade -y
    to update and upgrade your raspi sources and software packages.

    #sudo apt-get install chromium x11-xserver-utils unclutter
    to install chromium (web browser), x11 server utilities and unclutter (removal of mouse arrow)

    #sudo nano /etc/xdg/lxsession/LXDE/autostart
    so we can edit the LXDE GUI to autolaunch chromium:

    We should prevent any error messages displaying on the screen in the instance that someone accidentally power cycles the pi without going through the shutdown procedure. To do this we add the following line underneath the last line:

    @sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium/Default/Preferences
    @chromium --noerrdialogs --kiosk http://octopi.local --incognito

    Obviously replace octopi.local with whatever page you want to load...

    Hit ctrl-O and then ctrl-X again to write out and exit the file and now type

    #sudo raspi-config

    and on option 3) choose to launch in Desktop (GUI) mode.

    Then exit and type:

    #sudo reboot

    Keep an eye on the display from your Pi now and once the unit boots again it should automatically load chromium in kiosk mode and display the page you’d chosen.
    Attached Files Attached Files



Similar Threads

  1. How to save on material costs - Tutorial on how to hollow out your model
    By bolsoncerrado in forum 3D Print Materials & Filaments
    Replies: 6
    Last Post: 04-05-2019, 02:35 PM
  2. Raspberry Pi OFFICIAL Touchscreen Display UNBOXING Pics
    By bolsoncerrado in forum Rapide Pi
    Replies: 0
    Last Post: 06-23-2016, 03:22 PM
  3. Tutorial how prepare Gcode to make laser engraving using inkscape
    By ENDURANCE in forum 3D Printers - Other Brands
    Replies: 0
    Last Post: 01-20-2016, 10:02 AM
  4. RapidePi from the outside? How to?
    By bolsoncerrado in forum Rapide Pi
    Replies: 3
    Last Post: 02-12-2015, 09:34 AM
  5. Touchscreen anyone?
    By bolsoncerrado in forum Rapide Pi
    Replies: 4
    Last Post: 01-25-2015, 09:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts