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...
Type: Posts; User: zelfor
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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!
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...
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...