Teensylu

From RepRap
Revision as of 13:41, 20 October 2011 by StephS (talk | contribs)
Jump to: navigation, search

This page is a development stub. Please enhance this page by adding information, cad files, nice big images, and well structured data!

Crystal Clear action run.png
Teensylu

Release status: Concept

Teensylu-Top.jpg
Description
Design Version 0.7
License
unknown
Author
Contributors
Based-on
Categories
CAD Models
Eagle
External Link


Introduction

This is a project that is based on Sanguinololu. The ATmega644P has been replaced with an Atmel AT90USB1286 MCU. This Microcontroller has on-chip USB, removing the need for the FTDI USB UART. All of the through hole resistors and capacitors have been replaced with 0805 SMT components (as of Ver 0.1). Like the Sanguinololu the Teensylu has expansion headers supporting I2C, SPI, UART, and ADC pins. All extra I/O ports of the AT90USB have been broken out to headers for prototyping.

Features

  • Small design - board is XXXmm x YYmm (X" x Y")
  • Teensylu clone, Atmel's AT90USB1286 - AT90USB1287 drop-in compatible for 20mhz support
  • Up to 4 Pololu (or Pololu compatible) on-board (X,Y,Z,Extruder) (A4983 without voltage regulator)
  • Supports multiple power configurations (Carried from Sanguinololu)
-- Logic & Motors supplied by ATX power supply (needs molex harddrive connector, and optional 4pin atx connector for additional 12v)
-- Motors supplied by 5mm screw terminal 7-35V
-- Logic supplied by USB bus
-- Logic supplied by optional on-board voltage regulator (molex harddrive connector cannot be installed at the same time)
-- on-board USB connectivity
  • 2 thermistor connectors with circuitry
  • 2 N-MOSFETs for extruder/bed heaters
  • 1 N-MOSFET for low power fan or motor
  • Selectable 12v/5v endstop voltage
-- 4 endstops including 4th stop called E-Stop to be used as an emergency stop, or extruder stop (to be added in firmware).
  • Edge connectors enabling right-angle connections
  • Silkscreen for connectors on both sides of the board, facilitating bottom cable connections
  • 14 Extra pins available for expansion and development - 6 analog and 8 digital (Fully compatabile with Sanguinololu), with the following capabilities
-- UART1 (RX and TX)
-- I2C (SDA and SCL)
-- SPI (MOSI, MISO, SCK)
-- PWM pin (1)
-- Analog I/O (6)
  • Additional 14 pin header with 11 I/O for prototyping
  • SMT Components sized at 0805 for easier soldering.

Programming the Firmware

Atmel preloads the AT90USB128 with a bootloader that allows for programming of the firmware using the USB port. This requires their software called FLIP to be installed. For more information, read the following documentation: http://www.atmel.com/dyn/resources/prod_documents/doc7618.pdf http://www.atmel.com/dyn/resources/prod_documents/doc7769.pdf TODO: Add instructions here. For Windows Users You will need to download the arduino software, FLIP, and the teensyduino libraries here http://pjrc.com/teensy/td_download.html FLIP: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3886

Windows: Download the arduino environment and install. Download the Teensyduino library from pjrc and install. Download FLIP and install. Download Sprinter firmware (Other firmwares are currently untested). Open Sprinter in arduino and configure Configuration file. Motheroard should be set to 8. Go to Tools menu and set Board to Teensy++ 2.0. Go to Sketch menu and click "Verify/Compile" A program will popup for the teensy programmer after sprinter is done compiling. We don't use that here. You can exit it. Start the bootloader: with the Teensylu board plugged in, place a jumper in the "ALE" pin next to the MCU. Now press the reset button on the board. Next remove the jumper. Now windows should say "found new hardware". the drivers for this hardware are in the "c:\program files\atmel\flip 3.4.3\usb" folder. Find the hex file: the compiled hex is in a temporary directory in your c:\users\{currentuser}\appdata\temp\build1234567890\sprinter.cpp.hex copy this hex file into my documents or somewhere more accessible. Finally you can start FLIP. Start the program. select the target device: AT90USB1286. Select Communication medium as USB, and click Open. Open hex file, and choose the Sprinter.cpp.hex Now click the RUN button on the bottom left. Congratulations, you're done!


For Linux users an opensource programmer called "dfu-programmer" has been found. Information on this software can be found on it's homepage here: http://dfu-programmer.sourceforge.net/ TODO: Add linux instructions here.

Board Images

Teensylu-Top.jpg

Teensylu-Bottom.jpg

Teensylu Assembled.JPG

Schematics

File:Teensylu-0.6.pdf

Mouser project: https://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=360523b45b