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

Search:

Type: Posts; User: clinker8

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Some more progress on menus and things. All of...

    Some more progress on menus and things. All of the threading section is complete. Most of feeds are done. Have lockouts on the stepper driver until explicitly initialized and started. Still need...
  2. Debug build did not help. Same problem. Yes, I...

    Debug build did not help. Same problem. Yes, I should cancel that bug, and write a more descriptive one. At the time I wrote it, I was in a panic, kernel and personal! I have ensured I have...
  3. Believe me, this has been a royal pain in the...

    Believe me, this has been a royal pain in the neck. When there's a crash, all you get is a frozen screen, then 30 seconds later the laptop turns off. No chance to do anything, or save anything.
    ...
  4. So far this seems to be an Ubuntu and Ubuntu...

    So far this seems to be an Ubuntu and Ubuntu derivative Linux kernel problem. Regressing libusb did nothing. Reverting the kernel seems to have fixed the crashing problem. There are so few users...
  5. Interesting idea on using Powerpoint to make up...

    Interesting idea on using Powerpoint to make up the initial storyboards. I just did that part with a couple of pencil sketches. Hadn't thought about making a bit map from it. That bit was clever....
  6. Seems to be TyCommander that is doing the dirty...

    Seems to be TyCommander that is doing the dirty deed. Why, I don't know. If I use the Teensyloader, it is fine. So for now, that's what I will use.

    On a side note, I had ordered a TI Launchpad...
  7. That was informative. Thank you. On line 215 of...

    That was informative. Thank you. On line 215 of your link, there is mention of using libusb 0.1. Checking my computer for libraries, I have libusb-1.0-0, but in arduino-1.8.19/hardware/tools there...
  8. Yes, I have forgotten a \n or two in my time :) ...

    Yes, I have forgotten a \n or two in my time :)

    Since I am running on PopOS 22.04, which is a modified Ubuntu 22.04, I have some support from System76, who are the originators and maintainers of...
  9. Don't see any binaries on either site. Somehow,...

    Don't see any binaries on either site. Somehow, I have to undo any tytools integration. Suspect there isn't any (this time, since the laptop crashed on the click to integrate).

    Originally, I...
  10. @defragster, tycommander was my go to tool, once...

    @defragster, tycommander was my go to tool, once I learned about it. Extremely useful. I was using it for handling multiple Teensy's, great for that.

    My build was from source, which should have...
  11. So no comments? Am I the only one with this...

    So no comments? Am I the only one with this issue?

    What is odd, is that it runs perfectly on RaspiOS64 on an RPI4, but still violently crashes my Pop!OS 22.04 i7 computer (32GB RAM, 1TB SDD). ...
  12. So it happened once with just Teensyduino and...

    So it happened once with just Teensyduino and Arduino. After that, I thought maybe I had a bad install of Arduino. So uninstalled it from the system, and tossed the directory into the trash and...
  13. Isolating the active hub from the laptop does not...

    Isolating the active hub from the laptop does not prevent reboot. Total current draw on the USB3 port is 0.23A.
    Using valgrind shows memory leaks in tycommander, although they maybe false. I...
  14. The RPI4B isn't that fast... But it is...

    The RPI4B isn't that fast... But it is tolerable, especially compared to doing it all again by hand!
    FreeCAD is free. You can have your own designs and they can be proprietary, if you want. Not...
  15. Looking for some clues hard Linux crash using Ty Commander

    Arduino IDE 1.8.19, Teensyduino 1.56, TyTools 0.9.7.
    Symptom: Flash of Teensy 4.1 causes hard crash of laptop - screen freeze 10 seconds, unresponsive to keyboard or mouse, then laptop power turns...
  16. Alas, no significant progress. My laptop has...

    Alas, no significant progress. My laptop has some sort of problem where it just freezes and turns off the power. This typically happens just after flashing a Teensy. Don't know if it is HW, or SW....
  17. It is this one: Linux Installer (AARCH64 / Jetson...

    It is this one: Linux Installer (AARCH64 / Jetson TX2)

    Teensyduino installed fine on RPIOS-64. Running off SSD now. Could be faster, but when your main computer is on the fritz, it is good to...
  18. Which Teensyduino to use for Raspberry Pi OS 64 bit?

    I am trying to bring up an RPI4 running the 64 bit version of Raspberry Pi OS. So far, I have dual monitors, over clocked a little, and will soon boot from SSD. Why am I doing this? Err, my laptop...
  19. Well color me embarrassed. drawNumber works just...

    Well color me embarrassed. drawNumber works just grand. Can't believe I didn't see that before. Sorry for the noise. Slowly this interface ekes along...
    28532
  20. ILI9341_t3n is there a simple way to print an integer?

    I found the drawFloat function which is handy. However, I'd like to pass an integer to a similar function to get text in the center of the box. drawString means I need to convert the int to string....
  21. Thank you very much Paul. Appreciate it. The...

    Thank you very much Paul. Appreciate it. The drawing confirms some of the not quite rounded to nice metric values that I had measured. Wasn't sure if I had measurement error or not. Much better...
  22. Is there a mechanical drawing for the 3.2" ILI9341 display?

    I bought a 3.2" display board from PJRC. When I looked at the information page, it seems that the mechanical drawing is for the smaller 2.8" display. Is there one for the 3.2" display? I know I...
  23. @luni, very sorry, not to have acknowledged. ...

    @luni, very sorry, not to have acknowledged. Thank you for looking into this. I have updated my code accordingly. Now spending a bit of time on the UI along with the system level state machine. ...
  24. No, I would never change thread pitch while...

    No, I would never change thread pitch while cutting threads with the spindle is turning! My state machine (if I write it correctly) would prevent that from happening. Although it might be...
  25. @luni, Making some good progress. Have two...

    @luni, Making some good progress. Have two display screens and a way to get from one to the other. Working on selecting the pitch value and loading the associated values for N and D to the main...
  26. Replies
    11
    Views
    750

    Thanks for the awesomely fast response! Wasn't...

    Thanks for the awesomely fast response! Wasn't expecting an example sketch to fail, but guess it happens. I will give it a try.

    Edit: Yes, that compiles for me. Thanks again!
  27. Replies
    11
    Views
    750

    Ok. Program is ILI9341_t3_Menu_Touchinput, from...

    Ok. Program is ILI9341_t3_Menu_Touchinput, from recently installed library example sketch, no changes. Compiles with nearly the same errors. Errors below.

    Arduino: 1.8.19 (Linux), TD: 1.56,...
  28. Replies
    11
    Views
    750

    @KrisKasprzak I am trying to get your example...

    @KrisKasprzak I am trying to get your example file working, I made a few mods to the IO just to match my current hardware configuration. I am getting compilation errors. Here is the modified file...
  29. Thanks for the lead to this. Think it is what I...

    Thanks for the lead to this. Think it is what I am looking for! It will be a great start for me to get my menus into my project.
  30. @beermat, very impressive. Umm, that's amazing. ...

    @beermat, very impressive. Umm, that's amazing. I'd say a parallel interface must make a huge difference. This SPI ili9341 is kind of a slow poke and it doesn't have all that many pixels to push. ...
  31. I know very little about LVGL, except for their...

    I know very little about LVGL, except for their fancy webpage. I never got it running. My comment on the button was coding it from scratch. I have not hooked up touch to it, but I can do that. ...
  32. How did you get that to work? I spent some time...

    How did you get that to work? I spent some time with it, but didn't get very far. Do you have any notes that you could share on getting it up and running? LOL it took me a day and a half to get an...
  33. Are there any higher level graphics libraries for Teensy that have widgets

    Been looking at making a GUI for my electronic lead screw project. Are there any libraries that folks know of that are a step up from the ILI9341_t3 sort of libraries? By that, I mean a little...
  34. Yes, you found the problem as well! Thank you...

    Yes, you found the problem as well! Thank you very much for looking. It is very appreciated.

    Still have a problem with resetting the counter value to zero for testing. I get some strange...
  35. Think I found part of the problem! Was calling...

    Think I found part of the problem! Was calling Serial print way too often. I updated the code to only print out the RPM once every 100ms, it seems it was trying to output every time it went around...
  36. Got a crash at Count = 99591/100000 counts. freq...

    Got a crash at Count = 99591/100000 counts. freq = 100000. My instance of spindleEncoder did not print out the count of 99592, but did for 99591. It printed out "-", then restarted and printed the...
  37. Think it will crash before then, but yes. Also,...

    Think it will crash before then, but yes. Also, I see that EncSim is outputting a couple of random counts in the beginning on start up. Not always, but occasionally. Might be the outputs changing...
  38. Here is a copy of what I have so far...28401

    Here is a copy of what I have so far...28401
  39. @luni, sorry to keep bothering you. In your...

    @luni, sorry to keep bothering you. In your Encoder library there is a member that is an error callback. I keep getting odd resets at certain speeds, where the count value stops updating. How...
  40. @luni, what you showed me works! I didn't...

    @luni, what you showed me works! I didn't understand how to use the command from the header file - ie. I'm not a very proficient C/C++ programmer. :(

    Have an unusual problem showing up. ...
  41. Of course it is a bug :D. I am running the...

    Of course it is a bug :D. I am running the stepper at 6 TPI, (4.23 mm pitch) which has the highest N/D ratio 0.781. Stress test! Rather see the SW break on my comfortable desk, than down in the...
  42. I don't loose counts, at 20 KHz, but my stepper...

    I don't loose counts, at 20 KHz, but my stepper can't follow. At 20K counts/second my stepper is going at 15994 microsteps/sec, so the stepper can't start reliably from rest at this pulse rate. If...
  43. @luni, I installed (built) TyCommander and tried...

    @luni, I installed (built) TyCommander and tried EncSim out. Got it to work. I can get it to work up to freq = 14000. After that, my stepper can't follow reliably. Don't know if that is because...
  44. This file downloaded and once extracted was able...

    This file downloaded and once extracted was able to be programmed. The original file on github downloaded as several MB, this hex file is 280KB. I will give it a try!
  45. @KurtE, thanks for the explanation, very helpful....

    @KurtE, thanks for the explanation, very helpful. Gives me a better understanding of the "bigger picture". I have a lot to learn on this front, but this gives me some of the basics, which I was...
  46. @luni, I downloaded the binary for Teensy 4.1. ...

    @luni, I downloaded the binary for Teensy 4.1. My Teensy loader said the hex file was unreadable. I check permissions on the hex file and it seemed ok. Enabled gHex and was able to read the hex...
  47. @KurtE have you run the standard graphicstest in...

    @KurtE have you run the standard graphicstest in DMA mode? Is it any faster? How long would a screen fill take with DMA?

    For the clip rectangle, let me ask these simple questions. The frame...
  48. @KurtE yes, I am using your library. Details,...

    @KurtE yes, I am using your library. Details, are hard to write, but often very helpful to those starting out (like me). Thanks for making the library. I'll visit the readme and docs. At the...
  49. @luni, This code stub doesn't seem to work. If I...

    @luni, This code stub doesn't seem to work. If I print out c1 and c0, they either are the same, or only differ by one count, independent of the physical encoder shaft RPM. spindleEnc.getValue is...
  50. Trying to implement your suggestions. Made...

    Trying to implement your suggestions. Made version 2.

    @luni, is there a way to readback the count value at a moment in time? I want to estimate RPM and I know the count when I enter the...
Results 1 to 50 of 79
Page 1 of 2 1 2