mjs513's latest activity

  • mjs513
    mjs513 reacted to defragster's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
    Me too. Those pin numbers match what was found and marked to work on the prior page! p#6 What ESP32 variant is onboard?
  • mjs513
    mjs513 reacted to Dogbone06's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
    I made a custom WiFi module back in the day when this was current. I never ordered the board but I looked it over and I did all the work. I will order it, do you guys one to play with?
  • mjs513
    Well if you want you can always give the library I posted here a shot on the board you have - should still work. Good luck with the AHRS.
  • mjs513
    Just a quick follow up. Looks like what you are getting is raw data that hasn't been scaled yet you have to call void BMI270_Class::getConvertParam(imu_convert_param_t* param) const { param->mag_res = 10.0f * 4912.0f / 32760.0f...
  • mjs513
    Sorry but it took me a while to sort through their library. First thing is there axis orientation is setup up different than mine but with that said they already do the realignment within in their library so you do not need to change it to match...
  • mjs513
    was looking at the wrong one. Can you post your code so I can give it a try and see what you did. Because the data you posted is showing accel and gyro data as well as magnetometer data. May not get to it to later today as in middle of doing a...
  • mjs513
    Well you are going to have a have a slight problem. Th atoms3r is a ESP32-S3 microcontroller not a teensy and does not have a BMM150 and BMI270 sensors on board. The motioncal examples I have are for dual serial on a Teensy which in theory...
  • mjs513
    I think this answers my question on the PWMServo detach method https://github.com/PaulStoffregen/PWMServo/issues/3
  • mjs513
    That's strange indeed. I thought so as well but..... Since when I looked on the drop down for the Teensy 4.0 the servo library is not found. Only the one from arduino. However, if I looked at the installed core it does show up. Other thing...
    • 1732667163039.png
  • mjs513
    Interesting = looks like Servo library should work as well: https://www.pjrc.com/teensy/td_libs_Servo.html Something strange - have to look more in the morning.
  • mjs513
    Never really used detach() method. Just gave it a try and sure enough same error. Looking at the lib looks like a bug. Looks like it trying to mess with avr timer flags - I think // muck with timer flags if (pin == SERVO_PIN_A) {...
  • mjs513
    Just tried it as well out of curiosity on a Windows 11 PC using IDE 2.3.3 and getting the same error message but it does make sense as the Servo library is the one that comes bundled with Arduino so its focused on arduino boards. Here is there...
  • mjs513
    mjs513 reacted to PaulStoffregen's post in the thread Black Friday Sale 2024 with Like Like.
    Black Friday Sale is now live. EDIT: the sale has ended
  • mjs513
    mjs513 replied to the thread Teensy 4.1.
    I do not think you are going to be able to find a "fault tree" analysis for any of these boards especially if you are planning a formal PDR. I have never seen one. You would have to generate one on your own from scratch and not sure where you...
  • mjs513
    mjs513 reacted to defragster's post in the thread (i'm new) 4.1 non-communication. with Like Like.
    That's great - if an 8 second auto restart occurs again the CrashReport may give a clue. That and the BreadCrumbs. Code above may be generally useful as follows. It will sit until SerMon connects - might be better if pin(13) were flashed...
  • mjs513
    mjs513 reacted to Paul's post in the thread Black Friday Sale 2024 with Like Like.
    PJRC will have a Black Friday sale this year. Sweet discount on Teensy 4.0 and Audio Shield. Prices to be announced when the sale starts. Sale will run Nov 25 to Dec 2, or until inventory allocated to the sale runs out. Will limit to 50 per...
  • mjs513
    Haven't used it yet in any projects but based on testing using Madgwick Fusion algorithm seems to work well. With the other filters I tested I never fine tuned the gains for the combo so jury is out with using those but expect them to work when...
  • mjs513
    Let us know how it works out for you. Oh, by the way I ordered a set of these cables from Amazon to make it easier to connect to the Teensy: https://www.amazon.com/dp/B074MDM36N?ref=ppx_yo2ov_dt_b_fed_asin_title
    • 1732047816436.png
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Ok found my Frams. Not picking up the FM2510-G for some reason - might be bad, Is picking up the other 3 Filesystems Selected with '2 {number}' command: FS #0 Present=Yes Size=640 kB Name=PROGRAM FS #1 Present=Yes Size=45 kB Name=DMAMEM...
    • 1731605092892.png
  • mjs513
    Thanks Kurt. Almost forgot. I put together a sketch that combines several AHRS methods that can be tested with the MPUT-9250 or the M5Stack Board: // Set filter type: // 0 = Madgwick implementation of Mahoney DCM // 1 = Madgwick Gradient...
  • mjs513
    Lets talk calibration now that I slept. 6-point Calibration: Back in 2018 while experimenting with using @brtaylor's uNav INS code @Don Kelly developed a 6 point cal tool for the MPU-9250 which he updated in following posts. I have since...
    • BMI150_MotionCal.png
  • mjs513
    Lately been trying to consolidate/organize my IMU efforts and decided to grab a couple of new sensors that are used on the Nano Sense V2, the BMI270/BMM150 specifically. For reference Sparkfun has a BMI270 sensor and Waveshare has a BMM150...
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    a few other memboards we put together Index List: Filesystems Selected with '2 {number}' command: FS #0 Present=Yes Size=640 kB Name=PROGRAM FS #1 Present=Yes Size=45 kB Name=DMAMEM FS #2 Present=Yes Size=29 GB Name=(null)...
    • 1731521119267.png
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    will give it a try:Upadate MTP internal filesystems info: Storage List, 15 Filesystems store:0 storage:10001 present:Yes fs:2000AF78 name:"" fsname:"PROGRAM" store:1 storage:20001 present:Yes fs:2000B044 name:"RAM1" fsname:"DMAMEM"...
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Ok for those of you interested here is some output from the mods so far Note other than reconfiguring haven't looked at code yet but looks like RAM1 and prog storage is off. Also SD card not detected (micromod sdio) RAMDISK Storage 46080 bytes...
    • 1731517245931.png
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Ok will wait patiently to see how it gets handled in the new API :) oops just noticed the link Think if I/we realized this earlier probably would have opted to do this from the start. Actually think it was the other way around if I remember...
  • mjs513
    mjs513 reacted to KurtE's post in the thread MTP file size limits. with Like Like.
    Makes sense to me... Sorry, there are probably lots of other details from before that I have forgotten. More on this below: Personally, I would suggest that may be premature... If it were me, I would suggest to maybe start off, inverting...
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Just a bit of warning about use of "Store" or StorageID. From what I remember its only really demonstrated in mpt-test-integrityV2. Why was this? As mentioned in an earlier post the storage index is automatically placed on the first...
  • mjs513
    mjs513 reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
    Just a quick reply to mention I'm reading all the messages on this thread, even if I don't make the time to reply to every one of them. I'm trying to pour more time into actually working on MTP. Right now I'm working on simplifying and cleaning...
  • mjs513
    Sorry, I am not really setup to do Mac host development. My only Mac is a 12+ year old iMac. Also, as this thread and corresponding pull request is something like three years old and has not been merged, my assumption is that it probably won’t...
  • mjs513
    mjs513 reacted to WMXZ's post in the thread MTP file size limits. with Like Like.
    Yes, I know and there are some things better done in MTP-Teensy, but that is what progress is about and I'm happy that Paul, who kickstarted my interest in MTP, finally found some time to work on it to get rid of the experimental tag (@Paul: we...
  • mjs513
    mjs513 reacted to KurtE's post in the thread MTP file size limits. with Like Like.
    It has been a few years since I played with that part of the code. So there are lots of details that I foggy on. I remember the original code would fail if the first storage added was not in place or Read only or out of disk space... For...
  • mjs513
    mjs513 reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
    Android File Transfer definitely can not handle 16 drives! Also looks like Google stopped publishing it months ago. Luckily I still have the original download file. EDIT: looks like Android File Transfer can handle 16 filesystems. But it...
  • mjs513
    mjs513 reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
    Tried MacDroid from Apple Store. Free version can only read from Teensy to MacOS. To write files they want $35. It supports 16 drives and shows them as folders. It's not very responsive to drive addition and removal like Windows and Linux...
  • mjs513
    mjs513 reacted to jmarsh's post in the thread MTP file size limits. with Like Like.
    I think the SD card in particular might be more prone to showing issues when switching cards, since there is only one static SD FS object that gets reused when a different card gets inserted. MTP would occasionally hold open the file handle of...
  • mjs513
    mjs513 reacted to KurtE's post in the thread MTP file size limits. with Like Like.
    That is what I would suggest. You should probably change all the examples that will be part of the project to use these two classes. Or alternatively, maybe you could create multiple variants of different classes like SD. Like maybe we should...
  • mjs513
    mjs513 reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
    Agreed, 16 should be enough for everybody. I'm pretty sure the vast majority of people will use only 1. Earlier there was a mention Windows maybe having a lower limit. Mainly just want to make sure whatever limit we have on the Teensy side can...
  • mjs513
    mjs513 reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
    Looks like Windows 11 can handle 16 MTP filesystems.
  • mjs513
    mjs513 reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
    Linux (Gnome desktop) also seems to recognize 16.
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Just tried by adding a RAM and PROG disk - so got to 11. Think 16 is more than enough!
    • 1731244113450.png
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Morning - still working on coffee. You know don't think we ever realized that we could do that. So gave it a try and seems to work no problem. Looked at the change in code size and doesn't appear to be much difference. Using LittleFS_SPI for...
    • 1731238906446.png
  • mjs513
    mjs513 reacted to Rezo's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    I recall reading in the RM that the PXP can work async with the eLCDIFA bit on each of their control registers needs to be enabled. Then you can feed the PXP with to partial/full screen sized buffers, it will swap between them automatically and...
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Yep that got it - completely missed that. Thought it was the other way around should have know. Right now trying to get a couple of Bosch sensors working with the Teensy.
    • 1731185275427.png
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Just checked and yep - same 4 chips
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Yeah I agree - was trying to compare last night as well and couldn't figure it out. It should from what I was able to see. I even tried the simple example just with one flash and didn't work either.
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Thats great - makes life easier. Total confused on that one since in message #78 its showing the sizes correctly but messed up on the USB. Also noticed that seems to be a 9 drive limit in displaying windows explorer Sorry - still waking up
  • mjs513
    mjs513 reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
    Good news, I found a leftover memory board with those same 4 chips. Running the program from msg #86, sure enough I'm seeing the same issue with size and free space.
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    Its picking all usb drives up but all the flash/nand disks are showing 0 for space used etc. Not sure why yet. #include <SD.h> #include <USBHost_t36.h> #include <MTP_Teensy.h> #include <LittleFS.h> #define CS_PIN BUILTIN_SDCARD USBHost myusb...
    • 1731105288772.png
  • mjs513
    mjs513 replied to the thread MTP file size limits..
    using the following sketch (moded from post #62) #include <SD.h> #include <USBHost_t36.h> #include <MTP_Teensy.h> #define CS_PIN BUILTIN_SDCARD USBHost myusb; USBHub hub1(myusb); USBDrive mydrive1(myusb); USBDrive mydrive2(myusb); USBDrive...
    • 1731082115197.png
  • mjs513
    Been a while since I played with pixel pipeline but from what I remember you can only rotate in 90 degree increments. Not sure how to incorporate into LVGL. This example would probably help...
Back
Top