<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Teensy’s and OpAmps - Help Wanted				            </title>
            <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/</link>
            <description>Discussion board for Robotics, Arduino, Raspberry Pi and other DIY electronics and modules. Join us today!</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 08 Jun 2026 21:09:26 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/paged/2/#post-48656</link>
                        <pubDate>Wed, 07 Aug 2024 09:17:45 +0000</pubDate>
                        <description><![CDATA[Hi @jonweisw,
   OK, sorry.
Although virtually all contemporary commercial power supplies will be based on a variation of PWM, by design, they will limit the range of timings, and include ...]]></description>
                        <content:encoded><![CDATA[<p>Hi @jonweisw,</p>
<p>   OK, sorry.</p>
<p>Although virtually all contemporary commercial power supplies will be based on a variation of PWM, by design, they will limit the range of timings, and include filtering, to ensure the output has only a small residue ripple from the switching action, superimposed upon a 'solid' DC level. For the very cheap, switch mode modules available from the usual Internet vendors, that ripple might typically be about 50mV, and for a reputable source like a Siglent, I would expect any ripple to be orders of magnitude lower. Hence, if I had known you were using such a source, I would not have mentioned it.</p>
<p>By contrast, when someone is programming a microcontroller like a Teensy, they may pick virtually any timing values, and often do not include any hardware filtering, so unless I know exactly what the hardware and software is, I put it on the principal suspect's list, until proved innocent.</p>
<p>--------------</p>
<p>Referring back to your previous message, you said <strong><em>"Also the gauge itself uses +15V, -15V and +/- as a reference voltage (+/- referring to the connection between the two power supplies). Could this be a problem related to the amperage issue you referred to above?" </em></strong></p>
<p>I wasn't sure what you meant by that. I agree that the current demand values on the pair of power supplies looks very suspicious, but I am less clear what is causing it.</p>
<p>Unfortunately, I don't know anything about the internal circuit of the tachometer itself. I am not even clear as to why there are two pointers. The aircraft industry during the period of roughly 1900 to 1980 devised some ingenious electro-mechanical instruments to meet the requirements of the various tasks, which are unique to that industry. But, as I have never used or designed instruments from that period, I am struggling to know if there are any particular points I should be aware of. For now, I am assuming it is essentially a 'disguised' voltmeter for the range -10V to + 10V, with a fairly low input impedance (say 200 Ohm), and obviously scaled in engine RPM, rather than volts - but this may be far too simplistic. Any advice or pointers to relevant information could be helpful.</p>
<p>Best wishes, Dave</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>DaveE</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/paged/2/#post-48656</guid>
                    </item>
				                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/paged/2/#post-48652</link>
                        <pubDate>Wed, 07 Aug 2024 01:35:02 +0000</pubDate>
                        <description><![CDATA[@Davee,
Thanks for taking the time to respond. Yes, the end result will use the Teensy to power the signal source side of the circuit. But for testing, I am using a bench DC power supply wh...]]></description>
                        <content:encoded><![CDATA[<p>@Davee,</p>
<p>Thanks for taking the time to respond. Yes, the end result will use the Teensy to power the signal source side of the circuit. But for testing, I am using a bench DC power supply which, I’m fairly confident, does not rely on PWM generated voltage. I will double check that (it’s a Siglent 3300). <br /><br /></p>
<p>In the meantime, I tried it again today and oddly it is significantly smoother. Not 100% perfect, but about 95% there. Hooked it up to the Teensy and it works similarly.</p>
<p>Jon</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>Jonweisw</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/paged/2/#post-48652</guid>
                    </item>
				                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/paged/2/#post-48651</link>
                        <pubDate>Tue, 06 Aug 2024 23:59:17 +0000</pubDate>
                        <description><![CDATA[Hi @jonweisw,
   I assume you are using a PWM output from Teensy as the source for the variable voltage input to your circuit, as in your opening message you said &quot; The controller has the a...]]></description>
                        <content:encoded><![CDATA[<p>Hi @jonweisw,</p>
<p>   I assume you are using a PWM output from Teensy as the source for the variable voltage input to your circuit, as in your opening message you said " <em><strong>The controller has the ability to supply PWM 3.3v signals at 10mA max.</strong></em>", and continued to describe the unit you needed to drive, etc..</p>
<p>PWM stands for Pulse Width Modulation. This is a technique for producing 'variable' voltages from a digital circuit.</p>
<p>Simplistically. for a processor like the ESP32, a PWM output, (provided it is not connected to a low impedance load,) will be at (nearly) 3.3V or (nearly) 0V, at any given time. To produce "1.65V", it will repeatedly output 3.3V for a short time, and then 0V for the same short time. Hence, the "average" voltage will ((0 + 3.3)/2) = 1.65V.  Thus, it is Pulse Width Modulated, because the wider the "On" time, compared to the "Off" time, then the nearer the average voltage will be to 3.3V.</p>
<p>If the device being driven by this waveform has sufficient 'inertia', such then it will only show the 'average' result, then the result will be as required, but if the device can 'follow' the pulses, then it will display the pulsed nature. The 'inertia' can be 'real', if the device is a mechanical device such as a solenoid, or 'virtual', such as an LED.</p>
<p>For example, PWM is often used as a dimmer control on LEDs, where the power is switched at (say) 10kHz. To a human eye, the 'vision persistence' means we can only see individual flashes up to a rate of (say) 20 times per second, so it appears the LED is constantly lit, but a high speed video camera can capture it switching on and off.</p>
<p>I am  sure the Internet will have many articles describing PWM in more detail ... I noticed this one gave a simple introduction:</p>
<p>https://www.pjrc.com/teensy/td_pulse.html</p>
<p>In addition Bill (@dronebot-workshop) has discussed PWM on a number of occasions, including this article on driving motors:</p>
<p>https://dronebotworkshop.com/dc-gearmotors-pwm/</p>
<p>Note, it should now become obvious that if you have access to an oscilloscope, then examining the Teensy output signal could be very useful to help you decide how to proceed!</p>
<p>----------------------</p>
<p>As I do not know the parameters (time/frequency) of the PWM from your Teensy board, which will be largely defined in software, I do not know whether your 'output device' is trying to follow some of the pulses. Hence, my first suggestion is to test your circuit that is 'definitely' a variable DC voltage, not a PWM waveform.</p>
<p>I do not know whether your 'output device' will continue to twitch and jerk with the DC source, (because this is not the problem), or will become steady. But as with all the best detective stories, it is a case of examining each suspect in turn, and eliminating or incriminating them on the basis of evidence. This is my first suspect ... it may not be my last ... but I'll leave the others for another installment, if required!</p>
<p>I hope this makes a little sense.  I am sorry you are meeting a lot of new concepts, and this can be hard to begin with, but they will all become familiar in time.</p>
<p>Best wishes, Dave</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>DaveE</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/paged/2/#post-48651</guid>
                    </item>
				                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/paged/2/#post-48647</link>
                        <pubDate>Tue, 06 Aug 2024 16:35:21 +0000</pubDate>
                        <description><![CDATA[@Davee,
 
Thanks for the response. I am using a separate power source to provide the signal (the white power supply in the video), so it is not the Teensy. What would be the next step? I a...]]></description>
                        <content:encoded><![CDATA[<p>@Davee,</p>
<p> </p>
<p>Thanks for the response. I am using a separate power source to provide the signal (the white power supply in the video), so it is not the Teensy. What would be the next step? I am going to build the schematic above (the one with the transistors and the three op amps) and will see how that compares.</p>
<p> </p>
<p>As always, MANY thanks!</p>
<p>Jon</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>Jonweisw</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/paged/2/#post-48647</guid>
                    </item>
				                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48644</link>
                        <pubDate>Tue, 06 Aug 2024 10:59:45 +0000</pubDate>
                        <description><![CDATA[Hi @jonweisw Jon, (and @bbutcher85),
Good to see you are making progress. 
I am not clear of the source of the jitter, so I recommend a systematic approach to discovering the cause.
I thi...]]></description>
                        <content:encoded><![CDATA[<p>Hi @jonweisw Jon, (and @bbutcher85),</p>
<p>Good to see you are making progress. </p>
<p>I am not clear of the source of the jitter, so I recommend a systematic approach to discovering the cause.</p>
<p>I think my first attempt to discovering the cause would be to provide a temporary variable DC source of 0 to 3.3V to feed to Vin, instead of the Teensy, to see if it still jittered. My reasoning being the Teensy output will be a PWM signal, not DC, and MIGHT be the origin.</p>
<p>Remember, the op-amp circuit above will have an input impedance of 10k ... that is, if you arrange a variable voltage using (say) resistors and a potentiometer, then when the circuit is operating, then the output of the potentiometer will apparently be connecting via a 10k resistor, to ground, which will result in a lower voltage output from the pot, compared to when the pot output is unconnected.</p>
<p>If there is no jitter with the DC source, then an RC filter between the Teensy output and Vin (or possibly between U1B and U1c) might help. To assist with designing this, it would be helpful to know the waveform timing from the Teensy, indicating the likely range of waveforms from minimum to maximum, whilst avoiding the theoretical extremes of always on(high) and always off(low), that are obviously DC.</p>
<p>However, if it jitters with a DC source, then other problems need to be considered.</p>
<p>Best wishes, Dave</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>DaveE</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48644</guid>
                    </item>
				                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48641</link>
                        <pubDate>Tue, 06 Aug 2024 02:20:48 +0000</pubDate>
                        <description><![CDATA[@bbutcher85 and @davee,
 
First, allow me to say how thankful I am for your willingness to help me out and your generosity of knowledge. For someone new to this as I am, it mean more than ...]]></description>
                        <content:encoded><![CDATA[<p>@bbutcher85 and @davee,</p>
<p> </p>
<p>First, allow me to say how thankful I am for your willingness to help me out and your generosity of knowledge. For someone new to this as I am, it mean more than you know!</p>
<p> </p>
<p>While waiting for the correct transistors to arrive (Dave - I got the MJ2955 coming from Mouser tomorrow), I constructed the circuit that @bbutcher85 proposed on 8/1 (scroll back) which I will continue to refine using both of your suggestions (esp with the push/pull transistors). I was indeed able to get a 0-3.3vDC signal to modulate a -10 to +10vDC signal.</p>
<p> </p>
<p>I hooked it up into the gauge that I am trying to power (N1 tachometer which is the primary indication of how fast the big fan of a jet engine is turning) and got it to work but with some serious jitteriness. Here is a video I took to give you some idea of what's going on..</p>
<p> </p>
<p><a href="https://youtu.be/9PNtLochfrs" target="_blank" rel="noopener">https://youtu.be/9PNtLochfrs</a></p>
<p>I installed 0.1uF capacitors between the V+ and V- (rails) and ground (+/-) without any luck. Also the gauge itself uses +15V, -15V and +/- as a reference voltage (+/- referring to the connection between the two power supplies). Could this be a problem related to the amperage issue you referred to above?</p>
<p>THANK YOU!</p>
<p>Jon</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>Jonweisw</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48641</guid>
                    </item>
				                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48640</link>
                        <pubDate>Mon, 05 Aug 2024 23:53:46 +0000</pubDate>
                        <description><![CDATA[Hi @jonweisw,

  re: I was able to locate the 2N3055 bipolar transistor, but was unable to find the 2N2955 transistor...am I missing something? Also, what would you recommend for R8?

As...]]></description>
                        <content:encoded><![CDATA[<p>Hi @jonweisw,</p>
<blockquote>
<p>  re: I was able to locate the 2N3055 bipolar transistor, but was unable to find the 2N2955 transistor...am I missing something? Also, what would you recommend for R8?</p>
</blockquote>
<p>As the circuit you were referring to was designed by @bbutcher85, I was respectfully waiting for them to reply with definitive answers, which will probably happen soon. </p>
<p>In the meantime, I'll venture my suggestions. Please note, I have not tried or analysed the circuit suggested, so these answers are just based on my first thoughts, based on the devices in general usage.</p>
<p>--------------</p>
<p>The 2N2035 and 2N2955 transistors are NPN and PNP complementary 'equivalents' of each other that originated over 50 years ago. The 2N2035 (NPN) appeared in many more circuits than the 2N2955 (PNP), and hence is probably easier to find. The 2N2035 in particular, became 'famous', as the 'go-to' device for fairly high power circuits, but was originally linked to the relatively inconvenient metal package.</p>
<p>Hence, some semiconductor manufacturers produced "clones" of a similar device in a plastic package, with '***2035' style type numbers, where '***' was replaced by two or three letters, often loosely based on the manufacturer's name.</p>
<p>Of course, these "clones" have an entirely different physical appearance, and may have had different electrical characteristics, but in most circuits, would probably perform in a similar manner to the original 2N3055. (It would be the responsibility of the circuit designer to ensure equivalence in a production scenario, by carefully checking the data sheets, and then testing pre-production samples, as there could be 'unexpected' issues.)</p>
<p>For example, the metal can device was credited with 115W power dissipation capability, whilst I have seen 90W quoted for one of the plastic devices. In practice, it needs a very substantial heatsink (at least without fans or other add-ons) to dissipate 90W, and most circuits, including yours, will operate well below this level.</p>
<p>I haven't done a proper search or comparison of devices, but TIP (TIP2035) and MJ (MJ2035) seem popular choices.</p>
<p>And you will not be surprised to find, TIP2955 and MJ2955, the PNP version, are also listed, which may be easier for you to source.</p>
<p>However, confusingly, some of the TIP and MJ devices are also listed in the metal can packaging, so check before you buy!</p>
<p>------------------</p>
<p>With op-amps in the inverting gain configuration of U1B, it is common to choose the two input resistors to be the same value. Hence, my first guess is R8 would be the same value as R6. R6 is 10kOhm.</p>
<p>-----------------</p>
<p>As I started, @bbutcher85 may respond with more authoritative answers. I am only trying to fill a gap, and may have missed something.</p>
<p>Hope this helps. Best wishes, Dave</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>DaveE</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48640</guid>
                    </item>
				                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48637</link>
                        <pubDate>Sun, 04 Aug 2024 18:24:12 +0000</pubDate>
                        <description><![CDATA[@jonweisw Just a note on forum use. When you want to talk to somebody, use the reply link at the bottom of the post you are replying to. AND if more than one person, add the other user like ...]]></description>
                        <content:encoded><![CDATA[@jonweisw Just a note on forum use. When you want to talk to somebody, use the reply link at the bottom of the post you are replying to. AND if more than one person, add the other user like Dave with @davee. You can get the 'handle' by looking at an earlier post or from their member info. This way the person will be notified and will not miss the post.]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>Ron</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48637</guid>
                    </item>
				                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48636</link>
                        <pubDate>Sun, 04 Aug 2024 13:13:06 +0000</pubDate>
                        <description><![CDATA[David and bbutcher -
THANK YOU so very much for your input on this. I have learned a tremendous amount just from your discussion about this. I&#039;m sorry I cant provide more technical informat...]]></description>
                        <content:encoded><![CDATA[<p>David and bbutcher -</p>
<p>THANK YOU so very much for your input on this. I have learned a tremendous amount just from your discussion about this. I'm sorry I cant provide more technical information about the amperage requirements of or the impedance of the load that this is going to. Once I get this up and running I'm sure that I will have that information more readily. I have ordered all fo the components from Mouser outlined in the first schematic and am going to order the components in the second schematic. I was able to locate the 2N3055 bipolar transistor, but was unable to find the 2N2955 transistor...am I missing something? Also, what would you recommend for R8?</p>
<p>Jon</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>Jonweisw</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48636</guid>
                    </item>
				                    <item>
                        <title>RE: Teensy’s and OpAmps</title>
                        <link>https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48622</link>
                        <pubDate>Fri, 02 Aug 2024 17:34:21 +0000</pubDate>
                        <description><![CDATA[You are probably correct, the best solution is to incorporate a class B push-pull output. The attached schematic shows one option for this. Three op amps are now required, so this could be a...]]></description>
                        <content:encoded><![CDATA[<p>You are probably correct, the best solution is to incorporate a class B push-pull output. The attached schematic shows one option for this. Three op amps are now required, so this could be an LM324 quad op amp, or two LM385 dual op amps, or perhaps three single op amps such as Texas Instruments <span>OPA991IDBVR. Single op amps make circuit board layout somewhat easier. There are many op amps available in both through hole and surface mount. One consideration is if small size is a requirement, and another is if battery power is required. Power consumption may be a factor especially if battery powered, although the 50 mA gauge seems to indicate power is not a big factor.</span></p>
<p>The attached circuit has the same features as the original, but adds a class B push-pull output capable of delivering high currents in both polarities. Class B push-pull amplifiers do have a problem with distortion of the signal since near zero output neither the NPN or the PNP transistor are biased on over about a +/- 0.7 volt range. The third op amp stage provides feedback to minimize the distortion of the signal. </p>
<p>Class A push-pull amplifiers are another option, but they tend to consume a lot of power and create a lot of heat.</p>
<p>There is a lot of information available on the internet regarding op amps and push-pull amplifiers for anyone interested in the subject.</p>
9397
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/help-wanted/">Help Wanted</category>                        <dc:creator>bbutcher85</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/help-wanted/teensys-and-opamps/#post-48622</guid>
                    </item>
							        </channel>
        </rss>
		