SAV 3D LCD

From RepRap
Revision as of 12:57, 18 April 2014 by Fmalpartida (talk | contribs) (Created page with "{{Languages|SAV 3D LCD}} {{SAV 3D LCD}} {{Development |name = SAV 3D LCD |status = working |image = SAV_3DLCD.jpg |description = LCD controller, rotary encoder and 2 configur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Template:SAV 3D LCD

Crystal Clear action run.png
SAV 3D LCD

Release status: working

SAV 3DLCD.jpg
Description
LCD controller, rotary encoder and 2 configurable push buttons
License
Creative-Commons 4.0 CC BY-NC-SA
Author
Contributors
Based-on
Categories
CAD Models
External Link


Introduction

The SAV 3D LCD is an LCD with rotary encoder with click button and 2 push buttons to control your LCD. It allows the control of a 3D printer running Marlin firmware and a SAV MkI, sanguinololu, printrboard or similar electronics directly without having to have a computer connected.

Standard features are provided by marlin firmware all of which are fully operational: start and stop prints, control print speed while printing and change many calibration settings - saving these to the AVR’s EEPORM so they are persistent if you turn the printer on and off -. The design also counts with an enclosure box that can be mounted on your printer.

This module does not have an SD reader as this feature is provided by the SAV MkI, making the LCD interface more reliable and glitch free.

The LCD module comes with an expansion module to connect directly to the SAV MkI. Not only does it allow you to connect the SAV with the LCD backpack but it also expands the control to an external 5V device such as a servo for auto-bed levelling. The device's 5V supply comes from a dedicated voltage regulator, this will avoid any interference caused by it (servo) with your board's 5V supply rail.

The module connects to the main controller using a 14 wire ribbon cable using a 3M box connector. The entire LCD is controlled using 2 wires through a Shift Register (SR) interface, the rotary encoder has filtered outputs and relying on the internal AVR pull-ups.

The LCD is a derivative of electroFUN’s Shift Register LCD (SR LCD) which uses only 2 wires to control the LCD, however with the right library (New LiquidCrystal by fmalpartida) is 4 times faster than the stock LCD driver.

Specifications

Parameter Description
LCD type Hitachi HD44780 alphanumeric, 20x4, Blue background white text
LCD interface 2 wire shift register
Control Quadrature rotary encoder with push button, 24 PPR
Push button 2 (predefined for KILL and HOME)
Connection 3M boxed connector to LCD and expansion module 14 wire ribbon cable
Expansion module 1 IO
5V regulated output 62dB ripple rejection - Typ

Connection

Configuration and setup

The setup guide is for Marlin, however most of the steps in this section is also applicable to configure other firmware.

Firmware setup

Download and Install the New LiquidCrystal library

The first thing you will need is to download the New LiquidCrystal library from fmalpartida New LiquidCrystal library

Follow the instructions to install the library:

  • Download the most recent version of the library - download.
  • You have to install the library in the Arduino SDK library pool. To install the library, simply remove the stock Arduino LiquidCrystal library from the Arduino IDE install and replace it by this one.

To learn about libraries please follow the instructions in [www.arduino.cc/playground/Code/Library Library Tutorial], there is a Section in the Tutorial indicating how to install a library.

'REMARK: Don’t worry this library is completely compatible with the Arduino IDE stock library, the main difference is that it supports multiple LCD drivers and about 4 times faster than the stock library.

Marlin firmware download and setup

If you are using the SAV MkI follow the Marlin’s installation guide described in its wiki page: SAV MkI Firmware.

You can download Marlin’s SAV MkI firmware configuration from here: SAV MkI Marlin

Once you have Marlin installed in your system, to configure and active that SAV 3D LCD you have to edit the ‘’’configuration.h’’’ and change the following lines:

//[FMC]#define SAV_3DLCD
//#define SAV_3DLCD

by:

//[FMC]#define SAV_3DLCD
#define SAV_3DLCD

Now you can compile and download the firmware on your SAV MkI.

When download completes, replace the jumper and press the reset button of your SAV MkI. If nothing appears on the LCD screen adjust the LCD’s contrast by adjusting the trimmer pot located at the back of the LCD.