STB Electronics

From RepRap
Revision as of 14:49, 2 March 2013 by STB (talk | contribs) (Tips and Tricks)
Jump to: navigation, search
Crystal Clear action run.png
STB

Release status: working

STB Board 1.png
Description
Release Version 0.9
License
unknown
Author
Contributors
Based-on
Categories
CAD Models
External Link


Status

Currently (01/Jan/2013) are 10 boards ready for shipment, it was the prototype batch. If you are interested, please contact the author under his e-mail address to get further informations and pricing. You can find it at the end of this page.

Introduction

Aim of this project is to make an electronics which gives the beginner a kit consisting of all electronic parts he needs to build a printer plus some spare parts which often die during the initial experiments with the printer. The board should have some comfort for easy stand alone printing. As a result ist has 4 stepper driver on board for X- Y- Z-axis & Extruder, heater outputs for the nozzle and the printing bed, USB communication, SD Card interface and a comfortable user interface with LCD & clickwheel. Important for beginners, the board runs from 12V..24V. It has a built in reverse polarity protection. Even if the user is not familiar with the new hardware it often happens that a wrong power connection can kill the whole electronics, the reverse polarity protection prevents damage.

STB Board 1.png

STB Electronics

STB Board init.png STB main or.png

  • Reverse polarity protection
  • 12V to 24V operating voltage
  • Processor ATmega1284p runs at 20MHz
  • Graphic LCD 128x64 pixel
  • Click encoder wheel
  • 4 Stepper channels (X-Axis, Y-Axis, Z-Axis(2 connectors for 2 motors), Extruder)
  • 3 Endstop inputs
  • Heatbed
  • Nozzle
  • Fan output (5V or 12V/24V depends on power supply)
  • SD-Card
  • USB-Connector

All in one Solution

The board batch consists of more than the control electronic. Also on it are 6 stepper drivers (Pololu compatible) and 4 opto endstops. So the beginner has all the electronic parts he needs plus two spare stepper drivers and one spare endstop.

STB Board batch.png

Well documented wiring on the backside of the PCB (click on the picture to enlarge)

STB Board back.png

User Interface

The user interface is the same as known from the Ultipanel (at Thingiverse). It uses a click wheel encoder to navigate through the menus. Compared to the original Ultipanel it has more flexibility because of the dot matrix display. The pictures give some impression on it.

Welcome.png Mainscr-new.png Menu-move-axis.png STB Board Menu move-Y.png File-menu.png

Housing

Some impressions of the housing.

STB Board housing top.png STB Board housing all.png

STL Files: Housing for STB Board

Firmware

The Firmware is based on EricZalm's Marlin. Only a few modifications must done. I hope Eric will include the necessary changes in Marlin. I'm currently working on the final documents for the pull request.

An intermediate Version can be found here:

Marlin with DOGM support

Firmware Installation

Install Arduino Environment V023

Copy Marlin -> arduino-0023\Marlin

Copy Marlin\ArduinoAddons\Arduino_0.xx\Sanguino -> arduino-0023\hardware\Sanguino

Copy Marlin\ArduinoAddons\Arduino_0.xx\libraries\Dogm -> arduino-0023\libraries\Dogm

Copy Marlin\ArduinoAddons\Arduino_0.xx\hardware\tools\avr\etc -> arduino-0023\hardware\tools\avr\etc


Run arduino environment

Open Marlin.pde

File/Open...

Select Board: Tools/Board -> Sanguino W/ ATmega1284p 20mhz

Change the following lines in Configuration.h (Line numbers may vary a bit)

Change line 50 to

#define MOTHERBOARD 64

uncomment line 311, 312, 315 to

#define ULTRA_LCD
#define DOGLCD
#define ULTIMAKERCONTROLLER

The AVR CPU is running at 20% higher speed compared to standard 16MHz Sanguino boards, we have to reduce the SPI speed from FULL to HALF otherwise we get communication errors from the SD-card.

Change line 146 in cardreader.cpp (Line numbers may vary a bit)

 if (!card.init(SPI_HALF_SPEED,SDSS))

Change line 178 in Sd2Card.h (Line numbers may vary a bit)

 bool init(uint8_t sckRateID = SPI_HALF_SPEED,

Upload the firmware to the board

Connect the USB cable to the board, select the corresponding COM-port in the arduino environment

Tools/Serial Port

then select

File/Upload to IO-Board

When the message "Binary sketch size: ..." appears, press within 2 seconds the RESET button on the Board.

After the upload has finished the board is ready for use.

Cabling

Endstops fit 1:1 to the pinot on the STB 1.1 Mainboard

STB_endstop_pinout.png


Tips and Tricks

To check the extruder motor with cold hotend send M302, this allows cold extrudes. Make sure that no Filament is in the Extruder.

Files (will be published soon)

  • PCB gerber data
  • Partlist


Contact

Contact STB