Monday, 23 October 2017

arduino - Teensy development


Has anyone used the teensy? - I have a need for a serial port as well as USB connection and this looks good. Any opinions welcome. Is it difficult to use with the Arduino IDE? What are the downsides compared with the Arduino?



Answer



I have not used the Teensy hardware. That said, from the specifications, it looks like a nicely designed piece of hardware. The Teensy developers have done their own comparison with the Arduino, from which I'll quote:




Teensy uses a similar Atmel AVR processor as the Arduino board, but there are differences. The most important is direct, built-in USB on the Teensy compared to serial converted to USB by a separate chip on the Arduino. Teensy communications MUCH faster than Arduino. Starting with Teensyduino 0.6, Teensy can communicate as a USB keyboard and mouse, which is impossible with an Arduino board that has a fixed USB to serial converter chip.


Teensy is designed for easy use on breadboards in the smallest possible size, which is incompatible with the form-factor used by Arduino shields.


While many types of sketches can run, Teensy is NOT an "Arduino clone" due to the substantial technical differences. The Teensy hardware and Teensyduino software add-on are NOT endorsed or supported by the Arduino developer team.



Here are some other advantages that the Arduino has over the Teensy:



  • Standalone operation: The Teensy can only be powered by the USB port. Therefore whatever you build around it will need to be plugged into a USB port (and most likely, a computer); if you want/need more power, you'll have to design and build your own power circuits. Arduinos offer many power options (USB, battery, wall-wart, etc) on-board.

  • Easier Development Tools: Out of the box, both the Teensy and Arduino depend upon GCC and AVR-Libc. Arduino then adds the Arduino IDE, sketches, and other libraries that make getting started faster and simpler. (You can use those tools to develop with Teensy, but they aren't supported and have limitations).

  • Standardized physical form-factor: The consistent Arduino form-factor allows people to develop processor and extension boards (shields) that can be shared and reused. You can see lists of those boards here, here, and here. Those lists are necessarily incomplete, because there are developers actively developing new boards continuously. Even the Arduino Mega can use shields designed for the earliest Arduinos. Different versions of Teensy use different physical forms and pinouts.


  • Open development model: All of the Arduino hardware, firmware, and software are available with Open licenses that allow you to modify, enhance, and distribute your changes without fear of legal reprisals. Teensy does not offer the same protections.

  • Community: There are LOTS of Arduino developers, along with websites, tutorials, books, kits, etc.


On the other hand, don't let all of that discourage your from using the Teensy if it meets your needs -- the Teensy platform looks well-designed for many applications where the Arduino would be too large or bulky.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...