Difference between revisions of "Teensylu"

From Geeetech Wiki
Jump to: navigation, search
Line 33: Line 33:
 
*Repetier
 
*Repetier
  
==Building Firmware==
+
==Building Firmware (applying to the board preinstalled the LUFA HID bootloader)==
 
===Sprinter(compatible for Arduino 023)===
 
===Sprinter(compatible for Arduino 023)===
 
*Download the arduino environment and install. http://arduino.cc/en/Main/Software  
 
*Download the arduino environment and install. http://arduino.cc/en/Main/Software  
Line 47: Line 47:
 
*open the HEX File in teensy loader and move sprinter.cpp.hex to root folder of C drive for programming
 
*open the HEX File in teensy loader and move sprinter.cpp.hex to root folder of C drive for programming
  
==Programming the Firmware==
+
===Programming the Firmware===
 
AT90USB1286 on the Teensylu has been preinstalled the LUFA HID bootloader for that allows for programming the firmware using USB port or USBtiny ISP.
 
AT90USB1286 on the Teensylu has been preinstalled the LUFA HID bootloader for that allows for programming the firmware using USB port or USBtiny ISP.
  
===Windows===
+
====Windows====
 
*Remove the HWB jumper beside the chip.
 
*Remove the HWB jumper beside the chip.
 
*Press the rest button to start the bootloader.
 
*Press the rest button to start the bootloader.

Revision as of 07:12, 3 April 2013

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. 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 100mm x 60mm
  • Teensylu clone, Atmel's AT90USB1286
  • Up to 4 A4988/4983 stepstick or Pololu stepper driver boards on-board (X,Y,Z,Extruder)
  • 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).
  • 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.

Compatible Firmwares

  • Sprinter
  • Marlin
  • Repetier

Building Firmware (applying to the board preinstalled the LUFA HID bootloader)

Sprinter(compatible for Arduino 023)

  • Download the arduino environment and install. http://arduino.cc/en/Main/Software
  • Download the Teensyduino library from pjrc and install. Be sure to select "all" when asked which additional libraries to install
  • Download Sprinter firmware. https://github.com/kliment/Sprinter
  • Open Sprinter in arduino and configure configuration.h file.
  • Motherboard should be set to 8: #define MOTHERBOARD 8
  • Turn off endstops if you didn't install endstops: const bool ENDSTOPS_INVERTING = true;
  • Turn comment out SD card support, not working yet: //#define SDSUPPORT
  • Go to Tools menu and set Board to Teensy++ 2.0, or Teensylu if using alternate bootloader
  • Go to Sketch menu and click "Verify/Compile"
  • A program will popup for the teensy programmer after sprinter is done compiling
  • open the HEX File in teensy loader and move sprinter.cpp.hex to root folder of C drive for programming

Programming the Firmware

AT90USB1286 on the Teensylu has been preinstalled the LUFA HID bootloader for that allows for programming the firmware using USB port or USBtiny ISP.

Windows

  • Remove the HWB jumper beside the chip.
  • Press the rest button to start the bootloader.
  • Windows will find the new hardware as the virtual com port. If windows find the unrecognized hardware, install the USB Serial driver
  • Install the WinAVR
  • Run the cmd.exe in windows, input the command line
 hid_bootloader_cli -mmcu=at90usb1286 -w -v Sprinter.cpp.hex

Teensylu 0.jpg

  • After flashing the firmware, replace the HWB jumper and push the reset button to run the firmware.

Schematics

Teensylu

Burn the bootloader

Lincomatic's blog

How to buy

Click here to buy Teensylu