<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>My little electronics project over Chrismas and New Year</title>
        <description> [github.com]

I&#039;m just going to drop this here and ask what you guys and girls think</description>
        <link>https://reprap.org/forum/read.php?181,880687,880687#msg-880687</link>
        <lastBuildDate>Wed, 10 Jun 2026 06:03:17 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881110#msg-881110</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881110#msg-881110</link>
            <description><![CDATA[ Thank you, Sir! I missed the "add attachment" function. I've modified my post above to include the photo.]]></description>
            <dc:creator>rq3</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Sun, 31 Jan 2021 13:53:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881087#msg-881087</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881087#msg-881087</link>
            <description><![CDATA[ Although I used to use under-bed piezo sensors, I have started looking for better ways after discovering that there were chaotic effects that made some spots relatively insensitive. You can minimize, but not eliminate this effect by having 3 or more sensors right on the outer periphery of the bed. You can see this effect visually if you look up Chladni plates on YouTube. A report on the experiments where I found how severe this effect could be at [<a href="https://reprap.org/forum/read.php?424,865620" target="_blank" >reprap.org</a>]<br />
<br />
<b>To put a picture in a forum entry:</b> <br />
Select Attach a file<br />
Click on the "Browse" button. This will allow you to select your file on the computer<br />
Once it shows next to  the "Browse" button click on the "Attach" button<br />
Now it will show your file name with two more buttons. Navigate to where you want the picture to show in your editing panel and click, then click on the "Create link in message"<br />
When you want to preview your message and the picture, the picture will typically not appear but should show when you click the "Preview" button a second time.<br />
<br />
This picture attached by that method [attachment 117592 IMG_20190930_194140.jpg]<br />
<br />
Good luck,<br />
<br />
Mike]]></description>
            <dc:creator>leadinglights</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Sat, 30 Jan 2021 16:16:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881082#msg-881082</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881082#msg-881082</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>leadinglights</strong><br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>majic79</strong><br />
.................................................................................. For probing, you could sync the query over the serial bus before stepping - might slow things down a bit, but that seems an acceptable price to pay.<br />
<br />
.......................................<br />
<br />
Thank you!</div></blockquote>
<br />
As long as response times can be in the low millisecond region. I use a probe speed of 2mm per second on my piezo probes which equates to an approach speed of 2 microns per millisecond. At this speed, a 10ms latency would only be 20 microns and fairly reasonable. Having said that,  some people seem to use approach speeds for touch sensors in the region of 25mm/second in the belief that piezo and FSR sensors need a good thump. This would give a potential error of 0.25mm<br />
<br />
Mike</div></blockquote>
@leadinglights, for what it's worth I've also been working on an underbed piezo sensor for my delta printer. I noticed that automotive piezo knock sensors use a ring shaped piezo element, with a quite heavy mass glued to them, so they act as more of a seismograph than a microphone. I ground a small flat spot in a 1/2 inch diameter stainless steel ball, and JB-Welded it to the center of a standard Murata 41 mm diameter piezo disc, which feeds a MicroChip 12F1840 ADC input (with very simple clipping and low pass filtering). The results are pretty astounding. It is almost immune to acoustic input (like motor vibration and air horns), but will detect a BB dropping 2 inches onto the bench 4 feet away.<br />
<br />
So the trick is to mass load the center of the piezo disc, and support the disc only at its outer rim. No clamps, levers, etc. Just thought this might be of interest.]]></description>
            <dc:creator>rq3</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Sat, 30 Jan 2021 14:25:02 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881072#msg-881072</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881072#msg-881072</link>
            <description><![CDATA[ I am fairly sure that the PicKit2 won't program the PIC16F1704 MCU that I use on these boards. There are very cheap clones available on Ebay but I don't know them so can't recommend either way.. I also can't say if the Atmel ICE will work.<br />
<br />
As far as Microchip itself goes, they do a fairly good free C compiler but their support for assembler is pretty stinky - annoying for me as I do useful work in assembler but am distinctly handicapped in high-level languages.<br />
<br />
Mike]]></description>
            <dc:creator>leadinglights</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Sat, 30 Jan 2021 07:52:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881071#msg-881071</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881071#msg-881071</link>
            <description><![CDATA[ Sorry, only got a PicKit2 and an Atmel ICE - since microchip bought atmel, is there crossover support  ow?<br />
<br />
I've not touched a Pic for about 5 years, so I fear I'm a bit behind on their tech.]]></description>
            <dc:creator>majic79</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Sat, 30 Jan 2021 07:32:50 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881069#msg-881069</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881069#msg-881069</link>
            <description><![CDATA[ I will give what assistance I can, but don't expect too much as the world is too full of Lurgies and Boojums (disease and misfortune), not to mention the apathy that has laid waste to the RepRap forum and the ravening Dunning-Kruger syndrome which bestrides the world like a colossus. As herd immunity to none of the above has been achieved I may fall victim at any moment.<br />
<br />
I have some spares of the Piezo14 board from earlier work where I needed to run a number in parallel. If you have or can acquire a PicKit3 or PicKit4 I could send you one.<br />
<br />
Mike]]></description>
            <dc:creator>leadinglights</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Sat, 30 Jan 2021 06:25:02 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881046#msg-881046</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881046#msg-881046</link>
            <description><![CDATA[ I'm quite tempted to use a piezo sensor, so I'm open to a collaboration on that. Planning to use Marlin as that's the firmware I've got the most experience with and there's already support for the processor. My biggest concern is the arduino library, but there's plenty of capacity in flash, so it may not be too much of an issue.<br />
<br />
I'll take a look at your project - would be good to at least get support for an I2C Probe]]></description>
            <dc:creator>majic79</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Fri, 29 Jan 2021 15:13:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881045#msg-881045</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881045#msg-881045</link>
            <description><![CDATA[ I will monitor your progress with interest as my piezo conditioning boards were originally intended to work with an I2C for changing parameters - this is still provided for on the PCB [<a href="https://workspace.circuitmaker.com/Projects/Details/Mike-Simpson-4/Piezo14" target="_blank"  rel="nofollow">workspace.circuitmaker.com</a>] although I have not used it yet.<br />
<br />
An additional question, What firmware will you be using?<br />
<br />
Mike]]></description>
            <dc:creator>leadinglights</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Fri, 29 Jan 2021 14:09:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881017#msg-881017</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881017#msg-881017</link>
            <description><![CDATA[ I've pushed an update up including the I2C interface after a little reshuffling.]]></description>
            <dc:creator>majic79</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Thu, 28 Jan 2021 18:49:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881012#msg-881012</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881012#msg-881012</link>
            <description><![CDATA[ A simple register protocol over I2C should do the trick - sending a 1 to enable the monitoring and then polling for the feedback once the stop is hit is going to be pretty fast. at 400KHz (I2C Fast mode) you're looking at 20 microseconds for that communication to occur (assuming 10 bits of data - enables, addresses, response, stop bit). You could stack or daisychain the boards to add more on seperate addresses - so there could be some round-robin latency if you have to query the state of more than 5 items, that may run to 1ms or so. I don't imagine that you would want to have too many items in that stack anyway for probing, so I think this could be workable.<br />
<br />
I'm breaking out 5V for power, but I'm thinking about breaking out the 3.3V Vdd of the MCU - the pins aren't 5V tolerant, so there needs to be some level shifting going on. If I break out 3.3v, then there are a few options for any expansion boards.]]></description>
            <dc:creator>majic79</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Thu, 28 Jan 2021 16:39:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,881007#msg-881007</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,881007#msg-881007</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>majic79</strong><br />
.................................................................................. For probing, you could sync the query over the serial bus before stepping - might slow things down a bit, but that seems an acceptable price to pay.<br />
<br />
.......................................<br />
<br />
Thank you!</div></blockquote>
<br />
As long as response times can be in the low millisecond region. I use a probe speed of 2mm per second on my piezo probes which equates to an approach speed of 2 microns per millisecond. At this speed, a 10ms latency would only be 20 microns and fairly reasonable. Having said that,  some people seem to use approach speeds for touch sensors in the region of 25mm/second in the belief that piezo and FSR sensors need a good thump. This would give a potential error of 0.25mm<br />
<br />
Mike]]></description>
            <dc:creator>leadinglights</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Thu, 28 Jan 2021 14:35:40 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,880999#msg-880999</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,880999#msg-880999</link>
            <description><![CDATA[ I2C is the easiest to add there, it only needs 2 pins (I have 4 free) and as you say, you need to keep it nearby. If the signal is not too far away you could keep the electronics in range of the board and then just deal with mounting the sensor and routing the wiring. For probing, you could sync the query over the serial bus before stepping - might slow things down a bit, but that seems an acceptable price to pay.<br />
<br />
I like the idea, I'll see if I can add it. It would also solve my consideration about how to add support for probes!<br />
<br />
Thank you!]]></description>
            <dc:creator>majic79</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Thu, 28 Jan 2021 12:45:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,880997#msg-880997</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,880997#msg-880997</link>
            <description><![CDATA[ My own personal take on it and for what it is worth: A useful feature on any controller would be a serial interface to subsidiary boards somewhat more complex than simple digital pins for Z probes and other things.<br />
Examples of external controller boards that I am playing with and which are limited to simple digital IO are:<br />
<br />
<ul><li> A toggle motor for swapping two print heads. The control board has an input with high selecting one head and low selecting the other. A single output is used from the toggle motor control board which is asserted on completion of a move.</li><li> An under-bed probe detects nozzle contact for each probe to set nozzle height. The control board is able to detect "soft" contacts indicating the presence of plastic on the tip. Two outputs only, contact detected and contact was good.</li><li> A touch contact probe to perform the function of bed leveling. This works somewhat like a BLTouch but also checks for baseline drift or mechanical or electrical noise which would reduce the precision of the detected touch. This again uses two outputs, one for the contact detection and one to be interogated before the z-probe operation to find if the baseline is good.</li><li> A device to measure the cross-sectional area of the feedstock filament. This works by measuring the acoustic back-pressure offered by an orifice through which the filament passes. The output is an analog value.</li></ul>
<br />
These controller boards are all very simple and all use PIC16 MCUs; It would obviously be useful to have some form of serial communication such as RS485 so that they could actively have parameters changed. I2C and SPI can be forced to work for this sort of application but they are not really at their best over distances longer than a few hundred mm. Most other serial interfaces need supporting electronics.<br />
<br />
At the moment my host controller is an Arduino Mega 2560 with a RAMPS 1.4 which do the job acceptably but trying to add serial communications to a number of other boards seems to be a bit above its pay grade.<br />
<br />
Mike]]></description>
            <dc:creator>leadinglights</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Thu, 28 Jan 2021 12:33:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,880938#msg-880938</guid>
            <title>Re: My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,880938#msg-880938</link>
            <description><![CDATA[ So I did some validation in LTSpice to try and profile the MOSFET behaviour and discovered that there's no way that it's going to work.<br />
<br />
After some research, I finally got a working design at a reasonable cost. I have an excess of board space, so I was able to layout discrete components to solve that power issue. I have a new found respect for electronics designers - I lost a lot of time trying to figure that part out and fortunately, Spice tells me it will work, and as long as there's no glaring issues with the board layout, I think it should be a workable design.<br />
<br />
I'm now wondering if I need to add support for a PINDA probe or similar, and I'm wondering if I have enough pins to drive it. Is it just a Z-Stop and a Servo out?]]></description>
            <dc:creator>majic79</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Tue, 26 Jan 2021 19:06:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?181,880687,880687#msg-880687</guid>
            <title>My little electronics project over Chrismas and New Year</title>
            <link>https://reprap.org/forum/read.php?181,880687,880687#msg-880687</link>
            <description><![CDATA[ [<a href="https://github.com/majic79/RepRap-GenX-Electronics" target="_blank"  rel="nofollow">github.com</a>]<br />
<br />
I'm just going to drop this here and ask what you guys and girls think]]></description>
            <dc:creator>majic79</dc:creator>
            <category>Next Wave Electronics Working Group</category>
            <pubDate>Tue, 19 Jan 2021 14:29:43 -0500</pubDate>
        </item>
    </channel>
</rss>
