Re: Precision Piezo Z-probe Now available. July 16, 2017 09:02AM |
Registered: 13 years ago Posts: 1,463 |
Quote
Suggy on July 11th
I was going to put the 4 censor mounts pointing to the center but they interfear with some bed supports I have at the bottom, so I was wondering if I could point them off center? 2 pics uploaded so you can see what I mean
Quote
DjDemonD on July 13th
So repetier said they have this already in their Dev branch, its called Z_probe_delay. ........
Quote
imqqmi on July 14th
What if I could add two more disks along the x and y axis, or an accelerometer, then compare the signal strength between them to decide from which angle the change came, eliminating the triggering of the sensor when the force came from the x or y axis? I'd need to use the ADC to capture the 3 signals and process it. It would probably take a dsPIC or PIC32 to process the data quickly enough for a low latency between action and detection/reaction.
Re: Precision Piezo Z-probe Now available. July 16, 2017 09:28AM |
Registered: 9 years ago Posts: 3,525 |
Re: Precision Piezo Z-probe Now available. July 16, 2017 10:45AM |
Registered: 8 years ago Posts: 193 |
Quote
DjDemonD
Okay so the last few are still uploading but
videos are now online starting with drilling a piezo and continuing through how to build a piezo 20 and finishing with how to tune the PCB.
[goo.gl]
Re: Precision Piezo Z-probe Now available. July 16, 2017 11:11AM |
Registered: 9 years ago Posts: 3,525 |
Re: Precision Piezo Z-probe Now available. July 16, 2017 01:26PM |
Registered: 8 years ago Posts: 193 |
Re: Precision Piezo Z-probe Now available. July 16, 2017 02:07PM |
Registered: 9 years ago Posts: 3,525 |
Re: Precision Piezo Z-probe Now available. July 16, 2017 02:40PM |
Registered: 9 years ago Posts: 3,525 |
Re: Precision Piezo Z-probe Now available. July 16, 2017 03:00PM |
Registered: 8 years ago Posts: 193 |
Re: Precision Piezo Z-probe Now available. July 16, 2017 03:01PM |
Registered: 9 years ago Posts: 3,525 |
Re: Precision Piezo Z-probe Now available. July 16, 2017 03:30PM |
Registered: 13 years ago Posts: 1,463 |
Quote
Suggy
After some tips on seting up under bed system.
How to set the preloaders?
Just gone back and read the post about removing the pressure to trigger. I will need to alter the f/m settings to NC for this to work?
Re: Precision Piezo Z-probe Now available. July 16, 2017 04:48PM |
Registered: 8 years ago Posts: 193 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 01:49AM |
Registered: 9 years ago Posts: 3,525 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 12:37PM |
Registered: 8 years ago Posts: 193 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 12:46PM |
Registered: 9 years ago Posts: 752 |
Good point, you're right it's hard to just imagine this should work. I still haven't got around to printing and testing a setup like that but I might do it if it turns out the homing and maybe also printing presents any problems with false z end stop triggering.Quote
It should not be necessary to use any comparison of the signals as the outputs of piezos add algebraically - just connect the elements in parallel. If three elements are mounted on three faces of a tetrahedron (Z pointing in the shared axis) then pressures in X and Y should cancel so that only Z will register. I haven't looked at turning moments but for directional forces this should work. There should be no need for anything more than an 8 bit MCU even for data smoothing - it is not intuitively obvious how slow the mechanical contact of a nozzle is in electronic terms but to put it in scale: At 5mm per second the movement is only 5 microns in 1 millisecond and the dumbest 8 bit MCU should cope
Re: Precision Piezo Z-probe Now available. July 17, 2017 01:07PM |
Registered: 9 years ago Posts: 752 |
Quote
My experiments so far with an arduino Nano have got a fairly satisfactory output using just simple adc to give a threshold between 0-1023 from 0-5v and just set a threshold in arduino ide. The level with some of my least good prototype 20mm modules is only 5/1023 but it's 40-50/1023 with some of the more developed 27mm assemblies. The other nice thing is it can output a NO and NC output on two different pins. Just select the one you want to use. I've also written some code to do it by differentiation like we are doing with the analogue circuit which should enable slightly better operation with a range of Piezos, although there's still a threshold to set so whether you really gain anything doing it this way is doubtful. I'd like to work out the effect of temperature or ask Mike, and then maybe either use a supplied thermistor to automatically compensate for temp variation for the (modestly) heated chamber users. As for protecting the Nano so far I've seen nothing near 5v with a 1mohm resistor across the piezo pins. I'll try some really violent impacts way more than a head crash see if it can generate 1023, so some better way to protect the mcu might be worth thinking about. That being said arduino Nano clones are £2.50.
Re: Precision Piezo Z-probe Now available. July 17, 2017 02:00PM |
Registered: 9 years ago Posts: 3,525 |
Quote
Suggy
Another question if you don't mind about fitting an LED.
On the latest version there are 2 pins labeled LED, how do I connect an LED and what type would be needed. Board will be mounted under the bed so it would be handy if I could fit an LED to the front so I can keep an eye on it.
Re: Precision Piezo Z-probe Now available. July 17, 2017 02:12PM |
Registered: 13 years ago Posts: 1,463 |
Quote
imqqmi
@Leadinglights/Mike
.................
You're right, mine even runs at 3mm/s. I was just thinking to capture the sometimes steep edges of the piezo disk, a sample rate too slow would miss them. I can't remember exactly what it was, I think it was around 20us, so you'd need at least 100k sampling, preferably 500k samples to catch the spikes. That's when tapping the disk with a plastic pen. It resonates at its oscillation frequency I'd imagine. For 3 disks and separate sampling you'd need 1.5Msps and some processing to detect the thresholds etc. might be outside the 8bit ballpark.
Re: Precision Piezo Z-probe Now available. July 17, 2017 02:15PM |
Registered: 8 years ago Posts: 193 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 02:23PM |
Registered: 13 years ago Posts: 1,463 |
Quote
imqqmi
............ With the RIGOL DS1054z with the probe on 10x (I think that means 10M Ohm impedance) I get 20V easily, and with the bigger disk even higher, 25V. It's very low current so it shouldn't harm the PIC, it has protection diodes build in. For a production unit some form of extra protection would be prudent of course.
IIRC the PIC can also do some rudimentary temperature sensing without any external components. If the piezo disk is close enough it can be used with an accuracy of 2 degrees C.
Violent impacts occur when mounting the unit to the printer. Remember that the disks produce a current regardless if power is applied to the printer.
.............
Re: Precision Piezo Z-probe Now available. July 17, 2017 02:48PM |
Registered: 8 years ago Posts: 193 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 02:49PM |
Registered: 9 years ago Posts: 752 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 02:56PM |
Registered: 8 years ago Posts: 193 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 02:58PM |
Registered: 9 years ago Posts: 3,525 |
Quote
Suggy
My PCB mount
[attachment 96288 20170717_194351.jpg]
[attachment 96289 20170717_194411.jpg]
[attachment 96290 20170717_194418.jpg]
Re: Precision Piezo Z-probe Now available. July 17, 2017 02:59PM |
Registered: 9 years ago Posts: 3,525 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 03:07PM |
Registered: 8 years ago Posts: 193 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 03:08PM |
Registered: 9 years ago Posts: 3,525 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 03:09PM |
Registered: 9 years ago Posts: 487 |
Quote
Suggy
Another question if you don't mind about fitting an LED.
On the latest version there are 2 pins labeled LED, how do I connect an LED and what type would be needed. Board will be mounted under the bed so it would be handy if I could fit an LED to the front so I can keep an eye on it.
Re: Precision Piezo Z-probe Now available. July 17, 2017 03:12PM |
Registered: 8 years ago Posts: 193 |
Re: Precision Piezo Z-probe Now available. July 17, 2017 03:34PM |
Registered: 8 years ago Posts: 193 |
Quote
Moriquendi
Quote
Suggy
Another question if you don't mind about fitting an LED.
On the latest version there are 2 pins labeled LED, how do I connect an LED and what type would be needed. Board will be mounted under the bed so it would be handy if I could fit an LED to the front so I can keep an eye on it.
The LED output is for exactly this scenario. Connect any LED between the two pins, anode to LED+ cathode to LED-, the PCB already has a current limiting resistor on board so you literally just connect the LED. If you are using 3.3v for Vin (typically on a Duet) you may find that a blue or white LED will not be very bright, in that case try a red LED.
Idris
Re: Precision Piezo Z-probe Now available. July 17, 2017 04:38PM |
Registered: 8 years ago Posts: 193 |