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...
Type: Posts; User: PhilB
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...
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...
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...
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 -...
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...
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...
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...
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.
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...
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. ...
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)...
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...
If you use FRAM, you can eliminate the write delays.
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,...
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...
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...
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...
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 ...
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...
No problem with the ethernet pins. The 5 pin header (actually both 5 pin headers) does not need to be soldered.
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. ...
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...
Thanks. I appreciate your taking time to help me better understand.
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...
a lower HV pullup is needed. Probably 470 or 680 ohms.
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...
Mosfet? cheap BSS138 and 2 resistors. HV in this case would be 5V.
23485
Thanks for the kind words, Mark. Always happy when someone gets up and running.
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....
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...
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...
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,...
SFE will sell you 100 at $4/each
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!...
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...
Those look like just switches to me, no electronics. They will run fine on 3.3V.
OK, I though you were referring to the stepper driver carrier board.
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...
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....
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...
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...
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...
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...
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 -...
LCSC has a number of modules. Generally in the $1-$3 range.
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...
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.
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...
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...
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...