Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: zelfor

Search: Search took 0.00 seconds.

  1. Hall-Effect Rotary Encoder Calibration, Suggestions?

    All,

    I've got a 14-bit hall-effect rotary encoder that I'm trying to calibrate, in software, to adjust for non-linearity. Specifically, I've got an AS5147P, which can have a non-linearity of up to...
  2. Replies
    8
    Views
    3,454

    I'm also using the USB library to output joystick...

    I'm also using the USB library to output joystick info, so I am concerned about how the large amount of processing will affect that. Though, using manual USB send on a higher priority interrupt, and...
  3. Replies
    8
    Views
    3,454

    Driving via PWM through an NPN BJT worked out...

    Driving via PWM through an NPN BJT worked out fine.

    After a lot of experimentation though I'm coming to the conclusion the LRAs aren't suitable for my application (haptic feedback across a...
  4. Replies
    8
    Views
    3,454

    In this case, all the LRAs I'm working with run...

    In this case, all the LRAs I'm working with run at the same AC frequency. It's just the amplitude that varies.

    I don't think that using different PWM duty cycles would work, assuming you mean...
  5. Replies
    8
    Views
    3,454

    I've got a few 74HC595 shift registers, but I'm...

    I've got a few 74HC595 shift registers, but I'm concerned that implementing PWM via software will eat up too many clock cycles, I've already got a lot of calculation going on.

    For each of the 9...
  6. Replies
    8
    Views
    3,454

    Driving Linear Resonant Actuators

    Hi! Looking for some outside points-of-view.

    I'm trying to figure out how to drive 9x linear resonant actuators (LRAs, like this one), each potentially at a different rate.

    Short intro, LRA's...
  7. Well, I decided to take a new approach given the...

    Well, I decided to take a new approach given the output issues I was having from PS2 mice.

    I've now got a USB mouse, connected to a raspberry PI, connected via I2C to my Teensy3.1, connected to my...
  8. The PS2 mouse returns a 3 byte movement data...

    The PS2 mouse returns a 3 byte movement data packet.
    The relative movement ( since last report ) is represented by 9-bit, 2's compliment integers.
    Bytes #2 and #3 represent the 8 least significant...
  9. (PS2 Protocol) PS2 mouse movement packet bad/odd data, multiple mice

    Hoping somebody can help point me in the right direction.....
    Note: Code Attached

    I'm working with a Teensy 3.1, the latest Teensyduino, the latest Arduino, and am using a self-rewritten version...
  10. Replies
    172
    Views
    174,102

    fixed?

    I recently ran into a compilation error using the extreme joystick library from post #36 in this thread.

    I detailed the error in a post here, but basically one of the structs in usb_desc.h was...
  11. Ok, so usb_serial.h and usb_inst.cpp both include...

    Ok, so usb_serial.h and usb_inst.cpp both include usb_desc.h. I suspected their might be some multi-including issue going on, so I wrapped the following code in usb_desc.h from the extreme joystick...
  12. [Error] Compile error using Many-Axis joystick lib and test file

    Hi!

    I'm using a Teensy 3.1 with the latest Arduino and Teensyduino on Linux.
    The 3.1 is set to 96MHz optimized and USB Type: Serial + Keyboard + Mouse + Joystick.

    I'm trying to use the extreme...
  13. That did the trick! I added a 50ms delay and...

    That did the trick!

    I added a 50ms delay and it's working great after power loss.

    You sir are epic! I'll gladly continue to support your great work by purchasing more Teensy boards!
  14. T3.1 w/ TD 1.2: I2C failure after power loss, requiring re-upload to fix

    Hi!

    I'm using a Teensy 3.1 with Teensyduino 1.20, along with a GY-521 ( MPU-6050 breakout, 6DOF I2C sensor ).

    I'm using the GY-521 as a source for X/Y rotation translated into Joystick output...
  15. Teensy 3.1, Overriding Core Libraries in the Arduino IDE

    Howdy folks! A new Teensy 3.1 user here, starting off using the Arduino IDE.

    Well, it has been a while since I programmed in C/++, usually I work with Javascript, SQL, etc, and I'm running into a...
Results 1 to 15 of 15