Recent content by JonHylands

  1. J

    MicroPython running on a Teensy 3.1 controlling a DragonTail

    In a similar vein, and using Dave's micropython port, I've got it running in my robot uCee (see http://blog.huv.com/ for details) on a Teensy 3.1.
  2. J

    teensy 3.1++?

    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.
  3. J

    teensy 3.1++?

    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-Teensy-3-0-Project-Template I'm doing my development using a highly...
  4. J

    New I2C library for Teensy3

    I hooked up a Pololu MiniIMU-9 v2 (http://www.pololu.com/product/1268), compiled the code from here: https://github.com/pololu/minimu-9-ahrs-arduino and it worked fine with my Teensy 3.1.
  5. J

    ATSHA204 Authentication Chip plus Teensy

    The best bet is to invest $150 in a little logic analyzer - https://www.sparkfun.com/products/8938 With that, you can tell very easily if things like timeouts are happening, because you'll see the signal on the trace, but the code isn't reacting properly. You can even add lines to spare pins...
  6. J

    ATSHA204 Authentication Chip plus Teensy

    Looking at the data sheet, the device requires very specific timing to talk to, and it certainly isn't I2C in the form that comes from Sparkfun. They have an I2C version of the chip, but it is an 8-pin chip and has both SCL and SDA pins. This chip uses a strange 7/9-bit TTL bit scheme at...
  7. J

    Teensy 3.0 Project Template

    I am using the Makefile from this template, with some major changes, to make it work with Cygwin. Right now I can't link in external libraries, but other than that everything seems to work really well. My modified Makefile is in my Github repo - https://github.com/JonHylands/uCee - Jon (yes...
  8. J

    What wire to use?

    Sorry, I guess the attach picture thing doesn't work. Here's a real link: http://www.huv.com/uC/FakePCB.jpg And the robot its going into: http://www.huv.com/uC/uCee.jpg - Jon
  9. J

    What wire to use?

    To go off in a completely different direction, I use Hirose DF-13 series connectors with stuff like this, for the most part. They are like standard molex 0.1" headers, but half the size, and 0.050" spacing. You can get them from Digikey in a variety of sizes. The other thing you can get is 28...
  10. J

    Teensy 3 Encoder Lib

    I figured it out - its the INPUT_PULLUP that is the issue, perhaps only with this specific encoder. I changed lines 73 and 74 from Encoder.h as follows: #ifdef INPUT_PULLUP pinMode(pin1, INPUT); pinMode(pin2, INPUT); #else and now it works perfectly. - Jon
  11. J

    Teensy 3 Encoder Lib

    I just bought a Teensy 3.1, and I'm trying to use the interrupt-based Encoder library (with the mods supplied by Paul in post #2). I'm using this on a small robot I'm building, and hooking it up to 2 & 3. I'm using this encoder (http://www.pololu.com/product/2590) hooked up to their 100:1...
Back
Top