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

Search:

Type: Posts; User: clinker8

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    171

    The transistors are driving about 30mA maximum...

    The transistors are driving about 30mA maximum loads. The power dissipated in the transistors should be low. The transistors are also acting as voltage translators between the 3.3V Teensy 4.1 and...
  2. Replies
    8
    Views
    171

    Anything will work. 1/8W is fine. Current...

    Anything will work. 1/8W is fine. Current through the resistor is: (3.3 - 0.7)volts/(2000 ohms) = 1.3 mA. Power in the resistor is P = I*I *R = 1.3*1.3*1e-6 * 2e3 = 3.3mW. So 1/10W, or even...
  3. Replies
    8
    Views
    171

    Here's a simplified sketch of the Teensy to...

    Here's a simplified sketch of the Teensy to stepper motor schematic. The CL57T datasheet shows internal current limiting resistors, so I did not put in a series resistor in my circuit to limit the...
  4. Replies
    8
    Views
    171

    Simple PN2222A transistors and perhaps a resistor...

    Simple PN2222A transistors and perhaps a resistor would work. I am using 2N2222A transistors to drive a CL56T's opto-coupler inputs. I used a 2K resistor in series with the base. This is to limit...
  5. Replies
    9
    Views
    305

    Very nice. Now plot that in dB's, using log10 in...

    Very nice. Now plot that in dB's, using log10 in the library. dBout = 20 * log10( mag ). Then you will be able to detect any low level spurs in the output since the log function lets you see big...
  6. Replies
    44
    Views
    12,036

    By any chance, can one have a git repo inside of...

    By any chance, can one have a git repo inside of the Arduino libraries folder? It would be nice for maintaining libraries from third parties. Does V1.8.19 get confused by that?
    Otherwise, it's...
  7. Replies
    44
    Views
    12,036

    Time limit to edit post exceeded, grumble. Wish...

    Time limit to edit post exceeded, grumble. Wish it would tell me before I started an edit...

    Got your library updated, made changes you recommended to lvgl and was able to compile the music demo....
  8. Replies
    44
    Views
    12,036

    Thank you. I will give it a try. Once my PCBs...

    Thank you. I will give it a try. Once my PCBs arrive I can build up a separate unit to do testing using lvgl and your library. Afterwards, I will see about using ili9341_t3n. My experience with...
  9. Replies
    44
    Views
    12,036

    I'd like to be able to use the library at all,...

    I'd like to be able to use the library at all, with a Teensy 4.1. Can't find good instructions on how to do it. It's easy to download the SW, but I haven't seen good explanations of editing the...
  10. Turns out the limit is the encoder. However, at...

    Turns out the limit is the encoder. However, at reasonable speeds, like 2000 RPM and under, the interrupt rate will be 200kHz and under. I have tested to 890 RPM and saw no problems. To go higher,...
  11. Perhaps. But one doesn't get something for...

    Perhaps. But one doesn't get something for nothing. Using a higher resolution encoder increases the interrupt rate, which impacts high speed lathe operation. I need to calculate out the interrupt...
  12. @luni, thank you for the explanation. If I were...

    @luni, thank you for the explanation. If I were to change the countMode, I would zero out the counter, if that would help.

    As it turns out, changing the countMode won't help me after all. ...
  13. @luni, It seems the period for editing a post has...

    @luni, It seems the period for editing a post has expired. Bump. Questions in previous post. Thanks.
  14. Encoder Tool counted the noisy impulses correctly...

    Encoder Tool counted the noisy impulses correctly to my knowledge. My encoder cable is shielded for both the spindle encoder and the stepper motor encoder. The stepper is a closed loop type.
    ...
  15. After replacing a bad wall wart power supply, I...

    After replacing a bad wall wart power supply, I have the slow feeds working on the ELS. The power supply noise was causing false encoder impulses, which EncoderTool was dutifully counting. However,...
  16. Replies
    21
    Views
    466

    Thanks. Found the simplified colored model. ...

    Thanks. Found the simplified colored model. Much nicer.
  17. Replies
    21
    Views
    466

    JLC is quite a bit cheaper. Because it was...

    JLC is quite a bit cheaper. Because it was pretty cheap, I ordered a few more boards from them. We will see if they are better. Going Pb-free was an upcharge of $11. Even so, JLC is a lot cheaper...
  18. For anyone to help you, I think you need to...

    For anyone to help you, I think you need to expose what sensor is on the other side. Hard to tell what might work with no pertinent details. JMHO.
  19. Replies
    21
    Views
    466

    If you can download it, I'd like a copy to look...

    If you can download it, I'd like a copy to look at. I found a 3d Teensy 4.1, but it is mono-color and grey. It honestly doesn't look good at all. I have the step file if you want it. If I get...
  20. Replies
    21
    Views
    466

    Sent out my order to PCBWay! Cost me $34.13 with...

    Sent out my order to PCBWay! Cost me $34.13 with shipping for five boards. Too bad I only need one working board. Well, lets hope the board is good! I will know in 2-3 weeks. Now I need to...
  21. I'm using an 74LVT245AN to translate between +5V...

    I'm using an 74LVT245AN to translate between +5V and +3.3V. Digikey has them in through hole and SMD packages. Adafruit has the through hole package. At the moment using, one to translate 5V DRO...
  22. Replies
    21
    Views
    466

    That's for 24 hour response which is pretty good....

    That's for 24 hour response which is pretty good. That being said, I made my own in-expert footprint. Nearly done with routing the board. Can't say it's a great job, but it is my first PCB I've...
  23. Replies
    21
    Views
    466

    It would seem they will do it quickly if you pay...

    It would seem they will do it quickly if you pay a small fee. Otherwise it is at their own pace, whatever that may be. I requested a freebie. In the interim, I will attempt to make a footprint. ...
  24. Replies
    21
    Views
    466

    For what it is worth, I requested SnapEDA make...

    For what it is worth, I requested SnapEDA make the KiCAD symbol and footprint for the display. I found some info and an Altium library for the 3.2" part. Who knows if they will do it, but I tried....
  25. Replies
    21
    Views
    466

    I'm interested in the 3.2" version which is on...

    I'm interested in the 3.2" version which is on 3dcontentcentral. It seems you have to sign up for it. I can't tell what file types they actually have. If it is Solidworks, I can't import it...
  26. Replies
    21
    Views
    466

    I have made a tiny bit of headway, or is that a...

    I have made a tiny bit of headway, or is that a Teensy bit?:p I was able to import the Teensy symbols and footprints from github into KiCAD as well as the buffers and transistors. Finished up the...
  27. Replies
    21
    Views
    466

    Thanks for responding. Understood that it isn't...

    Thanks for responding. Understood that it isn't that expensive to actually get the boards, at least if you are not in a rush! I will take a look at DipTrace. Seems it claims it will run on WINE,...
  28. Replies
    21
    Views
    466

    How do you package up your projects?

    Looking for some general guidance on packaging up Teensy's in a useful way. By that I mean, not a mess of wires in a wireless breadboard. We all know that won't do for a real project that needs to...
  29. Wired everything up to the Teensy. After some...

    Wired everything up to the Teensy. After some playing around with the stepper driver settings and the gear box, can now cut 10 TPI threads with a 10 TPI setting. Lots more work to do though. Need...
  30. Finally got the stepper motor properly mounted. ...

    Finally got the stepper motor properly mounted. I had mis-drilled the holes in the lathe casting. Took quite a while to recover from that. Had to make drill bushings and weld them to the mounting...
  31. Unless you really want to slow things down, you...

    Unless you really want to slow things down, you don't need to restrict Teensy to 38400 baud. You can comment that line out and Teensy will output data at a much faster rate.
    My displays are...
  32. I do have a much larger body of code that does...

    I do have a much larger body of code that does touch panel stuff. I was looking for a small example and wasn't sure what the issue was. Here is part of stub of code to process touch.

    void...
  33. Here's something I did to test a digital read out...

    Here's something I did to test a digital read out head. (DRO for machine tool positioning.) It also works for rotary encoders. This uses luni's EncoderTool, which I highly recommend.


    #include...
  34. For a standard ILI9341 (PJRC version) I use the...

    For a standard ILI9341 (PJRC version) I use the following

    #define TFT_DC 9
    #define TFT_CS 10
    #define TFT_RST -1
    #define TFT_SCK 13
    #define TFT_MISO 12
    #define TFT_MOSI 11
    #define TOUCH_CS ...
  35. Just received my bezel. Due to my design error,...

    Just received my bezel. Due to my design error, the left side silver is visible. Next go around will fix that, but it is good enough for now!
  36. Thanks for the offer. Think I am all set for...

    Thanks for the offer. Think I am all set for now. Have my hands full with doing this installation.

    Seems I did not account for the lip of the chip pan. I need to jack up the lathe and drill...
  37. I designed one in FreeCAD, since I couldn't find...

    I designed one in FreeCAD, since I couldn't find one to buy. A helpful person will print it for me from ABS. Should be close enough. If not, I will alter it.
  38. Making some progress - Electronic Lead Screw

    An update. Checked out the DRO read head outputs and they appear to be standard 5V TTL levels. This is good, since I can use the spare pins on my 74LVC245 level translator. I am already using...
  39. Anyone know of a source for a bezel that fits the ILI9341 that PJRC sells?

    I have the larger 3.2" ILI9341 that PJRC sells. I'd like to use the display for my electronic lead screw project. Anyone know of a source that sells bezels that might fit the display?
    Really want...
  40. I used QEMU/KVM aka virt-machine and it was not...

    I used QEMU/KVM aka virt-machine and it was not successful. However, I was not aware of all the USB ID flipping about going on. It seems that as part of normal operation, the USB port is opening...
  41. PaulStoffregen yes, it is one computer. I only...

    PaulStoffregen yes, it is one computer. I only own one "real" computer. It is only 8 months old. i7 32GB RAM, 1 TB NVMe SSD, relatively modern. System76 with PopOS 22.04 installed on it now. ...
  42. Remote execution of Arduino and TyCommander on an...

    Remote execution of Arduino and TyCommander on an RPI4-64 bit works ok, albeit slowly. Seems ridiculous to me that a sub $100 computer and SSD run the code just fine and a $1500 laptop with much...
  43. Yes, I know he is busy. Unfortunately, I am busy...

    Yes, I know he is busy. Unfortunately, I am busy with getting this stuff to work without it dumping its bits all over me!

    Wondering if there is a USB controller test of some sort that doesn't...
  44. Oof, looks like a bit of work to get that going,...

    Oof, looks like a bit of work to get that going, but it's doable. One quick question, is it effectively a complete new install unto its own? (Independent of any existing installation?)

    When you...
  45. I wouldn't be surprised if this were the case. I...

    I wouldn't be surprised if this were the case. I have seen the crash problem on both the active hub and a direct connect, so I think it might be the laptop USB controller chip. The hub is powered...
  46. Can you install sw and run in a live system? I...

    Can you install sw and run in a live system? I guess it would remove all other "rogue" software on the system... Kind of painful to go through all the configuration for a one shot deal, but maybe...
  47. Made a script for the teensy_loader_cli with an...

    Made a script for the teensy_loader_cli with an argument for the file name. Makes it a little easier to use, instead of typing out all the arguments.
    Name of the script is progteensy. Make it...
  48. Built the loader cli for the real machine. As...

    Built the loader cli for the real machine. As expected, it seems to work fine. (This time.) I will try to figure out a way to get this into my work process. Compiling to hex seems to pop up the...
  49. Was hoping to use a virtual machine to isolate me...

    Was hoping to use a virtual machine to isolate me from system crashes. Programming my Teensy seems to cause system crashes which turn off my laptop power supply. The OS leaves no significant record...
  50. I checked for modemmanager, which I had...

    I checked for modemmanager, which I had previously removed, and it was present in the vm. So I ran $ sudo apt remove --purge modemmanager. However, this did not change the behavior of the teensy...
Results 1 to 50 of 149
Page 1 of 3 1 2 3