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

Search:

Type: Posts; User: PhilB

Page 1 of 6 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    47

    To be honest, I don't quite get what you are...

    To be honest, I don't quite get what you are trying to do. Based on grblHAL, the teensy 4.1 is capable of handling at least 5 stepper (step/dir/enable) outputs at once using hardware PWM. 600 kHz...
  2. Replies
    302
    Views
    38,718

    Need 8 ports? pretty uncommon. But need 12-16...

    Need 8 ports? pretty uncommon. But need 12-16 more GPIO pins? Way more likely. And LCD pins? Hell yes. I'd love to see a Teensy 4.0 format with 2 rows of pins on either side. Put the less needed...
  3. Replies
    59
    Views
    5,477

    Your servo error outputs will need to be open...

    Your servo error outputs will need to be open collector. Most of the error outputs I have seen are OC and pull the signal low on an error. If you want to wire OR them, you will need to set the EStop...
  4. Replies
    59
    Views
    5,477

    I look forward to seeing the results of your...

    I look forward to seeing the results of your efforts.

    A number of my customers using servos bring the error signal into EStop. There is a movement to bring out another input signal -...
  5. Replies
    59
    Views
    5,477

    The I/O on the current board (V 2.09) is pretty...

    The I/O on the current board (V 2.09) is pretty much the same as earlier versions. I will put up a schematic of it on github. [edit: here ]

    Yes, you can use either USB or Ethernet to communicate...
  6. Replies
    3
    Views
    133

    A couple of things spring to mind. What is your...

    A couple of things spring to mind. What is your ADC sample rate? That will define your observed "best case rise time". [edit: the adafruit ADC max speed is 860 samples per second so you will never...
  7. Replies
    1
    Views
    118

    Moderator Appreciation

    I have been around the internet, even before it was the internet and seen all sorts of forums come and go. One thing that always stands out is the difference between good moderators and bad ones. In...
  8. If you use light "tunnels" on both emitter and...

    If you use light "tunnels" on both emitter and receiver you can eliminate extraneous radiation (i.e. light and IR). The two tunnels have to be aligned. I have used drinking straws and epoxy.
  9. Why not use IR beam break? And you could use a...

    Why not use IR beam break? And you could use a remote control IR receiver as a way to reject external/extraneous IR. Shield the beam from the crow's sight.

    Another approach, create a small...
  10. Replies
    1
    Views
    128

    From the 4N25 data sheet, the LED has a Vf of...

    From the 4N25 data sheet, the LED has a Vf of around 1.1V at an If of 10mA - range looks to be 1 to 1.25V. So with a 200 ohm resistor and 2.2V (3.3V - 1.1V) you get 11 mA. A bit high for a Teensy. ...
  11. Thread: 5V Teesny 4.1

    by PhilB
    Replies
    16
    Views
    580

    Yes, microcontrollers are all 3.3V these days....

    Yes, microcontrollers are all 3.3V these days. You've got to learn to live with it. While most peripherals can be had in 3.3V versions and a lot (almost all) new peripheral chips are 3.3V (or less)...
  12. Replies
    5
    Views
    262

    That is really nice. I use a toaster oven for...

    That is really nice. I use a toaster oven for reflow but it is a bit of a hassle and takes up a lot of bench space.

    What are you using to measure the temperature? Is the quad encoder built into...
  13. Thread: I2c eeprom ??

    by PhilB
    Replies
    4
    Views
    185

    If you use FRAM, you can eliminate the write...

    If you use FRAM, you can eliminate the write delays.
  14. Replies
    59
    Views
    5,477

    Two answers to this question: - The board will...

    Two answers to this question:
    - The board will take a 3.6 as it has the power/gnd/Serial/I2C pins in the same locations as the T4.1. I haven't tried it, though. It will not work for ethernet,...
  15. Replies
    9
    Views
    397

    That circuit has 2 big red flags for me -...

    That circuit has 2 big red flags for me - directly driving relay coils from the processor pins and no flyback diodes. It also seems odd to be using relays to drive LEDs but that may just my bad...
  16. Replies
    59
    Views
    5,477

    Yes, that certainly can work. The communication...

    Yes, that certainly can work. The communication protocol for grblHAL is basically the same as the original Grbl with a few additions. You will want to read up on streaming data to Grbl it can run at...
  17. Replies
    59
    Views
    5,477

    Compat means compatibility mode is set so you can...

    Compat means compatibility mode is set so you can work with senders that can't handle anything but the original Grbl. The good news is the big ones (UGS and bCNC) run will without compatibility...
  18. Replies
    59
    Views
    5,477

    Glad it worked out. So many times what looks...

    Glad it worked out. So many times what looks like a dead board is because of crap cables or power supply or broken PC or ...
  19. Replies
    59
    Views
    5,477

    Hmmm. I have seen this before and always was...

    Hmmm. I have seen this before and always was able to get it to respond. If it is blinking, the teensy is running the blink sketch so it is getting power from the USB cable and functioning enough to...
  20. Replies
    59
    Views
    5,477

    No problem with the ethernet pins. The 5 pin...

    No problem with the ethernet pins. The 5 pin header (actually both 5 pin headers) does not need to be soldered.
  21. Replies
    59
    Views
    5,477

    See the attached photo of the correct orientation...

    See the attached photo of the correct orientation of the Trimmer Potentiometer. The footprint on the board accepts 2 different styles of trimpots. I moved to a higher quality multiturn trimpot. ...
  22. Replies
    59
    Views
    5,477

    1) that is the most current build guide. which...

    1) that is the most current build guide. which folders are out of date? I will fix. (I know the repository is messy, I fully admit to not being a github pro)
    2) you can use a socket for the T4.1. I...
  23. Replies
    34
    Views
    3,691

    Thanks. I appreciate your taking time to help me...

    Thanks. I appreciate your taking time to help me better understand.
  24. Replies
    34
    Views
    3,691

    At this time, unfortunately, no. A lot (most?)...

    At this time, unfortunately, no. A lot (most?) people don't want to assemble a kit. It definitely limits the available market for a product.

    Only through hole components need to be soldered on...
  25. Replies
    12
    Views
    470

    a lower HV pullup is needed. Probably 470 or 680...

    a lower HV pullup is needed. Probably 470 or 680 ohms.
  26. 100 Watt custom rotary laser etcher, Teensy Driven!

    Here is a build used by a customer of mine to manufacture lighting components. They are using my Teensy 4.1 grblHAL breakout board to achieve a 2 to 3X speed increase over the previous LPC based...
  27. Replies
    12
    Views
    470

    Mosfet? cheap BSS138 and 2 resistors. HV in this...

    Mosfet? cheap BSS138 and 2 resistors. HV in this case would be 5V.

    23485
  28. Replies
    7
    Views
    794

    Thanks for the kind words, Mark. Always happy...

    Thanks for the kind words, Mark. Always happy when someone gets up and running.
  29. Replies
    59
    Views
    5,477

    Are you sharing your code? Got a github site? ...

    Are you sharing your code? Got a github site? Though, 80 mm/s (4800 mm/min) is not very fast. For lasers, 70K mm/min has been achieved with a stock T4.1 running grblHAL, according to the developer....
  30. I have had a background project like this for a...

    I have had a background project like this for a while now (ie, lots of thinking, not much doing). One question that comes up, why use ADC at all? Why not a simple envelope detector (like here) for...
  31. Replies
    7
    Views
    794

    I've run into that. It is a candidate for the...

    I've run into that. It is a candidate for the worst error message ever. Developer wall of shame material. Easy fix though the error message does absolutely nothing to point you in the right...
  32. Replies
    166
    Views
    9,122

    And people still use 8-bit 16 MHz Arduino Nanos...

    And people still use 8-bit 16 MHz Arduino Nanos by the boat load.

    If you are just shopping on price then the Black and Blue Pills are what you should be using. Race to the bottom, Bro. However,...
  33. Replies
    166
    Views
    9,122

    SFE will sell you 100 at $4/each

    SFE will sell you 100 at $4/each
  34. Replies
    166
    Views
    9,122

    Like everyone else I have been wasting the...

    Like everyone else I have been wasting the morning grubbing though the Pico docs and ordering (and pre-ordering) various bits and pieces.

    Early impressions: Dual M0s - meh. Real Documentation!...
  35. Replies
    4
    Views
    186

    It is a digital equivalent of a "potentiometer". ...

    It is a digital equivalent of a "potentiometer". The encoder library will tell you which direction and how many pulses (think clicks) it was turned. You get to do the rest. By the way, if you want...
  36. Replies
    4
    Views
    186

    Those look like just switches to me, no...

    Those look like just switches to me, no electronics. They will run fine on 3.3V.
  37. Replies
    58
    Views
    2,675

    OK, I though you were referring to the stepper...

    OK, I though you were referring to the stepper driver carrier board.
  38. Replies
    58
    Views
    2,675

    Ah, I thought they were 3.5mm. I looked at using...

    Ah, I thought they were 3.5mm. I looked at using 2.54mm but couldn't get even the smallest ferrule in the samples I got so moved up to 3.5mm. Even those are pretty tight with ferrules. I agree...
  39. Replies
    58
    Views
    2,675

    Nice job! Based on the thread, I think you...

    Nice job! Based on the thread, I think you soldered the micromod connector by hand, right?

    If you make any changes to the carrier board, a few suggestions.
    - Support Trinamic based Step Sticks....
  40. Replies
    7
    Views
    794

    I see no evidence of stupid questions... In...

    I see no evidence of stupid questions... In fact, your servo questions are insightful.

    There may be a servo error input added to grblHAL in the future though there are plenty of ways to handle it...
  41. This sensor is very sensitive to the pull-up...

    This sensor is very sensitive to the pull-up value. You should probably start there. I had one that never did work with a T4.0 but would with a T2.0. I later managed to kill the sensor and the...
  42. Replies
    58
    Views
    2,675

    Well, for free is a bit of a come-on. There will...

    Well, for free is a bit of a come-on. There will be engineering fees, a lot of parts have a min order count and smaller SMD parts have "attrition" (think of it as the number of parts wasted loading...
  43. Replies
    23
    Views
    853

    JLCPCB has ESP-07s and ESP-12S in their library...

    JLCPCB has ESP-07s and ESP-12S in their library and, surprise, in stock. They also have a bunch of Espressif modules (and in stock, too!). This looks to be a fairly recent addition. We'll see how...
  44. Replies
    23
    Views
    853

    Not wanting to push the Chinese disti LCSC.com...

    Not wanting to push the Chinese disti LCSC.com but they have ESP-01, ESP-07, ESP-07S, ESP-12E, ESP-12F for good prices and volume discounts. You can get them via DHL or UPS for quick delivery -...
  45. Replies
    23
    Views
    853

    LCSC has a number of modules. Generally in the...

    LCSC has a number of modules. Generally in the $1-$3 range.
  46. Replies
    7
    Views
    794

    grblHAL on a Teensy 4.1

    grblHAL is an open source motion control system for CNC machines like mills, router, lathes, laser cutters and anything that uses stepper motors or servos. It is the 32-bit version of Grbl that...
  47. Replies
    58
    Views
    2,675

    For a low current, it works well. The spec say...

    For a low current, it works well. The spec say 200 mA though I would stay well below that - 100 to 150 max. Probably ok for this application.
  48. Replies
    58
    Views
    2,675

    JLCPCB capabilities -...

    JLCPCB capabilities - https://jlcpcb.com/capabilities/Capabilities
    They do 5 mil traces and .2/.45 vias. I've used them quite a bit for both 2L and 4L boards.

    If you can use them, their 4L...
  49. Replies
    0
    Views
    148

    FreqMeasure - minimum Pulse width

    I am measuring the max rate that a stepper motor is driven at. Because steppers require acceleration and deceleration for best performance, the train of pulses does not have a fixed period. It was...
  50. Replies
    59
    Views
    5,477

    Well, all the controllers on that list are based...

    Well, all the controllers on that list are based on the old 8-bit Arduino design and only support 3 Axes. Also, a lot of them don't have any isolation or noise control so EMI can cause problems like...
Results 1 to 50 of 292
Page 1 of 6 1 2 3 4