Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 10 of 10

Thread: teensy 3.1++?

  1. #1

    teensy 3.1++?

    Hi,

    I got the 2x teensy 3.1 today in the mail, and from my experiences with the previously bought teensy 3.0, I am very happy with your products.
    I just do have a few of concerns.
    1) Is there going to be a teensy 3.1++ that has the pins like the teensy 2.0++ because those pins at the underside are hard to get to. I am just curious because I tend to run out of pins sometimes.
    2) Is the 3.3v next to VBat an output?
    3) I notice that there is no PID library or fuzzy logic libraries written for the teensy. I used have a little experience with assembly, and I would just like to know where would be a good start for compiling and programming this chip outside arduino IDE. Also if there are any tutorials or books for compiling/programming/etc available can you please direct me?

    Thank you.

  2. #2
    Junior Member
    Join Date
    Dec 2013
    Posts
    11
    I've used this library on my Teensy 3.1 with no problems: http://playground.arduino.cc/Code/PIDLibrary

    This was posted a while back as a template for developing outside the Arduino IDE:

    http://forum.pjrc.com/threads/24527-...oject-Template

    I'm doing my development using a highly modified version of that Makefile under cygwin.

    - Jon

  3. #3
    Senior Member Constantin's Avatar
    Join Date
    Nov 2012
    Location
    In the yard with a 17' Dia. Ferris Wheel
    Posts
    1,408
    Quote Originally Posted by snskreationz View Post
    Is there going to be a teensy 3.1++ that has the pins like the teensy 2.0++ because those pins at the underside are hard to get to. I am just curious because I tend to run out of pins sometimes.
    Paul has previously posted that he's working on a 3++ but that he can't share the details due to being under an NDA with Freescale, the OEM for the MCU. My guess is that it's going to be simply stupendous. No timetable was given, which I totally understand given all the other things he's working on, the vagaries of waiting for Freescale to release the MCU, and so on.

    Quote Originally Posted by snskreationz View Post
    Is the 3.3v next to VBat an output?
    See the schematic. All 3.3V pins are tied to each other (including the output of the voltage regulator).

    IIRC, the PID library was originally developed for DIY reflow ovens by Brett Beauregard. Back then, the author specifically cautioned folk against using the library in scenarios that require fast intervention (but it's been some time since then). Thus, I suggest you read the authors guidance carefully on his web-site to ensure that the library can do for you what you expect it to. There is also a auto-tune library on the Arduino site to help you establish good PID constants.

  4. #4
    Junior Member
    Join Date
    Dec 2013
    Posts
    11
    Quote Originally Posted by Constantin View Post
    IIRC, the PID library was originally developed for DIY reflow ovens by Brett Beauregard. Back then, the author specifically cautioned folk against using the library in scenarios that require fast intervention (but it's been some time since then). Thus, I suggest you read the authors guidance carefully on his web-site to ensure that the library can do for you what you expect it to. There is also a auto-tune library on the Arduino site to help you establish good PID constants.
    I'm using that PID library for motor control on my robot uCee. I've got some initial constants hand-tuned, and although right now its fairly slow-responsive to changes, I'm hoping that fiddling with the constants a little will help with that.

  5. #5
    Thank you for your replies. I was just looking under the library section on this site and I didnt try the arduino site.

    And I am happy a 3++ is being worked on

    I will take a look at the links provided later in the day.

    Thx.

  6. #6
    Junior Member
    Join Date
    Jan 2014
    Location
    France
    Posts
    4
    +1 for an extended breadboard friendly 3.1 ! The teensy is great and deserves a wider audience without surface soldering skills

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,352
    Quote Originally Posted by snskreationz View Post
    And I am happy a 3++ is being worked on
    Truth is, right now the audio library, answering questions, and day-to-day PJRC operational stuff is getting all my time.

    I plan to put at least 2-3 more solid weeks into the audio library, and then 1-2 weeks into a CAN bus library, before working on the new hardware.

  8. #8
    Junior Member
    Join Date
    Feb 2014
    Posts
    12
    I am quite excited for the 3++. I'm holding off on getting a 3.1 because I prefer the formfactor of the ++ devices that you have made. Currently I am doing all of my dev work on a Maple Mini.

    Can you, at the very least, tell us which microcontroller the 3++ will be using?

    Thanks!

  9. #9
    Member ARMbasic's Avatar
    Join Date
    Dec 2013
    Location
    Lake Tahoe, CA
    Posts
    60
    Well assuming the same CPU of the 3.1 will be used in the 3.1++, you might as well get started today. I know how hard it is to develop the software, and to move between CPUs is a big deal, it's not something you do without real good reasons. The 3.1 has enough pins to drive the extra pads, so I would expect it to be the CPU of choice.

  10. #10
    Junior Member
    Join Date
    Feb 2014
    Posts
    12
    I am pretty certain that a different mcu will be used as Paul mentioned an NDA. I have access to a fair amount of Freescale documentation and can look up most of their micros, so simply mentioning the mcu shouldn't be a violation of the NDA unless they are keeping a particular model super hush-hush.

    Porting code between microcontrollers is trivial, more so if they are members of the same family. I have done my fair share of porting between PIC, STM32, and AVR.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •