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

Search:

Type: Posts; User: jpatrick62

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Many thanks to all who replied on this thread -...

    Many thanks to all who replied on this thread - you have started me in a good direction - thanks again!
  2. Thanks guys, appreciate the information. Looks...

    Thanks guys, appreciate the information. Looks like they have several of the MP6500s lying around, I'll see if they work as well.
  3. Best Motor Controller To Use For 2 Phase stepper

    Was hoping someone with some stepper motor experience could help me on which motor driver would be best suited. I am using a Teensy 3.2, and was given a Newport CMA-25PP
    stepper motor to control....
  4. Replies
    0
    Views
    326

    For I2C experts

    I have a question for the I2C experts, it comes from a project that involves an ESP8266 workign with a Teensy3x. The ESP8266 takes Wifi commands from a source, and routes these commands to a Teensy...
  5. Replies
    5
    Views
    716

    So I have a question that might help others as...

    So I have a question that might help others as well. I have my master (ESP8266) which essentially receives liner actuator movement request via WiFi and then must tell the Teensy 3.2 (basically in the...
  6. Replies
    5
    Views
    716

    Wow - now that is a nice way to do this - thanks...

    Wow - now that is a nice way to do this - thanks for telling me about it!
    I found ESP8266 was, oddly, more refined than the ESP32 especially in the SoftAP mode. However ESP8266 runs out of IO and I...
  7. Replies
    5
    Views
    716

    I think you are right - I was thinking about...

    I think you are right - I was thinking about doing that as well. Would definitely save some connections since I already have a I2C OLED to display the IP Address. So in this case I would have the...
  8. Replies
    5
    Views
    716

    Teensy 3.2 and ESP8266 communications

    Hello,

    I have a Teensy 3.2 that controls a DM320 motor driver. It also receives interrupt information from optical switches when the linear actuator that is controlled by the DM320 reaches...
  9. Thanks brtaylor, but it looks as if there is no...

    Thanks brtaylor, but it looks as if there is no accurate way to do this.
  10. 3D Point movement from MPU9250 or any 9 DOF sensor

    Hello,

    I was hoping someone who has worked with any of the 9 DOF sensors can help me with this. Using a Teensy with a MPU9250, I create a quaternion from the 9 sensor outputs (accel, gyro, and...
  11. Replies
    1
    Views
    681

    Teensy 3.2 and PFC8523

    Hello

    Don't know if it's my mis-interpreting on how to use the DS1307RTC library or possibly that the DS1307RTC Teensy library is not compatible with
    the PFC8523 RTC unit from Adafruit I was...
  12. Thread: uNav AHRS

    by jpatrick62
    Replies
    920
    Views
    207,311

    Thanks Brian!

    Thanks Brian!
  13. Thread: uNav AHRS

    by jpatrick62
    Replies
    920
    Views
    207,311

    Ok , so assuming a physically level table where...

    Ok , so assuming a physically level table where the MPU resides on, and the MPU vector markings as below:

    14622

    If +X and -X are the extremes to measure, then should the the X vector be...
  14. Thread: uNav AHRS

    by jpatrick62
    Replies
    920
    Views
    207,311

    First, thanks for writing the library class,...

    First, thanks for writing the library class, great job. I found my Nan issue (it was essentially an unformatted EEPROM entry). I basically used a Teensy 3.2 to run your class library and sent the...
  15. Thread: uNav AHRS

    by jpatrick62
    Replies
    920
    Views
    207,311

    Brian, I am having an issue with the...

    Brian,

    I am having an issue with the calibrateMag method of the MPU9250 library. The calibrateAccel methofd seems to give me reasonable bias and scale float values,
    but when I call the...
  16. Replies
    259
    Views
    101,073

    Thanks mjs513, you've been very helpful. That...

    Thanks mjs513, you've been very helpful.
    That info means I can take each quaternion subsequent to the first one as a rotation quaternion for display purposes in WPF.
    I needed to find out where the...
  17. Replies
    259
    Views
    101,073

    In the MadgwickQuaternionUpdate function, the...

    In the MadgwickQuaternionUpdate function, the last piece normalizes the resulting Quaternion.
    Mathematically, a quaternion is w+xi + yj + zk where w is the real component.

    quaternion[0] = q1 *...
  18. Replies
    259
    Views
    101,073

    Thanks mjs513, will try to remove the clear...

    Thanks mjs513, will try to remove the clear function and test later this week.
  19. Replies
    259
    Views
    101,073

    Hello, hoping someone can point me in the right...

    Hello, hoping someone can point me in the right direction here as I am a newbie to AHRS system. Just playing around with Brian's library which works well for Teensy 3.2 using SPI. My issue
    deals...
  20. Replies
    259
    Views
    101,073

    Well I guess reading the InvenSense manual should...

    Well I guess reading the InvenSense manual should have been my first approach - so the gyroscopic output is angular rate in rads/sec.
  21. Replies
    259
    Views
    101,073

    Brian (or anyone else that could answer this) -...

    Brian (or anyone else that could answer this) - sorry for this question but since I am new to AHRS I wanted to ensure I had the correct idea while working with the MPU9250.

    So the MPU9250 seems...
  22. Good points all - thanks. Looks like the HID...

    Good points all - thanks. Looks like the HID driver is probably the most optimal method and one that doesn't require a (serial) driver install for clients not up to Windows 10.
  23. Sorry, should have made my question clearer. I...

    Sorry, should have made my question clearer. I have implemented the HID driver on other projects to talk to Windows and of course it does take somewhat more effort to do. I ended up having some issue...
  24. Best way to communicate with Windows program

    I am using a MPU-9250 to talk to a WPF Windows program for primarily gyro axis updates in a 3D program. I can't rule out accelerometer and magnetometer axis updates presently
    since the project could...
  25. Replies
    259
    Views
    101,073

    Thanks mjs513, appreciate that. So my next task...

    Thanks mjs513, appreciate that.
    So my next task is to take the calibrated values and input that info into a WPF 3D model via the Quaternion APIs.
    Looks like a lot of fun!
  26. Replies
    259
    Views
    101,073

    Thanks for the reply mjs513, If you look at...

    Thanks for the reply mjs513,

    If you look at the calibrateAccel function in the MPU9250.cpp file it doesn't matter which axis you do first. It looks for the min/max in each orientation for ax, ay,...
  27. Replies
    259
    Views
    101,073

    Brian, First off thanks for your effort, got...

    Brian,

    First off thanks for your effort, got the lib to work with Teensy 3.2 on SPI with little effort. Since I am new to the AHRS field, I had some questions:

    1. Orientation, specifically the...
  28. Replies
    4
    Views
    1,574

    Yeah, I used those functions from the w5500.h and...

    Yeah, I used those functions from the w5500.h and w5500.cpp files I got from Ethernet2/3 library I believe. I used that since the W5500 chip is used on the 850IO network module. Like I said, it...
  29. Replies
    4
    Views
    1,574

    Thanks for the response Manitou. I was using the...

    Thanks for the response Manitou. I was using the Teensy Ethernet library as well, so I'll try it your way and see what happens - thanks!
  30. Replies
    4
    Views
    1,574

    Wiz850IO and PHYCFGR register

    Wanted to know if anyone else has run into this issue using the Wiz850IO network module. On the Wiznet site, they specify that the 850 uses the W5500 chip which
    they describe as TCP/IP hardwired...
  31. Good way to debug DHCP library in Visual Micro?

    Just wondered if anyone out there working with Visual Micro and Teensy 3.x have found a decent way to debug into
    some of the libraries (specifically the dhcp.cpp one)? I wanted to find out why the...
  32. Replies
    5
    Views
    3,243

    I had a similar issue and you can do several...

    I had a similar issue and you can do several things:

    1. If you can store the dataset on the Teensy, then you could use the RawHid library to connect to the computer and transfer the dataset that...
  33. Replies
    1
    Views
    1,107

    Just to add that I do have 10 uF cap across the...

    Just to add that I do have 10 uF cap across the output of a LM3940x 5 to 3.3 VDC regulator that feeds the teensy.
  34. Replies
    1
    Views
    1,107

    Some Questions on 3.1/3.2 ADC use

    Hello,

    Need to do some ADC conversions using an external trigger. The trigger will be tied to an interrupt vector where I plan to start the ADC conversion. The
    analog waveshape will be positive...
  35. Replies
    10
    Views
    3,297

    :o(Sheepish grin) Well, it looks like I may have...

    :o(Sheepish grin) Well, it looks like I may have manufactured my own trouble by inserting one wrong digit into the PID during development and that looks to be the problem with the C# to C dll...
  36. Replies
    10
    Views
    3,297

    Slightly cleaner version.... int...

    Slightly cleaner version....


    int rawhid_managed_open(int max, int vid, int pid, int usage_page, int usage)
    {

    int r = rawhid_open(max, vid, pid, usage_page, usage);
    if (r <= 0)
    {
    r =...
  37. Replies
    10
    Views
    3,297

    Solved the problem, although the exact issue is...

    Solved the problem, although the exact issue is not been confimed yet. The issue, at least from the view of calling the rawhid dll functions from managed code, appears to
    be the way initialization...
  38. Replies
    10
    Views
    3,297

    Well I compiled the C code supplied for the...

    Well I compiled the C code supplied for the rawhid tester and it does indeed see my teensy. Interestingly, the rawhid_open initially fails and then succeeds on the 2nd attempt. In rawhid_open c...
  39. Replies
    10
    Views
    3,297

    Thanks for the help so far everyone, appreciate...

    Thanks for the help so far everyone, appreciate it. So I set the build type in VS2013 on the .net assembly for x86 versus "Any" and now the incorrect format exception went away. So Windows just...
  40. Replies
    10
    Views
    3,297

    Hmmm so if everyone else has got this to work in...

    Hmmm so if everyone else has got this to work in Win64 OS, then maybe I just got a bad file or something. I just downloaded this from pjrc's rawhid page and I'll try it out tonight.
  41. Jerwood, Are you using c# as the Windows...

    Jerwood,

    Are you using c# as the Windows interface to your rawhid project? I am having a fit trying to mate my rawhid teensy to a xaml application...
  42. Replies
    1
    Views
    3,479

    Nice - will need to do an enclosure box up for my...

    Nice - will need to do an enclosure box up for my Teensy 3 and nrf24L01 combo soon. I don't own a 3d printer, but Tinkercad looks to be just right for what I would want to do.
  43. Replies
    10
    Views
    3,297

    RawHid for 64 Bit Windows

    Recently I had a need to implement RawHid for a project I was working on. Specifically needed to configure a NRF24L01 radio channel and power setting that my Teensy 3.1 was using. So I created
    a...
  44. Check to see how much current the wallwart USB...

    Check to see how much current the wallwart USB power supply can source, it may not supply enough. I'd suspect that the PC USB supplies
    enough to feed the Wiz but the Wallwart does not.
  45. Replies
    8
    Views
    10,332

    Well it seems like it's been a while since the...

    Well it seems like it's been a while since the last post, but in case anyone runs into this again, I got my 128x64 SPI OLED from ElectroDragon for pretty cheap and just needed it to display
    the...
  46. So I increased the buffer size in serial1.c from...

    So I increased the buffer size in serial1.c from 64 to 640 and everything started working correctly, i.e. the ESP8266 returns a list of access points that the user can now choose via dual encoders. ...
  47. Replies
    1
    Views
    1,179

    Teensy with built in Wifi Capability

    Paul,

    I know you must be very busy - just a suggestion when you get a break. Many projects now are turning toward wifi capability over existing ethernet simply for the portability. Is there any...
  48. I did not check out the delay fully. My home net...

    I did not check out the delay fully. My home net only has one AP so the problem doesn't show up there. I will find out Friday when I go to a shop with multiple Aps scattered throughout the building....
  49. FrankB and Duff, thanks for the replies, much...

    FrankB and Duff, thanks for the replies, much appreciated. Frank, I could comment out those routines, but then the 2 gray scale encoders (which have interrupt events each attached) would not work and...
  50. jwmelvin, thanks for the reply. I could increase...

    jwmelvin, thanks for the reply. I could increase the buffer, but then my question is by how much. I suppose I could go 640 if I suspected the max number of Access Points returned from the ESP8266...
Results 1 to 50 of 81
Page 1 of 2 1 2